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.GenericComponentSection |
| 2 | import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas |
| 3 | |
| 4 | /-! # Identity Line Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.IdentityLineCoordinates.Lifts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Construct the generic coordinate of the identity-part kernel from the |
| 12 | actual component projection. Rank three minus the rank-two etale quotient |
| 13 | gives the line used in the graph count; its coordinate is not an input. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 20 | |
| 21 | attribute [local instance] Picard.PoincareBundle.Kernel.Scheme.kernelGroup |
| 22 | |
| 23 | variable (R L : Type) [CommRing R] [Field L] [Algebra R L] |
| 24 | variable (q : ℕ) [Fact q.Prime] |
| 25 | variable {V W : Type} [AddCommGroup V] [Module (ZMod q) V] |
| 26 | [AddCommGroup W] [Module (ZMod q) W] |
| 27 | variable (A : Over (Spec (.of R))) [GrpObj A] |
| 28 | variable (c : (Evaluated.Sections.Lifts.genericTest R L ⟶ A) ≃* Multiplicative V) |
| 29 | variable (π : A ⟶ (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative W)).X) [IsMonHom π] |
| 30 | |
| 31 | theorem genericComponentLinear_zero_iff (v : V) : |
| 32 | GenericComponentSection.Lifts.genericComponentLinear R L q A c π v = 0 ↔ c.symm (Multiplicative.ofAdd v) ≫ π = 1 := by |
| 33 | change Evaluated.Characters.Lifts.genericConstantCoordinates R L (Multiplicative W) |
| 34 | (c.symm (Multiplicative.ofAdd v) ≫ π) = 1 ↔ _ |
| 35 | rw [← (Evaluated.Characters.Lifts.genericConstantCoordinates R L (Multiplicative W)).map_one] |
| 36 | exact (Evaluated.Characters.Lifts.genericConstantCoordinates R L (Multiplicative W)).injective.eq_iff |
| 37 | |
| 38 | /-- Generic points of the actual scheme-theoretic kernel have exactly |
| 39 | the linear kernel coordinates. -/ |
| 40 | def genericKernelCoordinates : |
| 41 | (Evaluated.Sections.Lifts.genericTest R L ⟶ Picard.PoincareBundle.Kernel.Scheme.kernelObject π) ≃* |
| 42 | Multiplicative (LinearMap.ker (GenericComponentSection.Lifts.genericComponentLinear R L q A c π)) where |
| 43 | toFun a := Multiplicative.ofAdd ⟨(c (a ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion π)).toAdd, by |
| 44 | apply (genericComponentLinear_zero_iff R L q A c π _).mpr |
| 45 | change c.symm (c (a ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion π)) ≫ π = 1 |
| 46 | rw [c.symm_apply_apply, Category.assoc, Picard.PoincareBundle.Kernel.Scheme.kernelInclusion_comp, MonObj.comp_one]⟩ |
| 47 | invFun v := (Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv π (Evaluated.Sections.Lifts.genericTest R L)).symm |
| 48 | ⟨c.symm (Multiplicative.ofAdd v.toAdd.val), |
| 49 | (genericComponentLinear_zero_iff R L q A c π v.toAdd.val).mp v.toAdd.property⟩ |
| 50 | left_inv a := by |
| 51 | apply (Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv π (Evaluated.Sections.Lifts.genericTest R L)).injective |
| 52 | apply Subtype.ext |
| 53 | change ((Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv π (Evaluated.Sections.Lifts.genericTest R L)) |
| 54 | ((Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv π (Evaluated.Sections.Lifts.genericTest R L)).symm _)).val = a ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion π |
| 55 | rw [Equiv.apply_symm_apply] |
| 56 | exact c.symm_apply_apply _ |
| 57 | right_inv v := by |
| 58 | apply Multiplicative.ext |
| 59 | apply Subtype.ext |
| 60 | change (c (((Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv π (Evaluated.Sections.Lifts.genericTest R L)).symm |
| 61 | ⟨c.symm (Multiplicative.ofAdd v.toAdd.val), _⟩) ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion π)).toAdd = v.toAdd.val |
| 62 | have h := congrArg Subtype.val ((Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv π (Evaluated.Sections.Lifts.genericTest R L)).apply_symm_apply |
| 63 | ⟨c.symm (Multiplicative.ofAdd v.toAdd.val), |
| 64 | (genericComponentLinear_zero_iff R L q A c π v.toAdd.val).mp v.toAdd.property⟩) |
| 65 | change _ ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion π = c.symm (Multiplicative.ofAdd v.toAdd.val) at h |
| 66 | rw [h, c.apply_symm_apply] |
| 67 | rfl |
| 68 | map_mul' a b := by |
| 69 | apply Multiplicative.ext |
| 70 | apply Subtype.ext |
| 71 | change (c ((a * b) ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion π)).toAdd = |
| 72 | (c (a ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion π)).toAdd + (c (b ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion π)).toAdd |
| 73 | rw [MonObj.mul_comp, c.map_mul] |
| 74 | rfl |
| 75 | |
| 76 | variable [FiniteDimensional (ZMod q) V] |
| 77 | variable (hπ : Function.Surjective (fun a : Evaluated.Sections.Lifts.genericTest R L ⟶ A => a ≫ π)) |
| 78 | variable (hV : Module.finrank (ZMod q) V = 3) (hW : Module.finrank (ZMod q) W = 2) |
| 79 | |
| 80 | include hπ hV hW in |
| 81 | theorem genericKernel_finrank_one : |
| 82 | Module.finrank (ZMod q) (LinearMap.ker (GenericComponentSection.Lifts.genericComponentLinear R L q A c π)) = 1 := by |
| 83 | have h := (GenericComponentSection.Lifts.genericComponentLinear R L q A c π).finrank_range_add_finrank_ker |
| 84 | rw [LinearMap.range_eq_top.mpr (GenericComponentSection.Lifts.genericComponentLinear_surjective R L q A c π hπ), |
| 85 | finrank_top, hV, hW] at h |
| 86 | omega |
| 87 | |
| 88 | /-- The coordinate on the rank-one identity-part generic kernel is |
| 89 | constructed by the dimension calculation above. -/ |
| 90 | def identityLineCoordinates : (Evaluated.Sections.Lifts.genericTest R L ⟶ Picard.PoincareBundle.Kernel.Scheme.kernelObject π) ≃* Multiplicative (ZMod q) := |
| 91 | (genericKernelCoordinates R L q A c π).trans |
| 92 | (AddEquiv.toMultiplicative |
| 93 | (LinearEquiv.ofFinrankEq (R := ZMod q) (LinearMap.ker (GenericComponentSection.Lifts.genericComponentLinear R L q A c π)) |
| 94 | (ZMod q) (by |
| 95 | rw [genericKernel_finrank_one R L q A c π hπ hV hW, Module.finrank_self])).toAddEquiv) |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.IdentityLineCoordinates.Lifts |