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.AffineLine.GenericPoint |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Polynomial.GenericFiber |
| 3 | |
| 4 | /-! # Horizontal Charts -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.AffineLine.HorizontalCharts.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! # LineBundleCycles: actual polynomial charts for points over the generic point of an integral base -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 15 | |
| 16 | variable (X : Scheme.{0}) [IsIntegral X] |
| 17 | |
| 18 | theorem affineLinePolynomialChart_base_generic_iff (U : X.affineOpens) [Nonempty U.1] |
| 19 | (P : Spec (.of (Polynomial Γ(X, U.1)))) : |
| 20 | Charts.BundleCycles.affineLineProjection X (Charts.BundleCycles.affineLinePolynomialChart X U P) = genericPoint X ↔ |
| 21 | LineBundles.Polynomial.Projection.BundleCycles.polynomialProjection Γ(X, U.1) P = genericPoint (Spec Γ(X, U.1)) := by |
| 22 | have hbase := congrArg (fun k => k P) (Charts.BundleCycles.affineLinePolynomialChart_toBase X U) |
| 23 | have hg := genericPoint_eq_of_isOpenImmersion U.2.fromSpec |
| 24 | constructor |
| 25 | · intro h |
| 26 | apply U.2.fromSpec.isOpenEmbedding.injective |
| 27 | exact hbase.symm.trans (h.trans hg.symm) |
| 28 | · intro h |
| 29 | exact hbase.trans ((congrArg U.2.fromSpec h).trans hg) |
| 30 | |
| 31 | theorem affineLineHorizontalPoint_exists_chart (y : Charts.BundleCycles.affineLine X) |
| 32 | (hy : Charts.BundleCycles.affineLineProjection X y = genericPoint X) (hne : y ≠ genericPoint (Charts.BundleCycles.affineLine X)) : |
| 33 | ∃ (U : X.affineOpens) (_ : Nonempty U.1) (P : Spec (.of (Polynomial Γ(X, U.1)))), |
| 34 | Charts.BundleCycles.affineLinePolynomialChart X U P = y ∧ P.asIdeal ≠ ⊥ ∧ P.asIdeal.comap Polynomial.C = ⊥ := by |
| 35 | obtain ⟨U, P, rfl⟩ := Charts.BundleCycles.affineLinePolynomialChart_covers X y |
| 36 | have hu : U.2.fromSpec (LineBundles.Polynomial.Projection.BundleCycles.polynomialProjection Γ(X, U.1) P) ∈ (U.1 : Set X) := |
| 37 | U.2.range_fromSpec ▸ Set.mem_range_self (LineBundles.Polynomial.Projection.BundleCycles.polynomialProjection Γ(X, U.1) P) |
| 38 | have : Nonempty U.1 := ⟨⟨_, hu⟩⟩ |
| 39 | refine ⟨U, inferInstance, P, rfl, ?_, ?_⟩ |
| 40 | · intro hp |
| 41 | apply hne |
| 42 | have hP : P = genericPoint (Spec (.of (Polynomial Γ(X, U.1)))) := by |
| 43 | rw [genericPoint_eq_bot_of_affine] |
| 44 | exact PrimeSpectrum.ext hp |
| 45 | exact (congrArg (Charts.BundleCycles.affineLinePolynomialChart X U) hP).trans (genericPoint_eq_of_isOpenImmersion _) |
| 46 | · have hp := (affineLinePolynomialChart_base_generic_iff X U P).mp hy |
| 47 | rw [genericPoint_eq_bot_of_affine] at hp |
| 48 | exact congrArg (fun p : Spec Γ(X, U.1) => p.asIdeal) hp |
| 49 | |
| 50 | end |
| 51 | |
| 52 | /-! # LineBundleCycles: actual horizontal point-divisor relations on the relative affine line over an integral scheme -/ |
| 53 | |
| 54 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 55 | |
| 56 | variable (X : Scheme.{0}) [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 57 | |
| 58 | theorem affineLineHorizontalPoint_relation (y : Charts.BundleCycles.affineLine X) |
| 59 | (hy : Charts.BundleCycles.affineLineProjection X y = genericPoint X) (hne : y ≠ genericPoint (Charts.BundleCycles.affineLine X)) : |
| 60 | ∃ g : (Charts.BundleCycles.affineLine X).functionField, g ≠ 0 ∧ |
| 61 | ∀ q ∈ (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor (Charts.BundleCycles.affineLine X) g - Finsupp.single y 1).support, |
| 62 | Charts.BundleCycles.affineLineProjection X q ≠ genericPoint X := by |
| 63 | obtain ⟨U, hU, P, rfl, hP, hbase⟩ := affineLineHorizontalPoint_exists_chart X y hy hne |
| 64 | let := hU |
| 65 | obtain ⟨a, ha, _, hvertical⟩ := LineBundles.Polynomial.GenericFiber.BundleCycles.polynomialHorizontalPoint_relation Γ(X, U.1) P hP hbase |
| 66 | let j := Charts.BundleCycles.affineLinePolynomialChart X U |
| 67 | let e := RationalDivisorRestriction.BundleCycles.openFunctionFieldIso j |
| 68 | let g := e.inv a |
| 69 | have hg : g ≠ 0 := (map_ne_zero_iff _ e.symm.commRingCatIsoToRingEquiv.injective).mpr ha |
| 70 | have hfield : RationalDivisorRestriction.BundleCycles.openFunctionFieldMap j g = a := Iso.inv_hom_id_apply e a |
| 71 | refine ⟨g, hg, ?_⟩ |
| 72 | intro q hq hgen |
| 73 | have hmem : q ∈ Set.range j := by |
| 74 | rw [Charts.BundleCycles.affineLinePolynomialChart_range] |
| 75 | change Charts.BundleCycles.affineLineProjection X q ∈ (U.1 : Set X) |
| 76 | rw [hgen] |
| 77 | exact ((genericPoint_spec X).mem_open_set_iff U.1.isOpen).mpr (by simpa using hU) |
| 78 | obtain ⟨Q, rfl⟩ := hmem |
| 79 | have hbQ := (affineLinePolynomialChart_base_generic_iff X U Q).mp hgen |
| 80 | rw [genericPoint_eq_bot_of_affine] at hbQ |
| 81 | have hbaseQ : Q.asIdeal.comap Polynomial.C = ⊥ := congrArg (fun p : Spec Γ(X, U.1) => p.asIdeal) hbQ |
| 82 | apply hvertical Q _ hbaseQ |
| 83 | apply Finsupp.mem_support_iff.mpr |
| 84 | intro hz |
| 85 | apply Finsupp.mem_support_iff.mp hq |
| 86 | have hord := RationalDivisorRestriction.BundleCycles.ord_openImmersion j g Q |
| 87 | rw [hfield] at hord |
| 88 | have hs : Finsupp.single (j P) (1 : ℚ) (j Q) = Finsupp.single P 1 Q := |
| 89 | Finsupp.single_apply_left j.isOpenEmbedding.injective P Q 1 |
| 90 | change (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor (Charts.BundleCycles.affineLine X) g - Finsupp.single (j P) 1 : Charts.BundleCycles.affineLine X →₀ ℚ) (j Q) = 0 |
| 91 | rw [Finsupp.sub_apply, RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor_apply, ← hord, hs] |
| 92 | exact hz |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.Divisors.LineBundles.AffineLine.HorizontalCharts.BundleCycles |