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.Models.Scheme |
| 2 | |
| 3 | /-! # Foundations Pullback -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.Models.FoundationsPullback.Constructions |
| 6 | |
| 7 | /-! Cartesian-square comparisons used by the Foundations model constructions. -/ |
| 8 | |
| 9 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 10 | |
| 11 | universe u |
| 12 | |
| 13 | /-- Pulling a map in an over category back along a fixed morphism produces |
| 14 | a cartesian square on its projections. -/ |
| 15 | theorem pullback_over_map_isPullback {S X : Scheme.{u}} (x : X ⟶ S) |
| 16 | {B C : Over S} (k : B ⟶ C) : |
| 17 | IsPullback ((Over.pullback x).map k).left |
| 18 | (pullback.fst B.hom x) (pullback.fst C.hom x) k.left := by |
| 19 | have h₁ : ((Over.pullback x).map k).left ≫ pullback.fst C.hom x = |
| 20 | pullback.fst B.hom x ≫ k.left := by |
| 21 | dsimp [Over.pullback] |
| 22 | exact pullback.lift_fst _ _ _ |
| 23 | have h₂ : ((Over.pullback x).map k).left ≫ pullback.snd C.hom x = |
| 24 | pullback.snd B.hom x := by |
| 25 | dsimp [Over.pullback] |
| 26 | exact pullback.lift_snd _ _ _ |
| 27 | apply IsPullback.of_right ?_ h₁ (IsPullback.of_hasPullback C.hom x).flip |
| 28 | rw [h₂, k.w] |
| 29 | exact (IsPullback.of_hasPullback B.hom x).flip |
| 30 | |
| 31 | end OAI.ArithmeticGeometry.Models.FoundationsPullback.Constructions |