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.OrdinaryLocus.Openness.FlatTranslations |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SmoothReduced |
| 3 | import Mathlib.Topology.Connected.Clopen |
| 4 | |
| 5 | /-! # Connected Group Integral -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ConnectedGroupIntegral.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Irreducibility of connected algebraic groups for the Openness argument. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | /-- In a connected Noetherian Jacobson scheme, transitivity on closed |
| 16 | points forces irreducibility. -/ |
| 17 | theorem irreducibleSpace_of_transitive_closedPoints |
| 18 | (X : Scheme) [NoetherianSpace X] [JacobsonSpace X] [ConnectedSpace X] |
| 19 | (htrans : ∀ (x y : X), IsClosed {x} → IsClosed {y} → |
| 20 | ∃ α : X ≅ X, α.hom x = y) : IrreducibleSpace X := by |
| 21 | let x₀ : X := Classical.choice inferInstance |
| 22 | let C := irreducibleComponent x₀ |
| 23 | have hC : C ∈ irreducibleComponents X := irreducibleComponent_mem_irreducibleComponents x₀ |
| 24 | obtain ⟨U, hUopen, hUnonempty, hUC⟩ := |
| 25 | NoetherianSpace.exists_isOpen_nonempty_subset_irreducibleComponent C hC |
| 26 | have hUirr : IsPreirreducible U := hC.1.2.open_subset hUopen hUC |
| 27 | let I := {V : X.Opens // IsPreirreducible (V : Set X)} |
| 28 | let V : I → X.Opens := Subtype.val |
| 29 | have htop : iSup V = ⊤ := by |
| 30 | by_contra hne |
| 31 | have hex : ∃ x : X, x ∉ iSup V := by |
| 32 | by_contra! h |
| 33 | exact hne (le_antisymm le_top (fun x _ => h x)) |
| 34 | obtain ⟨x', hx'⟩ := hex |
| 35 | obtain ⟨x, hx, hxc⟩ := nonempty_inter_closedPoints |
| 36 | (Z := ((iSup V : X.Opens) : Set X)ᶜ) ⟨x', hx'⟩ |
| 37 | (iSup V).isOpen.isClosed_compl.isLocallyClosed |
| 38 | obtain ⟨y, hy, hyc⟩ := nonempty_inter_closedPoints hUnonempty hUopen.isLocallyClosed |
| 39 | obtain ⟨α, hxy⟩ := htrans x y hxc hyc |
| 40 | let W : X.Opens := α.hom ⁻¹ᵁ (⟨U, hUopen⟩ : X.Opens) |
| 41 | have hWirr : IsPreirreducible (W : Set X) := |
| 42 | hUirr.preimage α.hom.isOpenEmbedding |
| 43 | have hxW : x ∈ W := by change α.hom x ∈ U; rwa [hxy] |
| 44 | exact hx ((le_iSup V ⟨W, hWirr⟩) hxW) |
| 45 | have hlocal (x : X) : ∃ W : X.Opens, x ∈ W ∧ IsPreirreducible (W : Set X) := by |
| 46 | have hx : x ∈ iSup V := by rw [htop]; trivial |
| 47 | obtain ⟨W, hW⟩ := Opens.mem_iSup.mp hx |
| 48 | exact ⟨W.val, hW, W.property⟩ |
| 49 | have hCopen : IsOpen C := by |
| 50 | apply isOpen_iff_forall_mem_open.mpr |
| 51 | intro x hx |
| 52 | obtain ⟨W, hxW, hWirr⟩ := hlocal x |
| 53 | obtain ⟨D, hD, hWD⟩ := exists_mem_irreducibleComponents_subset_of_isIrreducible |
| 54 | (W : Set X) ⟨⟨x, hxW⟩, hWirr⟩ |
| 55 | have hCD : C ⊆ D := |
| 56 | (subset_closure_inter_of_isPreirreducible_of_isOpen hC.1.2 W.isOpen |
| 57 | ⟨x, hx, hxW⟩).trans |
| 58 | ((isClosed_of_mem_irreducibleComponents D hD).closure_subset_iff.mpr |
| 59 | (Set.inter_subset_right.trans hWD)) |
| 60 | exact ⟨W, hWD.trans (hC.2 hD.1 hCD), W.isOpen, hxW⟩ |
| 61 | have hCeq : C = Set.univ := |
| 62 | IsClopen.eq_univ ⟨isClosed_of_mem_irreducibleComponents C hC, hCopen⟩ hC.1.nonempty |
| 63 | apply (irreducibleSpace_def X).mpr |
| 64 | change IsIrreducible (Set.univ : Set X) |
| 65 | rw [← hCeq] |
| 66 | exact hC.1 |
| 67 | |
| 68 | /-- A connected smooth proper commutative group over an algebraically |
| 69 | closed field is integral. -/ |
| 70 | theorem isIntegral_connected_smooth_proper_group |
| 71 | {K : Type*} [Field K] [IsAlgClosed K] |
| 72 | (A : Over (Spec (.of K))) [GrpObj A] [IsCommMonObj A] |
| 73 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] : IsIntegral A.left := by |
| 74 | have : ConnectedSpace A.left := GeometricallyConnected.connectedSpace_of_subsingleton A.hom |
| 75 | have : JacobsonSpace A.left := LocallyOfFiniteType.jacobsonSpace A.hom |
| 76 | have : IsLocallyNoetherian A.left := LocallyOfFiniteType.isLocallyNoetherian A.hom |
| 77 | have : CompactSpace A.left := QuasiCompact.compactSpace_of_compactSpace A.hom |
| 78 | have : IsNoetherian A.left := ⟨⟩ |
| 79 | have : IrreducibleSpace A.left := irreducibleSpace_of_transitive_closedPoints A.left |
| 80 | (fun x y hx hy => by |
| 81 | obtain ⟨α, _, hxy, _⟩ := FlatTranslations.Construction.multiplication_transitive_automorphisms A 1 x y hx hy |
| 82 | exact ⟨α, hxy⟩) |
| 83 | have : IsReduced A.left := SmoothReduced.Construction.isReduced_smooth_over_field A.hom |
| 84 | exact isIntegral_of_irreducibleSpace_of_isReduced A.left |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ConnectedGroupIntegral.Construction |