AFTD Auto-Formalizing Theoretical Domains

prioritized_borel_expanded_play_max_priority

theoremverified

The encoded sequence has exactly the same maximal recurring priority as the original edge sequence.

Statement

theorem prioritized_borel_expanded_play_max_priority {Q : Type} [Fintype Q] (G : PrioritizedBorelGame Q 3)
    (π : ℕ → TreeGameEdge Q 3) (p : Fin 3) :
    (Filter.Frequently (fun n => (enc1385ExpandedPlay G π n).prio = p) Filter.atTop ∧
      ∀ q : Fin 3, p < q → ¬ Filter.Frequently (fun n => (enc1385ExpandedPlay G π n).prio = q) Filter.atTop) ↔
    (Filter.Frequently (fun n => (π n).prio = p) Filter.atTop ∧
      ∀ q : Fin 3, p < q → ¬ Filter.Frequently (fun n => (π n).prio = q) Filter.atTop)
Source
Infinite-sequence encoding for arXiv:2611.10136, Conjecture 19.
Verified
17 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 5
  • enc1385GameGiven a finite-state three-priority tree game, construct a phase-state game that encodes each original direction followed by a one-hot…
  • enc1385ExpandedPlayExpand an arbitrary sequence of original edges into phase-game edges by indexing its fixed-length direction-and-state blocks. This…
  • prioritized_borel_padding_offset_max_priorityFor any three-priority sequence and fixed offset r within blocks of positive length L, replacing each value by a block with that value at…
  • PrioritizedBorelGameA structure PrioritizedBorelGame (Q : Type*) (k : ℕ) representing a prioritized Borel game with state space Q and k priorities, with…
  • TreeGameEdgeA structure TreeGameEdge (Q : Type*) (k : ℕ) representing an edge in a binary tree game arena with state space Q and k priorities, with…
Used by 1

The proof, explained

The encoding `enc1385ExpandedPlay` stretches each edge of the play $\pi$ into a block of length $|Q| + 1$, placing the original priority at offset $|Q|$ and padding the remaining positions with priority $0$. The lemma `prioritized_borel_padding_offset_max_priority` states that periodically padding a sequence with zeros at non-offset positions does not affect the maximal priority that appears infinitely often. Specializing this lemma with block length $|Q| + 1$ and offset $|Q|$, with the bound $|Q| < |Q| + 1$ discharged by arithmetic, and unfolding the definition of the expanded play immediately yields the equivalence.

  1. The priority $p$ is the maximal priority occurring infinitely often in the encoded play $\mathrm{enc1385ExpandedPlay}(G, \pi)$ if and only if it is the maximal priority occurring infinitely often in the original play $\pi$.

    By the definition of `enc1385ExpandedPlay`, each step of $\pi$ is expanded into a block of length $L = |Q| + 1$, assigning the original priority $(\pi(n / L)).\mathrm{prio}$ at remainder index $|Q|$ and $0$ elsewhere. Applying the padding lemma `prioritized_borel_padding_offset_max_priority` with period $|Q| + 1$, offset $|Q|$ (which satisfies $|Q| < |Q| + 1$ by linear arithmetic via `omega`), and priority sequence $n \mapsto (\pi(n)).\mathrm{prio}$, and unfolding `enc1385ExpandedPlay`, completes the equivalence.

    lines 7–9

    uses prioritized_borel_padding_offset_max_priority

      simpa [enc1385ExpandedPlay] using
        (prioritized_borel_padding_offset_max_priority (Fintype.card Q + 1) (Fintype.card Q)
          (by omega) (fun n => (π n).prio) p)
prioritized_borel_padding_offset_max_priority
For any period $L$ and offset $r < L$, padding a priority sequence $f : ℕ → Fin 3$ by assigning $f(n / L)$ when $n ≡ r \pmod L$ and $0$ elsewhere preserves the maximal priority that occurs infinitely often.

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

theorem prioritized_borel_expanded_play_max_priority {Q : Type} [Fintype Q] (G : PrioritizedBorelGame Q 3)    (π : ℕ → TreeGameEdge Q 3) (p : Fin 3) :    (Filter.Frequently (fun n => (enc1385ExpandedPlay G π n).prio = p) Filter.atTop ∧      ∀ q : Fin 3, p < q → ¬ Filter.Frequently (fun n => (enc1385ExpandedPlay G π n).prio = q) Filter.atTop) ↔    (Filter.Frequently (fun n => (π n).prio = p) Filter.atTop ∧      ∀ q : Fin 3, p < q → ¬ Filter.Frequently (fun n => (π n).prio = q) Filter.atTop) := by  simpa [enc1385ExpandedPlay] using    (prioritized_borel_padding_offset_max_priority (Fintype.card Q + 1) (Fintype.card Q)      (by omega) (fun n => (π n).prio) p)
See it in the graphDiscuss this resultChallenge it