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.FiniteFlatKernels |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GroupProductCoordinates |
| 3 | |
| 4 | /-! # Source Kernel Images -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SourceKernelImages |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The generic image formula survives transport into the actual |
| 11 | ambient source through its constructed integral product isomorphism. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | section |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SubspaceCounts.Construction |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable {S : Scheme.{u}} {A B T M E : Over S} |
| 24 | |
| 25 | def mapKernelPresentation (f : A ⟶ B) (K : Intrinsic.Neighbors.KernelPresentation A) : Intrinsic.Neighbors.KernelPresentation B := |
| 26 | ⟨K.carrier, K.inclusion ≫ f⟩ |
| 27 | |
| 28 | variable {F V : Type} [Field F] [AddCommGroup V] [Module F V] |
| 29 | [GrpObj A] [GrpObj M] |
| 30 | (H : Submodule F V → Over S) (b : M ⊗ E ⟶ A) (e : ∀ U, H U ⟶ E) |
| 31 | (χ : ∀ U : Submodule F V, (U →ₗ[F] F) → (H U ⟶ M)) |
| 32 | |
| 33 | omit [GrpObj A] [GrpObj M] in |
| 34 | theorem subspaceKernel_map (J : Submodule F (V × F)) : |
| 35 | Intrinsic.Neighbors.subspaceKernel H b e χ J = mapKernelPresentation b (Intrinsic.Neighbors.subspaceKernel H (𝟙 (M ⊗ E)) e χ J) := by |
| 36 | obtain ⟨⟨U, L | L⟩, rfl⟩ := (SubspaceCounts.Construction.allSubspacesEquiv (F := F) (V := V)).surjective J |
| 37 | · rw [Intrinsic.Neighbors.subspaceKernel_equiv, Intrinsic.Neighbors.subspaceKernel_equiv] |
| 38 | simp only [Intrinsic.Neighbors.kernelOfLiftData, mapKernelPresentation, QuotientGraphs.graphKernel, Category.comp_id] |
| 39 | · rw [Intrinsic.Neighbors.subspaceKernel_equiv, Intrinsic.Neighbors.subspaceKernel_equiv] |
| 40 | simp only [Intrinsic.Neighbors.kernelOfLiftData, mapKernelPresentation, QuotientGraphs.mixedKernel, Category.comp_id] |
| 41 | |
| 42 | variable (s : M ⊗ E ≅ A) (m : (T ⟶ M) ≃ F) (v : (T ⟶ E) ≃ V) |
| 43 | |
| 44 | def sourceKernelPointImage (K : Intrinsic.Neighbors.KernelPresentation A) : Set (V × F) := |
| 45 | Set.range (fun a : T ⟶ K.carrier => GenericParameters.blockCoordinates m v ((a ≫ K.inclusion) ≫ s.inv)) |
| 46 | |
| 47 | omit [Field F] [AddCommGroup V] [Module F V] [GrpObj A] [GrpObj M] in |
| 48 | theorem sourceKernelPointImage_map (K : Intrinsic.Neighbors.KernelPresentation (M ⊗ E)) : |
| 49 | sourceKernelPointImage s m v (mapKernelPresentation s.hom K) = GenericParameters.kernelPointImage m v K := by |
| 50 | unfold sourceKernelPointImage mapKernelPresentation GenericParameters.kernelPointImage |
| 51 | simp only [Category.assoc, Iso.hom_inv_id, Category.comp_id] |
| 52 | |
| 53 | omit [GrpObj A] [GrpObj M] in |
| 54 | theorem source_subspace_kernel_image (J : Submodule F (V × F)) : |
| 55 | sourceKernelPointImage s m v (Intrinsic.Neighbors.subspaceKernel H s.hom e χ J) = |
| 56 | GenericParameters.kernelPointImage m v (Intrinsic.Neighbors.subspaceKernel H (𝟙 (M ⊗ E)) e χ J) := by |
| 57 | rw [subspaceKernel_map, sourceKernelPointImage_map] |
| 58 | |
| 59 | end |
| 60 | |
| 61 | namespace Lifts |
| 62 | |
| 63 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SourceKernelImages |
| 64 | |
| 65 | variable (R L : Type) [CommRing R] [IsDomain R] [ValuationRing R] |
| 66 | [Field L] [Algebra R L] [IsFractionRing R L] |
| 67 | {F V : Type} [Field F] [AddCommGroup V] [Module F V] [Finite V] |
| 68 | {A M : Over (Spec (.of R))} [GrpObj A] [GrpObj M] |
| 69 | [IsFinite M.hom] [Flat M.hom] [LocallyOfFinitePresentation M.hom] |
| 70 | (m : (Evaluated.Sections.Lifts.genericTest R L ⟶ M) ≃* Multiplicative F) |
| 71 | (s : M ⊗ (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative V)).X ≅ A) [IsMonHom s.hom] |
| 72 | |
| 73 | theorem evaluatedFiniteFlatKernel_generic_image (J : Submodule F (V × F)) : |
| 74 | sourceKernelPointImage s (m.toEquiv.trans Multiplicative.toAdd) |
| 75 | ((Evaluated.Characters.Lifts.genericConstantCoordinates R L (Multiplicative V)).toEquiv.trans Multiplicative.toAdd) |
| 76 | (Evaluated.FiniteFlatKernels.Lifts.evaluatedFiniteFlatKernel R L m s J).toKernelPresentation = (J : Set (V × F)) := by |
| 77 | rw [Evaluated.FiniteFlatKernels.Lifts.evaluatedFiniteFlatKernel_presentation, source_subspace_kernel_image] |
| 78 | exact Evaluated.Characters.Lifts.evaluated_subspace_kernel_image R L M m J |
| 79 | |
| 80 | end Lifts |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SourceKernelImages |