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.Stalk.PointAlgebra |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.SpecScalarTransport |
| 3 | |
| 4 | /-! # Scalar Maps -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.ScalarMaps |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Germs and stalk maps respect the actual coefficient-field actions. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.PointAlgebra |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {K : Type u} [Field K] {X Y : Scheme.{u}} |
| 22 | |
| 23 | def germ (f : X ⟶ Spec (.of K)) (U : X.Opens) (x : X) (hx : x ∈ U) : |
| 24 | letI := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra f U |
| 25 | letI := PointAlgebra.scalarAlgebra f x |
| 26 | Γ(X, U) →ₐ[K] X.presheaf.stalk x := by |
| 27 | let := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra f U |
| 28 | let := PointAlgebra.scalarAlgebra f x |
| 29 | refine { (X.presheaf.germ U x hx).hom with commutes' := ?_ } |
| 30 | intro c |
| 31 | change ((Scheme.ΓSpecIso (.of K)).inv ≫ f.appLE ⊤ U le_top ≫ X.presheaf.germ U x hx) c = |
| 32 | ((Scheme.ΓSpecIso (.of K)).inv ≫ f.appTop ≫ X.presheaf.germ ⊤ x trivial) c |
| 33 | have he : f.appLE ⊤ U le_top ≫ X.presheaf.germ U x hx = |
| 34 | f.appTop ≫ X.presheaf.germ ⊤ x trivial := by |
| 35 | change (f.app ⊤ ≫ X.presheaf.map (homOfLE le_top).op) ≫ X.presheaf.germ U x hx = |
| 36 | f.app ⊤ ≫ X.presheaf.germ ⊤ x trivial |
| 37 | rw [Category.assoc, TopCat.Presheaf.germ_res] |
| 38 | rw [he] |
| 39 | |
| 40 | theorem germ_apply (f : X ⟶ Spec (.of K)) (U : X.Opens) (x : X) (hx : x ∈ U) (r : Γ(X, U)) : |
| 41 | ScalarMaps.germ f U x hx r = X.presheaf.germ U x hx r := rfl |
| 42 | |
| 43 | def stalk (i : X ⟶ Y) (f : Y ⟶ Spec (.of K)) (x : X) : |
| 44 | letI := PointAlgebra.scalarAlgebra f (i x) |
| 45 | letI := PointAlgebra.scalarAlgebra (i ≫ f) x |
| 46 | Y.presheaf.stalk (i x) →ₐ[K] X.presheaf.stalk x := by |
| 47 | let := PointAlgebra.scalarAlgebra f (i x) |
| 48 | let := PointAlgebra.scalarAlgebra (i ≫ f) x |
| 49 | refine { (i.stalkMap x).hom with commutes' := ?_ } |
| 50 | intro c |
| 51 | change ((Scheme.ΓSpecIso (.of K)).inv ≫ f.appTop ≫ |
| 52 | Y.presheaf.germ ⊤ _ trivial ≫ i.stalkMap x) c = |
| 53 | ((Scheme.ΓSpecIso (.of K)).inv ≫ (i ≫ f).appTop ≫ X.presheaf.germ ⊤ x trivial) c |
| 54 | rw [Scheme.Hom.germ_stalkMap, Scheme.Hom.comp_appTop] |
| 55 | rfl |
| 56 | |
| 57 | theorem stalk_surjective (i : X ⟶ Y) [IsClosedImmersion i] (f : Y ⟶ Spec (.of K)) (x : X) : |
| 58 | Function.Surjective (ScalarMaps.stalk i f x) := by |
| 59 | exact i.stalkMap_surjective x |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.ScalarMaps |