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.PELModuli.IntegralModel.StalkLiftFiniteness |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.LiftDerivations |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor |
| 4 | |
| 5 | /-! # Stalk Lift Equivalence -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.StalkLiftEquivalence |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual relative infinitesimal group points are all relative stalk |
| 12 | derivations, and hence the dual of the base-changed cotangent module. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj TensorProduct |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor |
| 21 | |
| 22 | theorem groupTangentLocalInclusion_surjective |
| 23 | {S : Scheme.{0}} {C : CommRingCat.{0}} [IsLocalRing C] |
| 24 | (s : Spec C ⟶ S) (J : Ideal C) (hJ : J ^ 2 = ⊥) (A : Over S) [MonObj A] : |
| 25 | Function.Surjective (StalkLiftFiniteness.groupTangentLocalInclusion s J hJ A) := by |
| 26 | intro v |
| 27 | have hv : AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.point s J hJ A v.val ≫ A.hom = s := by |
| 28 | have h := AbelianScheme.TorsionQuotient.LocalLifts.LocalSchemeLifts.toPoint_over J hJ |
| 29 | (Scheme.stalkClosedPointTo (AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.unitPoint s A).hom) A.hom v |
| 30 | have he := Scheme.Spec_stalkClosedPointTo_fromSpecStalk (AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.unitPoint s A).hom |
| 31 | exact h.trans ((congrArg (fun q => q ≫ A.hom) he).trans (1 : Over.mk s ⟶ A).w) |
| 32 | have hker : v.val ∈ AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.relative s J hJ A := by |
| 33 | apply AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.point_injective s J hJ (𝟙_ (Over S)) |
| 34 | rw [AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.point_tangent, AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.point_zero] |
| 35 | exact hv |
| 36 | exact ⟨⟨v.val, hker⟩, Subtype.ext rfl⟩ |
| 37 | |
| 38 | def groupTangentLocalEquiv |
| 39 | {S : Scheme.{0}} {C : CommRingCat.{0}} [IsLocalRing C] |
| 40 | (s : Spec C ⟶ S) (J : Ideal C) (hJ : J ^ 2 = ⊥) (A : Over S) [MonObj A] : |
| 41 | AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.relative s J hJ A ≃ₗ[C] AbelianScheme.TorsionQuotient.LocalLifts.LocalSchemeLifts.relativeModule J hJ |
| 42 | (Scheme.stalkClosedPointTo (AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.unitPoint s A).hom) A.hom := |
| 43 | LinearEquiv.ofBijective (StalkLiftFiniteness.groupTangentLocalInclusion s J hJ A) |
| 44 | ⟨by |
| 45 | intro v w h |
| 46 | apply Subtype.ext |
| 47 | exact congrArg (fun z : AbelianScheme.TorsionQuotient.LocalLifts.LocalSchemeLifts.relativeModule J hJ |
| 48 | (Scheme.stalkClosedPointTo (AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.unitPoint s A).hom) A.hom => z.val) h, |
| 49 | groupTangentLocalInclusion_surjective s J hJ A⟩ |
| 50 | |
| 51 | def localRelativeAlgebraEquiv {X S : Scheme.{0}} (p : X ⟶ S) |
| 52 | {C : CommRingCat.{0}} [IsLocalRing C] (J : Ideal C) (hJ : J ^ 2 = ⊥) |
| 53 | (x : X) (e : X.presheaf.stalk x ⟶ C) [IsLocalHom e.hom] : |
| 54 | letI : Algebra (S.presheaf.stalk (p x)) (X.presheaf.stalk x) := (p.stalkMap x).hom.toAlgebra |
| 55 | letI : Algebra (X.presheaf.stalk x) C := e.hom.toAlgebra |
| 56 | letI : Algebra (S.presheaf.stalk (p x)) C := (e.hom.comp (p.stalkMap x).hom).toAlgebra |
| 57 | letI : IsScalarTower (S.presheaf.stalk (p x)) (X.presheaf.stalk x) C := |
| 58 | IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 59 | AbelianScheme.TorsionQuotient.LocalLifts.LocalSchemeLifts.relativeModule J hJ e p ≃ₗ[C] |
| 60 | Relative.LiftDerivations.RelativeLifts.module (S.presheaf.stalk (p x)) (X.presheaf.stalk x) C J hJ := by |
| 61 | let : Algebra (S.presheaf.stalk (p x)) (X.presheaf.stalk x) := (p.stalkMap x).hom.toAlgebra |
| 62 | let : Algebra (X.presheaf.stalk x) C := e.hom.toAlgebra |
| 63 | let : Algebra (S.presheaf.stalk (p x)) C := (e.hom.comp (p.stalkMap x).hom).toAlgebra |
| 64 | let : IsScalarTower (S.presheaf.stalk (p x)) (X.presheaf.stalk x) C := |
| 65 | IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 66 | exact { |
| 67 | toFun := fun v => ⟨v.val, fun r => congrArg (fun f => f.hom r) v.property⟩ |
| 68 | invFun := fun v => ⟨v.val, by |
| 69 | apply AbelianScheme.TorsionQuotient.SquareZero.SquareZeroLifts.Lift.ext |
| 70 | apply RingHom.ext |
| 71 | exact v.property⟩ |
| 72 | left_inv := fun _ => rfl |
| 73 | right_inv := fun _ => rfl |
| 74 | map_add' := fun _ _ => rfl |
| 75 | map_smul' := fun _ _ => rfl } |
| 76 | |
| 77 | def localRelativeCotangentEquiv {X S : Scheme.{0}} (p : X ⟶ S) |
| 78 | {C : CommRingCat.{0}} [IsLocalRing C] (J : Ideal C) (hJ : J ^ 2 = ⊥) |
| 79 | (x : X) (e : X.presheaf.stalk x ⟶ C) [IsLocalHom e.hom] : |
| 80 | letI : Algebra (S.presheaf.stalk (p x)) (X.presheaf.stalk x) := (p.stalkMap x).hom.toAlgebra |
| 81 | letI : Algebra (X.presheaf.stalk x) C := e.hom.toAlgebra |
| 82 | AbelianScheme.TorsionQuotient.LocalLifts.LocalSchemeLifts.relativeModule J hJ e p ≃ₗ[C] |
| 83 | (C ⊗[X.presheaf.stalk x] |
| 84 | KaehlerDifferential (S.presheaf.stalk (p x)) (X.presheaf.stalk x) →ₗ[C] J) := by |
| 85 | let R := S.presheaf.stalk (p x) |
| 86 | let B := X.presheaf.stalk x |
| 87 | let : Algebra R B := (p.stalkMap x).hom.toAlgebra |
| 88 | let : Algebra B C := e.hom.toAlgebra |
| 89 | let : Algebra R C := (e.hom.comp (p.stalkMap x).hom).toAlgebra |
| 90 | let : IsScalarTower R B C := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 91 | exact (localRelativeAlgebraEquiv p J hJ x e).trans |
| 92 | ((Relative.LiftDerivations.RelativeLifts.derivationEquiv R B C J hJ).trans (Relative.LiftFiniteness.RelativeLifts.cotangentEquiv R B C J)) |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.StalkLiftEquivalence |