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.Types.Pullbacks |
| 2 | import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Basic |
| 3 | |
| 4 | /-! # Monomorphism Pullback Criterion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.MonomorphismPullbackCriterion.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A commuting square of monomorphisms is Cartesian when every |
| 11 | compatible test point admits a lift along one projection. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | theorem monoSquare_isPullback {C : Type u} [Category.{v} C] {X Y Z S : C} |
| 18 | (f : X ⟶ Y) (g : X ⟶ Z) (h : Y ⟶ S) (k : Z ⟶ S) [Mono g] [Mono h] |
| 19 | (hw : f ≫ h = g ≫ k) |
| 20 | (hl : ∀ (T : C) (y : T ⟶ Y) (z : T ⟶ Z), y ≫ h = z ≫ k → |
| 21 | ∃ x : T ⟶ X, x ≫ g = z) : IsPullback f g h k := by |
| 22 | apply IsPullback.of_map yoneda hw |
| 23 | apply IsPullback.of_forall_isPullback_app |
| 24 | intro T |
| 25 | apply (Types.isPullback_iff _ _ _ _).mpr |
| 26 | refine ⟨?_, ?_, ?_⟩ |
| 27 | · apply ConcreteCategory.hom_ext |
| 28 | intro x |
| 29 | change (x ≫ f) ≫ h = (x ≫ g) ≫ k |
| 30 | simp only [Category.assoc, hw] |
| 31 | · intro x x' hx |
| 32 | exact (cancel_mono g).mp hx.2 |
| 33 | · intro y z hyz |
| 34 | obtain ⟨x, hx⟩ := hl T.unop y z hyz |
| 35 | refine ⟨x, ?_, hx⟩ |
| 36 | apply (cancel_mono h).mp |
| 37 | change (x ≫ f) ≫ h = y ≫ h |
| 38 | rw [Category.assoc, hw, ← Category.assoc, hx] |
| 39 | exact hyz.symm |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.MonomorphismPullbackCriterion.Construction |