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.ArithmeticGeometry.Models.Open |
| 2 | import OAI.ArithmeticGeometry.Models.SpreadingOut.GeometricDescent |
| 3 | |
| 4 | /-! # Finite Open Descent -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.FiniteOpenDescent.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finite family of quasi-compact opens descends to a common coefficient stage. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem finite_compact_opens_descend |
| 17 | (R K : Type u) [CommRing R] [CommRing K] [Algebra R K] |
| 18 | (s : Finset K) (X : Over (CoefficientSystem.Constructions.Foundations.coefficientBase R K s)) |
| 19 | {I : Type*} [Finite I] |
| 20 | (U : I → (Descent.Constructions.Foundations.expansionCone R K s X).pt.Opens) |
| 21 | (hU : ∀ i, IsCompact (U i : Set (Descent.Constructions.Foundations.expansionCone R K s X).pt)) : |
| 22 | ∃ (j : Over (op s)) (V : I → ((Descent.Constructions.Foundations.expansionDiagram R K s X).obj j).Opens), |
| 23 | ∀ i, (Descent.Constructions.Foundations.expansionCone R K s X).π.app j ⁻¹ᵁ V i = U i := by |
| 24 | classical |
| 25 | let : Fintype I := Fintype.ofFinite I |
| 26 | choose j V _ hV using fun i ↦ Descent.Constructions.Foundations.compact_open_descends R K s X (U i) (hU i) |
| 27 | let t : Finset K := s ∪ Finset.univ.biUnion (fun i ↦ (j i).left.unop) |
| 28 | have hst : s ⊆ t := Finset.subset_union_left |
| 29 | have hjt (i : I) : (j i).left.unop ⊆ t := by |
| 30 | intro x hx |
| 31 | exact Finset.mem_union_right _ (Finset.mem_biUnion.mpr ⟨i, Finset.mem_univ i, hx⟩) |
| 32 | let a : Over (op s) := Over.mk (homOfLE hst).op |
| 33 | let m (i : I) : a ⟶ j i := Over.homMk (homOfLE (hjt i)).op (Subsingleton.elim _ _) |
| 34 | refine ⟨a, fun i ↦ (Descent.Constructions.Foundations.expansionDiagram R K s X).map (m i) ⁻¹ᵁ V i, fun i ↦ ?_⟩ |
| 35 | rw [← Scheme.Hom.comp_preimage, (Descent.Constructions.Foundations.expansionCone R K s X).w (m i)] |
| 36 | exact hV i |
| 37 | |
| 38 | theorem expansion_stage_cartesian |
| 39 | (R K : Type u) [CommRing R] [CommRing K] [Algebra R K] |
| 40 | (s : Finset K) (X : Over (CoefficientSystem.Constructions.Foundations.coefficientBase R K s)) (j : Over (op s)) : |
| 41 | IsPullback ((Descent.Constructions.Foundations.expansionCone R K s X).π.app j) |
| 42 | (pullback.fst (CoefficientSystem.Constructions.Foundations.genericBaseMap R K s) X.hom) |
| 43 | (pullback.fst (CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K (leOfHom j.hom.unop)) X.hom) |
| 44 | (CoefficientSystem.Constructions.Foundations.genericBaseMap R K j.left.unop) := by |
| 45 | let D := CoefficientSystem.Constructions.Foundations.coefficientSchemeDiagram R K |
| 46 | let c := (Over.conePost D (op s)).obj (CoefficientSystem.Constructions.Foundations.coefficientSchemeCone R K) |
| 47 | exact FoundationsPullback.Constructions.pullback_over_map_isPullback X.hom (c.π.app j) |
| 48 | |
| 49 | theorem scheme_preimage_injective_of_surjective |
| 50 | {X Y : Scheme.{u}} (p : X ⟶ Y) [Surjective p] : |
| 51 | Function.Injective (fun U : Y.Opens ↦ p ⁻¹ᵁ U) := by |
| 52 | intro U V h |
| 53 | ext y |
| 54 | obtain ⟨x, rfl⟩ := p.surjective y |
| 55 | exact Iff.of_eq (congrArg (fun W : X.Opens ↦ x ∈ W) h) |
| 56 | |
| 57 | theorem split_components_of_cartesian_opens |
| 58 | {W X Y Z : Scheme.{u}} {p : W ⟶ X} {q : W ⟶ Y} {f : X ⟶ Z} {g : Y ⟶ Z} |
| 59 | (h : IsPullback p q f g) [Surjective g] |
| 60 | (n : ℕ) (U : Fin n → W.Opens) (V : Fin n → X.Opens) |
| 61 | (hpre : ∀ i, p ⁻¹ᵁ V i = U i) |
| 62 | (hdis : ∀ i j, i ≠ j → Disjoint (U i) (U j)) |
| 63 | (hcover : (⨆ i, U i) = ⊤) |
| 64 | (hconn : ∀ i, GeometricallyConnected ((U i).ι ≫ q)) : |
| 65 | Base.Construction.HasSplitGeometricComponents (Over.mk f) := by |
| 66 | have : Surjective p := MorphismProperty.of_isPullback h.flip inferInstance |
| 67 | have hinj := scheme_preimage_injective_of_surjective p |
| 68 | refine ⟨n, V, ?_, ?_, ?_⟩ |
| 69 | · intro i j hij |
| 70 | rw [disjoint_iff] |
| 71 | apply hinj |
| 72 | dsimp only |
| 73 | rw [Scheme.Hom.preimage_inf, hpre, hpre, (hdis i j hij).eq_bot] |
| 74 | rfl |
| 75 | · apply hinj |
| 76 | dsimp only |
| 77 | rw [Scheme.Hom.preimage_iSup] |
| 78 | simp only [hpre, hcover] |
| 79 | rfl |
| 80 | · intro i |
| 81 | let r := p.resLE (V i) (U i) (hpre i).ge |
| 82 | have hr : IsPullback r (U i).ι (V i).ι p := |
| 83 | IsOpenImmersion.isPullback _ _ _ _ |
| 84 | (Scheme.Hom.resLE_comp_ι p (hpre i).ge).symm (by simpa using hpre i) |
| 85 | have : GeometricallyConnected ((U i).ι ≫ q) := hconn i |
| 86 | exact GeometricDescent.Construction.geometricallyConnected_of_surjective_cartesian (hr.paste_vert h) |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.ArithmeticGeometry.Models.SpreadingOut.FiniteOpenDescent.Construction |