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.PELModuli.IntegralModel.LineBundle.SquareFrame |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.Pullback.SquareComposition |
| 3 | import OAI.RepresentationTheory.Theta.Geometric.Pullback.SquareNaturality |
| 4 | |
| 5 | /-! # Global Square Frame -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.LineBundle.GlobalSquareFrame |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Coherence of the actual HilbertConstruction frames under composition of section |
| 14 | squares, using the proved native pullback coherence equations. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | theorem structureModulePullbackIso_eq {X Y : Scheme.{0}} (f : X ⟶ Y) : |
| 20 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f = SheafCohomology.Projective.Invertible.Scheme.Modules.pullbackUnitIso f := by |
| 21 | apply Iso.ext |
| 22 | rfl |
| 23 | |
| 24 | theorem lineBundleSquareFrame_eq {X Y B C : Scheme.{0}} (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 25 | (z : B ⟶ X) (frame : (L.pullback z).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule B) |
| 26 | (s : Y ⟶ X) (z' : C ⟶ Y) (r : C ⟶ B) (w : z' ≫ s = r ≫ z) : |
| 27 | SquareFrame.lineBundleSquareFrame L z frame s z' r w = |
| 28 | RepresentationTheory.Theta.Geometric.Pullback.SquareFrames.pullbackSquareFrame s z' z r w.symm L.sheaf frame := by |
| 29 | simp only [SquareFrame.lineBundleSquareFrame, RepresentationTheory.Theta.Geometric.Pullback.SquareFrames.pullbackSquareFrame, RepresentationTheory.Theta.Geometric.FactoredPullbackFrames.factoredPullbackFrame, |
| 30 | RepresentationTheory.Theta.Geometric.Pullback.FrameComposition.pullbackGlobalFrame, structureModulePullbackIso_eq] |
| 31 | rfl |
| 32 | |
| 33 | theorem lineBundleSquareFrame_comp {X Y Z B C D : Scheme.{0}} |
| 34 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Z) (k : D ⟶ Z) (frame : (L.pullback k).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule D) |
| 35 | (f : X ⟶ Y) (g : Y ⟶ Z) (i : B ⟶ X) (j : C ⟶ Y) (a : B ⟶ C) (b : C ⟶ D) |
| 36 | (h₁ : i ≫ f = a ≫ j) (h₂ : j ≫ g = b ≫ k) |
| 37 | (h₃ : i ≫ (f ≫ g) = (a ≫ b) ≫ k) : |
| 38 | SquareFrame.lineBundleSquareFrame (L.pullback g) j (SquareFrame.lineBundleSquareFrame L k frame g j b h₂) f i a h₁ = |
| 39 | (Scheme.Modules.pullback i).mapIso ((Scheme.Modules.pullbackComp f g).app L.sheaf) ≪≫ |
| 40 | SquareFrame.lineBundleSquareFrame L k frame (f ≫ g) i (a ≫ b) h₃ := by |
| 41 | simp only [lineBundleSquareFrame_eq] |
| 42 | exact RepresentationTheory.Theta.Geometric.Pullback.SquareComposition.pullbackSquareFrame_comp f g i j k a b h₁.symm h₂.symm h₃.symm L.sheaf frame |
| 43 | |
| 44 | theorem lineBundleSquareFrame_naturality {X Y B C : Scheme.{0}} |
| 45 | (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (e : L.sheaf ≅ M.sheaf) |
| 46 | (z : B ⟶ X) (frame : (M.pullback z).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule B) |
| 47 | (s : Y ⟶ X) (z' : C ⟶ Y) (r : C ⟶ B) (w : z' ≫ s = r ≫ z) : |
| 48 | (Scheme.Modules.pullback z').mapIso ((Scheme.Modules.pullback s).mapIso e) ≪≫ |
| 49 | SquareFrame.lineBundleSquareFrame M z frame s z' r w = |
| 50 | SquareFrame.lineBundleSquareFrame L z ((Scheme.Modules.pullback z).mapIso e ≪≫ frame) s z' r w := by |
| 51 | simp only [lineBundleSquareFrame_eq] |
| 52 | exact RepresentationTheory.Theta.Geometric.Pullback.SquareNaturality.pullbackSquareFrame_naturality s z' z r w.symm e frame |
| 53 | |
| 54 | end |
| 55 | |
| 56 | /-! The section-square frame of a globally framed line is the |
| 57 | restriction of its actual global frame, with native unit comparisons. -/ |
| 58 | |
| 59 | set_option backward.isDefEq.respectTransparency false |
| 60 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 61 | |
| 62 | theorem globalFrame_congr {X Y : Scheme.{0}} {f g : X ⟶ Y} (h : f = g) |
| 63 | {M : Y.Modules} (e : M ≅ SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj Y) : |
| 64 | (Scheme.Modules.pullbackCongr h).app M ≪≫ RepresentationTheory.Theta.Geometric.Pullback.FrameComposition.pullbackGlobalFrame g e = |
| 65 | RepresentationTheory.Theta.Geometric.Pullback.FrameComposition.pullbackGlobalFrame f e := by |
| 66 | cases h |
| 67 | simp only [RepresentationTheory.Theta.Geometric.Pullback.FrameEqualities.pullbackCongr_refl_app, Iso.refl_trans] |
| 68 | |
| 69 | theorem factoredGlobalFrame {X Y Z : Scheme.{0}} (f : X ⟶ Y) (g : Y ⟶ Z) |
| 70 | {M : Z.Modules} (e : M ≅ SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj Z) : |
| 71 | RepresentationTheory.Theta.Geometric.FactoredPullbackFrames.factoredPullbackFrame f g (RepresentationTheory.Theta.Geometric.Pullback.FrameComposition.pullbackGlobalFrame g e) = |
| 72 | RepresentationTheory.Theta.Geometric.Pullback.FrameComposition.pullbackGlobalFrame (f ≫ g) e := by |
| 73 | have h := congrArg (fun d => ((Scheme.Modules.pullbackComp f g).app M).symm ≪≫ d) |
| 74 | (RepresentationTheory.Theta.Geometric.Pullback.FrameComposition.pullbackGlobalFrame_comp f g e) |
| 75 | simpa only [RepresentationTheory.Theta.Geometric.FactoredPullbackFrames.factoredPullbackFrame, Iso.trans_assoc, Iso.symm_self_id_assoc] using h.symm |
| 76 | |
| 77 | theorem lineBundleSquareFrame_global {X Y A B : Scheme.{0}} (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 78 | (e : L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) (z : A ⟶ X) (f : Y ⟶ X) |
| 79 | (w : B ⟶ Y) (a : B ⟶ A) (h : w ≫ f = a ≫ z) : |
| 80 | SquareFrame.lineBundleSquareFrame L z |
| 81 | ((Scheme.Modules.pullback z).mapIso e ≪≫ AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso z) f w a h = |
| 82 | (Scheme.Modules.pullback w).mapIso |
| 83 | ((Scheme.Modules.pullback f).mapIso e ≪≫ AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f) ≪≫ |
| 84 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso w := by |
| 85 | rw [lineBundleSquareFrame_eq] |
| 86 | simp only [structureModulePullbackIso_eq] |
| 87 | change RepresentationTheory.Theta.Geometric.Pullback.SquareFrames.pullbackSquareFrame f w z a h.symm L.sheaf (RepresentationTheory.Theta.Geometric.Pullback.FrameComposition.pullbackGlobalFrame z e) = |
| 88 | RepresentationTheory.Theta.Geometric.Pullback.FrameComposition.pullbackGlobalFrame w (RepresentationTheory.Theta.Geometric.Pullback.FrameComposition.pullbackGlobalFrame f e) |
| 89 | unfold RepresentationTheory.Theta.Geometric.Pullback.SquareFrames.pullbackSquareFrame |
| 90 | rw [factoredGlobalFrame, globalFrame_congr h, RepresentationTheory.Theta.Geometric.Pullback.FrameComposition.pullbackGlobalFrame_comp] |
| 91 | |
| 92 | theorem lineBundleSquareFrame_global_of_normalized {X Y A B : Scheme.{0}} (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 93 | (e : L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) (z : A ⟶ X) |
| 94 | (frame : (L.pullback z).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A) |
| 95 | (hz : (Scheme.Modules.pullback z).mapIso e ≪≫ AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso z = frame) |
| 96 | (f : Y ⟶ X) (w : B ⟶ Y) (a : B ⟶ A) (h : w ≫ f = a ≫ z) : |
| 97 | SquareFrame.lineBundleSquareFrame L z frame f w a h = |
| 98 | (Scheme.Modules.pullback w).mapIso |
| 99 | ((Scheme.Modules.pullback f).mapIso e ≪≫ AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f) ≪≫ |
| 100 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso w := by |
| 101 | rw [← hz] |
| 102 | exact lineBundleSquareFrame_global L e z f w a h |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.LineBundle.GlobalSquareFrame |