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.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Basic |
| 2 | |
| 3 | /-! # Diagram Comparison -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.DiagramComparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Pullback pasting identifies arrow squares and the recovery of a diagram pullback. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] |
| 16 | |
| 17 | theorem isPullback_arrow_of_base_squares |
| 18 | {A B A₀ B₀ S S₀ : C} (qA : A ⟶ A₀) (qB : B ⟶ B₀) |
| 19 | (a : A ⟶ S) (b : B ⟶ S) (a₀ : A₀ ⟶ S₀) (b₀ : B₀ ⟶ S₀) (c : S ⟶ S₀) |
| 20 | (f : A ⟶ B) (f₀ : A₀ ⟶ B₀) |
| 21 | (hA : IsPullback qA a a₀ c) (hB : IsPullback qB b b₀ c) |
| 22 | (hf : f ≫ b = a) (hf₀ : f₀ ≫ b₀ = a₀) (hq : qA ≫ f₀ = f ≫ qB) : |
| 23 | IsPullback qA f f₀ qB := by |
| 24 | have h : IsPullback qA (f ≫ b) (f₀ ≫ b₀) c := by |
| 25 | rw [hf, hf₀] |
| 26 | exact hA |
| 27 | exact h.of_bot hq hB |
| 28 | |
| 29 | theorem isPullback_comparison_recovery |
| 30 | {P A B Z A₀ B₀ Z₀ S S₀ : C} |
| 31 | (i : P ⟶ A) (j : P ⟶ B) (f : A ⟶ Z) (g : B ⟶ Z) |
| 32 | (qA : A ⟶ A₀) (qB : B ⟶ B₀) (qZ : Z ⟶ Z₀) |
| 33 | (f₀ : A₀ ⟶ Z₀) (g₀ : B₀ ⟶ Z₀) [HasPullback f₀ g₀] |
| 34 | (b : B ⟶ S) (b₀ : B₀ ⟶ S₀) (c : S ⟶ S₀) |
| 35 | (hP : IsPullback i j f g) (hA : IsPullback qA f f₀ qZ) |
| 36 | (hB : IsPullback qB b b₀ c) (hg : g ≫ qZ = qB ≫ g₀) |
| 37 | (r : P ⟶ pullback f₀ g₀) |
| 38 | (hr₁ : r ≫ pullback.fst f₀ g₀ = i ≫ qA) |
| 39 | (hr₂ : r ≫ pullback.snd f₀ g₀ = j ≫ qB) : |
| 40 | IsPullback r (j ≫ b) (pullback.snd f₀ g₀ ≫ b₀) c := by |
| 41 | have h : IsPullback (r ≫ pullback.fst f₀ g₀) j f₀ (qB ≫ g₀) := by |
| 42 | rw [hr₁, ← hg] |
| 43 | exact hP.paste_horiz hA |
| 44 | exact (h.of_right hr₂ (IsPullback.of_hasPullback f₀ g₀)).paste_vert hB |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.DiagramComparison |