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.AbelianModuli.HilbertConstruction.Cartesian.PropertyComparison |
| 2 | import Mathlib.AlgebraicGeometry.Geometrically.Connected |
| 3 | |
| 4 | /-! # Connectedness Field Tests -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Geometric.ConnectednessFieldTests |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A field-valued criterion for geometric connectedness of a family determines the same criterion after arbitrary base change. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem geometricallyConnected_iterated_pullback_iff {X S T V : Scheme.{u}} |
| 17 | (p : X ⟶ S) (c : T ⟶ S) (b : V ⟶ T) : |
| 18 | GeometricallyConnected (pullback.snd (pullback.snd p c) b) ↔ |
| 19 | GeometricallyConnected (pullback.snd p (b ≫ c)) := |
| 20 | Cartesian.PropertyComparison.property_cartesian_iff_pullback (@GeometricallyConnected : MorphismProperty Scheme.{u}) |
| 21 | (pullback.fst (pullback.snd p c) b ≫ pullback.fst p c) |
| 22 | (pullback.snd (pullback.snd p c) b) p (b ≫ c) |
| 23 | ((IsPullback.of_hasPullback (pullback.snd p c) b).paste_horiz (IsPullback.of_hasPullback p c)) |
| 24 | |
| 25 | theorem geometricallyConnected_open_field_tests {X S : Scheme.{u}} (p : X ⟶ S) (U : S.Opens) |
| 26 | (hU : ∀ (K : Type u) [Field K] (c : Spec (.of K) ⟶ S), |
| 27 | GeometricallyConnected (pullback.snd p c) ↔ Set.range c ⊆ (U : Set S)) |
| 28 | {T : Scheme.{u}} (c : T ⟶ S) : |
| 29 | GeometricallyConnected (pullback.snd p c) ↔ Set.range c ⊆ (U : Set S) := by |
| 30 | rw [GeometricallyConnected.iff_geometricallyConnected_fiber] |
| 31 | have ht (t : T) : GeometricallyConnected ((pullback.snd p c).fiberToSpecResidueField t) ↔ |
| 32 | c t ∈ U := by |
| 33 | refine (geometricallyConnected_iterated_pullback_iff p c (T.fromSpecResidueField t)).trans |
| 34 | ((hU (T.residueField t) (T.fromSpecResidueField t ≫ c)).trans ?_) |
| 35 | constructor |
| 36 | · intro h |
| 37 | let k : Spec (T.residueField t) := (⊥ : PrimeSpectrum (T.residueField t)) |
| 38 | have hk := h ⟨k, rfl⟩ |
| 39 | change c (T.fromSpecResidueField t k) ∈ U at hk |
| 40 | exact (T.fromSpecResidueField_apply t k) ▸ hk |
| 41 | · intro h |
| 42 | rintro s ⟨k, rfl⟩ |
| 43 | change c (T.fromSpecResidueField t k) ∈ U |
| 44 | rw [T.fromSpecResidueField_apply] |
| 45 | exact h |
| 46 | simp_rw [ht] |
| 47 | exact ⟨fun h _ ⟨t, ht⟩ => ht ▸ h t, fun h t => h ⟨t, rfl⟩⟩ |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Geometric.ConnectednessFieldTests |