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.CoefficientLiftNaturality |
| 2 | |
| 3 | /-! # Coefficient Derivation Kernel -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Relative.CoefficientDerivationKernel |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Derivations vanishing on the base are precisely relative |
| 10 | derivations. The comparison is linear over the coefficient algebra. -/ |
| 11 | |
| 12 | variable (k R S C : Type) [CommRing k] [CommRing R] [CommRing S] [CommRing C] |
| 13 | [Algebra k R] [Algebra k S] [Algebra k C] [Algebra R S] [Algebra R C] [Algebra S C] |
| 14 | [IsScalarTower k R S] [IsScalarTower k R C] [IsScalarTower k S C] [IsScalarTower R S C] |
| 15 | |
| 16 | def relativeCoefficientDerivation (d : Derivation k S C) |
| 17 | (h : ∀ r : R, d (algebraMap R S r) = 0) : Derivation R S C where |
| 18 | toLinearMap := { |
| 19 | toFun := d |
| 20 | map_add' := d.map_add |
| 21 | map_smul' := fun r s => by |
| 22 | rw [Algebra.smul_def, d.leibniz, h r, smul_zero, add_zero] |
| 23 | exact IsScalarTower.algebraMap_smul S r (d s) } |
| 24 | map_one_eq_zero' := d.map_one_eq_zero |
| 25 | leibniz' := d.leibniz |
| 26 | |
| 27 | def relativeCoefficientDerivationKernelEquiv : |
| 28 | (Dual.CoefficientLiftNaturality.coefficientDerivationPrecomposition k R S C).ker ≃ₗ[C] Derivation R S C where |
| 29 | toFun d := relativeCoefficientDerivation k R S C d.val (fun r => Derivation.congr_fun d.property r) |
| 30 | invFun d := ⟨d.restrictScalars k, by |
| 31 | apply Derivation.ext |
| 32 | intro r |
| 33 | exact d.map_algebraMap r⟩ |
| 34 | left_inv d := by |
| 35 | apply Subtype.ext |
| 36 | apply Derivation.ext |
| 37 | intro s |
| 38 | rfl |
| 39 | right_inv d := by |
| 40 | apply Derivation.ext |
| 41 | intro s |
| 42 | rfl |
| 43 | map_add' d e := by |
| 44 | apply Derivation.ext |
| 45 | intro s |
| 46 | rfl |
| 47 | map_smul' a d := by |
| 48 | apply Derivation.ext |
| 49 | intro s |
| 50 | rfl |
| 51 | |
| 52 | omit [IsScalarTower k S C] in |
| 53 | theorem relativeCoefficientDerivationKernelEquiv_apply |
| 54 | (d : (Dual.CoefficientLiftNaturality.coefficientDerivationPrecomposition k R S C).ker) (s : S) : |
| 55 | relativeCoefficientDerivationKernelEquiv k R S C d s = d.val s := rfl |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Relative.CoefficientDerivationKernel |