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.Divisors.LineBundles.LineBundle.RationalSection |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.RationalDivisorRestriction |
| 3 | |
| 4 | /-! # Divisor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # LineBundleCycles: genuine finite divisors of rational sections of algebraic line bundles -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 13 | |
| 14 | variable {X : Scheme.{0}} [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) |
| 15 | |
| 16 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.finite_support_rationalSectionOrder : (Function.support L.rationalSectionOrder).Finite := by |
| 17 | have : Nonempty L.rationalReferenceOpen := ⟨⟨genericPoint X, L.mem_trivializingOpen _⟩⟩ |
| 18 | apply (Ord.BundleCycles.finite_codimension_one_complement X L.rationalReferenceOpen).subset |
| 19 | intro x hx |
| 20 | constructor |
| 21 | · by_contra hc |
| 22 | exact hx (L.rationalSectionOrder_eq_zero_of_coheight_ne_one x hc) |
| 23 | · intro hu |
| 24 | exact hx (L.rationalSectionOrder_zero_on_reference x hu) |
| 25 | |
| 26 | def Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.rationalSectionPointDivisor : X →₀ ℤ := |
| 27 | Finsupp.ofSupportFinite L.rationalSectionOrder L.finite_support_rationalSectionOrder |
| 28 | |
| 29 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.rationalSectionPointDivisor_apply (x : X) : L.rationalSectionPointDivisor x = L.rationalSectionOrder x := rfl |
| 30 | |
| 31 | def Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.rationalSectionPointCycle : X →₀ ℚ := |
| 32 | L.rationalSectionPointDivisor.mapRange (fun n : ℤ => (n : ℚ)) Int.cast_zero |
| 33 | |
| 34 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.rationalSectionPointCycle_apply (x : X) : L.rationalSectionPointCycle x = (L.rationalSectionOrder x : ℚ) := rfl |
| 35 | |
| 36 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.rationalSectionPointCycle_coheight (x : X) (hx : L.rationalSectionPointCycle x ≠ 0) : coheight x = 1 := by |
| 37 | by_contra hc |
| 38 | apply hx |
| 39 | rw [LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.rationalSectionPointCycle_apply, L.rationalSectionOrder_eq_zero_of_coheight_ne_one x hc, Int.cast_zero] |
| 40 | |
| 41 | /-- Multiplying the actual rational section by a nonzero rational coefficient. -/ |
| 42 | def Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.rationalSectionPointDivisorWithCoefficient (a : X.functionFieldˣ) : X →₀ ℤ := |
| 43 | Ord.BundleCycles.principalDivisor X a.val + L.rationalSectionPointDivisor |
| 44 | |
| 45 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.rationalSectionPointDivisorWithCoefficient_apply (a : X.functionFieldˣ) (x : X) : |
| 46 | L.rationalSectionPointDivisorWithCoefficient a x = |
| 47 | X.ord (a.val * (L.rationalSectionCoordinate x).val) x := by |
| 48 | exact (Scheme.ord_mul a.ne_zero (L.rationalSectionCoordinate_ne_zero x)).symm |
| 49 | |
| 50 | def Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.rationalSectionPointCycleWithCoefficient (a : X.functionFieldˣ) : X →₀ ℚ := |
| 51 | (L.rationalSectionPointDivisorWithCoefficient a).mapRange (fun n : ℤ => (n : ℚ)) Int.cast_zero |
| 52 | |
| 53 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.rationalSectionPointCycleWithCoefficient_eq (a : X.functionFieldˣ) : |
| 54 | L.rationalSectionPointCycleWithCoefficient a = RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor X a.val + L.rationalSectionPointCycle := by |
| 55 | ext x |
| 56 | exact Int.cast_add _ _ |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Divisors.LineBundles |