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.AlgebraicGeometry.FormalGeometry.Completion.PullbackTripleComparison |
| 2 | |
| 3 | /-! # Pullback Equality Comparisons -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.PullbackEqualityComparisons |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Equality transports for actual module pullback are compatible with |
| 10 | composition comparisons on either side of a commuting square. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 15 | |
| 16 | namespace Construction |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | @[reassoc] |
| 21 | theorem pullbackCongr_trans {X Y : Scheme.{u}} {f g h : X ⟶ Y} (p : f = g) (q : g = h) |
| 22 | (M : Y.Modules) : |
| 23 | (Scheme.Modules.pullbackCongr p).hom.app M ≫ (Scheme.Modules.pullbackCongr q).hom.app M = |
| 24 | (Scheme.Modules.pullbackCongr (p.trans q)).hom.app M := by |
| 25 | subst g |
| 26 | subst h |
| 27 | simp [Scheme.Modules.pullbackCongr] |
| 28 | |
| 29 | @[reassoc] |
| 30 | theorem pullbackComp_congr_left {X Y Z : Scheme.{u}} {f f' : X ⟶ Y} (p : f = f') |
| 31 | (g : Y ⟶ Z) (M : Z.Modules) : |
| 32 | (Scheme.Modules.pullbackCongr p).hom.app ((Scheme.Modules.pullback g).obj M) ≫ |
| 33 | (Scheme.Modules.pullbackComp f' g).hom.app M = |
| 34 | (Scheme.Modules.pullbackComp f g).hom.app M ≫ |
| 35 | (Scheme.Modules.pullbackCongr (congrArg (fun z => z ≫ g) p)).hom.app M := by |
| 36 | subst f' |
| 37 | simp [Scheme.Modules.pullbackCongr] |
| 38 | |
| 39 | @[reassoc] |
| 40 | theorem pullbackComp_congr_right {X Y Z : Scheme.{u}} (f : X ⟶ Y) {g g' : Y ⟶ Z} |
| 41 | (p : g = g') (M : Z.Modules) : |
| 42 | (Scheme.Modules.pullback f).map ((Scheme.Modules.pullbackCongr p).hom.app M) ≫ |
| 43 | (Scheme.Modules.pullbackComp f g').hom.app M = |
| 44 | (Scheme.Modules.pullbackComp f g).hom.app M ≫ |
| 45 | (Scheme.Modules.pullbackCongr (congrArg (fun z => f ≫ z) p)).hom.app M := by |
| 46 | subst g' |
| 47 | simp [Scheme.Modules.pullbackCongr] |
| 48 | |
| 49 | @[reassoc] |
| 50 | theorem pullbackComp_three_forward {X Y Z T : Scheme.{u}} (f : X ⟶ Y) (g : Y ⟶ Z) (h : Z ⟶ T) |
| 51 | (M : T.Modules) : |
| 52 | (Scheme.Modules.pullback f).map ((Scheme.Modules.pullbackComp g h).hom.app M) ≫ |
| 53 | (Scheme.Modules.pullbackComp f (g ≫ h)).hom.app M = |
| 54 | (Scheme.Modules.pullbackComp f g).hom.app ((Scheme.Modules.pullback h).obj M) ≫ |
| 55 | (Scheme.Modules.pullbackComp (f ≫ g) h).hom.app M ≫ |
| 56 | (Scheme.Modules.pullbackCongr (Category.assoc f g h)).hom.app M := by |
| 57 | have he := congrArg (fun z => z ≫ (Scheme.Modules.pullbackCongr (Category.assoc f g h)).hom.app M) |
| 58 | (PullbackTripleComparison.Construction.pullbackComp_three f g h M) |
| 59 | have hi : (Scheme.Modules.pullbackCongr (Category.assoc f g h).symm).hom.app M ≫ |
| 60 | (Scheme.Modules.pullbackCongr (Category.assoc f g h)).hom.app M = 𝟙 _ := by |
| 61 | rw [pullbackCongr_trans] |
| 62 | rfl |
| 63 | simpa only [Category.assoc, hi, Category.comp_id] using he |
| 64 | |
| 65 | end Construction |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.PullbackEqualityComparisons |