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 Mathlib.AlgebraicGeometry.ResidueField |
| 2 | |
| 3 | /-! # Rational Residue Field -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.RationalResidueField.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | The residue field at a rational point of a scheme over a field is |
| 11 | canonically the original field. This is the field comparison needed |
| 12 | between the CMPoints geometric-fiber conclusions and FrobeniusKernel's fixed |
| 13 | algebraically closed geometric point; no finite-type hypothesis is |
| 14 | required for this comparison. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (k : Type u) [Field k] {X : Scheme.{u}} |
| 22 | variable (p : X ⟶ Spec (.of k)) (x : Spec (.of k) ⟶ X) (hx : x ≫ p = 𝟙 _) |
| 23 | |
| 24 | def rationalResidueFieldMap : X.residueField (x (IsLocalRing.closedPoint k)) ⟶ CommRingCat.of k := |
| 25 | X.descResidueField (Scheme.stalkClosedPointTo x) |
| 26 | |
| 27 | theorem rationalResidueFieldMap_factor : |
| 28 | Spec.map (rationalResidueFieldMap k x) ≫ |
| 29 | X.fromSpecResidueField (x (IsLocalRing.closedPoint k)) = x := |
| 30 | Scheme.descResidueField_stalkClosedPointTo_fromSpecResidueField k X x |
| 31 | |
| 32 | include hx in |
| 33 | theorem rationalResidueFieldMap_bijective : Function.Bijective (rationalResidueFieldMap k x) := by |
| 34 | let a := rationalResidueFieldMap k x |
| 35 | let b : CommRingCat.of k ⟶ X.residueField (x (IsLocalRing.closedPoint k)) := |
| 36 | Spec.preimage (X.fromSpecResidueField (x (IsLocalRing.closedPoint k)) ≫ p) |
| 37 | have hba : b ≫ a = 𝟙 (CommRingCat.of k) := by |
| 38 | apply Spec.map_injective |
| 39 | rw [Spec.map_comp, Spec.map_preimage, ← Category.assoc, |
| 40 | rationalResidueFieldMap_factor, hx, Spec.map_id] |
| 41 | refine ⟨a.hom.injective, fun t => ⟨b t, ?_⟩⟩ |
| 42 | exact congrArg (fun f : CommRingCat.of k ⟶ CommRingCat.of k => f t) hba |
| 43 | |
| 44 | /-- The native residue-field isomorphism retains the factorization |
| 45 | of the original geometric point into the source scheme. -/ |
| 46 | def rationalResidueFieldIso : X.residueField (x (IsLocalRing.closedPoint k)) ≅ CommRingCat.of k := |
| 47 | (RingEquiv.ofBijective (rationalResidueFieldMap k x).hom |
| 48 | (rationalResidueFieldMap_bijective k p x hx)).toCommRingCatIso |
| 49 | |
| 50 | theorem rationalResidueFieldIso_factor : |
| 51 | Spec.map (rationalResidueFieldIso k p x hx).hom ≫ |
| 52 | X.fromSpecResidueField (x (IsLocalRing.closedPoint k)) = x := |
| 53 | rationalResidueFieldMap_factor k x |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.RationalResidueField.Construction |