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 | /-! # Composition Morphism -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.CompositionMorphism |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Transport of a family morphism between iterated and composite pullback, with its exact composition and invertibility laws. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {S T U : Scheme.{u}} (f : U ⟶ T) (g : T ⟶ S) {X Y Z : Over S} |
| 16 | |
| 17 | def overPullbackCompositionMorphism (h : (Over.pullback g).obj X ⟶ (Over.pullback g).obj Y) : |
| 18 | (Over.pullback (f ≫ g)).obj X ⟶ (Over.pullback (f ≫ g)).obj Y := |
| 19 | (Over.pullbackComp f g).hom.app X ≫ (Over.pullback f).map h ≫ (Over.pullbackComp f g).inv.app Y |
| 20 | |
| 21 | theorem overPullbackCompositionMorphism_comp (h : (Over.pullback g).obj X ⟶ (Over.pullback g).obj Y) |
| 22 | (p : Y ⟶ Z) : |
| 23 | overPullbackCompositionMorphism f g h ≫ (Over.pullback (f ≫ g)).map p = |
| 24 | overPullbackCompositionMorphism f g (h ≫ (Over.pullback g).map p) := by |
| 25 | simp only [overPullbackCompositionMorphism, Functor.map_comp, Category.assoc] |
| 26 | rw [← (Over.pullbackComp f g).inv.naturality p] |
| 27 | rfl |
| 28 | |
| 29 | theorem overPullbackCompositionMorphism_map (h : X ⟶ Y) : |
| 30 | overPullbackCompositionMorphism f g ((Over.pullback g).map h) = (Over.pullback (f ≫ g)).map h := by |
| 31 | unfold overPullbackCompositionMorphism |
| 32 | have hn := (Over.pullbackComp f g).hom.naturality h |
| 33 | change (Over.pullback (f ≫ g)).map h ≫ (Over.pullbackComp f g).hom.app Y = |
| 34 | (Over.pullbackComp f g).hom.app X ≫ (Over.pullback f).map ((Over.pullback g).map h) at hn |
| 35 | rw [← Category.assoc, ← hn] |
| 36 | simp only [Category.assoc, Iso.hom_inv_id_app, Category.comp_id] |
| 37 | |
| 38 | theorem overPullbackCompositionMorphism_factorization |
| 39 | (h : (Over.pullback g).obj X ⟶ (Over.pullback g).obj Y) (j : Y ⟶ Z) (i : X ⟶ Z) |
| 40 | (hh : h ≫ (Over.pullback g).map j = (Over.pullback g).map i) : |
| 41 | overPullbackCompositionMorphism f g h ≫ (Over.pullback (f ≫ g)).map j = |
| 42 | (Over.pullback (f ≫ g)).map i := by |
| 43 | rw [overPullbackCompositionMorphism_comp, hh, overPullbackCompositionMorphism_map] |
| 44 | |
| 45 | theorem overPullbackCompositionMorphism_isIso_iff |
| 46 | (h : (Over.pullback g).obj X ⟶ (Over.pullback g).obj Y) : |
| 47 | IsIso (overPullbackCompositionMorphism f g h) ↔ IsIso ((Over.pullback f).map h) := by |
| 48 | simp only [overPullbackCompositionMorphism, isIso_comp_left_iff, isIso_comp_right_iff] |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.CompositionMorphism |