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 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GenericComponentSection |
| 3 | |
| 4 | /-! # Component Surjectivity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ComponentSurjectivity.Lifts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The evaluated component map is onto on generic points by its actual |
| 11 | scheme surjectivity and the constructed finite splitting. The linear |
| 12 | section therefore needs no point-surjectivity hypothesis. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | theorem testPoints_surjective_of_pullback {S T : Scheme.{u}} (s : T ⟶ S) |
| 21 | {X Y : Over S} (f : X ⟶ Y) |
| 22 | (hs : Function.Surjective (fun a : (𝟙_ (Over T)) ⟶ (Over.pullback s).obj X ↦ |
| 23 | a ≫ (Over.pullback s).map f)) : |
| 24 | Function.Surjective (fun a : Over.mk s ⟶ X ↦ a ≫ f) := by |
| 25 | let e : (Over.map s).obj (𝟙_ (Over T)) ≅ Over.mk s := |
| 26 | Over.isoMk (Iso.refl T) (by simp) |
| 27 | let adj := Over.mapPullbackAdj s |
| 28 | intro b |
| 29 | obtain ⟨a, ha⟩ := hs (adj.homEquiv _ _ (e.hom ≫ b)) |
| 30 | refine ⟨e.inv ≫ (adj.homEquiv _ _).symm a, ?_⟩ |
| 31 | apply (cancel_epi e.hom).mp |
| 32 | simp only [← Category.assoc, e.hom_inv_id, Category.id_comp] |
| 33 | apply (adj.homEquiv _ _).injective |
| 34 | rw [adj.homEquiv_naturality_right, Equiv.apply_symm_apply] |
| 35 | exact ha |
| 36 | |
| 37 | theorem overPullbackMap_isPullback {S T : Scheme.{u}} (s : T ⟶ S) |
| 38 | {X Y : Over S} (f : X ⟶ Y) : |
| 39 | IsPullback ((Over.pullback s).map f).left (Limits.pullback.fst X.hom s) |
| 40 | (Limits.pullback.fst Y.hom s) f.left := by |
| 41 | have hr := (IsPullback.of_hasPullback Y.hom s).flip |
| 42 | have ho : IsPullback (((Over.pullback s).map f).left ≫ Limits.pullback.snd Y.hom s) |
| 43 | (Limits.pullback.fst X.hom s) s (f.left ≫ Y.hom) := by |
| 44 | have hs : ((Over.pullback s).map f).left ≫ Limits.pullback.snd Y.hom s = |
| 45 | Limits.pullback.snd X.hom s := ((Over.pullback s).map f).w |
| 46 | rw [hs, f.w] |
| 47 | exact (IsPullback.of_hasPullback X.hom s).flip |
| 48 | exact IsPullback.of_right ho (Limits.pullback.lift_fst _ _ _) hr |
| 49 | |
| 50 | theorem evaluated_component_points_surjective |
| 51 | (R L : Type u) [CommRing R] [Field L] [Algebra R L] |
| 52 | {A : Over (Spec (.of R))} {I W : Type u} [Group W] |
| 53 | (π : A ⟶ (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) W).X) [Surjective π.left] |
| 54 | (eA : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of L)) I ≅ |
| 55 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R L)))).obj A) : |
| 56 | Function.Surjective (fun a : Sections.Lifts.genericTest R L ⟶ A ↦ a ≫ π) := by |
| 57 | let s := Spec.map (CommRingCat.ofHom (algebraMap R L)) |
| 58 | have hsurj : Surjective ((Over.pullback s).map π).left := |
| 59 | MorphismProperty.IsStableUnderBaseChange.of_isPullback |
| 60 | (overPullbackMap_isPullback s π).flip (inferInstanceAs (Surjective π.left)) |
| 61 | exact testPoints_surjective_of_pullback s π |
| 62 | (@SplitPointSurjectivity.Lifts.split_points_surjective L _ I W _ _ eA (AbelianModuli.HilbertConstruction.Constant.BaseChange.constantSchemeBaseChangeIso s W) |
| 63 | ((Over.pullback s).map π) hsurj) |
| 64 | |
| 65 | variable (R L : Type) [CommRing R] [Field L] [Algebra R L] |
| 66 | variable (q : ℕ) [Fact q.Prime] |
| 67 | variable {V W I : Type} [AddCommGroup V] [Module (ZMod q) V] |
| 68 | [AddCommGroup W] [Module (ZMod q) W] |
| 69 | variable (A : Over (Spec (.of R))) [GrpObj A] |
| 70 | variable (c : (Sections.Lifts.genericTest R L ⟶ A) ≃* Multiplicative V) |
| 71 | variable (π : A ⟶ (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative W)).X) |
| 72 | [IsMonHom π] [Surjective π.left] |
| 73 | variable (eA : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of L)) I ≅ |
| 74 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R L)))).obj A) |
| 75 | |
| 76 | def constructedGenericSection : W →ₗ[ZMod q] V := |
| 77 | GenericComponentSection.Lifts.genericComponentRightInverse R L q A c π (evaluated_component_points_surjective R L π eA) |
| 78 | |
| 79 | theorem constructedGenericSection_comp : |
| 80 | (GenericComponentSection.Lifts.genericComponentLinear R L q A c π).comp (constructedGenericSection R L q A c π eA) = |
| 81 | LinearMap.id := |
| 82 | GenericComponentSection.Lifts.genericComponentRightInverse_comp R L q A c π (evaluated_component_points_surjective R L π eA) |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ComponentSurjectivity.Lifts |