Lemma 2.3: symmetries
ProvedMiyadera2026.symmetriesComplementing every answer maps to itself and negates the surplus; reversing the order maps to itself and keeps the surplus; hence for every weight and question , and . Questions are counted from in Lean: question below is the paper's question .
import Definitions.Def_Miyadera2026_Defs import Mathlib
namespace Miyadera2026
open Finset Matrix
theorem symmetries (n : ℕ) :
(∀ ε ∈ adm n, (fun j => !ε j) ∈ adm n ∧ surplus (fun j => !ε j) = -surplus ε) ∧
(∀ ε ∈ adm n, (fun j => ε j.rev) ∈ adm n ∧ surplus (fun j => ε j.rev) = surplus ε) ∧
(∀ (w : ℕ → ℝ) (i : Fin n), Dw w n i = Dw w n i.rev) ∧
(∀ i : Fin n, 2 * ∑ ε ∈ keys n, surplus ε * sgn (ε i) = W n i) := by sorry
end Miyadera2026Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
For all n: (a) if eps is admissible then its complement (all answers flipped) is admissible and has surplus -surplus eps; (b) if eps is admissible then its reversal j -> eps(rev j) (rev j = n-1-j) is admissible with the same surplus; (c) for every weight w : N -> R and every position i, Dw w n i = Dw w n (rev i); (d) for every i, 2 * (sum over keys of surplus * sgn(eps i)) = W n i.
Auditor concerns: none. (d) is true because surplus-0 keys contribute 0 and complementation swaps surplus < 0 keys with surplus > 0 keys while preserving surplus*sgn(eps i).
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.