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.Tensor.PullbackComposition |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.PullbackUnits |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.LineBundles |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.ModuleIsomorphisms |
| 5 | |
| 6 | /-! # Tensor Base Change -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Tensor products of line bundles commute with every scheme base change. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {X Y Z : Scheme.{u}} |
| 19 | |
| 20 | theorem LineBundle.TensorBaseChange.tensorPullbackComparison_comp_isIso_iff (f : X ⟶ Y) (g : Y ⟶ Z) (M N : Z.Modules) |
| 21 | [IsIso (Tensor.PullbackComparison.tensorPullbackComparison f ((Scheme.Modules.pullback g).obj M) |
| 22 | ((Scheme.Modules.pullback g).obj N))] : |
| 23 | IsIso ((Scheme.Modules.pullback f).map (Tensor.PullbackComparison.tensorPullbackComparison g M N)) ↔ |
| 24 | IsIso (Tensor.PullbackComparison.tensorPullbackComparison (f ≫ g) M N) := by |
| 25 | have h := congrArg IsIso (Tensor.PullbackComposition.tensorPullbackComparison_comp f g M N) |
| 26 | simpa only [isIso_comp_right_iff, isIso_comp_left_iff] using h.to_iff |
| 27 | |
| 28 | /-- Local triviality makes the canonical tensor comparison invertible for arbitrary morphisms. -/ |
| 29 | theorem LineBundle.TensorBaseChange.lineBundle_tensorPullbackComparison_isIso (f : X ⟶ Y) (L M : Line.Bundles.LineBundle Y) : |
| 30 | IsIso (Tensor.PullbackComparison.tensorPullbackComparison f L.sheaf M.sheaf) := by |
| 31 | apply Local.ModuleIsomorphisms.moduleMap_isIso_of_locally |
| 32 | intro x |
| 33 | obtain ⟨U, hxU, ⟨e⟩⟩ := L.locallyTrivial (f x) |
| 34 | obtain ⟨V, hxV, ⟨d⟩⟩ := M.locallyTrivial (f x) |
| 35 | let W := U ⊓ V |
| 36 | let eW := L.frameRestrict (show W ≤ U from inf_le_left) e |
| 37 | let dW := M.frameRestrict (show W ≤ V from inf_le_right) d |
| 38 | have hW : IsIso (Tensor.PullbackComparison.tensorPullbackComparison (f ∣_ W) |
| 39 | ((Scheme.Modules.pullback W.ι).obj L.sheaf) |
| 40 | ((Scheme.Modules.pullback W.ι).obj M.sheaf)) := |
| 41 | Tensor.PullbackComposition.tensorPullbackComparison_isIso_of_trivial (f ∣_ W) eW dW |
| 42 | have hc : IsIso (Tensor.PullbackComparison.tensorPullbackComparison ((f ∣_ W) ≫ W.ι) L.sheaf M.sheaf) := |
| 43 | (LineBundle.TensorBaseChange.tensorPullbackComparison_comp_isIso_iff (f ∣_ W) W.ι L.sheaf M.sheaf).mp |
| 44 | ((Scheme.Modules.pullback (f ∣_ W)).map_isIso _) |
| 45 | have hc' : IsIso (Tensor.PullbackComparison.tensorPullbackComparison ((f ⁻¹ᵁ W).ι ≫ f) L.sheaf M.sheaf) := by |
| 46 | rw [← morphismRestrict_ι f W] |
| 47 | exact hc |
| 48 | refine ⟨f ⁻¹ᵁ W, ⟨hxU, hxV⟩, ?_⟩ |
| 49 | exact (LineBundle.TensorBaseChange.tensorPullbackComparison_comp_isIso_iff (f ⁻¹ᵁ W).ι f L.sheaf M.sheaf).mpr hc' |
| 50 | |
| 51 | /-- The actual tensor line bundle and arbitrary pullback commute. -/ |
| 52 | def Line.Bundles.LineBundle.tensorBaseChangeIso (f : X ⟶ Y) (L M : Line.Bundles.LineBundle Y) : |
| 53 | ((L.tensor M).pullback f).sheaf ≅ ((L.pullback f).tensor (M.pullback f)).sheaf := by |
| 54 | exact @asIso X.Modules _ _ _ (Tensor.PullbackComparison.tensorPullbackComparison f L.sheaf M.sheaf) |
| 55 | (LineBundle.TensorBaseChange.lineBundle_tensorPullbackComparison_isIso f L M) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |