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.Power.SectionTransitions |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.PowerCoordinates |
| 3 | |
| 4 | /-! # Two Section Monomials -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TwoSectionMonomials |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual monomials in two global sections, all in one prescribed tensor degree, have the expected powers of their ratio on a denominator chart. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y : Scheme.{u}} {M : X.Modules} |
| 17 | |
| 18 | def tensorDegreeCast (M : X.Modules) {n d : ℕ} (h : n = d) : |
| 19 | TensorPower.PowerSheaf.tensorPowerModule M n ⟶ TensorPower.PowerSheaf.tensorPowerModule M d := |
| 20 | eqToHom (congrArg (TensorPower.PowerSheaf.tensorPowerModule M) h) |
| 21 | |
| 22 | theorem tensorPowerSection_degreeCast (s : Line.Bundles.structureModule X ⟶ M) {n d : ℕ} (h : n = d) : |
| 23 | TensorPower.Maps.tensorPowerSection s n ≫ tensorDegreeCast M h = TensorPower.Maps.tensorPowerSection s d := by |
| 24 | subst d |
| 25 | exact Category.comp_id _ |
| 26 | |
| 27 | def twoSectionMonomial (s t : Line.Bundles.structureModule X ⟶ M) (d i : ℕ) (hi : i ≤ d) : |
| 28 | Line.Bundles.structureModule X ⟶ TensorPower.PowerSheaf.tensorPowerModule M d := |
| 29 | (TensorPower.Maps.tensorPowerSection t i ≫ Power.SectionTransitions.powerSectionTransition s i (d - i)) ≫ |
| 30 | tensorDegreeCast M (Nat.add_sub_of_le hi) |
| 31 | |
| 32 | theorem twoSectionMonomial_localCoordinate (f : Y ⟶ X) [IsOpenImmersion f] |
| 33 | (s t : Line.Bundles.structureModule X ⟶ M) [IsIso (Ample.LineBundles.pullbackSection f s)] (d i : ℕ) (hi : i ≤ d) : |
| 34 | letI := Power.Nonvanishing.tensorPowerSection_pullback_isIso f s d |
| 35 | Frame.Coordinates.frameCoordinate (Ample.LineBundles.pullbackSection f (TensorPower.Maps.tensorPowerSection s d)) |
| 36 | (Ample.LineBundles.pullbackSection f (twoSectionMonomial s t d i hi)) = |
| 37 | Frame.Coordinates.frameCoordinate (Ample.LineBundles.pullbackSection f s) (Ample.LineBundles.pullbackSection f t) ^ i := by |
| 38 | have (n : ℕ) : IsIso (Ample.LineBundles.pullbackSection f (TensorPower.Maps.tensorPowerSection s n)) := |
| 39 | Power.Nonvanishing.tensorPowerSection_pullback_isIso f s n |
| 40 | exact (Power.SectionTransitions.frameCoordinate_pullback_postcomp f (TensorPower.Maps.tensorPowerSection s (i + (d - i))) |
| 41 | (TensorPower.Maps.tensorPowerSection s d) (tensorDegreeCast M (Nat.add_sub_of_le hi)) |
| 42 | (tensorPowerSection_degreeCast s (Nat.add_sub_of_le hi)) |
| 43 | (TensorPower.Maps.tensorPowerSection t i ≫ Power.SectionTransitions.powerSectionTransition s i (d - i))).trans |
| 44 | ((Power.SectionTransitions.frameCoordinate_powerSectionTransition f s i (d - i) (TensorPower.Maps.tensorPowerSection t i)).trans |
| 45 | (Local.PowerCoordinates.frameCoordinate_local_tensorPower f i s t)) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TwoSectionMonomials |