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.Frame.Comparison |
| 2 | |
| 3 | /-! # Frame Transport -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.FrameTransport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | Transport sections through source and target frames, including after arbitrary |
| 11 | scheme pullback. Ratios are unchanged by this simultaneous transport. |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) {L M : Y.Modules} |
| 19 | |
| 20 | /-- Pull an automorphism of the structure module back using the canonical unit comparison. -/ |
| 21 | def pullbackStructureAutomorphism (a : Line.Bundles.structureModule Y ≅ Line.Bundles.structureModule Y) : |
| 22 | Line.Bundles.structureModule X ≅ Line.Bundles.structureModule X := |
| 23 | (Line.Bundles.structureModulePullbackIso f).symm ≪≫ (Scheme.Modules.pullback f).mapIso a ≪≫ |
| 24 | Line.Bundles.structureModulePullbackIso f |
| 25 | |
| 26 | /-- Pulling back a section transported through frames transports the pulled-back section. -/ |
| 27 | theorem pullbackSection_frameTransport (a : Line.Bundles.structureModule Y ≅ Line.Bundles.structureModule Y) |
| 28 | (e : L ≅ M) (s : Line.Bundles.structureModule Y ⟶ L) : |
| 29 | Ample.LineBundles.pullbackSection f (a.hom ≫ s ≫ e.hom) = |
| 30 | (pullbackStructureAutomorphism f a).hom ≫ Ample.LineBundles.pullbackSection f s ≫ |
| 31 | ((Scheme.Modules.pullback f).mapIso e).hom := by |
| 32 | change (Line.Bundles.structureModulePullbackIso f).inv ≫ |
| 33 | (Scheme.Modules.pullback f).map (a.hom ≫ s ≫ e.hom) = |
| 34 | ((Line.Bundles.structureModulePullbackIso f).inv ≫ (Scheme.Modules.pullback f).map a.hom ≫ |
| 35 | (Line.Bundles.structureModulePullbackIso f).hom) ≫ |
| 36 | ((Line.Bundles.structureModulePullbackIso f).inv ≫ (Scheme.Modules.pullback f).map s) ≫ |
| 37 | (Scheme.Modules.pullback f).map e.hom |
| 38 | simp only [Functor.map_comp, Category.assoc, Iso.hom_inv_id_assoc] |
| 39 | |
| 40 | theorem pullbackSection_frameTransport_isIso (a : Line.Bundles.structureModule Y ≅ Line.Bundles.structureModule Y) |
| 41 | (e : L ≅ M) (s : Line.Bundles.structureModule Y ⟶ L) [IsIso (Ample.LineBundles.pullbackSection f s)] : |
| 42 | IsIso (Ample.LineBundles.pullbackSection f (a.hom ≫ s ≫ e.hom)) := by |
| 43 | rw [pullbackSection_frameTransport] |
| 44 | infer_instance |
| 45 | |
| 46 | /-- Source-frame and target-frame transport preserve local ratios. -/ |
| 47 | theorem frameCoordinate_pullback_frameTransport (a : Line.Bundles.structureModule Y ≅ Line.Bundles.structureModule Y) |
| 48 | (e : L ≅ M) (s t : Line.Bundles.structureModule Y ⟶ L) [IsIso (Ample.LineBundles.pullbackSection f s)] : |
| 49 | letI := pullbackSection_frameTransport_isIso f a e s |
| 50 | Frame.Coordinates.frameCoordinate (Ample.LineBundles.pullbackSection f (a.hom ≫ s ≫ e.hom)) |
| 51 | (Ample.LineBundles.pullbackSection f (a.hom ≫ t ≫ e.hom)) = |
| 52 | Frame.Coordinates.frameCoordinate (Ample.LineBundles.pullbackSection f s) (Ample.LineBundles.pullbackSection f t) := by |
| 53 | have hs := pullbackSection_frameTransport f a e s |
| 54 | have ht := pullbackSection_frameTransport f a e t |
| 55 | have hsi := pullbackSection_frameTransport_isIso f a e s |
| 56 | have hc := @Frame.FrameRestriction.frameCoordinate_congr X ((Scheme.Modules.pullback f).obj M) |
| 57 | _ _ _ _ hsi inferInstance hs ht |
| 58 | exact hc.trans |
| 59 | ((Frame.FrameRestriction.frameCoordinate_targetIso ((pullbackStructureAutomorphism f a).hom ≫ Ample.LineBundles.pullbackSection f s) |
| 60 | ((pullbackStructureAutomorphism f a).hom ≫ Ample.LineBundles.pullbackSection f t) |
| 61 | ((Scheme.Modules.pullback f).mapIso e)).trans |
| 62 | (Frame.Comparison.frameCoordinate_sourceIso (Ample.LineBundles.pullbackSection f s) (Ample.LineBundles.pullbackSection f t) |
| 63 | (pullbackStructureAutomorphism f a))) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.FrameTransport |