Separation makes noisy sign decoding unique
ProvedCouret.STROBO2TORS.recoh_noisy_sign_decoder_card_le_oneFor a rational pair z=(a,b), write V(z)=a+bi. Let G be an abelian group, H=G[2], and P_i(B)=sum_(x in B)chi_i(x) for a bank of complex additive characters. An additive equivalence e:H≃(J→F_2) supplies binary coordinates. The rational sign test accepts exactly when the radius r is nonnegative and the rational squared distance from observed to predicted is at most r^2. Recovery translates each representative by the H-element obtained from its sign bits via e inverse. Let I be finite, index:J→I select binary slots, b:Finset(G)→I→Q^2 be predictions, o:I→Q^2 observations, and r a rational radius. The sign decoder first recovers candidates from selected slots, then keeps exactly those passing the rational ball test at every full-bank slot. Assume G finite, let S be any finite support and R⊆F(S), and take a full bank chi_i and real eta. Suppose every two distinct members of F(S) differ in some bank probe by norm at least 2; every prediction on every T in F(S) has error at most eta in every coordinate; and
Then
Arbitrary observations and negative r are allowed; no coordinate compatibility hypothesis on e and the bank is required for this uniqueness statement.
import Aesop
import Definitions.Def_Couret_RecohNoisySignRecovery_25d41afc9bfe
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.Complex.Norm
import Mathlib.Analysis.SpecialFunctions.Complex.CircleAddChar
import Mathlib.Data.Complex.Basic
import Mathlib.Data.Finite.Card
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.FinCases
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.LinearCombination
import Mathlib.Tactic.NormNum
import Mathlib.Tactic.Positivity
import Mathlib.Tactic.Ring
import Mathlib.Tactic.Tauto
import Theorems.Thm_Couret_STROBO2TORS_recoh_noisy_recovered_candidates_square_sound
import Theorems.Thm_Couret_STROBO2TORS_recoh_rational_noisy_decoder_card_le_one
import Definitions.Def_Couret_RecohNoisyUniqueness_7e21ca0c53e8
import Definitions.Def_Couret_RecohIndexedSignRecovery_d641979954b3
set_option autoImplicit false
/-!
Noisy sign recovery from a list of square-fibre representatives. Each
binary sign is recovered by one rational ball test, then transported through
the existing two-torsion coordinate equivalence. At most one candidate is
created per representative, without enumerating the two-torsion subgroup.
The rational decoder in RecohNoisyUniqueness supplies the final tolerance
filter and uniqueness contract.
-/
namespace Couret.STROBO2TORS
variable {G J : Type*} [AddCommGroup G] [DecidableEq G]
local notation "H₂" => recohTorsionSubgroup (G := G) 2
theorem recoh_noisy_sign_decoder_card_le_one [Fintype G]
{I : Type*} [Fintype I]
(bank : I → AddChar G ℂ) (S : Finset G) (representatives : Finset (Finset G))
(hrepresentatives : representatives ⊆ squareFibre S)
(e : H₂ ≃+ (J → ZMod 2)) (index : J → I)
(predicted : Finset G → I → RecohRationalComplex)
(observed : I → RecohRationalComplex) (radius : ℚ) (η : ℝ)
(hsep : RecohProbeSeparated bank (squareFibre S) 2)
(hpred : ∀ T ∈ squareFibre S, ∀ i,
‖recohRationalComplexValue (predicted T i) - recohSupportProbe (bank i) T‖ ≤ η)
(hbudget : 2 * ((radius : ℝ) + η) < 2) :
(recohNoisySignDecoder representatives e index predicted observed radius).card ≤ 1 := by sorry
end Couret.STROBO2TORS