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.Isogenies.NeighborCounting.EvaluationDVRLifts |
| 2 | import Mathlib.RingTheory.IntegralClosure.IntegralRestrict |
| 3 | |
| 4 | /-! # Evaluation DVR Map -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationDVRMap.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Field embeddings between finite evaluation fields extend to their |
| 11 | actual DVRs of integers. The original residue identifications force |
| 12 | compatibility with the same residue field. -/ |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.EvaluationDVRLifts |
| 15 | |
| 16 | variable {R K L L' : Type} [CommRing R] [IsLocalRing R] |
| 17 | [Field K] [Algebra R K] |
| 18 | [Field L] [Algebra K L] [Algebra R L] [IsScalarTower R K L] |
| 19 | [Field L'] [Algebra K L'] [Algebra R L'] [IsScalarTower R K L'] |
| 20 | (V : Isogenies.NeighborCounting.EvaluationDVRLifts.EvaluationDVR R L) (V' : Isogenies.NeighborCounting.EvaluationDVRLifts.EvaluationDVR R L') (σ : L →ₐ[K] L') |
| 21 | |
| 22 | def map : V.carrier →ₐ[R] V'.carrier := galRestrict' R V.carrier V'.carrier σ |
| 23 | |
| 24 | theorem map_fraction (x : V.carrier) : |
| 25 | algebraMap V'.carrier L' (CM.map V V' σ x) = σ (algebraMap V.carrier L x) := |
| 26 | algebraMap_galRestrict'_apply R V.carrier V'.carrier σ x |
| 27 | |
| 28 | theorem map_injective : Function.Injective (CM.map V V' σ) := by |
| 29 | intro x y h |
| 30 | apply IsFractionRing.injective V.carrier L |
| 31 | apply σ.injective |
| 32 | exact (map_fraction V V' σ x).symm.trans |
| 33 | ((congrArg (algebraMap V'.carrier L') h).trans (map_fraction V V' σ y)) |
| 34 | |
| 35 | instance map_local : IsLocalHom (CM.map V V' σ).toRingHom := by |
| 36 | have he : (CM.map V V' σ).toRingHom.comp (algebraMap R V.carrier) = algebraMap R V'.carrier := |
| 37 | RingHom.ext (CM.map V V' σ).commutes |
| 38 | have h : ((CM.map V V' σ).toRingHom.comp (algebraMap R V.carrier)).IsIntegral := by |
| 39 | rw [he] |
| 40 | exact algebraMap_isIntegral_iff.mpr inferInstance |
| 41 | exact (RingHom.IsIntegral.tower_top (algebraMap R V.carrier) (CM.map V V' σ).toRingHom h).isLocalHom |
| 42 | (map_injective V V' σ) |
| 43 | |
| 44 | theorem residue_map (x : IsLocalRing.ResidueField R) : |
| 45 | IsLocalRing.ResidueField.map (CM.map V V' σ).toRingHom (V.residueIso x) = V'.residueIso x := by |
| 46 | obtain ⟨r, rfl⟩ := IsLocalRing.residue_surjective x |
| 47 | rw [V.residue_compatible, IsLocalRing.ResidueField.map_residue] |
| 48 | exact (congrArg (IsLocalRing.residue V'.carrier) ((CM.map V V' σ).commutes r)).trans |
| 49 | (V'.residue_compatible r).symm |
| 50 | |
| 51 | theorem geometric_residue (x : V.carrier) : |
| 52 | V'.residueIso.symm (IsLocalRing.residue V'.carrier (CM.map V V' σ x)) = |
| 53 | V.residueIso.symm (IsLocalRing.residue V.carrier x) := by |
| 54 | apply V'.residueIso.injective |
| 55 | rw [RingEquiv.apply_symm_apply, ← residue_map V V' σ, |
| 56 | RingEquiv.apply_symm_apply] |
| 57 | rfl |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationDVRMap.CM |