Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Equal cyclic sum profiles imply equal difference profiles

Proved
Couret.InterIA.SumAutocorr.orderedSquare_eq_implies_orderedDifference_eq

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

couret-programmecouret-unification-20261108

For a finite subset AAA of an abelian group, let RA(z)=∣{(a,b)∈A2:a+b=z}∣R_A(z)=|\{(a,b)\in A^2:a+b=z\}|RA​(z)=∣{(a,b)∈A2:a+b=z}∣. Let n>0n>0n>0 and S,T⊆Z/nZS,T\subseteq\mathbb Z/n\mathbb ZS,T⊆Z/nZ. If RS=RTR_S=R_TRS​=RT​, then

∣{(a,b)∈S2:a−b=z}∣=∣{(a,b)∈T2:a−b=z}∣for every z.|\{(a,b)\in S^2:a-b=z\}|=|\{(a,b)\in T^2:a-b=z\}|\quad\text{for every }z.∣{(a,b)∈S2:a−b=z}∣=∣{(a,b)∈T2:a−b=z}∣for every z.

This converts a sum-profile collision into an autocorrelation collision.

Preamble
import Definitions.Def_Couret_SumAutocorr_074e6f9ba1f0
import Mathlib.Algebra.BigOperators.Group.Finset.Basic
import Mathlib.Algebra.BigOperators.Ring.Finset
import Mathlib.Analysis.Fourier.ZMod
import Mathlib.Data.Finset.Insert
import Mathlib.Data.Finset.Prod
import Mathlib.Data.Finset.SymmDiff
import Mathlib.Data.ZMod.Basic
import Mathlib.Tactic.Abel
import Mathlib.Tactic.NormNum
import Mathlib.Tactic.Ring
import Mathlib.Tactic.Tauto
import Theorems.Thm_Couret_InterIA_SumAutocorr_dft_pairCount
import Definitions.Def_Couret_ConvolutionParity_aa654fd002fc
import Mathlib.Analysis.Fourier.ZMod

set_option autoImplicit false
namespace Couret.InterIA.SumAutocorr
open Finset Couret.InterIA.Parity

variable {n : ℕ} [NeZero n]



















Formal statement

theorem orderedSquare_eq_implies_orderedDifference_eq
    (S T : Finset (ZMod n)) (h : ∀ z, orderedSquare S z=orderedSquare T z) :
    ∀ z, orderedDifference S z=orderedDifference T z := by sorry




end Couret.InterIA.SumAutocorr
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/sum-autocorr-20261105/SumAutocorr.lean, lines 81–102; source file SHA-256 034fe0afbe3c002f93196fe2060cea425c9f8cf2da4c42c54bbcf94783bc644d; theorem Couret.InterIA.SumAutocorr.orderedSquare_eq_implies_orderedDifference_eq

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