affine common pair cases
ProvedCouret.InterIA.Catalogue.Quarter.AffineCriterion.affine_common_pair_casescouret-programmecouret-unification-20261108
In ℤ/(4q)ℤ put A={0,q,x,x+2q}, B={0,q,x+q,x+3q}, and D={0,q,2q,3q}; these are sets, so repeated entries count once. For every positive natural q, x∈ℤ/(4q)ℤ with x∉D, unit u of ℤ/(4q)ℤ and v∈ℤ/(4q)ℤ, if {u a+v:a∈A}=B, then either v=0 and uq=q, or v=q and uq=−q.
Preamble
import Definitions.Def_Couret_QuarterAffineCriterion_d1003281e8a6 import Mathlib.Algebra.BigOperators.Group.Finset.Basic import Mathlib.Algebra.BigOperators.Ring.Finset import Mathlib.Algebra.MonoidAlgebra.Defs import Mathlib.Algebra.MonoidAlgebra.MapDomain import Mathlib.Data.Finset.Insert import Mathlib.Data.Finset.Prod import Mathlib.Data.Finset.SymmDiff import Mathlib.Data.ZMod.Basic import Mathlib.Data.ZMod.Units import Mathlib.GroupTheory.OrderOfElement import Mathlib.Tactic.Abel import Mathlib.Tactic.LinearCombination import Mathlib.Tactic.NormNum import Mathlib.Tactic.Ring import Mathlib.Tactic.Tauto import Theorems.Thm_Couret_InterIA_Catalogue_Quarter_AffineCriterion_affine_common_point_image import Theorems.Thm_Couret_InterIA_Catalogue_Quarter_quarter_ne_zero import Definitions.Def_Couret_QuarterPatterns_d02dd43ea8cd import Definitions.Def_Couret_AffineEquivalenceTransport_fe8e73389d60 set_option autoImplicit false namespace Couret.InterIA.Catalogue.Quarter.AffineCriterion open Finset Couret.InterIA.Catalogue.Quarter Couret.InterIA.NormalForm
Formal statement
theorem affine_common_pair_cases (q : ℕ) (hq : 0 < q) (x : ZMod (4*q))
(hx : x ∉ badParameters q) (u : (ZMod (4*q))ˣ) (v : ZMod (4*q))
(hAB : (patternA q x).image (fun a => (u : ZMod (4*q))*a+v)=patternB q x) :
(v=0 ∧ (u : ZMod (4*q))*q=q) ∨ (v=q ∧ (u : ZMod (4*q))*q= -q) := by sorry
end Couret.InterIA.Catalogue.Quarter.AffineCriterion
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 source-tree/research/interia/m026-hk-review-corollaries-20261103/QuarterAffineCriterion.lean, lines 13–31; source file SHA-256 7575c3b014a769e070202229a8e9d2abee0368ed94316d08f50628cef77847e5; theorem Couret.InterIA.Catalogue.Quarter.AffineCriterion.affine_common_pair_cases