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.Pullbacks |
| 2 | |
| 3 | /-! # Morphism Restricted Points -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.MorphismRestrictedPoints |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Equality of pulled-back morphisms is detected by points over test schemes above the new base. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem pullback_map_eq_iff_restrictedPoints |
| 16 | {S T : Scheme.{u}} {X Y : Over S} (b : T ⟶ S) (f g : X ⟶ Y) : |
| 17 | (Over.pullback b).map f = (Over.pullback b).map g ↔ |
| 18 | ∀ (U : Over T) (z : (Over.map b).obj U ⟶ X), z ≫ f = z ≫ g := by |
| 19 | let a := Over.mapPullbackAdj b |
| 20 | constructor |
| 21 | · intro h U z |
| 22 | apply (a.homEquiv U Y).injective |
| 23 | rw [a.homEquiv_naturality_right, a.homEquiv_naturality_right, h] |
| 24 | · intro h |
| 25 | let U := (Over.pullback b).obj X |
| 26 | let z := (a.homEquiv U X).symm (𝟙 U) |
| 27 | have H := congrArg (a.homEquiv U Y) (h U z) |
| 28 | rw [a.homEquiv_naturality_right, a.homEquiv_naturality_right] at H |
| 29 | have hz : a.homEquiv U X z = 𝟙 U := (a.homEquiv U X).apply_symm_apply (𝟙 U) |
| 30 | rw [hz, Category.id_comp, Category.id_comp] at H |
| 31 | exact H |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.MorphismRestrictedPoints |