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.AlgebraLiftCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.CoefficientLiftNaturality |
| 3 | |
| 4 | /-! # Algebra Lift Coefficient Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.AlgebraLiftCoefficientNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual dual-number algebra map associated with a derivation |
| 11 | commutes with coefficient change. This retains the original map, as |
| 12 | needed when a single base tangent vector is evaluated on affine charts. -/ |
| 13 | |
| 14 | variable (k R C C' : Type) [CommRing k] [CommRing R] [CommRing C] [CommRing C'] |
| 15 | [Algebra k R] [Algebra k C] [Algebra k C'] [Algebra R C] [Algebra R C'] |
| 16 | [IsScalarTower k R C] [IsScalarTower k R C'] (q : C →ₐ[R] C') |
| 17 | |
| 18 | theorem dualAlgebraLiftDerivationEquiv_symm_natural (d : Derivation k R C) : |
| 19 | ((AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R C').symm (CoefficientLiftNaturality.coefficientDerivationMap k R C C' q d)).val = |
| 20 | (NumberCoefficients.dualNumberAlgMap (q.restrictScalars k)).comp ((AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R C).symm d).val := by |
| 21 | let v := (AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R C).symm d |
| 22 | let w := (AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R C').symm (CoefficientLiftNaturality.coefficientDerivationMap k R C C' q d) |
| 23 | change w.val = (NumberCoefficients.dualNumberAlgMap (q.restrictScalars k)).comp v.val |
| 24 | apply AlgHom.ext |
| 25 | intro r |
| 26 | apply TrivSqZeroExt.ext |
| 27 | · have hv : (v.val r).fst = algebraMap R C r := AlgHom.congr_fun v.property r |
| 28 | have hw : (w.val r).fst = algebraMap R C' r := AlgHom.congr_fun w.property r |
| 29 | change (w.val r).fst = q (v.val r).fst |
| 30 | rw [hw, hv, q.commutes] |
| 31 | · have hv : AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R C v = d := |
| 32 | (AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R C).apply_symm_apply d |
| 33 | have hw : AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R C' w = CoefficientLiftNaturality.coefficientDerivationMap k R C C' q d := |
| 34 | (AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R C').apply_symm_apply _ |
| 35 | have hv' := Derivation.congr_fun hv r |
| 36 | have hw' := Derivation.congr_fun hw r |
| 37 | rw [AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv_apply] at hv' hw' |
| 38 | change (w.val r).snd = q (v.val r).snd |
| 39 | exact hw'.trans (congrArg q hv'.symm) |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.AlgebraLiftCoefficientNaturality |