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.ChoiceEnumeration |
| 2 | |
| 3 | /-! # Parameter Enumeration -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original finite evaluation labels remain an exhaustive, |
| 10 | nonrepeating enumeration after any further field extension. The |
| 11 | geometric points are the base changes of those same original labels. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 14 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {k : Type u} [Field k] {I : Type u} {X : Over (Spec (.of k))} |
| 19 | |
| 20 | theorem Geometric.ParameterEnumeration.Lifts.splitLabelPointAt_bijective (e : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) I ≅ X) |
| 21 | (T : Over (Spec (.of k))) [PreconnectedSpace T.left] (t0 : T.left) : |
| 22 | Function.Bijective (fun i => toUnit T ≫ SplitPointSurjectivity.Lifts.splitLabelPoint e i) := by |
| 23 | let c (i : I) : T ⟶ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) I := |
| 24 | toUnit T ≫ Over.homMk (Sigma.ι (fun _ : I => Spec (.of k)) i) (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme_ι_hom i) |
| 25 | have hc (i : I) : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePoint T (c i) = LocallyConstant.const _ i := by |
| 26 | apply LocallyConstant.ext |
| 27 | intro t |
| 28 | exact AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemeIndex_ι i (T.hom t) |
| 29 | have hp (i : I) : toUnit T ≫ SplitPointSurjectivity.Lifts.splitLabelPoint e i = c i ≫ e.hom := |
| 30 | (Category.assoc _ _ _).symm |
| 31 | constructor |
| 32 | · intro i j hij |
| 33 | have h := (cancel_mono e.hom).mp ((hp i).symm.trans (hij.trans (hp j))) |
| 34 | have hv := congrArg (fun f : T ⟶ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) I => AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePoint T f t0) h |
| 35 | rw [hc, hc] at hv |
| 36 | exact hv |
| 37 | · intro a |
| 38 | let z := a ≫ e.inv |
| 39 | let i := AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePoint T z t0 |
| 40 | have hz : c i = z := by |
| 41 | apply (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePointsEquiv (Spec (.of k)) I T).injective |
| 42 | exact (hc i).trans ((AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePoint T z).eq_const t0).symm |
| 43 | refine ⟨i, ?_⟩ |
| 44 | exact (hp i).trans ((congrArg (fun w => w ≫ e.hom) hz).trans |
| 45 | ((Category.assoc a e.inv e.hom).trans |
| 46 | ((congrArg (fun w => a ≫ w) e.inv_hom_id).trans (Category.comp_id a)))) |
| 47 | |
| 48 | def Geometric.ParameterEnumeration.Lifts.splitLabelPointAtEquiv (e : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) I ≅ X) |
| 49 | (T : Over (Spec (.of k))) [PreconnectedSpace T.left] (t0 : T.left) : I ≃ (T ⟶ X) := |
| 50 | Equiv.ofBijective (fun i => toUnit T ≫ SplitPointSurjectivity.Lifts.splitLabelPoint e i) (Geometric.ParameterEnumeration.Lifts.splitLabelPointAt_bijective e T t0) |
| 51 | |
| 52 | variable {K : Type u} [Field K] {X : Over (Spec (.of K))} |
| 53 | variable (d : Evaluated.ParameterPoints.Lifts.FiniteEvaluationField K X) |
| 54 | variable (L : Type u) [Field L] (φ : d.carrier →+* L) |
| 55 | |
| 56 | abbrev Evaluated.ParameterPoints.Lifts.FiniteEvaluationField.extendedParameterBase : Over (Spec (.of K)) := |
| 57 | (Over.map (Spec.map (CommRingCat.ofHom (algebraMap K d.carrier)))).obj |
| 58 | (Over.mk (Spec.map (CommRingCat.ofHom φ))) |
| 59 | |
| 60 | def Evaluated.ParameterPoints.Lifts.FiniteEvaluationField.extendedParameterPointEquiv : ULift.{u} (Fin d.count) ≃ (d.extendedParameterBase L φ ⟶ X) := by |
| 61 | have : PreconnectedSpace (Over.mk (Spec.map (CommRingCat.ofHom φ))).left := |
| 62 | inferInstanceAs (PreconnectedSpace (Spec (.of L))) |
| 63 | exact (Geometric.ParameterEnumeration.Lifts.splitLabelPointAtEquiv d.parameterIso (Over.mk (Spec.map (CommRingCat.ofHom φ))) |
| 64 | (IsLocalRing.closedPoint L)).trans |
| 65 | ((Over.mapPullbackAdj (Spec.map (CommRingCat.ofHom (algebraMap K d.carrier)))).homEquiv |
| 66 | (Over.mk (Spec.map (CommRingCat.ofHom φ))) X).symm |
| 67 | |
| 68 | theorem Evaluated.ParameterPoints.Lifts.FiniteEvaluationField.extendedParameterPointEquiv_left (i : ULift.{u} (Fin d.count)) : |
| 69 | (d.extendedParameterPointEquiv L φ i).left = Spec.map (CommRingCat.ofHom φ) ≫ d.parameterPoint i := by |
| 70 | change (Spec.map (CommRingCat.ofHom φ) ≫ (d.labelPoint i).left) ≫ |
| 71 | pullback.fst X.hom (Spec.map (CommRingCat.ofHom (algebraMap K d.carrier))) = _ |
| 72 | exact Category.assoc _ _ _ |
| 73 | |
| 74 | def Evaluated.ParameterPoints.Lifts.FiniteEvaluationField.parameterExtensionMap : d.extendedParameterBase L φ ⟶ |
| 75 | Over.mk (Spec.map (CommRingCat.ofHom (algebraMap K d.carrier))) := |
| 76 | Over.homMk (Spec.map (CommRingCat.ofHom φ)) rfl |
| 77 | |
| 78 | theorem Evaluated.ParameterPoints.Lifts.FiniteEvaluationField.extendedParameterPointEquiv_natural (i : ULift.{u} (Fin d.count)) : |
| 79 | d.extendedParameterPointEquiv L φ i = d.parameterExtensionMap L φ ≫ d.parameterPointEquiv i := by |
| 80 | apply Over.OverMorphism.ext |
| 81 | exact (d.extendedParameterPointEquiv_left L φ i).trans |
| 82 | (congrArg (fun w => Spec.map (CommRingCat.ofHom φ) ≫ w) (d.parameterPointEquiv_left i).symm) |
| 83 | |
| 84 | variable (F : (Over (Spec (.of K)))ᵒᵖ ⥤ Type (u + 1)) (repr : F.RepresentableBy X) |
| 85 | |
| 86 | def Evaluated.ParameterPoints.Lifts.FiniteEvaluationField.extendedChoiceEquiv : ULift.{u} (Fin d.count) ≃ F.obj (.op (d.extendedParameterBase L φ)) := |
| 87 | (d.extendedParameterPointEquiv L φ).trans repr.homEquiv |
| 88 | |
| 89 | theorem Evaluated.ParameterPoints.Lifts.FiniteEvaluationField.extendedChoiceEquiv_natural (i : ULift.{u} (Fin d.count)) : |
| 90 | d.extendedChoiceEquiv L φ F repr i = |
| 91 | F.map (d.parameterExtensionMap L φ).op (d.evaluatedChoiceEquiv F repr i) := by |
| 92 | change repr.homEquiv (d.extendedParameterPointEquiv L φ i) = _ |
| 93 | rw [Evaluated.ParameterPoints.Lifts.FiniteEvaluationField.extendedParameterPointEquiv_natural] |
| 94 | exact repr.homEquiv_comp _ _ |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting |