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.Projective.Approximation |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Normalization.DivisorComparison |
| 3 | |
| 4 | /-! # Approximation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Normalization.Approximation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Arbitrary orders can be prescribed at finitely many divisor |
| 11 | points of the actual finite normalization of a projective scheme. |
| 12 | The affine chart comes from the original projective presentation. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Normalization.Scheme OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Normalization.Fields OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Normalization.DivisorComparison |
| 19 | |
| 20 | theorem exists_orders {X : Scheme} [IsIntegral X] {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 21 | (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation X f) {ι : Type} [Fintype ι] |
| 22 | (y : ι → Normalization.Scheme.normalization X) (hy : ∀ i, Order.coheight (y i) = 1) |
| 23 | (hinj : Function.Injective y) (e : ι → ℤ) : |
| 24 | letI : AlgebraicGeometry.IsNoetherian X := P.isNoetherian |
| 25 | letI : LocallyOfFiniteType f := P.finiteType.1 |
| 26 | letI := DivisorComparison.normalization_noetherian X f |
| 27 | ∃ g : (Normalization.Scheme.normalization X).functionField, g ≠ 0 ∧ ∀ i, (Normalization.Scheme.normalization X).ord g (y i) = e i := by |
| 28 | let : AlgebraicGeometry.IsNoetherian X := P.isNoetherian |
| 29 | let : LocallyOfFiniteType f := P.finiteType.1 |
| 30 | let := DivisorComparison.normalization_noetherian X f |
| 31 | obtain ⟨U, hU, hmem⟩ := Projective.AffineNeighborhood.common_affine P |
| 32 | (fun i : Option ι => i.elim (genericPoint X) (fun i => Normalization.Scheme.normalizationMap X (y i))) |
| 33 | let : Nonempty U := ⟨⟨genericPoint X, hmem none⟩⟩ |
| 34 | let V := Normalization.Scheme.normalizationMap X ⁻¹ᵁ U |
| 35 | have hV : IsAffineOpen V := hU.preimage (Normalization.Scheme.normalizationMap X) |
| 36 | have hgV : genericPoint (Normalization.Scheme.normalization X) ∈ V := by |
| 37 | change Normalization.Scheme.normalizationMap X (genericPoint (Normalization.Scheme.normalization X)) ∈ U |
| 38 | rw [Fields.normalizationMap_genericPoint] |
| 39 | exact hmem none |
| 40 | let : Nonempty V := ⟨⟨genericPoint (Normalization.Scheme.normalization X), hgV⟩⟩ |
| 41 | let : IsIntegrallyClosed Γ(Normalization.Scheme.normalization X, V) := Normalization.Scheme.normalization_affineSections_integrallyClosed X U hU |
| 42 | let : IsNoetherianRing Γ(Normalization.Scheme.normalization X, V) := IsLocallyNoetherian.component_noetherian ⟨V, hV⟩ |
| 43 | let q : ι → Spec Γ(Normalization.Scheme.normalization X, V) := fun i => hV.primeIdealOf ⟨y i, hmem (some i)⟩ |
| 44 | have hq (i : ι) : hV.fromSpec (q i) = y i := hV.fromSpec_primeIdealOf _ |
| 45 | have hheight (i : ι) : Order.coheight (q i) = 1 := by |
| 46 | rw [← coheight_eq_of_isOpenImmersion hV.fromSpec, hq, hy] |
| 47 | have hqinj : Function.Injective q := by |
| 48 | intro i j he |
| 49 | apply hinj |
| 50 | rw [← hq i, ← hq j, he] |
| 51 | obtain ⟨g, hg, he⟩ := NormalAffineApproximation.exists_orders Γ(Normalization.Scheme.normalization X, V) q hheight hqinj e |
| 52 | let a := (Divisor.DivisorRestriction.openFieldIso hV.fromSpec).inv g |
| 53 | have hag : Divisor.DivisorRestriction.openFieldMap hV.fromSpec a = g := |
| 54 | ConcreteCategory.congr_hom (Divisor.DivisorRestriction.openFieldIso hV.fromSpec).inv_hom_id g |
| 55 | refine ⟨a, ?_, fun i => ?_⟩ |
| 56 | · intro ha |
| 57 | apply hg |
| 58 | rw [← hag, ha, map_zero] |
| 59 | · rw [← hq i, ← Divisor.DivisorRestriction.ord_openImmersion hV.fromSpec, hag, he] |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Normalization.Approximation |