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.AbelianModuli.HilbertConstruction.Family.FramedSectionEvaluation |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.SectionPullbackComposition |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.BaseChange |
| 4 | |
| 5 | /-! # Framed Evaluation Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Family.FramedEvaluationBaseChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Framed section evaluation commutes with an arbitrary base-change |
| 12 | square, using the actual pullback-composition and equality isomorphisms. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | variable {S T X Y : Scheme.{u}} |
| 18 | |
| 19 | def familySectionFiberComparison (L : Line.Bundles.LineBundle X) |
| 20 | (q : T ⟶ S) (f : Y ⟶ X) (x : S ⟶ X) (y : T ⟶ Y) (h : y ≫ f = q ≫ x) : |
| 21 | ((L.pullback f).pullback y).sheaf ≅ ((L.pullback x).pullback q).sheaf := |
| 22 | (Scheme.Modules.pullbackComp y f).app L.sheaf ≪≫ |
| 23 | (Scheme.Modules.pullbackCongr h).app L.sheaf ≪≫ |
| 24 | ((Scheme.Modules.pullbackComp q x).app L.sheaf).symm |
| 25 | |
| 26 | theorem familySectionFiberComparison_section (L : Line.Bundles.LineBundle X) |
| 27 | (q : T ⟶ S) (f : Y ⟶ X) (x : S ⟶ X) (y : T ⟶ Y) (h : y ≫ f = q ≫ x) |
| 28 | (a : Line.Bundles.structureModule X ⟶ L.sheaf) : |
| 29 | Ample.LineBundles.pullbackSection y (Ample.LineBundles.pullbackSection f a) ≫ (familySectionFiberComparison L q f x y h).hom = |
| 30 | Ample.LineBundles.pullbackSection q (Ample.LineBundles.pullbackSection x a) := by |
| 31 | calc |
| 32 | _ = (Ample.LineBundles.pullbackSection y (Ample.LineBundles.pullbackSection f a) ≫ |
| 33 | (Scheme.Modules.pullbackComp y f).hom.app L.sheaf) ≫ |
| 34 | (Scheme.Modules.pullbackCongr h).hom.app L.sheaf ≫ |
| 35 | (Scheme.Modules.pullbackComp q x).inv.app L.sheaf := by |
| 36 | simp only [familySectionFiberComparison, Iso.trans_hom, Iso.symm_hom, Category.assoc] |
| 37 | rfl |
| 38 | _ = Ample.LineBundles.pullbackSection (q ≫ x) a ≫ (Scheme.Modules.pullbackComp q x).inv.app L.sheaf := by |
| 39 | rw [Global.SectionPullbackComposition.pullbackSection_composition, ← Category.assoc, Global.SectionPullbackComposition.pullbackSection_equality] |
| 40 | _ = _ := by |
| 41 | rw [← Global.SectionPullbackComposition.pullbackSection_composition q x a] |
| 42 | simp only [Category.assoc, Iso.hom_inv_id_app] |
| 43 | exact Category.comp_id _ |
| 44 | |
| 45 | def familySectionFrameBaseChange (L : Line.Bundles.LineBundle X) |
| 46 | (q : T ⟶ S) (f : Y ⟶ X) (x : S ⟶ X) (y : T ⟶ Y) (h : y ≫ f = q ≫ x) |
| 47 | (e : (L.pullback x).sheaf ≅ Line.Bundles.structureModule S) : |
| 48 | ((L.pullback f).pullback y).sheaf ≅ Line.Bundles.structureModule T := |
| 49 | familySectionFiberComparison L q f x y h ≪≫ |
| 50 | (Scheme.Modules.pullback q).mapIso e ≪≫ Line.Bundles.structureModulePullbackIso q |
| 51 | |
| 52 | theorem sectionFrameValue_pullback (q : T ⟶ S) {M : S.Modules} |
| 53 | (e : M ≅ Line.Bundles.structureModule S) (a : Line.Bundles.structureModule S ⟶ M) : |
| 54 | Frame.Coordinates.structureModuleEndValue T (Ample.LineBundles.pullbackSection q a ≫ |
| 55 | (Scheme.Modules.pullback q).map e.hom ≫ (Line.Bundles.structureModulePullbackIso q).hom) = |
| 56 | q.appTop (Frame.Coordinates.structureModuleEndValue S (a ≫ e.hom)) := by |
| 57 | rw [← Scalar.BaseChange.structureModuleEndValue_baseChange] |
| 58 | congr 1 |
| 59 | simp only [Ample.LineBundles.pullbackSection, Functor.map_comp, Category.assoc] |
| 60 | |
| 61 | theorem familyFramedSectionValue_baseChange (L : Line.Bundles.LineBundle X) |
| 62 | (q : T ⟶ S) (f : Y ⟶ X) (x : S ⟶ X) (y : T ⟶ Y) (h : y ≫ f = q ≫ x) |
| 63 | (e : (L.pullback x).sheaf ≅ Line.Bundles.structureModule S) (a : Line.Bundles.structureModule X ⟶ L.sheaf) : |
| 64 | FramedSectionEvaluation.familyFramedSectionValue (L.pullback f) y (familySectionFrameBaseChange L q f x y h e) |
| 65 | (Ample.LineBundles.pullbackSection f a) = q.appTop (FramedSectionEvaluation.familyFramedSectionValue L x e a) := by |
| 66 | change Frame.Coordinates.structureModuleEndValue T (Ample.LineBundles.pullbackSection y (Ample.LineBundles.pullbackSection f a) ≫ |
| 67 | ((familySectionFiberComparison L q f x y h).hom ≫ |
| 68 | ((Scheme.Modules.pullback q).map e.hom ≫ (Line.Bundles.structureModulePullbackIso q).hom))) = _ |
| 69 | rw [← Category.assoc, familySectionFiberComparison_section] |
| 70 | exact sectionFrameValue_pullback q e (Ample.LineBundles.pullbackSection x a) |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Family.FramedEvaluationBaseChange |