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.IdentityLineCoordinates |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ComponentSurjectivity |
| 3 | |
| 4 | /-! # Generic Point Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GenericPointCoordinates.Lifts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Generic linear coordinates are constructed on the actual torsion |
| 11 | points. Their module law follows from the q-torsion equation, and rank |
| 12 | three follows from the native block's q^3 cardinality. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | variable (R L : Type) [CommRing R] [Field L] [Algebra R L] |
| 18 | variable (q : ℕ) [Fact q.Prime] |
| 19 | variable (A : Over (Spec (.of R))) [GrpObj A] [IsCommMonObj A] |
| 20 | |
| 21 | abbrev GenericPointSpace := Additive (Evaluated.Sections.Lifts.genericTest R L ⟶ A) |
| 22 | |
| 23 | abbrev genericPointModule (hk : ∀ a : Evaluated.Sections.Lifts.genericTest R L ⟶ A, a ^ q = 1) : |
| 24 | Module (ZMod q) (GenericPointSpace R L A) := |
| 25 | AddCommGroup.zmodModule (fun a ↦ hk a.toMul) |
| 26 | |
| 27 | def genericPointCoordinates : |
| 28 | (Evaluated.Sections.Lifts.genericTest R L ⟶ A) ≃* Multiplicative (GenericPointSpace R L A) where |
| 29 | toFun a := Multiplicative.ofAdd (Additive.ofMul a) |
| 30 | invFun a := a.toAdd.toMul |
| 31 | left_inv _ := rfl |
| 32 | right_inv _ := rfl |
| 33 | map_mul' _ _ := rfl |
| 34 | |
| 35 | variable (hk : ∀ a : Evaluated.Sections.Lifts.genericTest R L ⟶ A, a ^ q = 1) |
| 36 | variable (hcard : Nat.card (Evaluated.Sections.Lifts.genericTest R L ⟶ A) = q ^ 3) |
| 37 | |
| 38 | include hcard in |
| 39 | omit [GrpObj A] [IsCommMonObj A] in |
| 40 | theorem genericPointSpace_finite : Finite (GenericPointSpace R L A) := |
| 41 | Nat.finite_of_card_ne_zero (by |
| 42 | change Nat.card (Evaluated.Sections.Lifts.genericTest R L ⟶ A) ≠ 0 |
| 43 | rw [hcard] |
| 44 | exact pow_ne_zero _ (Fact.out : q.Prime).ne_zero) |
| 45 | |
| 46 | include hcard in |
| 47 | theorem genericPointSpace_finrank : |
| 48 | letI := genericPointModule R L q A hk |
| 49 | Module.finrank (ZMod q) (GenericPointSpace R L A) = 3 := by |
| 50 | let := genericPointModule R L q A hk |
| 51 | have : Finite (GenericPointSpace R L A) := genericPointSpace_finite R L q A hcard |
| 52 | have hfinite : Module.Finite (ZMod q) (GenericPointSpace R L A) := Module.Finite.of_finite |
| 53 | apply Nat.pow_right_injective (Fact.out : q.Prime).two_le |
| 54 | have h : Nat.card (GenericPointSpace R L A) = |
| 55 | Nat.card (ZMod q) ^ Module.finrank (ZMod q) (GenericPointSpace R L A) := |
| 56 | @Module.natCard_eq_pow_finrank (ZMod q) (GenericPointSpace R L A) |
| 57 | inferInstance inferInstance (genericPointModule R L q A hk) hfinite |
| 58 | rw [Nat.card_zmod] at h |
| 59 | exact h.symm.trans hcard |
| 60 | |
| 61 | attribute [local instance] Picard.PoincareBundle.Kernel.Scheme.kernelGroup |
| 62 | |
| 63 | variable {I : Type} |
| 64 | variable (π : A ⟶ (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative (Fin 2 → ZMod q))).X) |
| 65 | [IsMonHom π] [Surjective π.left] |
| 66 | variable (eA : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of L)) I ≅ |
| 67 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R L)))).obj A) |
| 68 | |
| 69 | /-- The identity-part coordinate is an output of the rank calculation |
| 70 | and evaluated component surjectivity, with no coordinate basis input. -/ |
| 71 | def constructedIdentityCoordinates : |
| 72 | (Evaluated.Sections.Lifts.genericTest R L ⟶ Picard.PoincareBundle.Kernel.Scheme.kernelObject π) ≃* Multiplicative (ZMod q) := by |
| 73 | letI := genericPointModule R L q A hk |
| 74 | have : Finite (GenericPointSpace R L A) := genericPointSpace_finite R L q A hcard |
| 75 | have hfinite : Module.Finite (ZMod q) (GenericPointSpace R L A) := Module.Finite.of_finite |
| 76 | exact @IdentityLineCoordinates.Lifts.identityLineCoordinates R L _ _ _ q _ (GenericPointSpace R L A) (Fin 2 → ZMod q) |
| 77 | _ (genericPointModule R L q A hk) _ _ A _ (genericPointCoordinates R L A) π _ hfinite |
| 78 | (Evaluated.ComponentSurjectivity.Lifts.evaluated_component_points_surjective R L π eA) |
| 79 | (genericPointSpace_finrank R L q A hk hcard) (by simp) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GenericPointCoordinates.Lifts |