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.HilbertScheme.Presentations.Projective.DoubleChartUnits |
| 2 | import Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Basic |
| 3 | |
| 4 | /-! # Overlap Section Units -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.OverlapSectionUnits |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Scalar-power descriptions hold for actual invertible regular |
| 11 | sections on the intersection of two standard projective opens. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 14 | |
| 15 | universe u |
| 16 | variable (K : Type u) [Field K] {n : ℕ} (i j : Fin (n + 1)) |
| 17 | |
| 18 | def projectiveDoubleOpen : (Proj (Hilbert.Polynomial.GradedHilbert.grading K n)).Opens := |
| 19 | Proj.basicOpen (Hilbert.Polynomial.GradedHilbert.grading K n) (X i * X j) |
| 20 | |
| 21 | theorem projectiveDoubleOpen_eq_inf : projectiveDoubleOpen K i j = |
| 22 | Proj.basicOpen (Hilbert.Polynomial.GradedHilbert.grading K n) (X i) ⊓ |
| 23 | Proj.basicOpen (Hilbert.Polynomial.GradedHilbert.grading K n) (X j) := |
| 24 | Proj.basicOpen_mul _ _ _ |
| 25 | |
| 26 | def projectiveDoubleSectionIso : CommRingCat.of (DoubleChartUnits.ProjectiveDoubleChartRing K i j) ≅ |
| 27 | Γ(Proj (Hilbert.Polynomial.GradedHilbert.grading K n), projectiveDoubleOpen K i j) := |
| 28 | Proj.basicOpenIsoAway (Hilbert.Polynomial.GradedHilbert.grading K n) (X i * X j) |
| 29 | ((isHomogeneous_X K i).mul (isHomogeneous_X K j)) (by decide) |
| 30 | |
| 31 | def projectiveOverlapRatio : Γ(Proj (Hilbert.Polynomial.GradedHilbert.grading K n), projectiveDoubleOpen K i j) := |
| 32 | (projectiveDoubleSectionIso K i j).hom (DoubleChartUnits.projectiveDoubleChartRatio K i j) |
| 33 | |
| 34 | def projectiveOverlapConstant (c : K) : Γ(Proj (Hilbert.Polynomial.GradedHilbert.grading K n), projectiveDoubleOpen K i j) := |
| 35 | (projectiveDoubleSectionIso K i j).hom (DoubleChartUnits.projectiveDoubleChartConstant K i j c) |
| 36 | |
| 37 | theorem projectiveOverlap_unit_powers (hji : j ≠ i) |
| 38 | (z : Γ(Proj (Hilbert.Polynomial.GradedHilbert.grading K n), projectiveDoubleOpen K i j)ˣ) : |
| 39 | ∃ (c : Kˣ) (a b : ℕ), (z : Γ(Proj (Hilbert.Polynomial.GradedHilbert.grading K n), projectiveDoubleOpen K i j)) * |
| 40 | projectiveOverlapRatio K i j ^ b = projectiveOverlapConstant K i j (c : K) * |
| 41 | projectiveOverlapRatio K i j ^ a := by |
| 42 | let e := (projectiveDoubleSectionIso K i j).commRingCatIsoToRingEquiv |
| 43 | let z' : (DoubleChartUnits.ProjectiveDoubleChartRing K i j)ˣ := Units.map e.symm.toMonoidHom z |
| 44 | obtain ⟨c, a, b, h⟩ := DoubleChartUnits.projectiveDoubleChart_unit_powers K i j hji z' |
| 45 | have hv : e (z' : DoubleChartUnits.ProjectiveDoubleChartRing K i j) = z := e.apply_symm_apply _ |
| 46 | refine ⟨c, a, b, ?_⟩ |
| 47 | have he := congrArg e h |
| 48 | rw [map_mul, map_pow, hv, map_mul, map_pow] at he |
| 49 | exact he |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.OverlapSectionUnits |