Documentation

ReflectiveSubsystems.PeriodicObservability

The periodic dichotomy at a Dirac: E1 against the cycle average, and nowhere else #

[Growth] §3 Proposition 3.1's positive half is stated at paper level: a finite deterministic autonomous host, eventually periodic by construction, carries the sampling-rate hypothesis MixingHoeffding only against its own period averages, at a constant the elementary estimate puts at the order of the period squared. This module machine-checks that estimate, both directions, at the Dirac reading mixingHoeffding_dirac_iff already gives a deterministic trajectory: (E1 at the cycle average) the hypothesis holds against the query's own cycle average, at a constant of order (N + P)²; (at no other answer) it fails at every other declared answer, at every positive mixing constant — the Dirac-level refinement of ReflectiveSubsystems.not_mixingHoeffding_of_periodic_ne, which needs its mean-constancy hypothesis over every sample path rather than the single trajectory a Dirac law actually carries. Packaged at the scheduled query class (ReflectiveSubsystems.pairChar, offsets (a, 8)), the two halves are one dichotomy: MixingHoeffding holds at some positive constant iff the declared answer is the cycle average — the estimate [Inevitability] §5 states at Remark 5.3, Proposition 5.4's cost paragraph and Remark 5.7, cited there rather than reproved.

Main results #

Scope #

The constant 2(N + P) in the sequence lemma is the honest one from the proof (peeling loses nothing; the whole bound is paid at the pre-period), not the tightest available — a sharper 2N + 2r at the exact remainder r is not worth stating. Nothing here bounds the BEST constant an eventually periodic observation can carry against its cycle average; only the estimate's own order.

The cycle average, and the sequence lemma #

noncomputable def ReflectiveSubsystems.cycleAvg (z : ℕ → ℝ) (N P : ℕ) :

The cycle average: the mean of z over one period, read from the threshold N.

Equations
Instances For
    theorem ReflectiveSubsystems.abs_sum_sub_mul_cycleAvg_le (z : ℕ → ℝ) (hz : ∀ (t : ℕ), |z t| ≤ 1) {P N : ℕ} (hP : 0 < P) (hper : ∀ (t : ℕ), N ≤ t → z (t + P) = z t) (n : ℕ) :
    |∑ t ∈ Finset.range n, z t - ↑n * cycleAvg z N P| ≤ 2 * (↑N + ↑P)

    The sequence lemma. Strong induction on n: below N + P the crude bound |∑| ≤ n and |n · cycleAvg| ≤ n already give 2n ≤ 2(N + P); at or past N + P, peeling the last P terms subtracts exactly P · cycleAvg z N P (by periodSum_eq_cycleAvg_mul), so the peeled block contributes nothing to the bound and the induction hypothesis at n - P carries the whole estimate forward unchanged.

    The two consumers, at the pair ensembles #

    noncomputable def ReflectiveSubsystems.pairCycleAvg (ψ : Bool → Bool → ℝ) (a b : ℕ) (o : ℕ → Bool) (N P : ℕ) :

    The cycle average of a two-offset query ensemble, read along an eventually periodic observation.

    Equations
    Instances For

      E1 at the cycle average #

      theorem ReflectiveSubsystems.mixingHoeffding_dirac_of_eventuallyPeriodic (ψ : Bool → Bool → ℝ) (hψ : ∀ (u v : Bool), |ψ u v| ≤ 1) (a b : ℕ) (o : ℕ → Bool) {P N : ℕ} (hP : 0 < P) (hper : ∀ (u : ℕ), N ≤ u → o (u + P) = o u) :
      MixingHoeffding (MeasureTheory.Measure.dirac o) (pairEnsemble ψ a b) (pairCycleAvg ψ a b o N P) ((2 * (↑N + ↑P)) ^ 2 / (2 * Real.log 2))

      E1 at the cycle average. At the point mass on an eventually P-periodic-from-N observation, MixingHoeffding holds against the two-offset query's own cycle average, at constant (2(N + P))² / (2 ln 2) — the sequence lemma's deviation bound fed ReflectiveSubsystems.mixingHoeffding_dirac_of_deviation_bound. Cited: [Growth] §3 Proposition 3.1; [Inevitability] §5 Remark 5.3, Proposition 5.4's cost paragraph, Remark 5.7.

      At no other answer #

      theorem ReflectiveSubsystems.not_mixingHoeffding_dirac_of_eventuallyPeriodic_ne (ψ : Bool → Bool → ℝ) (hψ : ∀ (u v : Bool), |ψ u v| ≤ 1) (a b : ℕ) (o : ℕ → Bool) {P N : ℕ} (hP : 0 < P) (hper : ∀ (u : ℕ), N ≤ u → o (u + P) = o u) {predZ c : ℝ} (hc : 0 < c) (hne : predZ ≠ pairCycleAvg ψ a b o N P) :

      At no other answer. At that same Dirac law, MixingHoeffding fails at every declared answer other than the cycle average, at every positive mixing constant. Through mixingHoeffding_dirac_iff, the hypothesis gives |mean_n − predZ| ≤ √(2c ln 2 / n) at every n ≥ 1; the sequence lemma gives |mean_n − avg| ≤ 2(N + P) / n; the two force the gap |avg − predZ| below any positive threshold, false at one explicit large n. Needs no re-ensembling and no on-cycle start: hper is an arbitrary pre-period on the genuine trajectory o, and the genuine query ensemble is what the bound is stated against.

      The dichotomy, packaged #

      theorem ReflectiveSubsystems.mixingHoeffding_dirac_pairChar_iff (a : Fin 8) (o : ℕ → Bool) {P N : ℕ} (hP : 0 < P) (hper : ∀ (u : ℕ), N ≤ u → o (u + P) = o u) (predZ : ℝ) :
      (∃ (c : ℝ), 0 < c ∧ MixingHoeffding (MeasureTheory.Measure.dirac o) (pairEnsemble pairChar (↑a) 8) predZ c) ↔ predZ = pairCycleAvg pairChar (↑a) 8 o N P

      The dichotomy, packaged at the scheduled offsets (a, 8) against ReflectiveSubsystems.pairChar. 0 < c sits inside the existential because every nonpositive constant makes MixingHoeffding hold trivially (ReflectiveSubsystems.mixingHoeffding_of_nonpos), so the genuine content is at positive constants.

      Axiom audit #

      Every capstone above is #print axioms-clean on the standard triple or a subset of it, and the guards below make that build-enforced.