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.SplitPointSurjectivity |
| 2 | |
| 3 | /-! # Enumeration -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The constructed finite evaluation labels enumerate every point of |
| 10 | the original parameter scheme over the evaluation field exactly once. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 13 | open _root_.CategoryTheory.MonoidalCategory |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {k : Type u} [Field k] {I : Type u} |
| 18 | |
| 19 | theorem Parameter.Enumeration.Lifts.splitLabelPoint_bijective {X : Over (Spec (.of k))} |
| 20 | (e : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) I ≅ X) : Function.Bijective (SplitPointSurjectivity.Lifts.splitLabelPoint e) := by |
| 21 | let T : Over (Spec (.of k)) := Over.mk (𝟙 _) |
| 22 | have : PreconnectedSpace T.left := inferInstanceAs (PreconnectedSpace (Spec (.of k))) |
| 23 | let c (i : I) : T ⟶ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) I := |
| 24 | 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 | exact AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemeIndex_ι i |
| 28 | constructor |
| 29 | · intro i j hij |
| 30 | have he : c i = c j := (cancel_mono e.hom).mp hij |
| 31 | have h := congrArg (fun f : T ⟶ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) I => |
| 32 | AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePoint T f (IsLocalRing.closedPoint k)) he |
| 33 | rw [hc, hc] at h |
| 34 | exact h |
| 35 | · intro a |
| 36 | let z : T ⟶ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) I := a ≫ e.inv |
| 37 | let i := AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePoint T z (IsLocalRing.closedPoint k) |
| 38 | have hz : c i = z := by |
| 39 | apply (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePointsEquiv (Spec (.of k)) I T).injective |
| 40 | exact (hc i).trans ((AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePoint T z).eq_const (IsLocalRing.closedPoint k)).symm |
| 41 | refine ⟨i, ?_⟩ |
| 42 | change c i ≫ e.hom = a |
| 43 | rw [hz] |
| 44 | change (a ≫ e.inv) ≫ e.hom = a |
| 45 | rw [Category.assoc, e.inv_hom_id, Category.comp_id] |
| 46 | |
| 47 | def Parameter.Enumeration.Lifts.splitLabelPointEquiv {X : Over (Spec (.of k))} |
| 48 | (e : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) I ≅ X) : |
| 49 | I ≃ (𝟙_ (Over (Spec (.of k))) ⟶ X) := |
| 50 | Equiv.ofBijective (SplitPointSurjectivity.Lifts.splitLabelPoint e) (Parameter.Enumeration.Lifts.splitLabelPoint_bijective e) |
| 51 | |
| 52 | /-- The point/section comparison uses the actual scheme pullback. -/ |
| 53 | def Parameter.Enumeration.Lifts.parameterPullbackPointEquiv {S T : Scheme.{u}} (s : T ⟶ S) (X : Over S) : |
| 54 | (Over.mk (𝟙 T) ⟶ (Over.pullback s).obj X) ≃ (Over.mk s ⟶ X) where |
| 55 | toFun a := Over.homMk (a.left ≫ pullback.fst X.hom s) (by |
| 56 | have h : a.left ≫ pullback.snd X.hom s = 𝟙 T := a.w |
| 57 | rw [Category.assoc, pullback.condition, ← Category.assoc, h] |
| 58 | exact Category.id_comp s) |
| 59 | invFun a := Over.homMk (pullback.lift a.left (𝟙 T) |
| 60 | (a.w.trans (Category.id_comp s).symm)) (pullback.lift_snd _ _ _) |
| 61 | left_inv a := by |
| 62 | apply Over.OverMorphism.ext |
| 63 | apply pullback.hom_ext |
| 64 | · exact pullback.lift_fst _ _ _ |
| 65 | · exact (pullback.lift_snd _ _ _).trans a.w.symm |
| 66 | right_inv a := by |
| 67 | apply Over.OverMorphism.ext |
| 68 | exact pullback.lift_fst _ _ _ |
| 69 | |
| 70 | variable {K : Type u} [Field K] {X : Over (Spec (.of K))} |
| 71 | variable (d : Evaluated.ParameterPoints.Lifts.FiniteEvaluationField K X) |
| 72 | |
| 73 | def Evaluated.ParameterPoints.Lifts.FiniteEvaluationField.parameterPointEquiv : ULift.{u} (Fin d.count) ≃ |
| 74 | (Over.mk (Spec.map (CommRingCat.ofHom (algebraMap K d.carrier))) ⟶ X) := |
| 75 | (Parameter.Enumeration.Lifts.splitLabelPointEquiv d.parameterIso).trans |
| 76 | (Parameter.Enumeration.Lifts.parameterPullbackPointEquiv (Spec.map (CommRingCat.ofHom (algebraMap K d.carrier))) X) |
| 77 | |
| 78 | theorem Evaluated.ParameterPoints.Lifts.FiniteEvaluationField.parameterPointEquiv_left (i : ULift.{u} (Fin d.count)) : |
| 79 | (d.parameterPointEquiv i).left = d.parameterPoint i := rfl |
| 80 | |
| 81 | /-- Every actual evaluated parameter appears once; the target map may |
| 82 | still identify different parameters, preserving their multiplicity. -/ |
| 83 | theorem Evaluated.ParameterPoints.Lifts.FiniteEvaluationField.parameterPoint_complete |
| 84 | (a : Spec (.of d.carrier) ⟶ X.left) |
| 85 | (ha : a ≫ X.hom = Spec.map (CommRingCat.ofHom (algebraMap K d.carrier))) : |
| 86 | ∃! i, d.parameterPoint i = a := by |
| 87 | obtain ⟨i, hi⟩ := d.parameterPointEquiv.surjective (Over.homMk a ha) |
| 88 | refine ⟨i, congrArg Over.Hom.left hi, ?_⟩ |
| 89 | intro j hj |
| 90 | apply d.parameterPointEquiv.injective |
| 91 | apply Over.OverMorphism.ext |
| 92 | exact hj.trans (congrArg Over.Hom.left hi).symm |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting |