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.Picard.PoincareBundle.Tensor.LineIsoCoherence |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Tensor.CongrComposition |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.TripleTensorFactorSwap |
| 4 | |
| 5 | /-! # Composition Forward -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Tensor.CompositionForward |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The tensor pullback composition law with the composite comparison on the right. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Tensor.LinePullback |
| 18 | |
| 19 | theorem move_inverse {C : Type*} [Category C] {A B D E F : C} |
| 20 | (r : A ≅ B) (u : B ≅ D) (c : E ≅ A) (v : E ≅ F) (w : F ≅ D) |
| 21 | (h : r ≪≫ u = c.symm ≪≫ v ≪≫ w) : |
| 22 | v ≪≫ w ≪≫ u.symm = c ≪≫ r := by |
| 23 | have hh := congrArg (fun e => c ≪≫ e ≪≫ u.symm) h |
| 24 | simpa only [Iso.trans_assoc, Iso.self_symm_id_assoc, Iso.self_symm_id, Iso.trans_refl] using hh.symm |
| 25 | |
| 26 | theorem tensor_inverse {X : Scheme.{u}} {M M' N N' : X.Modules} (a : M ≅ M') (b : N ≅ N') : |
| 27 | (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCongr a.symm b.symm).symm = AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCongr a b := by |
| 28 | apply Iso.ext |
| 29 | rfl |
| 30 | |
| 31 | theorem composition {X Y Z : Scheme.{u}} (f : X ⟶ Y) (g : Y ⟶ Z) (M N : Z.Modules) |
| 32 | (hM : Line.Bundles.IsLine M) (hN : Line.Bundles.IsLine N) : |
| 33 | (Scheme.Modules.pullback f).mapIso (LinePullback.pullbackIso g M N hM hN) ≪≫ |
| 34 | LinePullback.pullbackIso f ((Scheme.Modules.pullback g).obj M) ((Scheme.Modules.pullback g).obj N) |
| 35 | (hM.pullback g) (hN.pullback g) ≪≫ |
| 36 | AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCongr ((Scheme.Modules.pullbackComp f g).app M) ((Scheme.Modules.pullbackComp f g).app N) = |
| 37 | (Scheme.Modules.pullbackComp f g).app (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule M N) ≪≫ LinePullback.pullbackIso (f ≫ g) M N hM hN := by |
| 38 | have h := move_inverse (LinePullback.pullbackIso (f ≫ g) M N hM hN) |
| 39 | (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCongr ((Scheme.Modules.pullbackComp f g).app M).symm |
| 40 | ((Scheme.Modules.pullbackComp f g).app N).symm) |
| 41 | ((Scheme.Modules.pullbackComp f g).app (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule M N)) |
| 42 | ((Scheme.Modules.pullback f).mapIso (LinePullback.pullbackIso g M N hM hN)) |
| 43 | (LinePullback.pullbackIso f ((Scheme.Modules.pullback g).obj M) ((Scheme.Modules.pullback g).obj N) |
| 44 | (hM.pullback g) (hN.pullback g)) |
| 45 | (LineIsoCoherence.composition f g M N hM hN) |
| 46 | rw [tensor_inverse] at h |
| 47 | exact h |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Tensor.CompositionForward |