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.PELModuli.IntegralModel.Arithmetic.Open |
| 2 | import Mathlib.AlgebraicGeometry.Geometrically.Connected |
| 3 | import Mathlib.AlgebraicGeometry.Group.Abelian |
| 4 | |
| 5 | /-! # Models Has -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.ModelsHas |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | The SpreadingOut finite-diagram proposition is exposed as an explicit hypothesis. |
| 13 | `FiniteDiagram` packages precisely its input data and hypotheses; |
| 14 | `DiagramModel` packages precisely its existing existential conclusion. |
| 15 | Neither bundle includes surjectivity or Albanese generation. The theorem |
| 16 | at the end proves that every originally surjective arrow remains surjective. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | /-- SpreadingOut's finite disjoint open decomposition with connected geometric fibers. -/ |
| 24 | def HasSplitGeometricComponents {S : Scheme.{u}} (X : Over S) : Prop := |
| 25 | ∃ (n : ℕ) (C : Fin n → X.left.Opens), |
| 26 | (∀ i j, i ≠ j → Disjoint (C i) (C j)) ∧ |
| 27 | (⨆ i, C i) = ⊤ ∧ |
| 28 | ∀ i, GeometricallyConnected ((C i).ι ≫ X.hom) |
| 29 | |
| 30 | /-- The input data and hypotheses in SpreadingOut's simultaneous spreading theorem. -/ |
| 31 | structure FiniteDiagram (K : Type u) [Field K] [NumberField K] where |
| 32 | objects : Type u |
| 33 | arrows : Type u |
| 34 | abelians : Type u |
| 35 | [finiteObjects : Fintype objects] |
| 36 | [finiteArrows : Fintype arrows] |
| 37 | [finiteAbelians : Fintype abelians] |
| 38 | X : objects → Over (Arithmetic.Open.fieldBase K) |
| 39 | smooth : ∀ i, Smooth (X i).hom |
| 40 | proper : ∀ i, IsProper (X i).hom |
| 41 | src : arrows → objects |
| 42 | dst : arrows → objects |
| 43 | f : ∀ a, X (src a) ⟶ X (dst a) |
| 44 | abelianIndex : abelians → objects |
| 45 | group : ∀ b, GrpObj (X (abelianIndex b)) |
| 46 | abelian : ∀ b, |
| 47 | letI := group b |
| 48 | IsCommMonObj (X (abelianIndex b)) ∧ |
| 49 | GeometricallyConnected (X (abelianIndex b)).hom |
| 50 | |
| 51 | attribute [instance] FiniteDiagram.finiteObjects FiniteDiagram.finiteArrows |
| 52 | FiniteDiagram.finiteAbelians |
| 53 | |
| 54 | /-- Exactly the model data and properties already supplied by SpreadingOut. -/ |
| 55 | structure DiagramModel {K : Type u} [Field K] [NumberField K] |
| 56 | (D : FiniteDiagram K) where |
| 57 | extension : Arithmetic.Open.FiniteNumberFieldExtension K |
| 58 | base : Arithmetic.Open.ArithmeticOpen extension.carrier |
| 59 | M : D.objects → Over base.U.toScheme |
| 60 | fM : ∀ a, M (D.src a) ⟶ M (D.dst a) |
| 61 | e : ∀ i, (Over.pullback base.generic).obj (M i) ≅ |
| 62 | (Over.pullback (Spec.map |
| 63 | (CommRingCat.ofHom (algebraMap K extension.carrier)))).obj (D.X i) |
| 64 | groupM : ∀ b, GrpObj (M (D.abelianIndex b)) |
| 65 | properties : ∀ i, |
| 66 | Smooth (M i).hom ∧ IsProper (M i).hom ∧ |
| 67 | HasSplitGeometricComponents (M i) |
| 68 | compatible : ∀ a, |
| 69 | (Over.pullback base.generic).map (fM a) ≫ (e (D.dst a)).hom = |
| 70 | (e (D.src a)).hom ≫ (Over.pullback (Spec.map |
| 71 | (CommRingCat.ofHom (algebraMap K extension.carrier)))).map (D.f a) |
| 72 | abelian : ∀ b, |
| 73 | letI := D.group b |
| 74 | letI := groupM b |
| 75 | letI : GrpObj |
| 76 | ((Over.pullback base.generic).obj (M (D.abelianIndex b))) := |
| 77 | Functor.grpObjObj (F := Over.pullback base.generic) |
| 78 | letI : GrpObj ((Over.pullback (Spec.map |
| 79 | (CommRingCat.ofHom (algebraMap K extension.carrier)))).obj |
| 80 | (D.X (D.abelianIndex b))) := |
| 81 | Functor.grpObjObj (F := Over.pullback (Spec.map |
| 82 | (CommRingCat.ofHom (algebraMap K extension.carrier)))) |
| 83 | IsCommMonObj (M (D.abelianIndex b)) ∧ |
| 84 | GeometricallyConnected (M (D.abelianIndex b)).hom ∧ |
| 85 | IsMonHom (e (D.abelianIndex b)).hom |
| 86 | |
| 87 | /-- SpreadingOut's supplied proposition, without using the admitted theorem stub. -/ |
| 88 | def SpreadingOutInput (K : Type u) [Field K] [NumberField K] : Prop := |
| 89 | ∀ D : FiniteDiagram K, Nonempty (DiagramModel D) |
| 90 | |
| 91 | /-- Every SpreadingOut model preserves surjectivity of every originally surjective |
| 92 | arrow. Thus no extra surjectivity hypothesis is imposed on the model. -/ |
| 93 | theorem DiagramModel.preserves_surjectivity |
| 94 | {K : Type u} [Field K] [NumberField K] |
| 95 | {D : FiniteDiagram K} (M : DiagramModel D) |
| 96 | (a : D.arrows) (ha : Surjective (D.f a).left) : |
| 97 | Surjective (M.fM a).left := by |
| 98 | let : Surjective (D.f a).left := ha |
| 99 | let : IsProper (M.M (D.src a)).hom := (M.properties _).2.1 |
| 100 | let : IsProper (M.M (D.dst a)).hom := (M.properties _).2.1 |
| 101 | let : Smooth (M.M (D.dst a)).hom := (M.properties _).1 |
| 102 | exact Arithmetic.Open.model_map_surjective M.extension M.base (D.f a) (M.fM a) |
| 103 | (M.e (D.src a)) (M.e (D.dst a)) (M.compatible a) |
| 104 | |
| 105 | /-- Conditional on the precise SpreadingOut input, a simultaneous good model can |
| 106 | be chosen with all original surjective arrows still surjective. -/ |
| 107 | theorem spread_surjective_diagram |
| 108 | {K : Type u} [Field K] [NumberField K] |
| 109 | (hSpreadingOut : SpreadingOutInput K) (D : FiniteDiagram K) : |
| 110 | ∃ M : DiagramModel D, |
| 111 | ∀ a : D.arrows, Surjective (D.f a).left → Surjective (M.fM a).left := by |
| 112 | obtain ⟨M⟩ := hSpreadingOut D |
| 113 | exact ⟨M, M.preserves_surjectivity⟩ |
| 114 | |
| 115 | end |
| 116 | |
| 117 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.ModelsHas |