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.PullbackComposition |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Power.PullbackUnits |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.ModuleIsomorphisms |
| 4 | |
| 5 | /-! # Power Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every tensor power of a line bundle commutes with arbitrary base change. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X Y Z : Scheme.{u}} |
| 18 | |
| 19 | theorem LineBundle.PowerBaseChange.powerPullbackComparison_comp_isIso_iff (f : X ⟶ Y) (g : Y ⟶ Z) (L : Z.Modules) |
| 20 | (n : ℕ) [IsIso (Power.PullbackComparison.powerPullbackComparison f ((Scheme.Modules.pullback g).obj L) n)] : |
| 21 | IsIso ((Scheme.Modules.pullback f).map (Power.PullbackComparison.powerPullbackComparison g L n)) ↔ |
| 22 | IsIso (Power.PullbackComparison.powerPullbackComparison (f ≫ g) L n) := by |
| 23 | have : IsIso (TensorPower.Maps.tensorPowerMap ((Scheme.Modules.pullbackComp f g).hom.app L) n) := |
| 24 | (TensorPower.Maps.tensorPowerFunctor X n).map_isIso _ |
| 25 | have h := congrArg IsIso (Power.PullbackComposition.powerPullbackComparison_comp f g L n) |
| 26 | simpa only [isIso_comp_right_iff, isIso_comp_left_iff] using h.to_iff |
| 27 | |
| 28 | theorem LineBundle.PowerBaseChange.powerPullbackComparison_isIso_of_trivial {L : Y.Modules} (f : X ⟶ Y) |
| 29 | (e : L ≅ Line.Bundles.structureModule Y) (n : ℕ) : IsIso (Power.PullbackComparison.powerPullbackComparison f L n) := by |
| 30 | have : IsIso (TensorPower.Maps.tensorPowerMap e.hom n) := (TensorPower.Maps.tensorPowerFunctor Y n).map_isIso _ |
| 31 | have : IsIso (TensorPower.Maps.tensorPowerMap ((Scheme.Modules.pullback f).map e.hom) n) := |
| 32 | (TensorPower.Maps.tensorPowerFunctor X n).map_isIso _ |
| 33 | have h : IsIso (Power.PullbackComparison.powerPullbackComparison f L n ≫ |
| 34 | TensorPower.Maps.tensorPowerMap ((Scheme.Modules.pullback f).map e.hom) n) := by |
| 35 | rw [← Power.PullbackComparison.powerPullbackComparison_natural] |
| 36 | infer_instance |
| 37 | exact (isIso_comp_right_iff _ _).mp h |
| 38 | |
| 39 | theorem LineBundle.PowerBaseChange.lineBundle_powerPullbackComparison_isIso (f : X ⟶ Y) (L : Line.Bundles.LineBundle Y) (n : ℕ) : |
| 40 | IsIso (Power.PullbackComparison.powerPullbackComparison f L.sheaf n) := by |
| 41 | apply Local.ModuleIsomorphisms.moduleMap_isIso_of_locally |
| 42 | intro x |
| 43 | obtain ⟨U, hxU, ⟨e⟩⟩ := L.locallyTrivial (f x) |
| 44 | have hU : IsIso (Power.PullbackComparison.powerPullbackComparison (f ∣_ U) ((Scheme.Modules.pullback U.ι).obj L.sheaf) n) := |
| 45 | LineBundle.PowerBaseChange.powerPullbackComparison_isIso_of_trivial (f ∣_ U) e n |
| 46 | have hc : IsIso (Power.PullbackComparison.powerPullbackComparison ((f ∣_ U) ≫ U.ι) L.sheaf n) := |
| 47 | (LineBundle.PowerBaseChange.powerPullbackComparison_comp_isIso_iff (f ∣_ U) U.ι L.sheaf n).mp |
| 48 | ((Scheme.Modules.pullback (f ∣_ U)).map_isIso _) |
| 49 | have hc' : IsIso (Power.PullbackComparison.powerPullbackComparison ((f ⁻¹ᵁ U).ι ≫ f) L.sheaf n) := by |
| 50 | rw [← morphismRestrict_ι f U] |
| 51 | exact hc |
| 52 | exact ⟨f ⁻¹ᵁ U, hxU, (LineBundle.PowerBaseChange.powerPullbackComparison_comp_isIso_iff (f ⁻¹ᵁ U).ι f L.sheaf n).mpr hc'⟩ |
| 53 | |
| 54 | def Line.Bundles.LineBundle.powerBaseChangeIso (f : X ⟶ Y) (L : Line.Bundles.LineBundle Y) (n : ℕ) : |
| 55 | ((L.tensorPower n).pullback f).sheaf ≅ ((L.pullback f).tensorPower n).sheaf := by |
| 56 | exact @asIso X.Modules _ _ _ (Power.PullbackComparison.powerPullbackComparison f L.sheaf n) |
| 57 | (LineBundle.PowerBaseChange.lineBundle_powerPullbackComparison_isIso f L n) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |