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.Derivation |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.EtaleDerivation |
| 3 | |
| 4 | /-! # Etale Transition Derivation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.EtaleTransitionDerivation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Transition derivations extend uniquely to etale coordinate rings, |
| 13 | including localizations; their dual-number gauges retain the restriction square. -/ |
| 14 | |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | variable {k A B : Type*} [CommRing k] [CommRing A] [CommRing B] |
| 18 | [Algebra k A] [Algebra k B] [Algebra A B] [IsScalarTower k A B] |
| 19 | [Algebra.FormallyEtale A B] |
| 20 | |
| 21 | def etaleTransitionDerivation (d : Derivation k A A) : Derivation k B B := |
| 22 | HodgeConjecture.DegreeTwo.EtaleDerivation.Constructions.etaleExtendDerivation k A B B ((Algebra.linearMap A B).compDer d) |
| 23 | |
| 24 | theorem etaleTransitionDerivation_algebraMap (d : Derivation k A A) (a : A) : |
| 25 | etaleTransitionDerivation (B := B) d (algebraMap A B a) = algebraMap A B (d a) := |
| 26 | HodgeConjecture.DegreeTwo.EtaleDerivation.Constructions.etaleExtendDerivation_algebraMap k A B B |
| 27 | ((Algebra.linearMap A B).compDer d) a |
| 28 | |
| 29 | theorem etaleTransitionDerivation_ext (d e : Derivation k B B) |
| 30 | (h : ∀ a : A, d (algebraMap A B a) = e (algebraMap A B a)) : d = e := by |
| 31 | have hd : d.liftKaehlerDifferential = e.liftKaehlerDifferential := by |
| 32 | apply (KaehlerDifferential.isBaseChange_of_formallyEtale k A B).algHom_ext' |
| 33 | apply Derivation.liftKaehlerDifferential_unique |
| 34 | apply Derivation.ext |
| 35 | intro a |
| 36 | change d.liftKaehlerDifferential |
| 37 | (KaehlerDifferential.map k k A B (KaehlerDifferential.D k A a)) = |
| 38 | e.liftKaehlerDifferential |
| 39 | (KaehlerDifferential.map k k A B (KaehlerDifferential.D k A a)) |
| 40 | rw [KaehlerDifferential.map_D, Derivation.liftKaehlerDifferential_comp_D, |
| 41 | Derivation.liftKaehlerDifferential_comp_D] |
| 42 | exact h a |
| 43 | apply Derivation.ext |
| 44 | intro b |
| 45 | rw [← Derivation.liftKaehlerDifferential_comp_D d b, |
| 46 | ← Derivation.liftKaehlerDifferential_comp_D e b, hd] |
| 47 | |
| 48 | theorem etaleTransitionDerivation_unique (d : Derivation k A A) (e : Derivation k B B) |
| 49 | (h : ∀ a : A, e (algebraMap A B a) = algebraMap A B (d a)) : |
| 50 | e = etaleTransitionDerivation d := by |
| 51 | apply etaleTransitionDerivation_ext (A := A) |
| 52 | intro a |
| 53 | exact (h a).trans (etaleTransitionDerivation_algebraMap d a).symm |
| 54 | |
| 55 | theorem etaleTransitionDerivation_gauge_natural (d : Derivation k A A) : |
| 56 | (Dual.NumberCoefficients.dualNumberAlgMap (IsScalarTower.toAlgHom k A B)).comp |
| 57 | (Dual.Derivation.dualDerivationAutomorphism d).toAlgHom = |
| 58 | (Dual.Derivation.dualDerivationAutomorphism (etaleTransitionDerivation (B := B) d)).toAlgHom.comp |
| 59 | (Dual.NumberCoefficients.dualNumberAlgMap (IsScalarTower.toAlgHom k A B)) := |
| 60 | Dual.Derivation.dualDerivationAutomorphism_natural (IsScalarTower.toAlgHom k A B) d |
| 61 | (etaleTransitionDerivation d) (fun a => (etaleTransitionDerivation_algebraMap d a).symm) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | /-! Restriction of transition derivations is linear and composes exactly |
| 66 | along etale coordinate changes, so it preserves cocycles and coboundaries. -/ |
| 67 | |
| 68 | variable {k A B : Type*} [CommRing k] [CommRing A] [CommRing B] |
| 69 | [Algebra k A] [Algebra k B] [Algebra A B] [IsScalarTower k A B] |
| 70 | [Algebra.FormallyEtale A B] |
| 71 | |
| 72 | theorem etaleTransitionDerivation_add (d e : Derivation k A A) : |
| 73 | etaleTransitionDerivation (B := B) (d + e) = |
| 74 | etaleTransitionDerivation d + etaleTransitionDerivation e := by |
| 75 | apply etaleTransitionDerivation_ext (A := A) |
| 76 | intro a |
| 77 | simp only [etaleTransitionDerivation_algebraMap, Derivation.add_apply, map_add] |
| 78 | |
| 79 | theorem etaleTransitionDerivation_smul (c : k) (d : Derivation k A A) : |
| 80 | etaleTransitionDerivation (B := B) (c • d) = c • etaleTransitionDerivation d := by |
| 81 | apply etaleTransitionDerivation_ext (A := A) |
| 82 | intro a |
| 83 | simp only [etaleTransitionDerivation_algebraMap, Derivation.smul_apply] |
| 84 | exact (IsScalarTower.toAlgHom k A B).toLinearMap.map_smul c (d a) |
| 85 | |
| 86 | def etaleTransitionDerivationLinear : Derivation k A A →ₗ[k] Derivation k B B where |
| 87 | toFun := etaleTransitionDerivation |
| 88 | map_add' := etaleTransitionDerivation_add |
| 89 | map_smul' := etaleTransitionDerivation_smul |
| 90 | |
| 91 | variable {C : Type*} [CommRing C] [Algebra k C] [Algebra A C] [Algebra B C] |
| 92 | [IsScalarTower k A C] [IsScalarTower k B C] [IsScalarTower A B C] |
| 93 | [Algebra.FormallyEtale B C] [Algebra.FormallyEtale A C] |
| 94 | |
| 95 | theorem etaleTransitionDerivation_tower (d : Derivation k A A) : |
| 96 | etaleTransitionDerivation (B := C) d = |
| 97 | etaleTransitionDerivation (B := C) (etaleTransitionDerivation (B := B) d) := by |
| 98 | apply etaleTransitionDerivation_ext (A := A) |
| 99 | intro a |
| 100 | rw [etaleTransitionDerivation_algebraMap, IsScalarTower.algebraMap_apply A B C a, |
| 101 | etaleTransitionDerivation_algebraMap, etaleTransitionDerivation_algebraMap, |
| 102 | ← IsScalarTower.algebraMap_apply A B C] |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.EtaleTransitionDerivation |