Sparse exponent comparisons exactly check all character readings
ProvedCouret.STROBO2TORS.recoh_sparse_readings_check_iffcouret-programmecouret-unification-20261108
Let be an abelian group, and let index primes , depths , primitive complex roots of order , characters , candidate exponent encoders , observed exponent lists , and observed values . For a fixed support , assume and . Then
The exponent lists may contain repetitions and have arbitrary finite lengths.
Preamble
import Aesop
import Definitions.Def_Couret_RecohSparseObservation_6dd9be0e8eb2
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.RingTheory.Polynomial.Cyclotomic.Roots
import Mathlib.Tactic
import Mathlib.Tactic.Abel
import Mathlib.Tactic.Choose
import Mathlib.Tactic.LinearCombination
import Mathlib.Tactic.Ring
import Mathlib.Tactic.Tauto
import Theorems.Thm_Couret_STROBO2TORS_recoh_normalized_sparse_equal_iff
import Definitions.Def_Couret_RecohCyclotomicNormalization_6797485e207c
import Definitions.Def_Couret_RecohCandidateDecoder_966deca9afb6
set_option autoImplicit false
/-!
Executable sparse checking of a full RECOH observation.
The ordered square is checked only on the supplied support of the observed
square together with sums of pairs in the proposed support. Character
readings are checked by the certified integer-term comparator. Neither
checker enumerates the ambient group or requires `Fintype G`.
The encodings of proposed and observed readings are input data. Their
interpretation contracts, the primary orders, primitive roots and support
coverage are explicit hypotheses of correctness. This module does not
certify a parser or construct those encodings from complex numbers.
-/
namespace Couret.STROBO2TORS
open scoped BigOperators
variable {G : Type*} [AddCommGroup G] [DecidableEq G]
Formal statement
omit [DecidableEq G] in
theorem recoh_sparse_readings_check_iff {m : ℕ} (p k : Fin m → ℕ)
(enc : Fin m → Finset G → List ℕ) (obsExp : Fin m → List ℕ)
(S : Finset G) (bank : Fin m → AddChar G ℂ) (ζ obs : Fin m → ℂ)
(hp : ∀ i, (p i).Prime)
(hζ : ∀ i, IsPrimitiveRoot (ζ i) ((p i) ^ (k i + 1)))
(henc : ∀ i, ((enc i S).map (ζ i ^ ·)).sum = recohSupportProbe (bank i) S)
(hobs : ∀ i, ((obsExp i).map (ζ i ^ ·)).sum = obs i) :
recohSparseReadingsCheck p k enc obsExp S = true ↔
(fun i => recohSupportProbe (bank i) S) = obs := 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/RecohSparseObservation.lean, lines 79–102; source file SHA-256 3e5ab9ed2f77e232442c1e513ac667674b59190c499be9b6b00defed9b569878; theorem Couret.STROBO2TORS.recoh_sparse_readings_check_iff