ComparatorChallenges/CirculantHadamard.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: OpenAI's pinned repository says an unreleased internal model produced the manuscripts and supporting proof artifacts. The collection builds on the mathematics community's accumulated problems, results, language, and formal libraries; each manuscript's BibTeX and bibliography are the authority for individual scholarly credit.
Project sources: Pinned openai/math documentation, Pinned formalization catalogue
6 declarations, 1 contain sorry, 0 declared as axioms
- def
OAI.CirculantHadamard.IsSignline 9Also declared: ComparatorChallenges/EvenBarker.lean:9 (same declaration text), OAI/LinearAlgebra/CirculantHadamard/Model.lean:9 (same declaration text).
- abbrev
OAI.CirculantHadamard.RealMatrixline 12Also declared: OAI/LinearAlgebra/CirculantHadamard/Model.lean:12 (same declaration text).
- def
OAI.CirculantHadamard.IsCirculantline 14Also declared: OAI/LinearAlgebra/CirculantHadamard/Model.lean:14 (same declaration text).
- def
OAI.CirculantHadamard.IsSignHadamardline 17Also declared: OAI/LinearAlgebra/CirculantHadamard/Model.lean:17 (same declaration text).
- def
OAI.CirculantHadamard.ExistsRealCirculantHadamardline 21Also declared: OAI/LinearAlgebra/CirculantHadamard/Model.lean:21 (same declaration text).
- theorem
OAI.CirculantHadamard.exists_iff_order_one_or_fourChallenge statement: Real circulant Hadamard matrices have order one or four sorry line 24L4DEL explanation
a real circulant Hadamard matrix has order 1 or 4
It will be shown here that for odd n, these are all the sequences with the property |cₖ| ≤ 1
A positive-order real matrix whose entries are signs, whose rows are cyclic shifts, and whose rows are mutually orthogonal exists exactly in orders one and four.
IsCirculant Hmeans that one functionhsupplies every entry asH i j = h (j-i), so each row is a cyclic shift of the same sign pattern.IsSignHadamard Hrequires every entry to equal1or-1and requiresH * Hᵀ = nI.ExistsRealCirculantHadamard nexistentially combines these conditions.- For every positive
n, the theorem proves an equivalence: such a matrix exists if and only ifn=1orn=4. Both existence directions and every nonexistence case are part of the same statement. - This declaration concerns real sign-valued circulant Hadamard matrices only. The Barker-sequence corollary discussed by the manuscript is a separate comparator statement. The body is
sorry, paired withOAI.LinearAlgebra.CirculantHadamard.Main.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f), OpenAI circulant-Hadamard manuscript (abstract), Pinned OpenAI formalization note 179, Richard Turyn and James Storer (1961), original paper
Distinct definitions of this name: OAI/LinearAlgebra/CirculantHadamard/Main.lean:21 (same statement text; different proof or body). Qualify references as OAI.CirculantHadamard.exists_iff_order_one_or_four@path.
circulant matrix: a matrix in which every row is a cyclic shift of one common row
Hadamard matrix: here, a sign-valued square matrix whose product with its transpose is its order times the identity
theorem exists_iff_order_one_or_four (n : ℕ) (hn : 0 < n) : ExistsRealCirculantHadamard n ↔ n = 1 ∨ n = 4 := by …