A binary torsion coordinate vanishes exactly with its cyclic coordinate
ProvedCouret.STROBO2TORS.recoh_product_two_coordinates_eq_zero_iffcouret-programmecouret-unification-20261108
Let , let be nonzero natural numbers for , and set . A primary coordinate for a prime is an index with . For supports in , write for ordered-sum counts, , and for a character bank . For and an even-modulus coordinate ,
where is the defined product two-torsion coordinate map. This identifies its zero bits exactly.
Preamble
import Aesop
import Definitions.Def_Couret_RecohCyclicCoordinates_d669b2caaf1a
import Lean.Elab.Tactic.Omega
import Mathlib.Algebra.BigOperators.Group.Finset.Basic
import Mathlib.Algebra.Field.ZMod
import Mathlib.Algebra.Group.AddChar
import Mathlib.Algebra.Module.ZMod
import Mathlib.Analysis.Complex.Basic
import Mathlib.Analysis.SpecialFunctions.Complex.CircleAddChar
import Mathlib.Data.Complex.Basic
import Mathlib.Data.Finset.Card
import Mathlib.Data.Finset.Powerset
import Mathlib.Data.Fintype.BigOperators
import Mathlib.Data.Fintype.Card
import Mathlib.Data.Nat.Factorization.Basic
import Mathlib.Data.ZMod.Basic
import Mathlib.FieldTheory.Finiteness
import Mathlib.GroupTheory.FiniteAbelian.Duality
import Mathlib.LinearAlgebra.Dimension.Constructions
import Mathlib.LinearAlgebra.Dimension.Finite
import Mathlib.LinearAlgebra.Dual.Lemmas
import Mathlib.LinearAlgebra.LinearIndependent.Lemmas
import Mathlib.Tactic.Abel
import Mathlib.Tactic.Choose
import Mathlib.Tactic.FinCases
import Mathlib.Tactic.LinearCombination
import Mathlib.Tactic.Ring
import Mathlib.Tactic.Tauto
import Definitions.Def_Couret_RecohCyclicHalves_383c4510168a
import Mathlib.Tactic.FinCases
set_option autoImplicit false
/-!
Executable binary coordinates on the two-torsion of a product of cyclic
groups. The coordinate type is the subtype of even factors. Encoding tests
whether a cyclic coordinate is zero; decoding uses zero on odd factors and
either zero or q / 2 on even factors. Neither direction chooses a basis or
enumerates the ambient group or its torsion subgroup.
The definitions below are computable Lean definitions. Their formulas are
the coordinate shift formulas of the separate Python decoder; this module
does not certify the Python runtime or a parser for its input values.
-/
namespace Couret.STROBO2TORS
variable {d : ℕ} (q : Fin d → ℕ)
variable [∀ i, NeZero (q i)]
Formal statement
@[simp] theorem recoh_product_two_coordinates_eq_zero_iff
(u : recohTorsionSubgroup (G := (i : Fin d) → ZMod (q i)) 2)
(i : RecohEvenCoordinate q) :
recohProductTwoCoordinates q u i = 0 ↔
(u : (j : Fin d) → ZMod (q j)) i.val = 0 := by sorry
end Couret.STROBO2TORS
Source
Alexandre Couret, Couret — Additive reconstruction: STROBO-4, singleton collisions and RECOH formal proof artifacts, https://zenodo.org/records/23980513; archive COURET_MATHEMATIQUES_20261105.zip, SHA-256 19a3b59aee930df74cab79c27b29e014843bd17179a26fef1261ed6b5a651ab7; file RECOH/lean/RecohCyclicCoordinates.lean, lines 213–218; source file SHA-256 307e0b9c9a6c40440db993a517d675d2c455fc33b9a8339a890d89c7b3caf84e; theorem Couret.STROBO2TORS.recoh_product_two_coordinates_eq_zero_iff