AFTD Auto-Formalizing Theoretical Domains

prioritized_borel_encoding_allowed_is_real_when_viable

theoremverified

When a real encoding move exists, every allowed move is real and the fallback cannot be used.

Statement

theorem prioritized_borel_encoding_allowed_is_real_when_viable {Q : Type} [Fintype Q] (G : PrioritizedBorelGame Q 3) (s : Enc1385State Q) (bit : Bool) (prio : Fin 3) (hv : ∃ bit' prio', enc1385Real G s bit' prio') (ha : enc1385Allowed G s bit prio) : enc1385Real G s bit prio
Source
Phase-state encoding for arXiv:2611.10136, Conjecture 19.
Verified
17 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 2
  • enc1385GameGiven a finite-state three-priority tree game, construct a phase-state game that encodes each original direction followed by a one-hot…
  • PrioritizedBorelGameA structure PrioritizedBorelGame (Q : Type*) (k : ℕ) representing a prioritized Borel game with state space Q and k priorities, with…

The proof, explained

The proof proceeds by case analysis on the definition of an allowed move (`enc1385Allowed`). By definition, a move is allowed if and only if it is either an actual encoding move or a default fallback move permitted only when no real move exists. If the move is a real move, the claim holds directly. The fallback case is eliminated because its defining condition—that no real move exists—directly contradicts the hypothesis that a viable real move exists.

  1. If the allowed move is an actual encoding move, the goal holds immediately.

    The assumption `ha` asserts that `(bit, prio)` is an allowed move (`enc1385Allowed G s bit prio`). Unpacking this definition splits into two cases: either `(bit, prio)` is an actual move (`enc1385Real G s bit prio`), or it is a fallback move. In the first case, the hypothesis `h` provides exactly the desired conclusion that `(bit, prio)` is real.

    lines 2–3

      rcases ha with h | ⟨hnot, -⟩
      · exact h
  2. The fallback case cannot occur, as it contradicts the existence of a real move.

    In the fallback branch, the definition provides `hnot`, stating that no real move exists (`¬∃ bit' prio', enc1385Real G s bit' prio'`). However, the viability hypothesis `hv` explicitly asserts that a real move does exist (`∃ bit' prio', enc1385Real G s bit' prio'`). These two statements directly contradict each other, which closes the goal.

    line 4

      · contradiction

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_encoding_allowed_is_real_when_viable {Q : Type} [Fintype Q] (G : PrioritizedBorelGame Q 3) (s : Enc1385State Q) (bit : Bool) (prio : Fin 3) (hv : ∃ bit' prio', enc1385Real G s bit' prio') (ha : enc1385Allowed G s bit prio) : enc1385Real G s bit prio := by  rcases ha with h | ⟨hnot, -⟩  · exact h  · contradiction
See it in the graphDiscuss this resultChallenge it