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.OrdinaryKernelImages |
| 2 | |
| 3 | /-! # Image Membership -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Turn the computed generic image into exact pointwise membership |
| 10 | in the constructed integral kernel, in the original ambient source. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | section |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | theorem Kernel.ImageMembership.sourceKernel_image_membership {S : Scheme.{u}} {A T M E : Over S} {F V : Type} |
| 21 | (s : M ⊗ E ≅ A) (m : (T ⟶ M) ≃ F) (v : (T ⟶ E) ≃ V) |
| 22 | (K : Intrinsic.Neighbors.KernelPresentation A) (a : T ⟶ A) : |
| 23 | GenericParameters.blockCoordinates m v (a ≫ s.inv) ∈ SourceKernelImages.sourceKernelPointImage s m v K ↔ |
| 24 | ∃ b : T ⟶ K.carrier, b ≫ K.inclusion = a := by |
| 25 | constructor |
| 26 | · rintro ⟨b, hb⟩ |
| 27 | exact ⟨b, (cancel_mono s.inv).mp ((GenericParameters.blockCoordinates m v).injective hb)⟩ |
| 28 | · rintro ⟨b, rfl⟩ |
| 29 | exact ⟨b, rfl⟩ |
| 30 | |
| 31 | end |
| 32 | |
| 33 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Kernel.ImageMembership |
| 34 | |
| 35 | variable (R L : Type) [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 36 | [Field L] [Algebra R L] [IsFractionRing R L] |
| 37 | (q : ℕ) [Fact q.Prime] (A : Grp (Over (Spec (.of R)))) |
| 38 | (C : OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel R L q A) |
| 39 | |
| 40 | theorem OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.finiteFlatKernel_generic_membership |
| 41 | (J : Submodule (ZMod q) ((Fin 2 → ZMod q) × ZMod q)) (a : Evaluated.Sections.Lifts.genericTest R L ⟶ A.X) : |
| 42 | let s : C.identity.X ⊗ |
| 43 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative (Fin 2 → ZMod q))).X ≅ A.X := |
| 44 | (Grp.forget _).mapIso C.split |
| 45 | GenericParameters.blockCoordinates (C.coordinates.toEquiv.trans Multiplicative.toAdd) |
| 46 | ((Evaluated.Characters.Lifts.genericConstantCoordinates R L (Multiplicative (Fin 2 → ZMod q))).toEquiv.trans Multiplicative.toAdd) |
| 47 | (a ≫ s.inv) ∈ J ↔ |
| 48 | ∃ b : Evaluated.Sections.Lifts.genericTest R L ⟶ (OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.finiteFlatKernel |
| 49 | (R := R) (L := L) (q := q) (A := A) C J).carrier, |
| 50 | b ≫ (OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.finiteFlatKernel (R := R) (L := L) (q := q) (A := A) C J).inclusion = a := by |
| 51 | dsimp only |
| 52 | change _ ∈ (J : Set ((Fin 2 → ZMod q) × ZMod q)) ↔ _ |
| 53 | rw [← OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.finiteFlatKernel_generic_image R L q A C J] |
| 54 | exact Kernel.ImageMembership.sourceKernel_image_membership _ _ _ _ a |
| 55 | |
| 56 | variable [IsCommMonObj A.X] (hk : ∀ a : Evaluated.Sections.Lifts.genericTest R L ⟶ A.X, a ^ q = 1) |
| 57 | |
| 58 | omit [IsFractionRing R L] in |
| 59 | theorem OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.linearCoordinates_apply (a : Evaluated.Sections.Lifts.genericTest R L ⟶ A.X) : |
| 60 | letI := GenericPointCoordinates.Lifts.genericPointModule R L q A.X hk |
| 61 | OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.linearCoordinates (R := R) (L := L) (q := q) (A := A) C hk (Additive.ofMul a) = |
| 62 | GenericParameters.blockCoordinates (C.coordinates.toEquiv.trans Multiplicative.toAdd) |
| 63 | ((Evaluated.Characters.Lifts.genericConstantCoordinates R L (Multiplicative (Fin 2 → ZMod q))).toEquiv.trans Multiplicative.toAdd) |
| 64 | (a ≫ ((Grp.forget _).mapIso C.split).inv) := rfl |
| 65 | |
| 66 | theorem OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.finiteFlatKernel_linear_membership |
| 67 | (J : Submodule (ZMod q) ((Fin 2 → ZMod q) × ZMod q)) (a : Evaluated.Sections.Lifts.genericTest R L ⟶ A.X) : |
| 68 | letI := GenericPointCoordinates.Lifts.genericPointModule R L q A.X hk |
| 69 | OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.linearCoordinates (R := R) (L := L) (q := q) (A := A) C hk (Additive.ofMul a) ∈ J ↔ |
| 70 | ∃ b : Evaluated.Sections.Lifts.genericTest R L ⟶ (OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.finiteFlatKernel |
| 71 | (R := R) (L := L) (q := q) (A := A) C J).carrier, |
| 72 | b ≫ (OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.finiteFlatKernel (R := R) (L := L) (q := q) (A := A) C J).inclusion = a := by |
| 73 | let := GenericPointCoordinates.Lifts.genericPointModule R L q A.X hk |
| 74 | rw [OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.linearCoordinates_apply R L q A C hk] |
| 75 | exact OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.finiteFlatKernel_generic_membership R L q A C J a |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting |