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.Albanese.Construction.RefinementBound |
| 2 | import OAI.AlgebraicGeometry.Albanese.Construction.EtaleMono |
| 3 | import OAI.AlgebraicGeometry.Albanese.Construction.FiberInjective |
| 4 | import Mathlib.Data.Nat.Find |
| 5 | |
| 6 | /-! # Maximal Refinement -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Albanese.Construction.MaximalRefinement |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj |
| 14 | |
| 15 | /-- A pointed generated target refining a fixed target without changing its |
| 16 | dimension. All entries are actual abelian varieties and scheme morphisms. -/ |
| 17 | structure GeneratingRefinement (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 18 | (x₀ : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ X.toOver) |
| 19 | (B : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (b : X.toOver ⟶ B.toOver) where |
| 20 | target : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety |
| 21 | map : X.toOver ⟶ target.toOver |
| 22 | projection : target.toOver ⟶ B.toOver |
| 23 | pointed : x₀ ≫ map = 1 |
| 24 | hom : IsMonHom projection |
| 25 | commutes : map ≫ projection = b |
| 26 | generates : GeneratedClosed.Generates X target map |
| 27 | dimension : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension target.variety.structureMap = |
| 28 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension B.variety.structureMap |
| 29 | |
| 30 | attribute [instance] GeneratingRefinement.hom |
| 31 | |
| 32 | /-- A generated pointed target is a refinement of itself. -/ |
| 33 | def GeneratingRefinement.refl (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 34 | (x₀ : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ X.toOver) |
| 35 | (B : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (b : X.toOver ⟶ B.toOver) |
| 36 | (hb0 : x₀ ≫ b = 1) (hb : GeneratedClosed.Generates X B b) : GeneratingRefinement X x₀ B b where |
| 37 | target := B |
| 38 | map := b |
| 39 | projection := 𝟙 B.toOver |
| 40 | pointed := hb0 |
| 41 | hom := inferInstance |
| 42 | commutes := by simp |
| 43 | generates := hb |
| 44 | dimension := rfl |
| 45 | |
| 46 | /-- The finite fiber cardinality being maximized. -/ |
| 47 | def GeneratingRefinement.fiberCard {X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 48 | {x₀ : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ X.toOver} |
| 49 | {B : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} {b : X.toOver ⟶ B.toOver} |
| 50 | (r : GeneratingRefinement X x₀ B b) (y : B.toOver.left) : ℕ := |
| 51 | Nat.card (r.projection.left.fiber y) |
| 52 | |
| 53 | /-- Composing two refinements preserves generation and dimension. -/ |
| 54 | def GeneratingRefinement.trans {X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 55 | {x₀ : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ X.toOver} |
| 56 | {B : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} {b : X.toOver ⟶ B.toOver} |
| 57 | (r : GeneratingRefinement X x₀ B b) |
| 58 | (s : GeneratingRefinement X x₀ r.target r.map) : GeneratingRefinement X x₀ B b where |
| 59 | target := s.target |
| 60 | map := s.map |
| 61 | projection := s.projection ≫ r.projection |
| 62 | pointed := s.pointed |
| 63 | hom := inferInstance |
| 64 | commutes := by rw [← Category.assoc, s.commutes, r.commutes] |
| 65 | generates := s.generates |
| 66 | dimension := s.dimension.trans r.dimension |
| 67 | |
| 68 | /-- A refinement with maximal finite fiber cardinality exists. The bound is |
| 69 | proved from a fixed word fiber; no bound on isogeny degrees is assumed. -/ |
| 70 | theorem exists_maximal_generating_refinement (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 71 | [ConnectedSpace X.carrier] (x₀ : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ X.toOver) |
| 72 | (B : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (b : X.toOver ⟶ B.toOver) |
| 73 | (hb0 : x₀ ≫ b = 1) (hb : GeneratedClosed.Generates X B b) (y : B.toOver.left) : |
| 74 | ∃ r : GeneratingRefinement X x₀ B b, |
| 75 | ∀ s : GeneratingRefinement X x₀ B b, s.fiberCard y ≤ r.fiberCard y := by |
| 76 | classical |
| 77 | let N := RefinementBound.wordFiberComponentCount X B b y |
| 78 | let P (n : ℕ) := ∃ r : GeneratingRefinement X x₀ B b, r.fiberCard y = n |
| 79 | have hbound (r : GeneratingRefinement X x₀ B b) : r.fiberCard y ≤ N := |
| 80 | RefinementBound.refinement_fiber_card_bound X x₀ r.target B r.map b r.projection r.commutes |
| 81 | r.generates hb r.dimension y |
| 82 | let r₀ := GeneratingRefinement.refl X x₀ B b hb0 hb |
| 83 | have hmax : P (Nat.findGreatest P N) := |
| 84 | Nat.findGreatest_spec (hbound r₀) ⟨r₀, rfl⟩ |
| 85 | obtain ⟨r, hr⟩ := hmax |
| 86 | refine ⟨r, fun s => ?_⟩ |
| 87 | rw [hr] |
| 88 | exact Nat.le_findGreatest (hbound s) ⟨s, rfl⟩ |
| 89 | |
| 90 | /-- A refinement maximizing the identity fiber has no further nontrivial |
| 91 | generated refinement of the same dimension. -/ |
| 92 | theorem maximal_refinement_isIso (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 93 | (x₀ : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ X.toOver) |
| 94 | (B : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (b : X.toOver ⟶ B.toOver) (hb : GeneratedClosed.Generates X B b) |
| 95 | (r : GeneratingRefinement X x₀ B b) |
| 96 | (hmax : ∀ s : GeneratingRefinement X x₀ B b, |
| 97 | s.fiberCard (FiberInjective.identitySchemePoint B) ≤ r.fiberCard (FiberInjective.identitySchemePoint B)) |
| 98 | (s : GeneratingRefinement X x₀ r.target r.map) : IsIso s.projection := by |
| 99 | have : Surjective s.projection.left := |
| 100 | GeneratedClosed.refinement_surjective X s.target r.target s.map r.map s.projection s.commutes r.generates |
| 101 | have : Etale s.projection.left := |
| 102 | FiniteRefinements.refinement_etale X s.target r.target s.map r.map s.projection s.commutes r.generates s.dimension |
| 103 | have : IsFinite s.projection.left := |
| 104 | FiniteRefinements.refinement_finite X s.target r.target s.map r.map s.projection s.commutes r.generates s.dimension |
| 105 | have : IsFinite r.projection.left := |
| 106 | FiniteRefinements.refinement_finite X r.target B r.map b r.projection r.commutes hb r.dimension |
| 107 | let y := FiberInjective.identitySchemePoint B |
| 108 | let g := FiniteRefinements.factorFiberMap s.projection.left r.projection.left y |
| 109 | have : Surjective g := FiniteRefinements.factorFiberMap_surjective s.projection.left r.projection.left y |
| 110 | have hc : Nat.card ((s.projection.left ≫ r.projection.left).fiber y) ≤ |
| 111 | Nat.card (r.projection.left.fiber y) := hmax (r.trans s) |
| 112 | have hg : Function.Injective g := (g.surjective.bijective_of_nat_card_le hc).injective |
| 113 | apply EtaleMono.abelian_etale_isIso_of_point_injective s.target r.target s.projection |
| 114 | exact FiberInjective.hom_point_injective_of_identity_fiber s.target r.target B s.projection r.projection hg |
| 115 | |
| 116 | /-- Every pointed generated target admits an equal-dimensional generated |
| 117 | refinement that cannot be further refined in that dimension. -/ |
| 118 | theorem exists_refinement_without_further_refinements (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 119 | [ConnectedSpace X.carrier] (x₀ : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ X.toOver) |
| 120 | (B : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (b : X.toOver ⟶ B.toOver) |
| 121 | (hb0 : x₀ ≫ b = 1) (hb : GeneratedClosed.Generates X B b) : |
| 122 | ∃ r : GeneratingRefinement X x₀ B b, |
| 123 | ∀ s : GeneratingRefinement X x₀ r.target r.map, IsIso s.projection := by |
| 124 | obtain ⟨r, hr⟩ := exists_maximal_generating_refinement X x₀ B b hb0 hb (FiberInjective.identitySchemePoint B) |
| 125 | exact ⟨r, maximal_refinement_isIso X x₀ B b hb r hr⟩ |
| 126 | |
| 127 | end |
| 128 | |
| 129 | end OAI.AlgebraicGeometry.Albanese.Construction.MaximalRefinement |