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.LieRanks |
| 2 | |
| 3 | /-! # Dual Number Field Equiv -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.DualNumberFieldEquiv.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | Field isomorphisms transport the actual dual-number tests, including |
| 11 | their origin and scalar maps. These comparisons are the infinitesimal |
| 12 | input for transporting CMPoints Lie ranks to the fixed geometric field. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks |
| 20 | |
| 21 | variable {k l : Type u} [Field k] [Field l] (e : k ≃+* l) |
| 22 | |
| 23 | def dualNumberFieldEquiv : DualNumber k ≃+* DualNumber l where |
| 24 | toFun x := ⟨e x.fst, e x.snd⟩ |
| 25 | invFun x := ⟨e.symm x.fst, e.symm x.snd⟩ |
| 26 | left_inv x := by ext <;> exact e.symm_apply_apply _ |
| 27 | right_inv x := by ext <;> exact e.apply_symm_apply _ |
| 28 | map_add' x y := by ext <;> exact e.map_add _ _ |
| 29 | map_mul' x y := by |
| 30 | apply TrivSqZeroExt.ext |
| 31 | · exact e.map_mul _ _ |
| 32 | · change e (x.fst * y.snd + x.snd * y.fst) = |
| 33 | e x.fst * e y.snd + e x.snd * e y.fst |
| 34 | rw [map_add, map_mul, map_mul] |
| 35 | |
| 36 | theorem dualNumberFieldEquiv_scale (a : k) (z : DualNumber k) : |
| 37 | dualNumberFieldEquiv e (AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale k a z) = |
| 38 | AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale l (e a) (dualNumberFieldEquiv e z) := by |
| 39 | apply TrivSqZeroExt.ext |
| 40 | · change e ((AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale k a z).fst) = |
| 41 | (AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale l (e a) (dualNumberFieldEquiv e z)).fst |
| 42 | simp only [AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale, TrivSqZeroExt.fst_map] |
| 43 | rfl |
| 44 | · change e ((AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale k a z).snd) = |
| 45 | (AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale l (e a) (dualNumberFieldEquiv e z)).snd |
| 46 | simp only [AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale, TrivSqZeroExt.snd_map, LinearMap.smul_apply, LinearMap.id_apply] |
| 47 | change e (a * z.snd) = e a * e z.snd |
| 48 | exact e.map_mul _ _ |
| 49 | |
| 50 | def fieldPointBaseIso : |
| 51 | (Over.map (Spec.map e.toCommRingCatIso.hom)).obj (Over.mk (𝟙 (Spec (.of l)))) ≅ |
| 52 | Over.mk (𝟙 (Spec (.of k))) := |
| 53 | Over.isoMk (Scheme.Spec.mapIso e.toCommRingCatIso.op) (by |
| 54 | change Spec.map e.toCommRingCatIso.hom ≫ 𝟙 _ = 𝟙 _ ≫ Spec.map e.toCommRingCatIso.hom |
| 55 | rw [Category.comp_id, Category.id_comp]) |
| 56 | |
| 57 | /-- The native dual-number test over l, regarded over k, is the |
| 58 | original dual-number test over k through the field isomorphism. -/ |
| 59 | def dualNumberTestFieldIso : |
| 60 | (Over.map (Spec.map e.toCommRingCatIso.hom)).obj (AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest l) ≅ AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest k := |
| 61 | Over.isoMk (Scheme.Spec.mapIso (dualNumberFieldEquiv e).toCommRingCatIso.op) (by |
| 62 | change Spec.map (dualNumberFieldEquiv e).toCommRingCatIso.hom ≫ |
| 63 | Spec.map (CommRingCat.ofHom (algebraMap k (DualNumber k))) = |
| 64 | Spec.map (CommRingCat.ofHom (algebraMap l (DualNumber l))) ≫ Spec.map e.toCommRingCatIso.hom |
| 65 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 66 | apply congrArg Spec.map |
| 67 | apply CommRingCat.hom_ext |
| 68 | apply RingHom.ext |
| 69 | intro a |
| 70 | apply TrivSqZeroExt.ext |
| 71 | · rfl |
| 72 | · exact e.map_zero) |
| 73 | |
| 74 | theorem dualNumberTestFieldIso_origin : |
| 75 | (Over.map (Spec.map e.toCommRingCatIso.hom)).map (AbelianModuli.ReferenceFamily.LieRanks.dualNumberOrigin l) ≫ |
| 76 | (dualNumberTestFieldIso e).hom = (fieldPointBaseIso e).hom ≫ AbelianModuli.ReferenceFamily.LieRanks.dualNumberOrigin k := by |
| 77 | apply Over.OverMorphism.ext |
| 78 | change Spec.map (CommRingCat.ofHom (AbelianModuli.ReferenceFamily.LieRanks.dualNumberReduction l)) ≫ |
| 79 | Spec.map (dualNumberFieldEquiv e).toCommRingCatIso.hom = |
| 80 | Spec.map e.toCommRingCatIso.hom ≫ Spec.map (CommRingCat.ofHom (AbelianModuli.ReferenceFamily.LieRanks.dualNumberReduction k)) |
| 81 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 82 | rfl |
| 83 | |
| 84 | theorem dualNumberTestFieldIso_scalar (a : k) : |
| 85 | (Over.map (Spec.map e.toCommRingCatIso.hom)).map (AbelianModuli.ReferenceFamily.LieRanks.dualNumberScalar l (e a)) ≫ |
| 86 | (dualNumberTestFieldIso e).hom = |
| 87 | (dualNumberTestFieldIso e).hom ≫ AbelianModuli.ReferenceFamily.LieRanks.dualNumberScalar k a := by |
| 88 | apply Over.OverMorphism.ext |
| 89 | change Spec.map (CommRingCat.ofHom (AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale l (e a)).toRingHom) ≫ |
| 90 | Spec.map (dualNumberFieldEquiv e).toCommRingCatIso.hom = |
| 91 | Spec.map (dualNumberFieldEquiv e).toCommRingCatIso.hom ≫ |
| 92 | Spec.map (CommRingCat.ofHom (AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale k a).toRingHom) |
| 93 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 94 | apply congrArg Spec.map |
| 95 | apply CommRingCat.hom_ext |
| 96 | exact RingHom.ext (fun z => (dualNumberFieldEquiv_scale e a z).symm) |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.DualNumberFieldEquiv.Construction |