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.SquareFrames |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Frame.ChainComposition |
| 3 | |
| 4 | /-! # Square Composition -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Pullback.SquareComposition |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Composition of two actual commuting pullback squares preserves |
| 11 | their native frames, including nonflat scalar and reduction maps. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | theorem pullbackSquareFrame_horizontal {X Y Z P U V : Scheme.{0}} |
| 16 | (f : X ⟶ Y) (g : Y ⟶ Z) (u : P ⟶ X) (a : U ⟶ Y) (b : V ⟶ Z) |
| 17 | (p : P ⟶ U) (q : U ⟶ V) (h₁ : p ≫ a = u ≫ f) (h₂ : q ≫ b = a ≫ g) |
| 18 | (h₃ : (p ≫ q) ≫ b = u ≫ (f ≫ g)) (M : Z.Modules) |
| 19 | (e : (Scheme.Modules.pullback b).obj M ≅ SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj V) : |
| 20 | RepresentationTheory.Theta.Geometric.Pullback.SquareFrames.pullbackSquareFrame f u a p h₁ ((Scheme.Modules.pullback g).obj M) |
| 21 | (RepresentationTheory.Theta.Geometric.Pullback.SquareFrames.pullbackSquareFrame g a b q h₂ M e) = |
| 22 | (Scheme.Modules.pullback u).mapIso ((Scheme.Modules.pullbackComp f g).app M) ≪≫ |
| 23 | RepresentationTheory.Theta.Geometric.Pullback.SquareFrames.pullbackSquareFrame (f ≫ g) u b (p ≫ q) h₃ M e := by |
| 24 | have ht : Scheme.Modules.pullbackCongr (congrArg (fun c => c ≫ g) h₁.symm) ≪≫ |
| 25 | Scheme.Modules.pullbackCongr (congrArg (fun c => p ≫ c) h₂.symm) = |
| 26 | Scheme.Modules.pullbackCongr h₃.symm := by |
| 27 | exact RepresentationTheory.Theta.Geometric.Pullback.FrameEqualities.pullbackCongr_trans (congrArg (fun c => c ≫ g) h₁.symm) |
| 28 | (congrArg (fun c => p ≫ c) h₂.symm) |
| 29 | have htM := congrArg (fun c => c.app M) ht |
| 30 | simp only [NatIso.trans_app] at htM |
| 31 | have hassoc : (Scheme.Modules.pullbackComp u f).app ((Scheme.Modules.pullback g).obj M) ≪≫ |
| 32 | (Scheme.Modules.pullbackComp (u ≫ f) g).app M = |
| 33 | (Scheme.Modules.pullback u).mapIso ((Scheme.Modules.pullbackComp f g).app M) ≪≫ |
| 34 | (Scheme.Modules.pullbackComp u (f ≫ g)).app M := |
| 35 | Iso.ext (RepresentationTheory.Theta.Geometric.Pullback.Associativity.pullbackComp_assoc_app u f g M) |
| 36 | let C := (Scheme.Modules.pullbackComp (p ≫ a) g).app M |
| 37 | let D := (Scheme.Modules.pullbackCongr (congrArg (fun c => p ≫ c) h₂.symm)).app M |
| 38 | have hA := (RepresentationTheory.Theta.Geometric.FactoredPullbackFrames.factoredPullbackFrame_assoc p a g |
| 39 | ((Scheme.Modules.pullbackCongr h₂.symm).app M ≪≫ RepresentationTheory.Theta.Geometric.FactoredPullbackFrames.factoredPullbackFrame q b e)).symm |
| 40 | have hB := congrArg (fun t => C ≪≫ t) |
| 41 | (RepresentationTheory.Theta.Geometric.Pullback.FrameEqualities.factoredPullbackFrame_congr_right p h₂.symm (RepresentationTheory.Theta.Geometric.FactoredPullbackFrames.factoredPullbackFrame q b e)) |
| 42 | have hC := congrArg (fun t => C ≪≫ D ≪≫ t) (RepresentationTheory.Theta.Geometric.FactoredPullbackFrames.factoredPullbackFrame_comp p q b e) |
| 43 | have hF := congrArg (fun t => (Scheme.Modules.pullbackComp u f).app ((Scheme.Modules.pullback g).obj M) ≪≫ |
| 44 | (Scheme.Modules.pullbackCongr h₁.symm).app ((Scheme.Modules.pullback g).obj M) ≪≫ t) |
| 45 | (hA.trans (hB.trans hC)) |
| 46 | exact hF.trans (Frame.ChainComposition.frameChain_composition |
| 47 | ((Scheme.Modules.pullbackComp u f).app ((Scheme.Modules.pullback g).obj M)) |
| 48 | ((Scheme.Modules.pullbackCongr h₁.symm).app ((Scheme.Modules.pullback g).obj M)) C D |
| 49 | (RepresentationTheory.Theta.Geometric.FactoredPullbackFrames.factoredPullbackFrame (p ≫ q) b e) ((Scheme.Modules.pullbackComp (u ≫ f) g).app M) |
| 50 | ((Scheme.Modules.pullbackCongr (congrArg (fun c => c ≫ g) h₁.symm)).app M) |
| 51 | ((Scheme.Modules.pullback u).mapIso ((Scheme.Modules.pullbackComp f g).app M)) |
| 52 | ((Scheme.Modules.pullbackComp u (f ≫ g)).app M) ((Scheme.Modules.pullbackCongr h₃.symm).app M) |
| 53 | (RepresentationTheory.Theta.Geometric.Pullback.FrameEqualities.pullbackComp_congr_left h₁.symm g M) hassoc htM) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Pullback.SquareComposition |