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.Abelian.Schemes |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Separated |
| 3 | import Mathlib.AlgebraicGeometry.PullbackCarrier |
| 4 | |
| 5 | /-! # Pullback Equation Projection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.PullbackEquationProjection |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Equality after actual scheme base change is equality of the two |
| 12 | original maps precomposed with the actual pullback projection. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem pullback_equation_iff_projection {S T : Scheme.{0}} {X Y : Over S} |
| 17 | (l r : X ⟶ Y) (t : T ⟶ S) : |
| 18 | (Over.pullback t).map l = (Over.pullback t).map r ↔ |
| 19 | pullback.fst X.hom t ≫ l.left = pullback.fst X.hom t ≫ r.left := by |
| 20 | constructor |
| 21 | · intro h |
| 22 | have he := congrArg (fun q => q.left ≫ pullback.fst Y.hom t) h |
| 23 | simpa only [Over.pullback_map_left, pullback.lift_fst] using he |
| 24 | · intro h |
| 25 | apply Over.OverMorphism.ext |
| 26 | apply pullback.hom_ext |
| 27 | · simpa only [Over.pullback_map_left, pullback.lift_fst] using h |
| 28 | · simp only [Over.pullback_map_left, pullback.lift_snd] |
| 29 | |
| 30 | theorem projection_range_subset_equalizer_of_equation {S T : Scheme.{0}} {X Y : Over S} |
| 31 | (l r : X ⟶ Y) (t : T ⟶ S) |
| 32 | (h : (Over.pullback t).map l = (Over.pullback t).map r) : |
| 33 | Set.range (pullback.fst X.hom t) ⊆ Set.range (equalizer.ι l r).left := by |
| 34 | let Z : Over S := Over.mk (pullback.fst X.hom t ≫ X.hom) |
| 35 | let p : Z ⟶ X := Over.homMk (pullback.fst X.hom t) rfl |
| 36 | have he : p ≫ l = p ≫ r := Over.OverMorphism.ext ((pullback_equation_iff_projection l r t).mp h) |
| 37 | let q := equalizer.lift p he |
| 38 | rintro _ ⟨z, rfl⟩ |
| 39 | exact ⟨q.left z, congrArg (fun f => f.left z) (equalizer.lift_ι p he)⟩ |
| 40 | |
| 41 | theorem pullback_equation_precomp {S T U : Scheme.{0}} {X Y : Over S} |
| 42 | (l r : X ⟶ Y) (t : T ⟶ S) (u : U ⟶ T) |
| 43 | (h : (Over.pullback t).map l = (Over.pullback t).map r) : |
| 44 | (Over.pullback (u ≫ t)).map l = (Over.pullback (u ≫ t)).map r := by |
| 45 | let p : pullback X.hom (u ≫ t) ⟶ pullback X.hom t := |
| 46 | pullback.lift (pullback.fst X.hom (u ≫ t)) (pullback.snd X.hom (u ≫ t) ≫ u) |
| 47 | (by rw [Category.assoc]; exact pullback.condition) |
| 48 | have hp : p ≫ pullback.fst X.hom t = pullback.fst X.hom (u ≫ t) := pullback.lift_fst _ _ _ |
| 49 | apply (pullback_equation_iff_projection l r (u ≫ t)).mpr |
| 50 | have he := congrArg (p ≫ ·) ((pullback_equation_iff_projection l r t).mp h) |
| 51 | simpa only [← Category.assoc, hp] using he |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.PullbackEquationProjection |