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.DualIdealCoefficients |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Section.ConormalDerivations |
| 3 | |
| 4 | /-! # Dual Lifts -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.DualLifts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual relative dual-number algebra lifts are the coefficient |
| 11 | linear dual of the smooth section's conormal, with an explicit epsilon formula. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | namespace RelativeDualLifts |
| 17 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.DualIdealCoefficients.AlgebraicLie |
| 18 | |
| 19 | variable (R B k : Type) [CommRing R] [CommRing B] [Field k] |
| 20 | [Algebra R B] [Algebra R k] [Algebra B k] [IsScalarTower R B k] |
| 21 | |
| 22 | def Space := LiftDerivations.RelativeLifts.module R B (DualNumber k) (DualNumberReduction.AlgebraicLie.dualIdeal k) (DualNumberReduction.AlgebraicLie.dualIdeal_square k) |
| 23 | |
| 24 | instance : AddCommGroup (Space R B k) := |
| 25 | inferInstanceAs (AddCommGroup (LiftDerivations.RelativeLifts.module R B (DualNumber k) (DualNumberReduction.AlgebraicLie.dualIdeal k) (DualNumberReduction.AlgebraicLie.dualIdeal_square k))) |
| 26 | |
| 27 | instance : Module (DualNumber k) (Space R B k) := |
| 28 | inferInstanceAs (Module (DualNumber k) |
| 29 | (LiftDerivations.RelativeLifts.module R B (DualNumber k) (DualNumberReduction.AlgebraicLie.dualIdeal k) (DualNumberReduction.AlgebraicLie.dualIdeal_square k))) |
| 30 | |
| 31 | instance : Module k (Space R B k) := Module.compHom (Space R B k) (algebraMap k (DualNumber k)) |
| 32 | |
| 33 | instance : IsScalarTower k (DualNumber k) (Space R B k) := |
| 34 | by |
| 35 | constructor |
| 36 | intro a b v |
| 37 | change (a • b) • v = (algebraMap k (DualNumber k) a) • (b • v) |
| 38 | have h : (a • b : DualNumber k) = algebraMap k (DualNumber k) a * b := by |
| 39 | apply TrivSqZeroExt.ext <;> simp [TrivSqZeroExt.algebraMap_eq_inl] |
| 40 | rw [h, mul_smul] |
| 41 | |
| 42 | def derivationEquiv : Space R B k ≃ₗ[k] Derivation R B k := by |
| 43 | let e : Space R B k ≃ₗ[DualNumber k] Derivation R B (DualNumberReduction.AlgebraicLie.dualIdeal k) := |
| 44 | LiftDerivations.RelativeLifts.derivationEquiv R B (DualNumber k) (DualNumberReduction.AlgebraicLie.dualIdeal k) (DualNumberReduction.AlgebraicLie.dualIdeal_square k) |
| 45 | exact (e.restrictScalars k).trans (DualIdealCoefficients.AlgebraicLie.derivationDualIdealEquiv k R B) |
| 46 | |
| 47 | theorem derivationEquiv_apply (v : Space R B k) (b : B) : |
| 48 | derivationEquiv R B k v b = (v.val.hom b).snd := by |
| 49 | change (v.val.hom b - algebraMap B (DualNumber k) b).snd = (v.val.hom b).snd |
| 50 | rw [TrivSqZeroExt.snd_sub, IsScalarTower.algebraMap_apply B k (DualNumber k), |
| 51 | TrivSqZeroExt.algebraMap_eq_inl, TrivSqZeroExt.snd_inl, sub_zero] |
| 52 | |
| 53 | variable [Algebra B R] [IsScalarTower R B R] [IsScalarTower B R k] |
| 54 | [Algebra.FormallySmooth R B] |
| 55 | |
| 56 | def conormalEquiv : Space R B k ≃ₗ[k] |
| 57 | ((RingHom.ker (algebraMap B R)).Cotangent →ₗ[R] k) := |
| 58 | (derivationEquiv R B k).trans (Section.ConormalDerivations.SectionConormal.derivationConormalEquiv R B k) |
| 59 | |
| 60 | theorem conormalEquiv_toCotangent (v : Space R B k) (b : RingHom.ker (algebraMap B R)) : |
| 61 | conormalEquiv R B k v (Ideal.toCotangent _ b) = (v.val.hom b).snd := by |
| 62 | change Section.ConormalDerivations.SectionConormal.derivationConormalEquiv R B k (derivationEquiv R B k v) |
| 63 | (Ideal.toCotangent _ b) = _ |
| 64 | rw [Section.ConormalDerivations.SectionConormal.derivationConormalEquiv_toCotangent, derivationEquiv_apply] |
| 65 | |
| 66 | end RelativeDualLifts |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.DualLifts |