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.AbelianModuli.ReferenceFamily.Dual.NumberCoefficients |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.DualNumberReduction |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.LiftDerivations |
| 4 | |
| 5 | /-! # Dual Ideal Coefficients -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.DualIdealCoefficients |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual square-zero ideal of dual numbers is its coefficient |
| 12 | module. This comparison preserves derivations and their coefficient scalars. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | namespace AlgebraicLie |
| 18 | |
| 19 | variable (k : Type) [Field k] |
| 20 | |
| 21 | def dualIdealEquiv : DualNumberReduction.AlgebraicLie.dualIdeal k ≃ₗ[k] k where |
| 22 | toFun v := v.val.snd |
| 23 | invFun c := ⟨TrivSqZeroExt.inr c, by change (TrivSqZeroExt.inr c : DualNumber k).fst = 0; rfl⟩ |
| 24 | left_inv v := by |
| 25 | apply Subtype.ext |
| 26 | apply TrivSqZeroExt.ext |
| 27 | · exact v.property.symm |
| 28 | · rfl |
| 29 | right_inv _ := rfl |
| 30 | map_add' _ _ := rfl |
| 31 | map_smul' _ _ := rfl |
| 32 | |
| 33 | variable (R B : Type) [CommRing R] [CommRing B] [Algebra R B] |
| 34 | [Algebra R k] [Algebra B k] [IsScalarTower R B k] |
| 35 | |
| 36 | def derivationDualIdealEquiv : Derivation R B (DualNumberReduction.AlgebraicLie.dualIdeal k) ≃ₗ[k] Derivation R B k where |
| 37 | toEquiv := ((dualIdealEquiv k).restrictScalars B).compDer.toEquiv |
| 38 | map_add' := ((dualIdealEquiv k).restrictScalars B).compDer.map_add |
| 39 | map_smul' c d := by |
| 40 | apply Derivation.ext |
| 41 | intro b |
| 42 | exact (dualIdealEquiv k).map_smul c (d b) |
| 43 | |
| 44 | theorem derivationDualIdealEquiv_apply (d : Derivation R B (DualNumberReduction.AlgebraicLie.dualIdeal k)) (b : B) : |
| 45 | derivationDualIdealEquiv k R B d b = (d b).val.snd := rfl |
| 46 | |
| 47 | end AlgebraicLie |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.DualIdealCoefficients |