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.Characters |
| 2 | import Mathlib.Algebra.Module.ZMod |
| 3 | import Mathlib.LinearAlgebra.Dimension.LinearMap |
| 4 | |
| 5 | /-! # Generic Component Section -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GenericComponentSection.Lifts |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | Choose the generic etale labels by splitting the actual surjective |
| 13 | component projection in q-torsion. The projection's Z/q-linearity follows |
| 14 | from its group law. Unique extension then constructs the integral split |
| 15 | block, so no integral section or product isomorphism is input. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | open _root_.CategoryTheory.MonoidalCategory |
| 20 | open scoped _root_.CategoryTheory.MonObj |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 23 | |
| 24 | attribute [local instance] Picard.PoincareBundle.Kernel.Scheme.kernelGroup |
| 25 | attribute [local instance] Evaluated.Characters.Lifts.genericTest_preconnected |
| 26 | |
| 27 | variable (R L : Type) [CommRing R] [Field L] [Algebra R L] |
| 28 | variable (q : ℕ) [Fact q.Prime] |
| 29 | variable {V W : Type} [AddCommGroup V] [Module (ZMod q) V] |
| 30 | [AddCommGroup W] [Module (ZMod q) W] |
| 31 | variable (A : Over (Spec (.of R))) [GrpObj A] |
| 32 | variable (c : (Evaluated.Sections.Lifts.genericTest R L ⟶ A) ≃* Multiplicative V) |
| 33 | variable (π : A ⟶ (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative W)).X) [IsMonHom π] |
| 34 | |
| 35 | def genericComponentLabels : Multiplicative V →* Multiplicative W := |
| 36 | (Evaluated.Characters.Lifts.genericConstantCoordinates R L (Multiplicative W)).toMonoidHom.comp |
| 37 | ((Picard.PoincareBundle.Kernel.Scheme.pointsMap π (Evaluated.Sections.Lifts.genericTest R L)).comp c.symm.toMonoidHom) |
| 38 | |
| 39 | def genericComponentLinear : V →ₗ[ZMod q] W := |
| 40 | (AddMonoidHom.toMultiplicative.symm (genericComponentLabels R L A c π)).toZModLinearMap q |
| 41 | |
| 42 | variable (hπ : Function.Surjective (fun a : Evaluated.Sections.Lifts.genericTest R L ⟶ A => a ≫ π)) |
| 43 | |
| 44 | include hπ in |
| 45 | theorem genericComponentLinear_surjective : |
| 46 | Function.Surjective (genericComponentLinear R L q A c π) := by |
| 47 | intro w |
| 48 | obtain ⟨a, ha⟩ := hπ ((Evaluated.Characters.Lifts.genericConstantCoordinates R L (Multiplicative W)).symm |
| 49 | (Multiplicative.ofAdd w)) |
| 50 | change a ≫ π = (Evaluated.Characters.Lifts.genericConstantCoordinates R L (Multiplicative W)).symm |
| 51 | (Multiplicative.ofAdd w) at ha |
| 52 | refine ⟨(c a).toAdd, ?_⟩ |
| 53 | change (Evaluated.Characters.Lifts.genericConstantCoordinates R L (Multiplicative W) |
| 54 | (c.symm (c a) ≫ π)).toAdd = w |
| 55 | rw [c.symm_apply_apply, ha, MulEquiv.apply_symm_apply] |
| 56 | rfl |
| 57 | |
| 58 | def genericComponentRightInverse : W →ₗ[ZMod q] V := |
| 59 | ((genericComponentLinear R L q A c π).exists_rightInverse_of_surjective |
| 60 | (LinearMap.range_eq_top.mpr (genericComponentLinear_surjective R L q A c π hπ))).choose |
| 61 | |
| 62 | theorem genericComponentRightInverse_comp : |
| 63 | (genericComponentLinear R L q A c π).comp (genericComponentRightInverse R L q A c π hπ) = |
| 64 | LinearMap.id := |
| 65 | ((genericComponentLinear R L q A c π).exists_rightInverse_of_surjective |
| 66 | (LinearMap.range_eq_top.mpr (genericComponentLinear_surjective R L q A c π hπ))).choose_spec |
| 67 | |
| 68 | def genericComponentSectionLabels : Multiplicative W →* (Evaluated.Sections.Lifts.genericTest R L ⟶ A) := |
| 69 | c.symm.toMonoidHom.comp (genericComponentRightInverse R L q A c π hπ).toAddMonoidHom.toMultiplicative |
| 70 | |
| 71 | theorem genericComponentSectionLabels_projection (w : Multiplicative W) : |
| 72 | genericComponentSectionLabels R L q A c π hπ w ≫ π = |
| 73 | Evaluated.Sections.Lifts.sectionRestriction R L (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative W)).X |
| 74 | (ConstantSections.Lifts.constantLabelSection (Spec (.of R)) (Multiplicative W) w) := by |
| 75 | apply (Evaluated.Characters.Lifts.genericConstantCoordinates R L (Multiplicative W)).injective |
| 76 | have h := LinearMap.congr_fun (genericComponentRightInverse_comp R L q A c π hπ) w.toAdd |
| 77 | change (Evaluated.Characters.Lifts.genericConstantCoordinates R L (Multiplicative W) |
| 78 | (genericComponentSectionLabels R L q A c π hπ w ≫ π)).toAdd = w.toAdd at h |
| 79 | have hw : Evaluated.Characters.Lifts.genericConstantCoordinates R L (Multiplicative W) |
| 80 | (Evaluated.Sections.Lifts.sectionRestriction R L (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative W)).X |
| 81 | (ConstantSections.Lifts.constantLabelSection (Spec (.of R)) (Multiplicative W) w)) = w := by |
| 82 | have hf := Evaluated.Characters.Lifts.constantPointCoordinates_factor (Multiplicative W) (Evaluated.Sections.Lifts.genericTest R L) |
| 83 | (IsLocalRing.closedPoint L) |
| 84 | ((Evaluated.Characters.Lifts.genericConstantCoordinates R L (Multiplicative W)).symm w) |
| 85 | change (Evaluated.Characters.Lifts.genericConstantCoordinates R L (Multiplicative W)).symm w = |
| 86 | CategoryTheory.CartesianMonoidalCategory.toUnit (Evaluated.Sections.Lifts.genericTest R L) ≫ |
| 87 | ConstantSections.Lifts.constantLabelSection (Spec (.of R)) (Multiplicative W) |
| 88 | (Evaluated.Characters.Lifts.genericConstantCoordinates R L (Multiplicative W) |
| 89 | ((Evaluated.Characters.Lifts.genericConstantCoordinates R L (Multiplicative W)).symm w)) at hf |
| 90 | rw [MulEquiv.apply_symm_apply] at hf |
| 91 | change Evaluated.Characters.Lifts.genericConstantCoordinates R L (Multiplicative W) |
| 92 | (CategoryTheory.CartesianMonoidalCategory.toUnit (Evaluated.Sections.Lifts.genericTest R L) ≫ |
| 93 | ConstantSections.Lifts.constantLabelSection (Spec (.of R)) (Multiplicative W) w) = w |
| 94 | rw [← hf, MulEquiv.apply_symm_apply] |
| 95 | rw [hw] |
| 96 | exact Multiplicative.ext h |
| 97 | |
| 98 | variable [IsDomain R] [ValuationRing R] [IsFractionRing R L] [IsProper A.hom] |
| 99 | variable [Finite W] [IsCommMonObj A] |
| 100 | |
| 101 | /-- Construct the integral product splitting from the actual evaluated |
| 102 | generic q-torsion and its component projection. -/ |
| 103 | def splitEvaluatedComponent : |
| 104 | Picard.PoincareBundle.Kernel.Scheme.kernelObject π ⊗ (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative W)).X ≅ A := |
| 105 | Evaluated.Splitting.Lifts.evaluatedComponentSplit R L A π (genericComponentSectionLabels R L q A c π hπ) |
| 106 | (genericComponentSectionLabels_projection R L q A c π hπ) |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GenericComponentSection.Lifts |