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.Integral.StalkImage |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.ImmersionSupport |
| 3 | |
| 4 | /-! # Image Stalk Module -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.ImageStalkModule |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The native reduced-image support module of an integral closed |
| 11 | immersion is the actual source stalk with its native ambient action. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.ImmersionSupport |
| 19 | |
| 20 | variable {X Y : Scheme} [IsIntegral Y] (i : Y ⟶ X) [IsClosedImmersion i] (y : Y) |
| 21 | |
| 22 | omit [IsClosedImmersion i] in |
| 23 | theorem mem : i y ∈ (ImmersionSupport.support i : Set X) := subset_closure ⟨y, rfl⟩ |
| 24 | |
| 25 | omit [IsClosedImmersion i] in |
| 26 | theorem kernel : RingHom.ker (Local.Principal.supportStalkMap X (ImmersionSupport.support i) (i y) (mem i y)).hom = |
| 27 | RingHom.ker (i.stalkMap y).hom := by |
| 28 | let p := Integral.StalkImage.prime i y (i y) rfl |
| 29 | have hp : X.fromSpecStalk (i y) p = CycleClass.Thom.IntersectionGeometry.supportPoint (ImmersionSupport.support i) := |
| 30 | (Integral.StalkImage.image i y (i y) rfl).trans (ImmersionSupport.support_point i).symm |
| 31 | exact Stalk.PrimeQuotient.kernel_eq X (ImmersionSupport.support i) (i y) (mem i y) p hp |
| 32 | |
| 33 | def moduleEquiv : |
| 34 | letI : Algebra (X.presheaf.stalk (i y)) (Y.presheaf.stalk y) := (i.stalkMap y).hom.toAlgebra |
| 35 | CycleClass.Thom.IntersectionGeometry.localSupportModule X (ImmersionSupport.support i) (i y) (mem i y) ≃ₗ[X.presheaf.stalk (i y)] Y.presheaf.stalk y := by |
| 36 | let R := X.presheaf.stalk (i y) |
| 37 | let S := Y.presheaf.stalk y |
| 38 | let T := (CycleClass.Geometric.GenericPoint.reducedSupportScheme (ImmersionSupport.support i)).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage (ImmersionSupport.support i) (i y) (mem i y)) |
| 39 | let : Algebra R S := (i.stalkMap y).hom.toAlgebra |
| 40 | let : Algebra R T := (Local.Principal.supportStalkMap X (ImmersionSupport.support i) (i y) (mem i y)).hom.toAlgebra |
| 41 | have hS : Function.Surjective (Algebra.ofId R S) := i.stalkMap_surjective y |
| 42 | have hT : Function.Surjective (Algebra.ofId R T) := |
| 43 | Local.Principal.supportStalkMap_surjective X (ImmersionSupport.support i) (i y) (mem i y) |
| 44 | exact (Ideal.quotientKerAlgEquivOfSurjective hT).symm.toLinearEquiv.trans |
| 45 | ((Submodule.quotEquivOfEq _ _ (kernel i y)).trans |
| 46 | (Ideal.quotientKerAlgEquivOfSurjective hS).toLinearEquiv) |
| 47 | |
| 48 | def moduleEquiv_at (x : X) (h : i y = x) (hx : x ∈ (ImmersionSupport.support i : Set X)) : |
| 49 | letI : Algebra (X.presheaf.stalk x) (Y.presheaf.stalk y) := |
| 50 | (Integral.StalkImage.map i y x h).hom.toAlgebra |
| 51 | CycleClass.Thom.IntersectionGeometry.localSupportModule X (ImmersionSupport.support i) x hx ≃ₗ[X.presheaf.stalk x] Y.presheaf.stalk y := by |
| 52 | subst x |
| 53 | exact moduleEquiv i y |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.ImageStalkModule |