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.Lifts |
| 2 | import Mathlib.AlgebraicGeometry.ValuativeCriterion |
| 3 | |
| 4 | /-! # Targets -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Evaluated generic targets extend to the actual proper integral PEL model. |
| 12 | Their reductions are defined from the unique extensions, independently of |
| 13 | any kernel-counting or operator identity. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | section ProperExtension |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {R L : Type u} [CommRing R] [IsDomain R] [ValuationRing R] |
| 23 | [Field L] [Algebra R L] [IsFractionRing R L] |
| 24 | variable {X S : Scheme.{u}} (f : X ⟶ S) [IsProper f] |
| 25 | (b : Spec (.of R) ⟶ S) (z : Spec (.of L) ⟶ X) |
| 26 | (hz : z ≫ f = Spec.map (CommRingCat.ofHom (algebraMap R L)) ≫ b) |
| 27 | |
| 28 | include hz in |
| 29 | /-- Properness extends an evaluated point; separatedness makes the |
| 30 | extension unique. Neither its special fiber nor its kernel is specified. -/ |
| 31 | theorem Evaluated.Targets.Lifts.proper_evaluated_extension : |
| 32 | ∃! l : Spec (.of R) ⟶ X, |
| 33 | Spec.map (CommRingCat.ofHom (algebraMap R L)) ≫ l = z ∧ l ≫ f = b := by |
| 34 | let sq : ValuativeCommSq f := |
| 35 | { R := R |
| 36 | commRing := inferInstance |
| 37 | domain := inferInstance |
| 38 | valuationRing := inferInstance |
| 39 | K := L |
| 40 | field := inferInstance |
| 41 | algebra := inferInstance |
| 42 | isFractionRing := inferInstance |
| 43 | i₁ := z |
| 44 | i₂ := b |
| 45 | commSq := ⟨hz⟩ } |
| 46 | have H : ValuativeCriterion.Existence f := |
| 47 | ((congrFun (congrFun (congrFun UniversallyClosed.eq_valuativeCriterion X) S) f).mp |
| 48 | (inferInstance : UniversallyClosed f)).1 |
| 49 | obtain ⟨l, hl, hb⟩ := (H sq).exists_lift |
| 50 | refine ⟨l, ⟨hl, hb⟩, ?_⟩ |
| 51 | intro m hm |
| 52 | have : Subsingleton sq.commSq.LiftStruct := IsSeparated.valuativeCriterion f sq |
| 53 | let lm : sq.commSq.LiftStruct := ⟨m, hm.1, hm.2⟩ |
| 54 | let ll : sq.commSq.LiftStruct := ⟨l, hl, hb⟩ |
| 55 | exact congrArg CommSq.LiftStruct.l (Subsingleton.elim lm ll) |
| 56 | |
| 57 | end ProperExtension |
| 58 | |
| 59 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 60 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 61 | variable {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 62 | variable {iota : E →+* K} {κ : K →+* ℂ} |
| 63 | variable {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 64 | variable {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 65 | variable (D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q) |
| 66 | variable (R L : Type) [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 67 | [Field L] [Algebra R L] [IsFractionRing R L] |
| 68 | variable (b : B.R →+* R) |
| 69 | |
| 70 | /-- An individually evaluated generic moduli point over the DVR fraction |
| 71 | field. The arithmetic square is the only condition in this definition. -/ |
| 72 | structure Evaluated.Targets.Lifts.EvaluatedTarget where |
| 73 | map : Spec (.of L) ⟶ D.integral.toOver.left |
| 74 | overBase : map ≫ D.integral.toOver.hom = |
| 75 | Spec.map (CommRingCat.ofHom (algebraMap R L)) ≫ Lifts.dvrBase R b |
| 76 | |
| 77 | namespace Evaluated.Targets.Lifts.EvaluatedTarget |
| 78 | |
| 79 | variable {D R L b} (z : EvaluatedTarget D R L b) |
| 80 | |
| 81 | def extension : Spec (.of R) ⟶ D.integral.toOver.left := |
| 82 | (proper_evaluated_extension D.integral.toOver.hom (Lifts.dvrBase R b) z.map z.overBase).choose |
| 83 | |
| 84 | theorem extension_generic : |
| 85 | Spec.map (CommRingCat.ofHom (algebraMap R L)) ≫ z.extension = z.map := |
| 86 | (proper_evaluated_extension D.integral.toOver.hom (Lifts.dvrBase R b) z.map z.overBase).choose_spec.1.1 |
| 87 | |
| 88 | theorem extension_overBase : z.extension ≫ D.integral.toOver.hom = Lifts.dvrBase R b := |
| 89 | (proper_evaluated_extension D.integral.toOver.hom (Lifts.dvrBase R b) z.map z.overBase).choose_spec.1.2 |
| 90 | |
| 91 | theorem extension_unique (l : Spec (.of R) ⟶ D.integral.toOver.left) |
| 92 | (hl : Spec.map (CommRingCat.ofHom (algebraMap R L)) ≫ l = z.map) |
| 93 | (hb : l ≫ D.integral.toOver.hom = Lifts.dvrBase R b) : l = z.extension := |
| 94 | (proper_evaluated_extension D.integral.toOver.hom (Lifts.dvrBase R b) z.map z.overBase).choose_spec.2 |
| 95 | l ⟨hl, hb⟩ |
| 96 | |
| 97 | def reduction : Spec (.of (IsLocalRing.ResidueField R)) ⟶ D.integral.toOver.left := |
| 98 | Lifts.closedBase R ≫ z.extension |
| 99 | |
| 100 | def polarized : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel (3 * s) P.polarizationType N (Spec (.of R)) := |
| 101 | D.integral.universal.data.polarized.pullback z.extension |
| 102 | |
| 103 | def action : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) z.polarized.abelian := |
| 104 | D.integral.universal.data.action.pullback z.extension |
| 105 | |
| 106 | /-- The evaluated generic fiber includes the actual normalized Poincare |
| 107 | bundle, positive polarization, and ordered marking. -/ |
| 108 | def genericPolarizedIso : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso |
| 109 | (z.polarized.pullback (Spec.map (CommRingCat.ofHom (algebraMap R L)))) |
| 110 | (D.integral.universal.data.polarized.pullback z.map) := by |
| 111 | have e := AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.pullbackComp D.integral.universal.data.polarized |
| 112 | z.extension (Spec.map (CommRingCat.ofHom (algebraMap R L))) |
| 113 | rw [z.extension_generic] at e |
| 114 | exact e |
| 115 | |
| 116 | def specialPolarizedIso : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso |
| 117 | (z.polarized.pullback (Lifts.closedBase R)) |
| 118 | (D.integral.universal.data.polarized.pullback z.reduction) := |
| 119 | AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.pullbackComp D.integral.universal.data.polarized |
| 120 | z.extension (Lifts.closedBase R) |
| 121 | |
| 122 | end Evaluated.Targets.Lifts.EvaluatedTarget |
| 123 | |
| 124 | /-- Reduce each independently evaluated generic target, retaining repeated |
| 125 | targets with their multiplicities. This definition has no count formula. -/ |
| 126 | def Evaluated.Targets.Lifts.reduceEvaluatedTargets (neighbors : Multiset (Evaluated.Targets.Lifts.EvaluatedTarget D R L b)) : |
| 127 | Multiset (Spec (.of (IsLocalRing.ResidueField R)) ⟶ D.integral.toOver.left) := |
| 128 | neighbors.map Evaluated.Targets.Lifts.EvaluatedTarget.reduction |
| 129 | |
| 130 | variable {D R b} [IsAdicComplete (IsLocalRing.maximalIdeal R) R] |
| 131 | {residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R} {x : D.GeometricPoint} |
| 132 | (l : Lifts.IntegralLift D R b residueIso x) |
| 133 | |
| 134 | def Lifts.IntegralLift.specialPolarizedIso : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso |
| 135 | (l.polarized.pullback (Lifts.closedBase R)) |
| 136 | (D.integral.universal.data.polarized.pullback (Lifts.residuePoint D R residueIso x)) := by |
| 137 | have e := AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.pullbackComp D.integral.universal.data.polarized |
| 138 | l.map (Lifts.closedBase R) |
| 139 | rw [l.reduction] at e |
| 140 | exact e |
| 141 | |
| 142 | end |
| 143 | |
| 144 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting |