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.IntersectionTheory.ProjectionFormula.NormalAffineApproximation |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.AffineNeighborhood |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.NormalCurveCharts |
| 4 | import OAI.AlgebraicGeometry.Foundations.Scheme.ClosedProjective |
| 5 | |
| 6 | /-! # Approximation -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.Approximation |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Finite order approximation on normal integral projective schemes of |
| 13 | arbitrary dimension, using the actual scheme function field and local orders. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | universe v |
| 20 | |
| 21 | theorem exists_orders {X : Scheme} [IsIntegral X] {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 22 | (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation X f) |
| 23 | (hNormal : ∀ x : X, IsIntegrallyClosed (X.presheaf.stalk x)) |
| 24 | {ι : Type v} [Fintype ι] (x : ι → X) |
| 25 | (hx : ∀ i, Order.coheight (x i) = 1) (hinj : Function.Injective x) (e : ι → ℤ) : |
| 26 | letI : AlgebraicGeometry.IsNoetherian X := P.isNoetherian |
| 27 | ∃ g : X.functionField, g ≠ 0 ∧ ∀ i, X.ord g (x i) = e i := by |
| 28 | let : AlgebraicGeometry.IsNoetherian X := P.isNoetherian |
| 29 | let : LocallyOfFiniteType f := P.finiteType.1 |
| 30 | obtain ⟨U, hU, hmem⟩ := AffineNeighborhood.common_affine P |
| 31 | (fun i : Option ι => i.elim (genericPoint X) x) |
| 32 | let : Nonempty U := ⟨⟨genericPoint X, hmem none⟩⟩ |
| 33 | let := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra f U |
| 34 | let := Foundations.Scheme.AffineSectionFiniteType.specSectionScalarAlgebra_finiteType f U hU |
| 35 | let : IsNoetherianRing Γ(X, U) := Algebra.FiniteType.isNoetherianRing ℂ Γ(X, U) |
| 36 | let : IsIntegrallyClosed Γ(X, U) := NormalCurveCharts.sections_integrallyClosed hNormal U hU |
| 37 | let q : ι → Spec Γ(X, U) := fun i => hU.primeIdealOf ⟨x i, hmem (some i)⟩ |
| 38 | have hq (i : ι) : hU.fromSpec (q i) = x i := hU.fromSpec_primeIdealOf _ |
| 39 | have hc (i : ι) : Order.coheight (q i) = 1 := by |
| 40 | rw [← coheight_eq_of_isOpenImmersion hU.fromSpec, hq, hx] |
| 41 | have hqinj : Function.Injective q := by |
| 42 | intro i j h |
| 43 | apply hinj |
| 44 | rw [← hq i, ← hq j, h] |
| 45 | obtain ⟨g, hg, he⟩ := NormalAffineApproximation.exists_orders Γ(X, U) q hc hqinj e |
| 46 | let a := (Divisor.DivisorRestriction.openFieldIso hU.fromSpec).inv g |
| 47 | have hag : Divisor.DivisorRestriction.openFieldMap hU.fromSpec a = g := |
| 48 | ConcreteCategory.congr_hom (Divisor.DivisorRestriction.openFieldIso hU.fromSpec).inv_hom_id g |
| 49 | refine ⟨a, ?_, fun i => ?_⟩ |
| 50 | · intro ha |
| 51 | apply hg |
| 52 | rw [← hag, ha, map_zero] |
| 53 | · rw [← hq i, ← Divisor.DivisorRestriction.ord_openImmersion hU.fromSpec, hag, he] |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.Approximation |