Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.RepresentationTheory.Theta.Adelic.SplitUnitary |
| 2 | |
| 3 | /-! # Split Integral Coefficients -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SplitIntegralCoefficients.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Integral coefficients of split unitary matrices, obtained from the |
| 10 | explicit inverse of the two root coordinates. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | open OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary.SplitAlgebra |
| 14 | open OAI.RepresentationTheory.Theta.Adelic.SplitUnitary OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary |
| 15 | |
| 16 | variable {k : Type*} [Field k] [CharZero k] {d : k} |
| 17 | (r : k) (hr : r ^ 2 = d) (hr0 : r ≠ 0) |
| 18 | {I : Type*} [Fintype I] [DecidableEq I] (S : Subring k) |
| 19 | |
| 20 | omit [CharZero k] [DecidableEq I] in |
| 21 | theorem matrix_mul {A B : Matrix I I k} |
| 22 | (hA : ∀ i j, A i j ∈ S) (hB : ∀ i j, B i j ∈ S) : |
| 23 | ∀ i j, (A * B) i j ∈ S := by |
| 24 | intro i j |
| 25 | exact S.sum_mem (fun t _ => S.mul_mem (hA i t) (hB t j)) |
| 26 | |
| 27 | omit [Fintype I] [DecidableEq I] in |
| 28 | theorem join_coefficients (h2 : (2 : k)⁻¹ ∈ S) (h2r : (2 * r)⁻¹ ∈ S) |
| 29 | (A B : Matrix I I k) (hA : ∀ i j, A i j ∈ S) (hB : ∀ i j, B i j ∈ S) : |
| 30 | ∀ i j, (RepresentationTheory.Theta.Adelic.SpecialUnitary.SplitAlgebra.joinMatrix r hr hr0 A B i j).re ∈ S ∧ |
| 31 | (RepresentationTheory.Theta.Adelic.SpecialUnitary.SplitAlgebra.joinMatrix r hr hr0 A B i j).im ∈ S := by |
| 32 | intro i j |
| 33 | change (A i j + B i j) / 2 ∈ S ∧ (A i j - B i j) / (2 * r) ∈ S |
| 34 | simp only [div_eq_mul_inv] |
| 35 | exact ⟨S.mul_mem (S.add_mem (hA i j) (hB i j)) h2, |
| 36 | S.mul_mem (S.sub_mem (hA i j) (hB i j)) h2r⟩ |
| 37 | |
| 38 | theorem lift_coefficients (h2 : (2 : k)⁻¹ ∈ S) (h2r : (2 * r)⁻¹ ∈ S) |
| 39 | (H : (Matrix I I (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d))ˣ) |
| 40 | (hH : ∀ i j, (RepresentationTheory.Theta.Adelic.SplitUnitary.plusUnits r hr hr0 H).val i j ∈ S) |
| 41 | (hHi : ∀ i j, (RepresentationTheory.Theta.Adelic.SplitUnitary.plusUnits r hr hr0 H)⁻¹.val i j ∈ S) |
| 42 | (A : (Matrix I I k)ˣ) (hA : ∀ i j, A.val i j ∈ S) |
| 43 | (hAi : ∀ i j, A⁻¹.val i j ∈ S) : |
| 44 | ∀ i j, ((RepresentationTheory.Theta.Adelic.SplitUnitary.liftLinear r hr hr0 H A).val i j).re ∈ S ∧ |
| 45 | ((RepresentationTheory.Theta.Adelic.SplitUnitary.liftLinear r hr hr0 H A).val i j).im ∈ S := by |
| 46 | exact join_coefficients r hr hr0 S h2 h2r _ _ hA |
| 47 | (fun i j => matrix_mul S (matrix_mul S hH hAi) hHi j i) |
| 48 | |
| 49 | theorem special_unitary_coefficients (h2 : (2 : k)⁻¹ ∈ S) (h2r : (2 * r)⁻¹ ∈ S) |
| 50 | (H : (Matrix I I (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d))ˣ) (hherm : H.val.conjTranspose = H.val) |
| 51 | (hH : ∀ i j, (RepresentationTheory.Theta.Adelic.SplitUnitary.plusUnits r hr hr0 H).val i j ∈ S) |
| 52 | (hHi : ∀ i j, (RepresentationTheory.Theta.Adelic.SplitUnitary.plusUnits r hr hr0 H)⁻¹.val i j ∈ S) |
| 53 | (g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU H.val) |
| 54 | (hg : ∀ i j, RepresentationTheory.Theta.Adelic.SpecialUnitary.SplitAlgebra.plus r hr hr0 (g.val.val i j) ∈ S) |
| 55 | (hgi : ∀ i j, RepresentationTheory.Theta.Adelic.SpecialUnitary.SplitAlgebra.plus r hr hr0 ((g⁻¹).val.val i j) ∈ S) : |
| 56 | ∀ i j, (g.val.val i j).re ∈ S ∧ (g.val.val i j).im ∈ S := by |
| 57 | have he := congrArg Units.val |
| 58 | (RepresentationTheory.Theta.Adelic.SplitUnitary.liftLinear_recovers r hr hr0 H hherm (RepresentationTheory.Theta.Adelic.SpecialUnitary.includeUnitary H.val g)) |
| 59 | change (RepresentationTheory.Theta.Adelic.SplitUnitary.liftLinear r hr hr0 H (RepresentationTheory.Theta.Adelic.SplitUnitary.plusUnitary r hr hr0 H (RepresentationTheory.Theta.Adelic.SpecialUnitary.includeUnitary H.val g))).val = |
| 60 | g.val.val at he |
| 61 | rw [← he] |
| 62 | exact lift_coefficients r hr hr0 S h2 h2r H hH hHi |
| 63 | (RepresentationTheory.Theta.Adelic.SplitUnitary.plusUnitary r hr hr0 H (RepresentationTheory.Theta.Adelic.SpecialUnitary.includeUnitary H.val g)) hg hgi |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SplitIntegralCoefficients.CM |