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.RepresentationTheory.Theta.Geometric.Pullback.FrameEqualities |
| 2 | |
| 3 | /-! # Square Frames -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.Pullback.SquareFrames |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Pullback frames on commuting squares, proved before specializing the |
| 10 | schemes to nested opens. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | def pullbackSquareFrame {X Y U P : Scheme.{u}} (f : X ⟶ Y) (u : P ⟶ X) |
| 18 | (a : U ⟶ Y) (p : P ⟶ U) (h : p ≫ a = u ≫ f) (M : Y.Modules) |
| 19 | (e : (Scheme.Modules.pullback a).obj M ≅ AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj U) : |
| 20 | (Scheme.Modules.pullback u).obj ((Scheme.Modules.pullback f).obj M) ≅ AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj P := |
| 21 | (Scheme.Modules.pullbackComp u f).app M ≪≫ (Scheme.Modules.pullbackCongr h.symm).app M ≪≫ |
| 22 | FactoredPullbackFrames.factoredPullbackFrame p a e |
| 23 | |
| 24 | theorem pullbackSquareFrame_nested {X Y U V P Q : Scheme.{u}} |
| 25 | (f : X ⟶ Y) (u : P ⟶ X) (v : Q ⟶ X) (a : U ⟶ Y) (b : V ⟶ Y) |
| 26 | (j : Q ⟶ P) (k : V ⟶ U) (p : P ⟶ U) (q : Q ⟶ V) |
| 27 | (hX : j ≫ u = v) (hY : k ≫ a = b) (hP : p ≫ a = u ≫ f) (hQ : q ≫ b = v ≫ f) |
| 28 | (hjk : q ≫ k = j ≫ p) (M : Y.Modules) |
| 29 | (e : (Scheme.Modules.pullback a).obj M ≅ AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj U) : |
| 30 | (Scheme.Modules.pullbackCongr hX.symm).app ((Scheme.Modules.pullback f).obj M) ≪≫ |
| 31 | FactoredPullbackFrames.factoredPullbackFrame j u (pullbackSquareFrame f u a p hP M e) = |
| 32 | pullbackSquareFrame f v b q hQ M |
| 33 | ((Scheme.Modules.pullbackCongr hY.symm).app M ≪≫ FactoredPullbackFrames.factoredPullbackFrame k a e) := by |
| 34 | have ht : |
| 35 | Scheme.Modules.pullbackCongr (congrArg (fun c => c ≫ f) hX.symm) ≪≫ |
| 36 | Scheme.Modules.pullbackCongr (congrArg (fun c => j ≫ c) hP.symm) ≪≫ |
| 37 | Scheme.Modules.pullbackCongr (congrArg (fun c => c ≫ a) hjk.symm) = |
| 38 | Scheme.Modules.pullbackCongr hQ.symm ≪≫ |
| 39 | Scheme.Modules.pullbackCongr (congrArg (fun c => q ≫ c) hY.symm) := by |
| 40 | simp only [FrameEqualities.pullbackCongr_trans] |
| 41 | have htM := congrArg (fun c => c.app M) ht |
| 42 | simp only [NatIso.trans_app] at htM |
| 43 | unfold pullbackSquareFrame |
| 44 | rw [← FactoredPullbackFrames.factoredPullbackFrame_assoc j u f] |
| 45 | rw [FrameEqualities.factoredPullbackFrame_congr_right j hP.symm, FactoredPullbackFrames.factoredPullbackFrame_comp] |
| 46 | rw [FrameEqualities.factoredPullbackFrame_congr_right q hY.symm, FactoredPullbackFrames.factoredPullbackFrame_comp] |
| 47 | rw [FrameEqualities.factoredPullbackFrame_congr_left hjk.symm a] |
| 48 | simp only [← Iso.trans_assoc] |
| 49 | rw [FrameEqualities.pullbackComp_congr_left hX.symm f M] |
| 50 | have hh := congrArg (fun c => (Scheme.Modules.pullbackComp v f).app M ≪≫ c ≪≫ |
| 51 | FactoredPullbackFrames.factoredPullbackFrame (q ≫ k) a e) htM |
| 52 | simpa only [Iso.trans_assoc] using hh |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.RepresentationTheory.Theta.Geometric.Pullback.SquareFrames |