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.EtaleCoefficientLiftEquivalence |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.CoefficientLiftNaturality |
| 3 | |
| 4 | /-! # Etale Coefficient Derivation Extension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.EtaleCoefficientDerivationExtension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Etale extension of coefficient-valued derivations is linear and |
| 11 | commutes with coefficient change, retaining the original values on the |
| 12 | source chart. -/ |
| 13 | |
| 14 | variable (k A D C : Type) [CommRing k] [CommRing A] [CommRing D] [CommRing C] |
| 15 | [Algebra k A] [Algebra k D] [Algebra k C] [Algebra A D] [Algebra A C] [Algebra D C] |
| 16 | [IsScalarTower k A D] [IsScalarTower k A C] [IsScalarTower k D C] [IsScalarTower A D C] |
| 17 | [Algebra.FormallyEtale A D] |
| 18 | |
| 19 | def etaleCoefficientDerivationExtension : Derivation k A C →ₗ[C] Derivation k D C := |
| 20 | (EtaleCoefficientLiftEquivalence.coefficientDerivationPrecompositionEquiv k A D C).symm.toLinearMap |
| 21 | |
| 22 | theorem etaleCoefficientDerivationExtension_algebraMap (d : Derivation k A C) (a : A) : |
| 23 | etaleCoefficientDerivationExtension k A D C d (algebraMap A D a) = d a := |
| 24 | Derivation.congr_fun ((EtaleCoefficientLiftEquivalence.coefficientDerivationPrecompositionEquiv k A D C).apply_symm_apply d) a |
| 25 | |
| 26 | theorem etaleCoefficientDerivationExtension_eq (d : Derivation k A C) : |
| 27 | etaleCoefficientDerivationExtension k A D C d = |
| 28 | HodgeConjecture.DegreeTwo.EtaleDerivation.Constructions.etaleExtendDerivation k A D C d := by |
| 29 | apply EtaleCoefficientLiftEquivalence.etaleCoefficientDerivation_ext k A D C |
| 30 | intro a |
| 31 | rw [etaleCoefficientDerivationExtension_algebraMap, |
| 32 | HodgeConjecture.DegreeTwo.EtaleDerivation.Constructions.etaleExtendDerivation_algebraMap] |
| 33 | |
| 34 | variable (C' : Type) [CommRing C'] [Algebra k C'] [Algebra A C'] [Algebra D C'] |
| 35 | [IsScalarTower k A C'] [IsScalarTower k D C'] [IsScalarTower A D C'] |
| 36 | |
| 37 | theorem etaleCoefficientDerivationExtension_coefficients (q : C →ₐ[D] C') (d : Derivation k A C) : |
| 38 | Dual.CoefficientLiftNaturality.coefficientDerivationMap k D C C' q (etaleCoefficientDerivationExtension k A D C d) = |
| 39 | etaleCoefficientDerivationExtension k A D C' |
| 40 | (Dual.CoefficientLiftNaturality.coefficientDerivationMap k A C C' (q.restrictScalars A) d) := by |
| 41 | apply EtaleCoefficientLiftEquivalence.etaleCoefficientDerivation_ext k A D C' |
| 42 | intro a |
| 43 | change q (etaleCoefficientDerivationExtension k A D C d (algebraMap A D a)) = |
| 44 | etaleCoefficientDerivationExtension k A D C' |
| 45 | (Dual.CoefficientLiftNaturality.coefficientDerivationMap k A C C' (q.restrictScalars A) d) (algebraMap A D a) |
| 46 | rw [etaleCoefficientDerivationExtension_algebraMap, etaleCoefficientDerivationExtension_algebraMap] |
| 47 | rfl |
| 48 | |
| 49 | variable (F : Type) [CommRing F] [Algebra k F] [Algebra A F] [Algebra D F] [Algebra F C] |
| 50 | [IsScalarTower k A F] [IsScalarTower k D F] [IsScalarTower k F C] |
| 51 | [IsScalarTower A D F] [IsScalarTower A F C] [IsScalarTower D F C] |
| 52 | [Algebra.FormallyEtale D F] [Algebra.FormallyEtale A F] |
| 53 | |
| 54 | theorem etaleCoefficientDerivationExtension_tower (d : Derivation k A C) : |
| 55 | etaleCoefficientDerivationExtension k A F C d = |
| 56 | etaleCoefficientDerivationExtension k D F C (etaleCoefficientDerivationExtension k A D C d) := by |
| 57 | apply EtaleCoefficientLiftEquivalence.etaleCoefficientDerivation_ext k A F C |
| 58 | intro a |
| 59 | rw [etaleCoefficientDerivationExtension_algebraMap, IsScalarTower.algebraMap_apply A D F a, |
| 60 | etaleCoefficientDerivationExtension_algebraMap, etaleCoefficientDerivationExtension_algebraMap] |
| 61 | |
| 62 | variable (R : Type) [CommRing R] [Algebra k R] [Algebra R A] [Algebra R D] [Algebra R C] |
| 63 | [IsScalarTower k R A] [IsScalarTower k R D] [IsScalarTower k R C] |
| 64 | [IsScalarTower R A D] [IsScalarTower R A C] [IsScalarTower R D C] |
| 65 | |
| 66 | omit [IsScalarTower k R C] in |
| 67 | theorem etaleCoefficientDerivationExtension_base (d : Derivation k A C) : |
| 68 | (etaleCoefficientDerivationExtension k A D C d).compAlgebraMap R = d.compAlgebraMap R := by |
| 69 | apply Derivation.ext |
| 70 | intro r |
| 71 | change etaleCoefficientDerivationExtension k A D C d (algebraMap R D r) = d (algebraMap R A r) |
| 72 | rw [IsScalarTower.algebraMap_apply R A D r, etaleCoefficientDerivationExtension_algebraMap] |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.EtaleCoefficientDerivationExtension |