Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Ambient affine reference form

Definition
Couret_AmbientCollisionAssembly_e789a884d541

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

couret-programmecouret-unification-20261108

For two supports in Z/nZ\mathbb Z/n\mathbb ZZ/nZ, defines an ambient reference form by positive integers d,bd,bd,b with n=4dbn=4dbn=4db and b≡2(mod4)b\equiv2\pmod4b≡2(mod4), a unit multiplier and a common translation. Their images must be the two dilated reference patterns, in either order. This packages affine equivalence while preserving the ambient modulus.

Definition code
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 Definitions.Def_Couret_QuarterPrimitiveReduction_b041ef56a347

set_option autoImplicit false
namespace Couret.InterIA.Catalogue.Quarter.Ambient
open Finset Couret.InterIA.NormalForm Couret.InterIA.Catalogue.Quarter
open Couret.InterIA.Catalogue.Quarter.Primitive Couret.InterIA.Catalogue.Parameters
open Couret.InterIA.Catalogue.AffineTransport Couret.InterIA.Parity

/-- A common ambient affinity to a dilated parameter-one pair; both orientations are retained. -/
def AmbientReferenceForm (n : ℕ) (S T : Finset (ZMod n)) : Prop :=
  ∃ d b : ℕ, 0 < d ∧ 0 < b ∧ n=4*(d*b) ∧ b%4=2 ∧
    ∃ U : (ZMod n)ˣ, ∃ V : ZMod n,
      (S.image (fun z => (U : ZMod n)*z+V)=(patternA b 1).image (dilate n d) ∧
       T.image (fun z => (U : ZMod n)*z+V)=(patternB b 1).image (dilate n d)) ∨
      (S.image (fun z => (U : ZMod n)*z+V)=(patternB b 1).image (dilate n d) ∧
       T.image (fun z => (U : ZMod n)*z+V)=(patternA b 1).image (dilate n d))









end Couret.InterIA.Catalogue.Quarter.Ambient
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/AmbientCollisionAssembly.lean; source file SHA-256 5644ce4fd9e8bafd6f25e78efbcd512000a4dad8e6841d2bcb4e0131600ca136

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