Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

affine witness of images

Proved
Couret.InterIA.Catalogue.Quarter.AffineCriterion.affine_witness_of_images

by alexcour · Nov 8, 2026 · Mathlib c5ea003 (Lean v4.30.0)

couret-programmecouret-unification-20261108

Write Pq(x)={0,q,x,x+2q}P_q(x)=\{0,q,x,x+2q\}Pq​(x)={0,q,x,x+2q}, Bq(x)={0,q,x+q,x+3q}B_q(x)=\{0,q,x+q,x+3q\}Bq​(x)={0,q,x+q,x+3q} and Dq={0,q,2q,3q}D_q=\{0,q,2q,3q\}Dq​={0,q,2q,3q} in Z/(4q)Zℤ/(4q)ℤZ/(4q)Z. For every integer q>0q>0q>0, residue x∉Dqx∉D_qx∈/Dq​, unit uuu, and residue vvv, if u0+v∈{0,q}u0+v∈\{0,q\}u0+v∈{0,q}, uq+v∈{0,q}uq+v∈\{0,q\}uq+v∈{0,q}, and ux+v∈{x+q,x+3q}ux+v∈\{x+q,x+3q\}ux+v∈{x+q,x+3q}, then uPq(x)+v=Bq(x)uP_q(x)+v=B_q(x)uPq​(x)+v=Bq​(x).

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_unit_affine_injective
import Theorems.Thm_Couret_InterIA_Catalogue_Quarter_AffineCriterion_unit_preserves_half
import Theorems.Thm_Couret_InterIA_Catalogue_Quarter_four_quarters_zero
import Theorems.Thm_Couret_InterIA_Catalogue_Quarter_patternA_card_iff
import Theorems.Thm_Couret_InterIA_Catalogue_Quarter_patternB_card_iff
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_witness_of_images (q : ℕ) (hq : 0 < q) (x : ZMod (4*q))
    (hx : x ∉ badParameters q) (u : (ZMod (4*q))ˣ) (v : ZMod (4*q))
    (h0 : (u : ZMod (4*q))*0+v=0 ∨ (u : ZMod (4*q))*0+v=q)
    (hQ : (u : ZMod (4*q))*q+v=0 ∨ (u : ZMod (4*q))*q+v=q)
    (hX : (u : ZMod (4*q))*x+v=x+q ∨ (u : ZMod (4*q))*x+v=x+3 • (q : ZMod (4*q))) :
    (patternA q x).image (fun a => (u : ZMod (4*q))*a+v)=patternB q x := 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 68–93; source file SHA-256 7575c3b014a769e070202229a8e9d2abee0368ed94316d08f50628cef77847e5; theorem Couret.InterIA.Catalogue.Quarter.AffineCriterion.affine_witness_of_images

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me