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.LiftedReduction |
| 3 | |
| 4 | /-! # Counting Target Reduction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.CountingTargetReduction.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! NeighborCounting's actual evaluated targets use the same unique proper |
| 11 | extension as the HeckeCycles specialization map. Their geometric reductions |
| 12 | therefore agree on the original arithmetic source, without a new |
| 13 | target-matching premise. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.Reduction.Lifts |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ValuativePoints.CM |
| 18 | |
| 19 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 20 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 21 | {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 22 | {iota : E →+* K} {κ : K →+* ℂ} |
| 23 | {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 24 | {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 25 | {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 26 | {R L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 27 | [Field L] [Algebra R L] [IsFractionRing R L] |
| 28 | {b : B.R →+* R} (z : Isogenies.NeighborCounting.Evaluated.Targets.Lifts.EvaluatedTarget D R L b) |
| 29 | |
| 30 | def genericPoint : ValuativePoints.CM.genericTest (L := L) (Isogenies.NeighborCounting.Lifts.dvrBase R b) ⟶ D.integral.toOver := |
| 31 | Over.homMk z.map z.overBase |
| 32 | |
| 33 | def integralPoint : Over.mk (Isogenies.NeighborCounting.Lifts.dvrBase R b) ⟶ D.integral.toOver := |
| 34 | Over.homMk z.extension z.extension_overBase |
| 35 | |
| 36 | theorem extension_eq : |
| 37 | (ValuativePoints.CM.evaluatedPointEquiv (Isogenies.NeighborCounting.Lifts.dvrBase R b) D.integral.toOver).symm (genericPoint z) = integralPoint z := by |
| 38 | apply (ValuativePoints.CM.evaluatedPointEquiv (L := L) (Isogenies.NeighborCounting.Lifts.dvrBase R b) D.integral.toOver).injective |
| 39 | rw [Equiv.apply_symm_apply] |
| 40 | apply Over.OverMorphism.ext |
| 41 | exact z.extension_generic.symm |
| 42 | |
| 43 | variable (ρ : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R) |
| 44 | (hbase : Isogenies.NeighborCounting.Lifts.ResidueCompatible D R b ρ) |
| 45 | |
| 46 | theorem specialization_projection : |
| 47 | (ValuativePoints.CM.specializePoint (Isogenies.NeighborCounting.Lifts.dvrBase R b) (LiftedReduction.CM.geometricResidue ρ) |
| 48 | D.integral.toOver (genericPoint z)).left = |
| 49 | Spec.map (CommRingCat.ofHom (LiftedReduction.CM.geometricResidue ρ)) ≫ z.extension := by |
| 50 | unfold ValuativePoints.CM.specializePoint |
| 51 | rw [extension_eq] |
| 52 | rfl |
| 53 | |
| 54 | theorem specialization_recovers_evaluated_target : |
| 55 | (ValuativePoints.CM.specializePoint (Isogenies.NeighborCounting.Lifts.dvrBase R b) (LiftedReduction.CM.geometricResidue ρ) |
| 56 | D.integral.toOver (genericPoint z)).left = |
| 57 | (z.specialPoint hbase).left ≫ D.specialProjection := by |
| 58 | rw [specialization_projection, z.specialPoint_projection hbase] |
| 59 | change Spec.map (CommRingCat.ofHom (ρ.symm.toRingHom.comp (IsLocalRing.residue R))) ≫ |
| 60 | z.extension = Spec.map (CommRingCat.ofHom ρ.symm.toRingHom) ≫ |
| 61 | Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)) ≫ z.extension |
| 62 | rw [← Category.assoc, ← Spec.map_comp] |
| 63 | rfl |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.CountingTargetReduction.CM |