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.Iterated.Powers |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.Powers |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.PowerLocus |
| 4 | |
| 5 | /-! # Power Stability -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Ampleness is invariant under positive tensor powers, with finite affine covers in one degree. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped BigOperators |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {X Y : Scheme.{u}} {L : Line.Bundles.LineBundle X} |
| 19 | |
| 20 | /-- The two possible orders of iterated powers are canonically isomorphic. -/ |
| 21 | def Line.Bundles.LineBundle.tensorPowerSwapIso (L : Line.Bundles.LineBundle X) (m n : ℕ) : |
| 22 | ((L.tensorPower n).tensorPower m).sheaf ≅ ((L.tensorPower m).tensorPower n).sheaf := |
| 23 | (L.tensorPowerComposeIso m n).symm ≪≫ |
| 24 | eqToIso (congrArg (fun d => (L.tensorPower d).sheaf) (Nat.mul_comm m n)) ≪≫ |
| 25 | L.tensorPowerComposeIso n m |
| 26 | |
| 27 | /-- Every positive tensor power of an ample line bundle is ample. -/ |
| 28 | theorem Line.Bundles.LineBundle.IsAmple.tensorPower (hL : L.IsAmple) (m : ℕ) (hm : 0 < m) : |
| 29 | (L.tensorPower m).IsAmple := by |
| 30 | obtain ⟨hX, h⟩ := (L.isAmple_iff_tensorPower).mp hL |
| 31 | apply ((L.tensorPower m).isAmple_iff_tensorPower).mpr |
| 32 | refine ⟨hX, fun x => ?_⟩ |
| 33 | obtain ⟨n, hn, s, hx, hs⟩ := h x |
| 34 | let t := TensorPower.Maps.tensorPowerSection s m ≫ (L.tensorPowerSwapIso m n).hom |
| 35 | have he : Ample.LineBundles.sectionNonvanishing t = Ample.LineBundles.sectionNonvanishing s := |
| 36 | (Ample.Powers.sectionNonvanishing_comp_iso _ (L.tensorPowerSwapIso m n)).trans |
| 37 | (Section.PowerLocus.sectionNonvanishing_tensorPowerSection (L := L.tensorPower n) s m hm) |
| 38 | exact ⟨n, hn, t, he.symm ▸ hx, he.symm ▸ hs⟩ |
| 39 | |
| 40 | /-- If a positive power is ample, the original line bundle is ample. -/ |
| 41 | theorem Line.Bundles.LineBundle.IsAmple.of_tensorPower (m : ℕ) (hm : 0 < m) (hL : (L.tensorPower m).IsAmple) : |
| 42 | L.IsAmple := by |
| 43 | obtain ⟨hX, h⟩ := ((L.tensorPower m).isAmple_iff_tensorPower).mp hL |
| 44 | apply L.isAmple_iff_tensorPower.mpr |
| 45 | refine ⟨hX, fun x => ?_⟩ |
| 46 | obtain ⟨n, hn, s, hx, hs⟩ := h x |
| 47 | let t := s ≫ (L.tensorPowerComposeIso n m).inv |
| 48 | have he : Ample.LineBundles.sectionNonvanishing t = Ample.LineBundles.sectionNonvanishing s := |
| 49 | Ample.Powers.sectionNonvanishing_comp_iso s (L.tensorPowerComposeIso n m).symm |
| 50 | exact ⟨n * m, Nat.mul_pos hn hm, t, he.symm ▸ hx, he.symm ▸ hs⟩ |
| 51 | |
| 52 | theorem Line.Bundles.LineBundle.isAmple_tensorPower_iff (L : Line.Bundles.LineBundle X) (m : ℕ) (hm : 0 < m) : |
| 53 | (L.tensorPower m).IsAmple ↔ L.IsAmple := |
| 54 | ⟨Line.Bundles.LineBundle.IsAmple.of_tensorPower m hm, fun h => h.tensorPower m hm⟩ |
| 55 | |
| 56 | /-- Relative ampleness is also invariant under positive powers. -/ |
| 57 | theorem Line.Bundles.LineBundle.isRelativelyAmple_tensorPower_iff (L : Line.Bundles.LineBundle X) (f : X ⟶ Y) |
| 58 | (m : ℕ) (hm : 0 < m) : |
| 59 | (L.tensorPower m).IsRelativelyAmple f ↔ L.IsRelativelyAmple f := by |
| 60 | constructor |
| 61 | · intro h U hU |
| 62 | exact Line.Bundles.LineBundle.IsAmple.of_tensorPower m hm ((h U hU).of_iso (L.tensorPowerPullbackIso m (f ⁻¹ᵁ U).ι)) |
| 63 | · intro h U hU |
| 64 | exact ((h U hU).tensorPower m hm).of_iso (L.tensorPowerPullbackIso m (f ⁻¹ᵁ U).ι).symm |
| 65 | |
| 66 | /-- An ample line bundle has a finite affine nonvanishing cover by sections of one positive power. -/ |
| 67 | theorem Line.Bundles.LineBundle.IsAmple.finite_common_power_cover (hL : L.IsAmple) : |
| 68 | ∃ (d : ℕ) (_ : 0 < d) (k : ℕ) |
| 69 | (s : Fin k → (Line.Bundles.structureModule X ⟶ (L.tensorPower d).sheaf)), |
| 70 | (∀ i, IsAffineOpen (Ample.LineBundles.sectionNonvanishing (s i))) ∧ |
| 71 | ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i) := by |
| 72 | classical |
| 73 | obtain ⟨k, n, hn, s, hs, hcover⟩ := hL.finite_tensorPower_cover |
| 74 | let d := ∏ i, n i |
| 75 | have hd : 0 < d := Finset.prod_pos (fun i _ => hn i) |
| 76 | have hdiv (i : Fin k) : n i ∣ d := Finset.dvd_prod_of_mem n (Finset.mem_univ i) |
| 77 | let q : Fin k → ℕ := fun i => d / n i |
| 78 | have hq (i : Fin k) : q i * n i = d := Nat.div_mul_cancel (hdiv i) |
| 79 | have hqpos (i : Fin k) : 0 < q i := by |
| 80 | apply Nat.pos_of_ne_zero |
| 81 | intro hz |
| 82 | have hzero : d = 0 := (hq i).symm.trans (by rw [hz, zero_mul]) |
| 83 | exact (Nat.ne_of_gt hd) hzero |
| 84 | let e (i : Fin k) : ((L.tensorPower (n i)).tensorPower (q i)).sheaf ≅ (L.tensorPower d).sheaf := |
| 85 | (L.tensorPowerComposeIso (q i) (n i)).symm ≪≫ |
| 86 | eqToIso (congrArg (fun a => (L.tensorPower a).sheaf) (hq i)) |
| 87 | let t (i : Fin k) : Line.Bundles.structureModule X ⟶ (L.tensorPower d).sheaf := |
| 88 | TensorPower.Maps.tensorPowerSection (s i) (q i) ≫ (e i).hom |
| 89 | have ht (i : Fin k) : Ample.LineBundles.sectionNonvanishing (t i) = Ample.LineBundles.sectionNonvanishing (s i) := |
| 90 | (Ample.Powers.sectionNonvanishing_comp_iso _ (e i)).trans |
| 91 | (Section.PowerLocus.sectionNonvanishing_tensorPowerSection (L := L.tensorPower (n i)) (s i) (q i) (hqpos i)) |
| 92 | refine ⟨d, hd, k, t, fun i => (ht i).symm ▸ hs i, fun x => ?_⟩ |
| 93 | obtain ⟨i, hi⟩ := hcover x |
| 94 | exact ⟨i, (ht i).symm ▸ hi⟩ |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |