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.Intrinsic.EvaluationField |
| 2 | |
| 3 | /-! # Parameter Points -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ParameterPoints.Lifts |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | Actual individually evaluated parameter points, constructed from the |
| 11 | native finite-etale parameter scheme. The finite extension and the |
| 12 | splitting are outputs of the construction, not supplied hypotheses. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 16 | open _root_.CategoryTheory.MonoidalCategory |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | structure FiniteEvaluationField (K : Type u) [Field K] (X : Over (Spec (.of K))) where |
| 21 | carrier : Type u |
| 22 | [field : Field carrier] |
| 23 | [algebra : Algebra K carrier] |
| 24 | [finite : Module.Finite K carrier] |
| 25 | count : ℕ |
| 26 | parameterIso : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of carrier)) (ULift.{u} (Fin count)) ≅ |
| 27 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap K carrier)))).obj X |
| 28 | |
| 29 | attribute [instance] FiniteEvaluationField.field FiniteEvaluationField.algebra FiniteEvaluationField.finite |
| 30 | |
| 31 | def finiteEvaluationField (K : Type u) [Field K] |
| 32 | (X : Over (Spec (.of K))) [IsFinite X.hom] [Etale X.hom] : FiniteEvaluationField K X := |
| 33 | Classical.choice (show Nonempty (FiniteEvaluationField K X) from by |
| 34 | obtain ⟨L, _, _, _, n, ⟨e⟩⟩ := Intrinsic.EvaluationField.Lifts.native_finite_evaluation_field K X |
| 35 | exact ⟨{ carrier := L, count := n, parameterIso := e }⟩) |
| 36 | |
| 37 | namespace FiniteEvaluationField |
| 38 | |
| 39 | variable {K : Type u} [Field K] {X : Over (Spec (.of K))} |
| 40 | variable (d : FiniteEvaluationField K X) |
| 41 | |
| 42 | def labelPoint (i : ULift.{u} (Fin d.count)) : |
| 43 | (𝟙_ (Over (Spec (.of d.carrier)))) ⟶ |
| 44 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap K d.carrier)))).obj X := by |
| 45 | let a : Over.mk (𝟙 (Spec (.of d.carrier))) ⟶ |
| 46 | AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of d.carrier)) (ULift.{u} (Fin d.count)) := |
| 47 | Over.homMk (Sigma.ι (fun _ : ULift.{u} (Fin d.count) => Spec (.of d.carrier)) i) |
| 48 | (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme_ι_hom i) |
| 49 | exact a ≫ d.parameterIso.hom |
| 50 | |
| 51 | /-- The evaluated point lies in the original parameter scheme, so its |
| 52 | image under the original target map defines a generic neighbor target. -/ |
| 53 | def parameterPoint (i : ULift.{u} (Fin d.count)) : Spec (.of d.carrier) ⟶ X.left := |
| 54 | (d.labelPoint i).left ≫ |
| 55 | pullback.fst X.hom (Spec.map (CommRingCat.ofHom (algebraMap K d.carrier))) |
| 56 | |
| 57 | theorem parameterPoint_overBase (i : ULift.{u} (Fin d.count)) : |
| 58 | d.parameterPoint i ≫ X.hom = Spec.map (CommRingCat.ofHom (algebraMap K d.carrier)) := by |
| 59 | rw [FiniteEvaluationField.parameterPoint, Category.assoc, pullback.condition, ← Category.assoc] |
| 60 | have h : (d.labelPoint i).left ≫ |
| 61 | pullback.snd X.hom (Spec.map (CommRingCat.ofHom (algebraMap K d.carrier))) = |
| 62 | 𝟙 (Spec (.of d.carrier)) := (d.labelPoint i).w |
| 63 | rw [h, Category.id_comp] |
| 64 | |
| 65 | /-- Evaluate the independently specified target map at every parameter, |
| 66 | retaining the multiplicity of repeated target points. -/ |
| 67 | def evaluatedTargets {Y : Scheme.{u}} (t : X.left ⟶ Y) : |
| 68 | Multiset (Spec (.of d.carrier) ⟶ Y) := |
| 69 | Finset.univ.val.map (fun i => d.parameterPoint i ≫ t) |
| 70 | |
| 71 | end FiniteEvaluationField |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ParameterPoints.Lifts |