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.AugmentedRegularJet |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.StalkRegular |
| 3 | import OAI.AlgebraicGeometry.Foundations.Scheme.ComplexPointExistence |
| 4 | |
| 5 | /-! # Point Algebra -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.PointAlgebra |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual stalk evaluation at a scheme-valued point is an |
| 12 | augmentation for the canonical coefficient-field action. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {K : Type u} [Field K] {X : Scheme.{u}} |
| 22 | |
| 23 | abbrev scalarAlgebra (f : X ⟶ Spec (.of K)) (x : X) : Algebra K (X.presheaf.stalk x) := |
| 24 | ((X.presheaf.germ ⊤ x (by trivial)).hom.comp |
| 25 | (f.appTop.hom.comp (Scheme.ΓSpecIso (.of K)).inv.hom)).toAlgebra |
| 26 | |
| 27 | theorem germ_evaluation (p : Spec (.of K) ⟶ X) : |
| 28 | X.presheaf.germ ⊤ (p (IsLocalRing.closedPoint K)) trivial ≫ Scheme.stalkClosedPointTo p = |
| 29 | p.appTop ≫ (Scheme.ΓSpecIso (.of K)).hom := by |
| 30 | simpa using Scheme.germ_stalkClosedPointTo p ⊤ trivial |
| 31 | |
| 32 | def evaluation (f : X ⟶ Spec (.of K)) (p : Spec (.of K) ⟶ X) (hp : p ≫ f = 𝟙 _) : |
| 33 | letI := scalarAlgebra f (p (IsLocalRing.closedPoint K)) |
| 34 | X.presheaf.stalk (p (IsLocalRing.closedPoint K)) →ₐ[K] K := by |
| 35 | let := scalarAlgebra f (p (IsLocalRing.closedPoint K)) |
| 36 | refine { (Scheme.stalkClosedPointTo p).hom with commutes' := ?_ } |
| 37 | intro c |
| 38 | change ((Scheme.ΓSpecIso (.of K)).inv ≫ f.appTop ≫ |
| 39 | X.presheaf.germ ⊤ _ trivial ≫ Scheme.stalkClosedPointTo p) c = c |
| 40 | rw [germ_evaluation, ← Category.assoc f.appTop, ← Scheme.Hom.comp_appTop, hp] |
| 41 | simp |
| 42 | |
| 43 | theorem evaluation_apply (f : X ⟶ Spec (.of K)) (p : Spec (.of K) ⟶ X) (hp : p ≫ f = 𝟙 _) |
| 44 | (r : X.presheaf.stalk (p (IsLocalRing.closedPoint K))) : |
| 45 | evaluation f p hp r = Scheme.stalkClosedPointTo p r := rfl |
| 46 | |
| 47 | theorem finite_cotangent (f : X ⟶ Spec (.of K)) (m : ℕ) [SmoothOfRelativeDimension m f] |
| 48 | (p : Spec (.of K) ⟶ X) (hp : p ≫ f = 𝟙 _) : |
| 49 | letI := scalarAlgebra f (p (IsLocalRing.closedPoint K)) |
| 50 | Module.Finite K (AugmentedCotangent.ideal (evaluation f p hp)).Cotangent := by |
| 51 | let := scalarAlgebra f (p (IsLocalRing.closedPoint K)) |
| 52 | let := Smooth.StalkRegular.stalk_regular f m (p (IsLocalRing.closedPoint K)) |
| 53 | exact AugmentedRegularJet.finite_cotangent (evaluation f p hp) |
| 54 | |
| 55 | theorem jet_dimension (f : X ⟶ Spec (.of K)) (m : ℕ) [SmoothOfRelativeDimension m f] |
| 56 | (p : Spec (.of K) ⟶ X) (hp : p ≫ f = 𝟙 _) |
| 57 | (hd : Order.coheight (p (IsLocalRing.closedPoint K)) = m) : |
| 58 | letI := scalarAlgebra f (p (IsLocalRing.closedPoint K)) |
| 59 | Module.finrank K (K × (AugmentedCotangent.ideal (evaluation f p hp)).Cotangent) = m + 1 := by |
| 60 | let := scalarAlgebra f (p (IsLocalRing.closedPoint K)) |
| 61 | let := Smooth.StalkRegular.stalk_regular f m (p (IsLocalRing.closedPoint K)) |
| 62 | apply AugmentedRegularJet.jet_dimension (evaluation f p hp) m |
| 63 | rw [ringKrullDim_stalk_eq_coheight, hd] |
| 64 | rfl |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.PointAlgebra |