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.ArithmeticGeometry.OrdinaryLocus.Openness.ModuleLocalIso |
| 2 | |
| 3 | /-! # Line Bundle Tensor Pullback -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.LineBundleTensorPullback.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Tensor products of line bundles commute with arbitrary pullback. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem isIso_pullbackSheafTensorMap_comp {X Y Z : Scheme.{u}} |
| 16 | (f : X ⟶ Y) (g : Y ⟶ Z) (M N : Z.Modules) |
| 17 | [IsIso (TensorFunctoriality.Construction.pullbackSheafTensorMap g M N)] |
| 18 | [IsIso (TensorFunctoriality.Construction.pullbackSheafTensorMap f ((Scheme.Modules.pullback g).obj M) |
| 19 | ((Scheme.Modules.pullback g).obj N))] : |
| 20 | IsIso (TensorFunctoriality.Construction.pullbackSheafTensorMap (f ≫ g) M N) := by |
| 21 | have := TensorUnit.Construction.sheafTensorMap_isIso ((Scheme.Modules.pullbackComp f g).inv.app M) |
| 22 | ((Scheme.Modules.pullbackComp f g).inv.app N) |
| 23 | have : IsIso (TensorFunctoriality.Construction.pullbackSheafTensorMap (f ≫ g) M N ≫ |
| 24 | TensorFunctoriality.Construction.sheafTensorMap ((Scheme.Modules.pullbackComp f g).inv.app M) |
| 25 | ((Scheme.Modules.pullbackComp f g).inv.app N)) := by |
| 26 | rw [← TensorComposition.Construction.pullbackSheafTensorMap_comp] |
| 27 | infer_instance |
| 28 | exact IsIso.of_isIso_comp_right _ |
| 29 | (TensorFunctoriality.Construction.sheafTensorMap ((Scheme.Modules.pullbackComp f g).inv.app M) |
| 30 | ((Scheme.Modules.pullbackComp f g).inv.app N)) |
| 31 | |
| 32 | theorem isIso_map_pullbackSheafTensorMap {X Y Z : Scheme.{u}} |
| 33 | (f : X ⟶ Y) (g : Y ⟶ Z) (M N : Z.Modules) |
| 34 | [IsIso (TensorFunctoriality.Construction.pullbackSheafTensorMap (f ≫ g) M N)] |
| 35 | [IsIso (TensorFunctoriality.Construction.pullbackSheafTensorMap f ((Scheme.Modules.pullback g).obj M) |
| 36 | ((Scheme.Modules.pullback g).obj N))] : |
| 37 | IsIso ((Scheme.Modules.pullback f).map (TensorFunctoriality.Construction.pullbackSheafTensorMap g M N)) := by |
| 38 | have := TensorUnit.Construction.sheafTensorMap_isIso ((Scheme.Modules.pullbackComp f g).inv.app M) |
| 39 | ((Scheme.Modules.pullbackComp f g).inv.app N) |
| 40 | have : IsIso ((Scheme.Modules.pullbackComp f g).inv.app (SheafTensor.Construction.sheafTensor M N) ≫ |
| 41 | (Scheme.Modules.pullback f).map (TensorFunctoriality.Construction.pullbackSheafTensorMap g M N) ≫ |
| 42 | TensorFunctoriality.Construction.pullbackSheafTensorMap f ((Scheme.Modules.pullback g).obj M) |
| 43 | ((Scheme.Modules.pullback g).obj N)) := by |
| 44 | rw [TensorComposition.Construction.pullbackSheafTensorMap_comp] |
| 45 | infer_instance |
| 46 | have : IsIso ((Scheme.Modules.pullback f).map (TensorFunctoriality.Construction.pullbackSheafTensorMap g M N) ≫ |
| 47 | TensorFunctoriality.Construction.pullbackSheafTensorMap f ((Scheme.Modules.pullback g).obj M) |
| 48 | ((Scheme.Modules.pullback g).obj N)) := |
| 49 | IsIso.of_isIso_comp_left ((Scheme.Modules.pullbackComp f g).inv.app (SheafTensor.Construction.sheafTensor M N)) _ |
| 50 | exact IsIso.of_isIso_comp_right _ |
| 51 | (TensorFunctoriality.Construction.pullbackSheafTensorMap f ((Scheme.Modules.pullback g).obj M) |
| 52 | ((Scheme.Modules.pullback g).obj N)) |
| 53 | |
| 54 | theorem isIso_pullbackSheafTensorMap_of_isLineBundle {X Y : Scheme.{u}} |
| 55 | (f : X ⟶ Y) {M N : Y.Modules} (hM : LineBundle.Construction.IsLineBundle M) (hN : LineBundle.Construction.IsLineBundle N) : |
| 56 | IsIso (TensorFunctoriality.Construction.pullbackSheafTensorMap f M N) := by |
| 57 | apply ModuleLocalIso.Construction.isIso_of_locally_isIso_pullback |
| 58 | intro x |
| 59 | obtain ⟨V₁, hx₁, ⟨e₁⟩⟩ := hM (f x) |
| 60 | obtain ⟨V₂, hx₂, ⟨e₂⟩⟩ := hN (f x) |
| 61 | let V := V₁ ⊓ V₂ |
| 62 | let U := f ⁻¹ᵁ V |
| 63 | let r := f ∣_ V |
| 64 | let eM := TensorRestriction.Construction.restrictLineBundleTrivialization (show V ≤ V₁ from inf_le_left) e₁ |
| 65 | let eN := TensorRestriction.Construction.restrictLineBundleTrivialization (show V ≤ V₂ from inf_le_right) e₂ |
| 66 | have := TensorOpenComparison.Construction.isIso_pullbackSheafTensorMap_of_openImmersion V.ι M N |
| 67 | have := TensorUnit.Construction.isIso_pullbackSheafTensorMap_of_trivial r eM eN |
| 68 | have hr := isIso_pullbackSheafTensorMap_comp r V.ι M N |
| 69 | have hcomp : IsIso (TensorFunctoriality.Construction.pullbackSheafTensorMap (U.ι ≫ f) M N) := by |
| 70 | exact morphismRestrict_ι f V ▸ hr |
| 71 | have := TensorOpenComparison.Construction.isIso_pullbackSheafTensorMap_of_openImmersion U.ι |
| 72 | ((Scheme.Modules.pullback f).obj M) ((Scheme.Modules.pullback f).obj N) |
| 73 | exact ⟨U, ⟨hx₁, hx₂⟩, isIso_map_pullbackSheafTensorMap U.ι f M N⟩ |
| 74 | |
| 75 | def pullbackLineBundleTensorIso {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 76 | {M N : Y.Modules} (hM : LineBundle.Construction.IsLineBundle M) (hN : LineBundle.Construction.IsLineBundle N) : |
| 77 | (Scheme.Modules.pullback f).obj (SheafTensor.Construction.sheafTensor M N) ≅ |
| 78 | SheafTensor.Construction.sheafTensor ((Scheme.Modules.pullback f).obj M) ((Scheme.Modules.pullback f).obj N) := by |
| 79 | have := isIso_pullbackSheafTensorMap_of_isLineBundle f hM hN |
| 80 | exact asIso (TensorFunctoriality.Construction.pullbackSheafTensorMap f M N) |
| 81 | |
| 82 | def pullbackLineBundleTensorPowerIso {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 83 | {M : Y.Modules} (hM : LineBundle.Construction.IsLineBundle M) (n : ℕ) : |
| 84 | (Scheme.Modules.pullback f).obj (TensorRestriction.Construction.sheafTensorPower M n) ≅ |
| 85 | TensorRestriction.Construction.sheafTensorPower ((Scheme.Modules.pullback f).obj M) n := by |
| 86 | induction n with |
| 87 | | zero => exact LineBundle.Construction.pullbackStructureSheafIso f |
| 88 | | succ n ih => |
| 89 | exact pullbackLineBundleTensorIso f (TensorRestriction.Construction.isLineBundle_sheafTensorPower hM n) hM ≪≫ |
| 90 | SheafTensor.Construction.sheafTensorCongr ih (Iso.refl _) |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.LineBundleTensorPullback.Construction |