Documentation

ReflectiveSubsystems.DictatorClass

Learners whose dictators pass only to dictators: the second state past C buys nothing #

[Discovery] §3.4 Proposition 3.13. Take a finite-state learner over C candidates (FiniteLearner) with at most C + 2 states, a dictator d c for each candidate, and a map n on the candidates such that the dictator of c, at the vector false at c alone and the outcome true, moves to the dictator of n c. A set of candidates is k-hard for the walk of n (WalkHard n k) when it is nonempty and, from every start, some member is not visited in the first C - k steps of the walk.

Main results #

Each bound is accompanied by a _nonvacuous statement: a learner with exactly C + 2 states and a bounded count, meeting all the hypotheses together.

def ReflectiveSubsystems.WalkHard {C : ℕ} (n : Fin C → Fin C) (k : ℕ) (B : Finset (Fin C)) :

A k-hard set for the walk of n. A set is k-hard when it is nonempty and, from every start, some member is not visited in the first C - k steps of the walk of n: the steps the walk takes until it has visited every member are at least C - k, from every start.

Equations
Instances For
    theorem ReflectiveSubsystems.WalkHard.mono {C : ℕ} {n : Fin C → Fin C} {k : ℕ} {B B' : Finset (Fin C)} (hB : WalkHard n k B) (h : B ⊆ B') :
    WalkHard n k B'

    A superset of a k-hard set is k-hard.

    theorem ReflectiveSubsystems.WalkHard.of_le {C : ℕ} {n : Fin C → Fin C} {k k' : ℕ} {B : Finset (Fin C)} (hB : WalkHard n k B) (h : k ≤ k') :
    WalkHard n k' B

    A k-hard set is k'-hard for k ≤ k'.

    @[instance_reducible]
    instance ReflectiveSubsystems.instDecidableWalkHard {C : ℕ} (n : Fin C → Fin C) (k : ℕ) (B : Finset (Fin C)) :
    Equations
    theorem ReflectiveSubsystems.FiniteLearner.exists_missCount_ge_of_split_family {C : ℕ} (hC : 3 ≤ C) {L : FiniteLearner C} (hcard : Fintype.card L.S ≤ C + 2) {d : Fin C → L.S} (hd : ∀ (c : Fin C), L.Dictates (d c) c) {n : Fin C → Fin C} (hn : ∀ (c : Fin C), L.step (d c) (fun (q : Fin C) => decide (q ≠ c)) true = d (n c)) (F : Finset (Finset (Fin C))) (hF : ∀ Y ∈ F, WalkHard n 3 Y ∧ WalkHard n 3 Yᶜ) (hchoice : ∀ (X : Finset (Fin C) → Finset (Fin C)), (∀ Y ∈ F, X Y = Y ∨ X Y = Yᶜ) → ∃ Y ∈ F, ∃ Y' ∈ F, WalkHard n 4 (X Y' \ X Y)) :
    ∃ (v : ℕ → Fin C → Bool) (y : ℕ → Bool), Realizable v y ∧ ∃ (m : ℕ), C ≤ L.missCount v y m + 2

    A family of splits ([Discovery] §3.4 Proposition 3.13(i)). Take a learner over C ≥ 3 candidates with at most C + 2 states, a dictator d c for each candidate, and a map n with the dictator of c, at the vector false at c alone and the outcome true, moving to the dictator of n c. If each split in a family has both sides 3-hard for the walk of n, and every choice of one side of each split has two chosen sides whose difference is 4-hard, then some realizable stream has a horizon at which the learner has missed at least C - 2 times, stated additively as C ≤ m + 2. With at most C + 1 states this is the bound at one state past C (exists_missCount_ge_of_card_le_succ). With exactly C + 2 states the dictators leave two further states h1, h2. A start at a dictator misses at each step of its walk until the last candidate the walk reaches, C - 1 times. Otherwise the adversary presents, at a further state and for a split, the vector true on the candidates of one side with the outcome opposite to the state's prediction, a miss that keeps the side the state reveals. A successor that is a further state already passed lets it repeat the same vectors forever. Were there no stream with C - 2 misses, the first state would reveal a 3-hard side of each split and send it to the second, which would send every side meeting it in a set that is not 4-hard to a dictator, so would reveal every set disjoint from that side; the difference of two revealed sides is then both revealed and not 4-hard, against the choice.

    theorem ReflectiveSubsystems.FiniteLearner.exists_missCount_ge_of_crossing {C : ℕ} (hC : 3 ≤ C) {L : FiniteLearner C} (hcard : Fintype.card L.S ≤ C + 2) {d : Fin C → L.S} (hd : ∀ (c : Fin C), L.Dictates (d c) c) {n : Fin C → Fin C} (hn : ∀ (c : Fin C), L.step (d c) (fun (q : Fin C) => decide (q ≠ c)) true = d (n c)) (A B : Finset (Fin C)) (hA : WalkHard n 3 A) (hA' : WalkHard n 3 Aᶜ) (hB : WalkHard n 3 B) (hB' : WalkHard n 3 Bᶜ) (h1 : WalkHard n 4 (A ∩ Bᶜ) ∨ WalkHard n 4 (Aᶜ ∩ B)) (h2 : WalkHard n 4 (A ∩ B) ∨ WalkHard n 4 (Aᶜ ∩ Bᶜ)) :
    ∃ (v : ℕ → Fin C → Bool) (y : ℕ → Bool), Realizable v y ∧ ∃ (m : ℕ), C ≤ L.missCount v y m + 2

    Two crossing splits ([Discovery] §3.4 Proposition 3.13(ii)). With the hypotheses of the family bound (exists_missCount_ge_of_split_family), two splits {A, Aᶜ} and {B, Bᶜ} with 3-hard sides, one of A ∩ Bᶜ and Aᶜ ∩ B 4-hard and one of A ∩ B and Aᶜ ∩ Bᶜ 4-hard, form a family meeting its choice condition: of the two sides chosen, one of each split, the two differences are one of the two pairs of cells the hypotheses name.

    theorem ReflectiveSubsystems.FiniteLearner.exists_missCount_ge_of_three_classes {C : ℕ} (hC : 3 ≤ C) {L : FiniteLearner C} (hcard : Fintype.card L.S ≤ C + 2) {d : Fin C → L.S} (hd : ∀ (c : Fin C), L.Dictates (d c) c) {n : Fin C → Fin C} (hn : ∀ (c : Fin C), L.step (d c) (fun (q : Fin C) => decide (q ≠ c)) true = d (n c)) (A B : Finset (Fin C)) (hAB : Disjoint A B) (hA : WalkHard n 3 A) (hB : WalkHard n 3 B) (hR : WalkHard n 4 (A ∪ B)ᶜ) :
    ∃ (v : ℕ → Fin C → Bool) (y : ℕ → Bool), Realizable v y ∧ ∃ (m : ℕ), C ≤ L.missCount v y m + 2

    Two disjoint 3-hard sets and a 4-hard remainder ([Discovery] §3.4 Proposition 3.13(ii)). The crossing bound (exists_missCount_ge_of_crossing) at A, B and their complements: the complement of each contains the other, so is 3-hard, A ∩ Bᶜ is A and Aᶜ ∩ Bᶜ is the remainder.

    theorem ReflectiveSubsystems.FiniteLearner.exists_missCount_ge_of_ring {C : ℕ} (hC : 4 ≤ C) {L : FiniteLearner C} (hcard : Fintype.card L.S ≤ C + 2) {d : Fin C → L.S} (hd : ∀ (c : Fin C), L.Dictates (d c) c) (hn : ∀ (c : Fin C), L.step (d c) (fun (q : Fin C) => decide (q ≠ c)) true = d ((finRotate C) c)) :
    ∃ (v : ℕ → Fin C → Bool) (y : ℕ → Bool), Realizable v y ∧ ∃ (m : ℕ), C ≤ L.missCount v y m + 2

    The ring ([Discovery] §3.4 Proposition 3.13(iii)). When the dictator of c passes to the dictator of c + 1 modulo C, every such learner with at most C + 2 states has, over some realizable stream, a count m with C ≤ m + 2 at some horizon, at every C ≥ 4. At the ring a set is k-hard for the walk exactly when it meets every k cyclically consecutive candidates. For C ≡ 1 modulo 3 the crossing bound (exists_missCount_ge_of_crossing) applies at A = {0, 1, 4, …, C - 3} and B = {0, 2, 5, …, C - 2}, with A ∩ Bᶜ = {1, 4, …, C - 3} and Aᶜ ∩ Bᶜ = {3, 6, …, C - 1}. For C ≡ 0 the three residues modulo 3 are three classes (exists_missCount_ge_of_three_classes). For C ≡ 2 from 8 the classes are those of the word 12132123 followed by 123 repeated, classes 1 and 2 recurring within three positions around the ring and class 3 within four. At C = 5 the family bound (exists_missCount_ge_of_split_family) applies at the three splits cutting off {0, 2}, {0, 3} and {2, 4}.

    theorem ReflectiveSubsystems.FiniteLearner.exists_missCount_ge_of_split_family_nonvacuous :
    ∃ (L : FiniteLearner 4) (d : Fin 4 → L.S) (F : Finset (Finset (Fin 4))), 3 ≤ 4 ∧ Fintype.card L.S = 6 ∧ L.BoundedCount ∧ (∀ (c : Fin 4), L.Dictates (d c) c) ∧ (∀ (c : Fin 4), L.step (d c) (fun (q : Fin 4) => decide (q ≠ c)) true = d ((finRotate 4) c)) ∧ (∀ Y ∈ F, WalkHard (⇑(finRotate 4)) 3 Y ∧ WalkHard (⇑(finRotate 4)) 3 Yᶜ) ∧ ∀ (X : Finset (Fin 4) → Finset (Fin 4)), (∀ Y ∈ F, X Y = Y ∨ X Y = Yᶜ) → ∃ Y ∈ F, ∃ Y' ∈ F, WalkHard (⇑(finRotate 4)) 4 (X Y' \ X Y)

    Joint satisfiability at a family of splits. A learner over four candidates with exactly six states and a bounded count, its dictators passing along the ring finRotate 4, and a family of two splits with 3-hard sides meeting the choice condition: all the hypotheses of exists_missCount_ge_of_split_family hold together.

    theorem ReflectiveSubsystems.FiniteLearner.exists_missCount_ge_of_crossing_nonvacuous :
    ∃ (L : FiniteLearner 6) (d : Fin 6 → L.S) (n : Fin 6 → Fin 6) (A : Finset (Fin 6)) (B : Finset (Fin 6)), 3 ≤ 6 ∧ Fintype.card L.S = 8 ∧ L.BoundedCount ∧ (∀ (c : Fin 6), L.Dictates (d c) c) ∧ (∀ (c : Fin 6), L.step (d c) (fun (q : Fin 6) => decide (q ≠ c)) true = d (n c)) ∧ WalkHard n 3 A ∧ WalkHard n 3 Aᶜ ∧ WalkHard n 3 B ∧ WalkHard n 3 Bᶜ ∧ (WalkHard n 4 (A ∩ Bᶜ) ∨ WalkHard n 4 (Aᶜ ∩ B)) ∧ (WalkHard n 4 (A ∩ B) ∨ WalkHard n 4 (Aᶜ ∩ Bᶜ))

    Joint satisfiability at two crossing splits. A learner over six candidates with exactly eight states and a bounded count, its dictators passing along the ring finRotate 6, and two splits with 3-hard sides meeting both crossing alternatives: all the hypotheses of exists_missCount_ge_of_crossing hold together.

    theorem ReflectiveSubsystems.FiniteLearner.exists_missCount_ge_of_three_classes_nonvacuous :
    ∃ (L : FiniteLearner 6) (d : Fin 6 → L.S) (n : Fin 6 → Fin 6) (A : Finset (Fin 6)) (B : Finset (Fin 6)), 3 ≤ 6 ∧ Fintype.card L.S = 8 ∧ L.BoundedCount ∧ (∀ (c : Fin 6), L.Dictates (d c) c) ∧ (∀ (c : Fin 6), L.step (d c) (fun (q : Fin 6) => decide (q ≠ c)) true = d (n c)) ∧ Disjoint A B ∧ WalkHard n 3 A ∧ WalkHard n 3 B ∧ WalkHard n 4 (A ∪ B)ᶜ

    Joint satisfiability at three classes. A learner over six candidates with exactly eight states and a bounded count, its dictators passing along the ring finRotate 6, and the three residue classes modulo 3 of the ring, two of them 3-hard and the third 4-hard: all the hypotheses of exists_missCount_ge_of_three_classes hold together.

    theorem ReflectiveSubsystems.FiniteLearner.exists_missCount_ge_of_ring_nonvacuous :
    ∃ (L : FiniteLearner 4) (d : Fin 4 → L.S), 4 ≤ 4 ∧ Fintype.card L.S = 6 ∧ Fintype.card L.S ≤ 4 + 2 ∧ L.BoundedCount ∧ (∀ (c : Fin 4), L.Dictates (d c) c) ∧ ∀ (c : Fin 4), L.step (d c) (fun (q : Fin 4) => decide (q ≠ c)) true = d ((finRotate 4) c)

    Joint satisfiability at the ring. A learner over four candidates with exactly six states and a bounded count whose dictators pass along finRotate 4 at the restricted vector: all the hypotheses of exists_missCount_ge_of_ring hold together.