Documentation

ReflectiveSubsystems.MarkovErrorMixture

The Markov error count against a floored mixture #

([RuleSpace] §4 Proposition 4.3)

MarkovErrorCount.lean connects eventual periodicity to the fewest misses a law on the last k readings makes. FlooredMixture.lean bounds the error count of a floored mixture against one reference candidate's own miss count. This file instantiates the second at the miss matrix of a finite law family, so that a bound on one reference law's misses bounds the floored mixture's error count over the whole family.

Main results #

Scope #

floorErrorTimes_card_mul_le_of_lawMisses_le claims nothing about the family beyond what ReflectiveSubsystems.floorErrorTimes_card_mul_le_missCount already claims of its missCount argument; the family structure buys only that the reference law Ls i₀ may be read off a FIXED memory shared by every law of the family, not a sharper bound.

Piece 4: the bounded-register learner over a law family #

def ReflectiveSubsystems.lawMissMatrix {α : Type u_1} [DecidableEq α] {C : ℕ} (k : ℕ) (Ls : Fin C → (Fin k → α) → α) (x : ℕ → α) :
ℕ → Fin C → Bool

The miss matrix of a law family: which law of a finite family misses at which step.

Equations
Instances For
    theorem ReflectiveSubsystems.floorErrorTimes_card_mul_le_of_lawMisses_le {α : Type u_1} [DecidableEq α] {C : ℕ} (k : ℕ) (Ls : Fin C → (Fin k → α) → α) (x : ℕ → α) (b : ℕ) (θ : ℚ) (hbudget : 2 * (↑C - 1) ≤ θ * 2 ^ b) (i₀ : Fin C) {B : ℕ} (hB : ∀ (T : ℕ), ECA.predictorErrors k (Ls i₀) x T ≤ B) (n : ℕ) :
    ↑(floorErrorTimes (lawMissMatrix k Ls x) b θ n).card * θ ≤ 4 * (↑C - 1) + 2 * ↑C * ↑B

    The instantiation: a bound on one reference law's own misses bounds the floored mixture's error count over the whole family — ReflectiveSubsystems.floorErrorTimes_card_mul_le_missCount at the family's miss matrix, with ReflectiveSubsystems.missCount there identified with predictorErrors here. The right side is free of the horizon and of the family beyond the one reference law: that is the content carried over from the imported bound.

    The witness sequence, true only at t = 0.

    Equations
    Instances For
      def ReflectiveSubsystems.nvLs :
      Fin 2 → (Fin 0 → Bool) → Bool

      The witness family: two candidates, each the constant "always false" law over an empty memory.

      Equations
      Instances For

        The smallest instance meeting floorErrorTimes_card_mul_le_of_lawMisses_le's two hypotheses at once: two candidates (nvLs), memory 0, the constant "always false" law for each, against the sequence true only at t = 0 (nvX). Both candidates miss at the uniform start, clearing the threshold θ = 1/2 there (floorErrorTimes_vacuous_at_badW_budget marks θ ≥ 1 at this budget as the zone to stay out of), and the reference law misses at most once, ever.

        Axiom audit #

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