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.Evaluated.Reduction |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReductionPointProjection |
| 3 | |
| 4 | /-! # Evaluated Target Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluatedTargetBaseChange.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Properly evaluated NeighborCounting targets extend along a DVR embedding. |
| 11 | Their generic maps are the original maps under field extension, and |
| 12 | compatible residue maps preserve the original special target. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.Reduction.Lifts |
| 16 | |
| 17 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 18 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 19 | {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 20 | {iota : E →+* K} {κ : K →+* ℂ} |
| 21 | {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 22 | {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 23 | {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 24 | {R L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 25 | [Field L] [Algebra R L] [IsFractionRing R L] |
| 26 | {b : B.R →+* R} (z : Isogenies.NeighborCounting.Evaluated.Targets.Lifts.EvaluatedTarget D R L b) |
| 27 | |
| 28 | def changeBase {b' : B.R →+* R} (hb : b = b') : Isogenies.NeighborCounting.Evaluated.Targets.Lifts.EvaluatedTarget D R L b' := hb ▸ z |
| 29 | |
| 30 | omit [IsDomain R] [IsDiscreteValuationRing R] [IsFractionRing R L] in |
| 31 | theorem changeBase_map {b' : B.R →+* R} (hb : b = b') : |
| 32 | (changeBase z hb).map = z.map := by |
| 33 | subst b' |
| 34 | rfl |
| 35 | |
| 36 | theorem changeBase_specialPoint {b' : B.R →+* R} (hb : b = b') |
| 37 | (ρ : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R) |
| 38 | (hbase : Isogenies.NeighborCounting.Lifts.ResidueCompatible D R b ρ) (hbase' : Isogenies.NeighborCounting.Lifts.ResidueCompatible D R b' ρ) : |
| 39 | (changeBase z hb).specialPoint hbase' = z.specialPoint hbase := by |
| 40 | subst b' |
| 41 | rfl |
| 42 | |
| 43 | variable {R' L' : Type} [CommRing R'] [IsDomain R'] [IsDiscreteValuationRing R'] |
| 44 | [Field L'] [Algebra R' L'] [IsFractionRing R' L'] |
| 45 | (φ : R →+* R') (σ : L →+* L') |
| 46 | (hfrac : (algebraMap R' L').comp φ = σ.comp (algebraMap R L)) |
| 47 | |
| 48 | def integralMap : Spec (.of R') ⟶ D.integral.toOver.left := |
| 49 | Spec.map (CommRingCat.ofHom φ) ≫ z.extension |
| 50 | |
| 51 | omit [IsDomain R'] [IsDiscreteValuationRing R'] in |
| 52 | theorem integralMap_base : integralMap z φ ≫ D.integral.toOver.hom = Isogenies.NeighborCounting.Lifts.dvrBase R' (φ.comp b) := by |
| 53 | change (Spec.map (CommRingCat.ofHom φ) ≫ z.extension) ≫ _ = _ |
| 54 | rw [Category.assoc, z.extension_overBase] |
| 55 | exact (Spec.map_comp (CommRingCat.ofHom b) (CommRingCat.ofHom φ)).symm |
| 56 | |
| 57 | def target : Isogenies.NeighborCounting.Evaluated.Targets.Lifts.EvaluatedTarget D R' L' (φ.comp b) := |
| 58 | Isogenies.NeighborCounting.Evaluated.Targets.Lifts.EvaluatedTarget.ofIntegralMap D R' L' (φ.comp b) (integralMap z φ) (integralMap_base z φ) |
| 59 | |
| 60 | theorem target_extension : (target (L' := L') z φ).extension = integralMap z φ := |
| 61 | Isogenies.NeighborCounting.Evaluated.Targets.Lifts.EvaluatedTarget.extension_ofIntegralMap (integralMap z φ) (integralMap_base z φ) |
| 62 | |
| 63 | include hfrac in |
| 64 | omit [IsFractionRing R' L'] [IsDomain R'] [IsDiscreteValuationRing R'] in |
| 65 | theorem target_map : (target (L' := L') z φ).map = Spec.map (CommRingCat.ofHom σ) ≫ z.map := by |
| 66 | have hs : Spec.map (CommRingCat.ofHom (algebraMap R' L')) ≫ Spec.map (CommRingCat.ofHom φ) = |
| 67 | Spec.map (CommRingCat.ofHom σ) ≫ Spec.map (CommRingCat.ofHom (algebraMap R L)) := by |
| 68 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 69 | exact congrArg (fun f : R →+* L' => Spec.map (CommRingCat.ofHom f)) hfrac |
| 70 | change Spec.map (CommRingCat.ofHom (algebraMap R' L')) ≫ |
| 71 | (Spec.map (CommRingCat.ofHom φ) ≫ z.extension) = _ |
| 72 | rw [← Category.assoc, hs, Category.assoc, z.extension_generic] |
| 73 | |
| 74 | variable (ρ : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R) |
| 75 | (ρ' : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R') |
| 76 | (hres : ∀ r, ρ'.symm (IsLocalRing.residue R' (φ r)) = ρ.symm (IsLocalRing.residue R r)) |
| 77 | (hbase : Isogenies.NeighborCounting.Lifts.ResidueCompatible D R b ρ) |
| 78 | |
| 79 | include hres hbase in |
| 80 | theorem residueCompatible : Isogenies.NeighborCounting.Lifts.ResidueCompatible D R' (φ.comp b) ρ' := by |
| 81 | ext a |
| 82 | apply ρ'.symm.injective |
| 83 | exact (hres (b a)).trans |
| 84 | ((congrArg ρ.symm (RingHom.congr_fun hbase a)).trans |
| 85 | ((ρ.symm_apply_apply _).trans (ρ'.symm_apply_apply _).symm)) |
| 86 | |
| 87 | include hres in |
| 88 | theorem specialPoint_eq (hbase' : Isogenies.NeighborCounting.Lifts.ResidueCompatible D R' (φ.comp b) ρ') : |
| 89 | (target (L' := L') z φ).specialPoint hbase' = z.specialPoint hbase := by |
| 90 | apply ReductionPointProjection.CM.Recovery.point_eq_of_projection D.specialBase D.integral.toOver |
| 91 | (AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.geometricBase q) |
| 92 | refine ((target (L' := L') z φ).specialPoint_projection hbase').trans ?_ |
| 93 | refine Eq.trans ?_ (z.specialPoint_projection hbase).symm |
| 94 | have hs : (Spec.map (CommRingCat.ofHom ρ'.symm.toRingHom) ≫ Isogenies.NeighborCounting.Lifts.closedBase R') ≫ |
| 95 | Spec.map (CommRingCat.ofHom φ) = Spec.map (CommRingCat.ofHom ρ.symm.toRingHom) ≫ Isogenies.NeighborCounting.Lifts.closedBase R := by |
| 96 | change (Spec.map (CommRingCat.ofHom ρ'.symm.toRingHom) ≫ |
| 97 | Spec.map (CommRingCat.ofHom (IsLocalRing.residue R'))) ≫ Spec.map (CommRingCat.ofHom φ) = |
| 98 | Spec.map (CommRingCat.ofHom ρ.symm.toRingHom) ≫ Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)) |
| 99 | rw [← Spec.map_comp, ← Spec.map_comp, ← Spec.map_comp] |
| 100 | exact congrArg (fun f : R →+* AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q => Spec.map (CommRingCat.ofHom f)) (RingHom.ext hres) |
| 101 | change Spec.map (CommRingCat.ofHom ρ'.symm.toRingHom) ≫ |
| 102 | (Isogenies.NeighborCounting.Lifts.closedBase R' ≫ (target (L' := L') z φ).extension) = |
| 103 | Spec.map (CommRingCat.ofHom ρ.symm.toRingHom) ≫ (Isogenies.NeighborCounting.Lifts.closedBase R ≫ z.extension) |
| 104 | rw [target_extension] |
| 105 | change Spec.map (CommRingCat.ofHom ρ'.symm.toRingHom) ≫ |
| 106 | (Isogenies.NeighborCounting.Lifts.closedBase R' ≫ (Spec.map (CommRingCat.ofHom φ) ≫ z.extension)) = _ |
| 107 | simpa only [Category.assoc] using congrArg (· ≫ z.extension) hs |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluatedTargetBaseChange.CM |