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.Closed.ImageStalkModule |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ScalarKernelModule |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.AtPoint |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.KernelSquare |
| 5 | |
| 6 | /-! # Family Quotient -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.FamilyQuotient |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! In an actual closed-family endpoint square, quotienting the |
| 13 | native family-support module by the parameter gives the native endpoint |
| 14 | support module with its ambient-family scalar action. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | open scoped _root_.Polynomial |
| 21 | |
| 22 | namespace Family |
| 23 | |
| 24 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.ImmersionSupport |
| 25 | |
| 26 | variable {V W X Y : Scheme} [IsIntegral V] [IsIntegral W] |
| 27 | (i : W ⟶ Y) [IsClosedImmersion i] (j : V ⟶ X) [IsClosedImmersion j] |
| 28 | (u : X ⟶ Y) (v : V ⟶ W) [IsClosedImmersion v] |
| 29 | (h : j ≫ u = v ≫ i) (t : Y ⟶ Spec (.of ℂ[X])) (a : ℂ) (z : V) |
| 30 | (hy : u (j z) ∈ (ImmersionSupport.support i : Set Y)) |
| 31 | (hv : RingHom.ker (v.stalkMap z).hom = |
| 32 | Ideal.span {Affine.ParameterFiber.germ ℂ (i ≫ t) (v z) a}) |
| 33 | |
| 34 | def equiv : |
| 35 | QuotSMulTop (Affine.ParameterFiber.germ ℂ t (u (j z)) a) |
| 36 | (CycleClass.Thom.IntersectionGeometry.localSupportModule Y (ImmersionSupport.support i) (u (j z)) hy) ≃ₗ[Y.presheaf.stalk (u (j z))] |
| 37 | ((ModuleCat.restrictScalars (u.stalkMap (j z)).hom).obj |
| 38 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X (ImmersionSupport.support j) (j z) (ImageStalkModule.mem j z))) := by |
| 39 | let R := Y.presheaf.stalk (u (j z)) |
| 40 | let R₀ := X.presheaf.stalk (j z) |
| 41 | let S := W.presheaf.stalk (v z) |
| 42 | let T := V.presheaf.stalk z |
| 43 | let N := CycleClass.Thom.IntersectionGeometry.localSupportModule X (ImmersionSupport.support j) (j z) (ImageStalkModule.mem j z) |
| 44 | let r : R := Affine.ParameterFiber.germ ℂ t (u (j z)) a |
| 45 | have hp : i (v z) = u (j z) := congrArg (fun g : V ⟶ Y => g z) h.symm |
| 46 | let β := Integral.StalkImage.map i (v z) (u (j z)) hp |
| 47 | let : Algebra R R₀ := (u.stalkMap (j z)).hom.toAlgebra |
| 48 | let : Algebra R S := β.hom.toAlgebra |
| 49 | let : Algebra R₀ T := (j.stalkMap z).hom.toAlgebra |
| 50 | let : Algebra R T := ((j.stalkMap z).hom.comp (u.stalkMap (j z)).hom).toAlgebra |
| 51 | let : IsScalarTower R R₀ T := IsScalarTower.of_algebraMap_eq' rfl |
| 52 | let : Module R N := Module.compHom N (u.stalkMap (j z)).hom |
| 53 | let : IsScalarTower R R₀ N := IsScalarTower.of_compHom R R₀ N |
| 54 | let φ : S →ₐ[R] T := |
| 55 | { (v.stalkMap z).hom with |
| 56 | commutes' := fun b => congrArg (fun g : R ⟶ T => g b) |
| 57 | (Stalk.KernelSquare.square u i v j h z) } |
| 58 | have hk : RingHom.ker φ.toRingHom = Ideal.span {algebraMap R S r} := |
| 59 | hv.trans (congrArg (fun b => Ideal.span {b}) |
| 60 | (Parameter.AtPoint.germ i t (v z) (u (j z)) hp a).symm) |
| 61 | let eS := ImageStalkModule.moduleEquiv_at i (v z) (u (j z)) hp hy |
| 62 | let eT := (ImageStalkModule.moduleEquiv j z).restrictScalars R |
| 63 | exact (QuotSMulTop.congr r eS).trans |
| 64 | ((ScalarKernelModule.equiv R S T r φ (v.stalkMap_surjective z) hk).trans eT.symm) |
| 65 | |
| 66 | end Family |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.FamilyQuotient |