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.RelativeFrameGluing |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.OpenFrame |
| 3 | import Mathlib.Topology.Irreducible |
| 4 | |
| 5 | /-! # Affine Triviality Propagation -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.AffineTrivialityPropagation.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Propagate a trivial fiber through intersecting affine opens of an irreducible base. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem predicate_everywhere_of_affine_propagation |
| 18 | {S : Scheme.{u}} [PreirreducibleSpace S] (P : S → Prop) |
| 19 | (hlocal : ∀ (U : S.Opens), IsAffineOpen U → ∀ x ∈ U, ∀ y ∈ U, P x → P y) |
| 20 | (x₀ : S) (hx₀ : P x₀) : ∀ x : S, P x := by |
| 21 | obtain ⟨U, hU, hxU, _⟩ := exists_isAffineOpen_mem_and_subset (show x₀ ∈ (⊤ : S.Opens) from trivial) |
| 22 | intro x |
| 23 | obtain ⟨V, hV, hxV, _⟩ := exists_isAffineOpen_mem_and_subset (show x ∈ (⊤ : S.Opens) from trivial) |
| 24 | obtain ⟨z, hzU, hzV⟩ := nonempty_preirreducible_inter U.isOpen V.isOpen ⟨x₀, hxU⟩ ⟨x, hxV⟩ |
| 25 | exact hlocal V hV z hzV x hxV (hlocal U hU x₀ hxU z hzU hx₀) |
| 26 | |
| 27 | theorem lineBundle_trivial_of_affine_fiber_propagation |
| 28 | {X S : Scheme.{u}} [PreirreducibleSpace S] |
| 29 | (π : X ⟶ S) (s : S ⟶ X) (hs : s ≫ π = 𝟙 S) |
| 30 | (hf : ∀ U : S.Opens, IsIso (π.app U)) (L : X.Modules) (hL : LineBundle.Construction.IsLineBundle L) |
| 31 | (e : (Scheme.Modules.pullback s).obj L ≅ LineBundle.Construction.structureSheafModule S) |
| 32 | (hlocal : ∀ (U : S.Opens), IsAffineOpen U → |
| 33 | (∃ x ∈ U, Nonempty ((Scheme.Modules.pullback (π.fiberι x)).obj L ≅ LineBundle.Construction.structureSheafModule (π.fiber x))) → |
| 34 | Nonempty ((Scheme.Modules.pullback (π ⁻¹ᵁ U).ι).obj L ≅ LineBundle.Construction.structureSheafModule (π ⁻¹ᵁ U).toScheme)) |
| 35 | (x₀ : S) |
| 36 | (he : Nonempty ((Scheme.Modules.pullback (π.fiberι x₀)).obj L ≅ LineBundle.Construction.structureSheafModule (π.fiber x₀))) : |
| 37 | Nonempty (L ≅ LineBundle.Construction.structureSheafModule X) := by |
| 38 | let P := fun x : S ↦ Nonempty ((Scheme.Modules.pullback (π.fiberι x)).obj L ≅ LineBundle.Construction.structureSheafModule (π.fiber x)) |
| 39 | have hall : ∀ x : S, P x := by |
| 40 | apply predicate_everywhere_of_affine_propagation P _ x₀ he |
| 41 | intro U hU x hx y hy hPx |
| 42 | obtain ⟨eU⟩ := hlocal U hU ⟨x, hx, hPx⟩ |
| 43 | exact ⟨AlgebraicGeometry.Quotients.FiniteDescent.OpenFrame.Construction.OpenFrameFibers.fiberIso π ⟨L, hL⟩ U y hy eU⟩ |
| 44 | apply RelativeFrameGluing.Construction.lineBundle_trivial_of_relative_frames π s hs hf L _ e |
| 45 | intro x |
| 46 | obtain ⟨U, hU, hxU, _⟩ := exists_isAffineOpen_mem_and_subset (show x ∈ (⊤ : S.Opens) from trivial) |
| 47 | exact ⟨U, hxU, hlocal U hU ⟨x, hxU, hall x⟩⟩ |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.AffineTrivialityPropagation.Construction |