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.SpreadingOut.ProperCoproducts |
| 2 | import OAI.ArithmeticGeometry.Models.SpreadingOut.SplitComponentsBaseChange |
| 3 | |
| 4 | /-! # Split Coproducts -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.SplitCoproducts.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Geometrically connected models assemble into a split finite disjoint |
| 11 | union; open partitions have closed components. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem geometricallyConnected_of_geometricallyIrreducible |
| 18 | {X S : Scheme.{u}} (f : X ⟶ S) [GeometricallyIrreducible f] : GeometricallyConnected f := by |
| 19 | refine ⟨fun k _ y Z p q hp ↦ ?_⟩ |
| 20 | have : IrreducibleSpace Z := GeometricallyIrreducible.geometrically_irreducibleSpace y p q hp |
| 21 | infer_instance |
| 22 | |
| 23 | theorem open_partition_isClosed |
| 24 | {X : Scheme.{u}} {ι : Type*} (C : ι → X.Opens) |
| 25 | (hdis : ∀ i j, i ≠ j → Disjoint (C i) (C j)) |
| 26 | (hcover : (⨆ i, C i) = ⊤) (i : ι) : IsClosed (C i : Set X) := by |
| 27 | classical |
| 28 | have he : (C i : Set X)ᶜ = ⋃ j : {j // j ≠ i}, (C j.val : Set X) := by |
| 29 | ext x |
| 30 | constructor |
| 31 | · intro hx |
| 32 | have hxcover : x ∈ ⨆ j, C j := by rw [hcover]; trivial |
| 33 | obtain ⟨j, hj⟩ := Opens.mem_iSup.mp hxcover |
| 34 | have hji : j ≠ i := by rintro rfl; exact hx hj |
| 35 | exact Set.mem_iUnion.mpr ⟨⟨j, hji⟩, hj⟩ |
| 36 | · intro hx hxi |
| 37 | obtain ⟨j, hj⟩ := Set.mem_iUnion.mp hx |
| 38 | exact (Set.disjoint_left.mp ((Opens.coe_disjoint).mpr (hdis j.val i j.property))) hj hxi |
| 39 | rw [← isOpen_compl_iff, he] |
| 40 | exact isOpen_iUnion (fun j ↦ (C j.val).isOpen) |
| 41 | |
| 42 | theorem open_partition_closedImmersion |
| 43 | {X : Scheme.{u}} {ι : Type*} (C : ι → X.Opens) |
| 44 | (hdis : ∀ i j, i ≠ j → Disjoint (C i) (C j)) |
| 45 | (hcover : (⨆ i, C i) = ⊤) (i : ι) : IsClosedImmersion (C i).ι := by |
| 46 | apply IsClosedImmersion.of_isPreimmersion |
| 47 | rw [Scheme.Opens.range_ι] |
| 48 | exact open_partition_isClosed C hdis hcover i |
| 49 | |
| 50 | theorem overSigma_hasSplitGeometricComponents |
| 51 | {S : Scheme.{u}} {ι : Type u} [Finite ι] (P : ι → Over S) |
| 52 | (hP : ∀ i, GeometricallyConnected (P i).hom) : Base.Construction.HasSplitGeometricComponents (ProperCoproducts.Construction.overSigma P) := by |
| 53 | classical |
| 54 | let : Fintype ι := Fintype.ofFinite ι |
| 55 | let e : Fin (Fintype.card ι) ≃ ι := (Fintype.equivFin ι).symm |
| 56 | let T := fun i ↦ (P i).left |
| 57 | let C := fun i ↦ (Sigma.ι T (e i)).opensRange |
| 58 | refine ⟨Fintype.card ι, C, ?_, ?_, ?_⟩ |
| 59 | · intro i j hij |
| 60 | exact disjoint_opensRange_sigmaι T (e i) (e j) (fun h ↦ hij (e.injective h)) |
| 61 | · change (⨆ i, (Sigma.ι T (e i)).opensRange) = ⊤ |
| 62 | apply top_unique |
| 63 | intro x _ |
| 64 | obtain ⟨⟨j, y⟩, rfl⟩ := (sigmaMk T).surjective x |
| 65 | apply Opens.mem_iSup.mpr |
| 66 | refine ⟨e.symm j, ?_⟩ |
| 67 | change (sigmaMk T ⟨j, y⟩) ∈ (Sigma.ι T (e (e.symm j))).opensRange |
| 68 | rw [Equiv.apply_symm_apply] |
| 69 | exact ⟨y, (sigmaMk_mk T j y).symm⟩ |
| 70 | · intro i |
| 71 | have : GeometricallyConnected (P (e i)).hom := hP (e i) |
| 72 | let j := Sigma.ι T (e i) |
| 73 | let k := j.isoOpensRange |
| 74 | have he : k.inv ≫ (P (e i)).hom = (C i).ι ≫ (ProperCoproducts.Construction.overSigma P).hom := by |
| 75 | change k.inv ≫ (P (e i)).hom = (C i).ι ≫ Sigma.desc (fun a ↦ (P a).hom) |
| 76 | rw [← Sigma.ι_comp_desc (fun a ↦ (P a).hom) (e i), ← Category.assoc] |
| 77 | rw [Scheme.Hom.isoOpensRange_inv_comp] |
| 78 | have h : IsPullback k.inv ((C i).ι ≫ (ProperCoproducts.Construction.overSigma P).hom) (P (e i)).hom (𝟙 S) := |
| 79 | IsPullback.of_horiz_isIso ⟨by simpa only [Category.comp_id] using he⟩ |
| 80 | exact MorphismProperty.of_isPullback h inferInstance |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.ArithmeticGeometry.Models.SpreadingOut.SplitCoproducts.Construction |