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 Mathlib.AlgebraicGeometry.Restrict |
| 2 | |
| 3 | /-! # Cartesian Open Base Pullback -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CartesianOpenBasePullback |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A cartesian family whose base map factors through an open has a |
| 10 | constructed cartesian factorization through the actual open base change. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | theorem cartesian_open_base_pullback_factor |
| 15 | {X Y S T : Scheme.{0}} (f : X ⟶ S) (a : Y ⟶ X) (ρ : Y ⟶ T) (t : T ⟶ S) |
| 16 | (hp : IsPullback a ρ f t) (U : S.Opens) (k : T ⟶ U.toScheme) (hk : k ≫ U.ι = t) : |
| 17 | ∃ b : Y ⟶ pullback f U.ι, b ≫ pullback.fst f U.ι = a ∧ |
| 18 | IsPullback b ρ (pullback.snd f U.ι) k := by |
| 19 | have hw : a ≫ f = (ρ ≫ k) ≫ U.ι := by |
| 20 | rw [Category.assoc, hk] |
| 21 | exact hp.w |
| 22 | let b := pullback.lift a (ρ ≫ k) hw |
| 23 | have hb : b ≫ pullback.fst f U.ι = a := pullback.lift_fst _ _ _ |
| 24 | have hc : b ≫ pullback.snd f U.ι = ρ ≫ k := pullback.lift_snd _ _ _ |
| 25 | have hout : IsPullback (b ≫ pullback.fst f U.ι) ρ f (k ≫ U.ι) := by |
| 26 | rw [hb, hk] |
| 27 | exact hp |
| 28 | exact ⟨b, hb, hout.of_right hc (IsPullback.of_hasPullback f U.ι)⟩ |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CartesianOpenBasePullback |