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.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntegralLocalCoefficients |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.RationalSU |
| 3 | |
| 4 | /-! # Integral Unitary Matrices -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntegralUnitaryMatrices.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! ThetaCycle: integral quadratic coefficients of a rational unitary matrix |
| 11 | and its inverse put its diagonal image in every local integral subgroup. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField |
| 14 | open IsDedekindDomain |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary OAI.RepresentationTheory.Theta.Adelic.IntegralTopology OAI.RepresentationTheory.Theta.Adelic.RationalSU |
| 16 | |
| 17 | theorem quadratic_matrix_entry_integral_of_difference |
| 18 | {F I : Type*} [Field F] [CharZero F] [Fintype I] [DecidableEq I] |
| 19 | (d : F) (A : Matrix I I (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d)) (i j : I) |
| 20 | (hr : IsIntegral ℤ (A i j - (1 : Matrix I I (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d)) i j).re) |
| 21 | (hi : IsIntegral ℤ (A i j - (1 : Matrix I I (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d)) i j).im) : |
| 22 | IsIntegral ℤ (A i j).re ∧ IsIntegral ℤ (A i j).im := by |
| 23 | have ho : IsIntegral ℤ ((1 : Matrix I I (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d)) i j).re ∧ |
| 24 | IsIntegral ℤ ((1 : Matrix I I (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d)) i j).im := by |
| 25 | by_cases hij : i = j |
| 26 | · subst j |
| 27 | simp only [Matrix.one_apply] |
| 28 | change IsIntegral ℤ (1 : F) ∧ IsIntegral ℤ (0 : F) |
| 29 | exact ⟨isIntegral_one, isIntegral_zero⟩ |
| 30 | · simp only [Matrix.one_apply, ite_eq_right hij] |
| 31 | exact ⟨isIntegral_zero, isIntegral_zero⟩ |
| 32 | have he : A i j = (A i j - (1 : Matrix I I (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d)) i j) + |
| 33 | (1 : Matrix I I (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d)) i j := (sub_add_cancel _ _).symm |
| 34 | rw [he] |
| 35 | exact ⟨hr.add ho.1, hi.add ho.2⟩ |
| 36 | |
| 37 | theorem local_rational_su_integral_of_coefficients |
| 38 | (F : Type) [Field F] [NumberField F] {d : F} {n : ℕ} |
| 39 | (H : (Matrix (Fin n) (Fin n) (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ) (g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU H.val) |
| 40 | (hg : ∀ i j, IsIntegral ℤ (g.val.val i j).re ∧ IsIntegral ℤ (g.val.val i j).im) |
| 41 | (hi : ∀ i j, IsIntegral ℤ ((g⁻¹).val.val i j).re ∧ IsIntegral ℤ ((g⁻¹).val.val i j).im) |
| 42 | (v : HeightOneSpectrum (𝓞 F)) : |
| 43 | RepresentationTheory.Theta.Adelic.RationalSU.rationalLocalSU F H (.inr v) g ∈ RepresentationTheory.Theta.Adelic.IntegralTopology.localSUIntegral F H.val (.inr v) := by |
| 44 | constructor |
| 45 | · intro i j |
| 46 | exact IntegralLocalCoefficients.CM.integral_quadratic_at_every_finite_place F d (g.val.val i j) (hg i j).1 (hg i j).2 v |
| 47 | · intro i j |
| 48 | exact IntegralLocalCoefficients.CM.integral_quadratic_at_every_finite_place F d ((g⁻¹).val.val i j) (hi i j).1 (hi i j).2 v |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntegralUnitaryMatrices.CM |