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.PrimeLocalizationUnitExponent |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.OverlapSectionUnits |
| 3 | |
| 4 | /-! # Overlap Exponents -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.OverlapExponents |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual double-chart units have canonical integer exponents, with |
| 11 | product and inverse laws and a value computable from any scalar-power formula. -/ |
| 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)) (hji : j ≠ i) |
| 17 | |
| 18 | def projectiveDoubleChartExponent (z : (DoubleChartUnits.ProjectiveDoubleChartRing K i j)ˣ) : ℤ := |
| 19 | PrimeLocalizationUnitExponent.primeLocalizationUnitExponent (Polynomial.Dehomogenization.PolynomialProjective.dehomogenize (R := K) i (X j)) |
| 20 | (ChartUnits.projectiveChart_coordinate_prime K i j hji) z |
| 21 | |
| 22 | theorem projectiveDoubleChartExponent_of_equation (z : (DoubleChartUnits.ProjectiveDoubleChartRing K i j)ˣ) |
| 23 | (c : Kˣ) (a b : ℕ) |
| 24 | (h : (z : DoubleChartUnits.ProjectiveDoubleChartRing K i j) * DoubleChartUnits.projectiveDoubleChartRatio K i j ^ b = |
| 25 | DoubleChartUnits.projectiveDoubleChartConstant K i j (c : K) * DoubleChartUnits.projectiveDoubleChartRatio K i j ^ a) : |
| 26 | projectiveDoubleChartExponent K i j hji z = (a : ℤ) - b := |
| 27 | PrimeLocalizationUnitExponent.primeLocalizationUnitExponent_of_equation (Polynomial.Dehomogenization.PolynomialProjective.dehomogenize (R := K) i (X j)) |
| 28 | (ChartUnits.projectiveChart_coordinate_prime K i j hji) z |
| 29 | (Units.map (algebraMap K (AbelianModuli.HilbertConstruction.ProjectiveChart.Evaluation.projectiveChartRing K n i)).toMonoidHom c) a b h |
| 30 | |
| 31 | theorem projectiveDoubleChartExponent_mul (z w : (DoubleChartUnits.ProjectiveDoubleChartRing K i j)ˣ) : |
| 32 | projectiveDoubleChartExponent K i j hji (z * w) = |
| 33 | projectiveDoubleChartExponent K i j hji z + projectiveDoubleChartExponent K i j hji w := |
| 34 | PrimeLocalizationUnitExponent.primeLocalizationUnitExponent_mul _ _ z w |
| 35 | |
| 36 | def projectiveOverlapUnitExponent |
| 37 | (z : Γ(Proj (Hilbert.Polynomial.GradedHilbert.grading K n), OverlapSectionUnits.projectiveDoubleOpen K i j)ˣ) : ℤ := |
| 38 | projectiveDoubleChartExponent K i j hji |
| 39 | (Units.map (OverlapSectionUnits.projectiveDoubleSectionIso K i j).commRingCatIsoToRingEquiv.symm.toMonoidHom z) |
| 40 | |
| 41 | theorem projectiveOverlapUnitExponent_of_equation |
| 42 | (z : Γ(Proj (Hilbert.Polynomial.GradedHilbert.grading K n), OverlapSectionUnits.projectiveDoubleOpen K i j)ˣ) |
| 43 | (c : Kˣ) (a b : ℕ) |
| 44 | (h : (z : Γ(Proj (Hilbert.Polynomial.GradedHilbert.grading K n), OverlapSectionUnits.projectiveDoubleOpen K i j)) * |
| 45 | OverlapSectionUnits.projectiveOverlapRatio K i j ^ b = OverlapSectionUnits.projectiveOverlapConstant K i j (c : K) * |
| 46 | OverlapSectionUnits.projectiveOverlapRatio K i j ^ a) : |
| 47 | projectiveOverlapUnitExponent K i j hji z = (a : ℤ) - b := by |
| 48 | let e := (OverlapSectionUnits.projectiveDoubleSectionIso K i j).commRingCatIsoToRingEquiv |
| 49 | apply projectiveDoubleChartExponent_of_equation K i j hji _ c a b |
| 50 | have he := congrArg e.symm h |
| 51 | rw [map_mul, map_pow, map_mul, map_pow] at he |
| 52 | change e.symm (z : Γ(Proj (Hilbert.Polynomial.GradedHilbert.grading K n), OverlapSectionUnits.projectiveDoubleOpen K i j)) * |
| 53 | e.symm (e (DoubleChartUnits.projectiveDoubleChartRatio K i j)) ^ b = |
| 54 | e.symm (e (DoubleChartUnits.projectiveDoubleChartConstant K i j (c : K))) * |
| 55 | e.symm (e (DoubleChartUnits.projectiveDoubleChartRatio K i j)) ^ a at he |
| 56 | rw [e.symm_apply_apply, e.symm_apply_apply] at he |
| 57 | exact he |
| 58 | |
| 59 | theorem projectiveOverlapUnitExponent_mul |
| 60 | (z w : Γ(Proj (Hilbert.Polynomial.GradedHilbert.grading K n), OverlapSectionUnits.projectiveDoubleOpen K i j)ˣ) : |
| 61 | projectiveOverlapUnitExponent K i j hji (z * w) = |
| 62 | projectiveOverlapUnitExponent K i j hji z + projectiveOverlapUnitExponent K i j hji w := by |
| 63 | unfold projectiveOverlapUnitExponent |
| 64 | rw [map_mul, projectiveDoubleChartExponent_mul] |
| 65 | |
| 66 | theorem projectiveOverlapUnitExponent_inv |
| 67 | (z : Γ(Proj (Hilbert.Polynomial.GradedHilbert.grading K n), OverlapSectionUnits.projectiveDoubleOpen K i j)ˣ) : |
| 68 | projectiveOverlapUnitExponent K i j hji z⁻¹ = -projectiveOverlapUnitExponent K i j hji z := by |
| 69 | unfold projectiveOverlapUnitExponent projectiveDoubleChartExponent |
| 70 | rw [map_inv, PrimeLocalizationUnitExponent.primeLocalizationUnitExponent_inv] |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.OverlapExponents |