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.TorsionFunctoriality |
| 2 | |
| 3 | /-! # Torsion Embedding -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.TorsionEmbedding.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | The level-two kernel uses the same étale q-torsion plane, embedded in |
| 11 | q²-torsion. The scheme below is built by the zero-fiber universal property; |
| 12 | the source subgroup is unchanged and remains killed by q on all tests. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {g : ℕ} {S : Scheme.{u}} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 21 | |
| 22 | theorem torsionInclusion_pow_of_dvd {m n : ℕ} (hmn : m ∣ n) : |
| 23 | A.torsionInclusion m ^ n = 1 := by |
| 24 | obtain ⟨k, rfl⟩ := hmn |
| 25 | rw [pow_mul, A.torsionInclusion_pow, one_pow] |
| 26 | |
| 27 | /-- The canonical closed embedding of m-torsion in n-torsion for m | n. -/ |
| 28 | def torsionLevelEmbedding {m n : ℕ} (hmn : m ∣ n) : |
| 29 | A.torsionScheme m ⟶ A.torsionScheme n := |
| 30 | (A.torsionSchemePointsEquiv n (A.torsionScheme m)).symm |
| 31 | ⟨A.torsionInclusion m, torsionInclusion_pow_of_dvd A hmn⟩ |
| 32 | |
| 33 | theorem torsionLevelEmbedding_inclusion {m n : ℕ} (hmn : m ∣ n) : |
| 34 | torsionLevelEmbedding A hmn ≫ A.torsionInclusion n = A.torsionInclusion m := |
| 35 | congrArg (fun x : A.torsionPoints n (A.torsionScheme m) => x.val) |
| 36 | ((A.torsionSchemePointsEquiv n (A.torsionScheme m)).apply_symm_apply _) |
| 37 | |
| 38 | instance torsionLevelEmbedding_mono {m n : ℕ} (hmn : m ∣ n) : |
| 39 | Mono (torsionLevelEmbedding A hmn) := by |
| 40 | have : Mono (torsionLevelEmbedding A hmn ≫ A.torsionInclusion n) := by |
| 41 | rw [torsionLevelEmbedding_inclusion] |
| 42 | infer_instance |
| 43 | exact mono_of_mono (torsionLevelEmbedding A hmn) (A.torsionInclusion n) |
| 44 | |
| 45 | instance torsionLevelEmbedding_closed {m n : ℕ} (hmn : m ∣ n) : |
| 46 | IsClosedImmersion (torsionLevelEmbedding A hmn).left := by |
| 47 | have h := congrArg (fun f => f.left) (torsionLevelEmbedding_inclusion A hmn) |
| 48 | have : IsClosedImmersion |
| 49 | ((torsionLevelEmbedding A hmn).left ≫ (A.torsionInclusion n).left) := |
| 50 | (congrArg IsClosedImmersion h).mpr |
| 51 | (inferInstanceAs (IsClosedImmersion (A.torsionInclusion m).left)) |
| 52 | exact IsClosedImmersion.of_comp _ (A.torsionInclusion n).left |
| 53 | |
| 54 | /-- Any chosen q-torsion subgroup, in particular the active étale plane, |
| 55 | is placed inside q²-torsion without replacing its source scheme. -/ |
| 56 | def qTorsionAtLevelTwo (q : ℕ) {H : Over S} (i : H ⟶ A.torsionScheme q) : |
| 57 | H ⟶ A.torsionScheme (q ^ 2) := |
| 58 | i ≫ torsionLevelEmbedding A (show q ∣ q ^ 2 by exact ⟨q, pow_two q⟩) |
| 59 | |
| 60 | theorem qTorsionAtLevelTwo_inclusion (q : ℕ) {H : Over S} |
| 61 | (i : H ⟶ A.torsionScheme q) : |
| 62 | qTorsionAtLevelTwo A q i ≫ A.torsionInclusion (q ^ 2) = i ≫ A.torsionInclusion q := by |
| 63 | exact (Category.assoc _ _ _).trans |
| 64 | (congrArg (fun f => i ≫ f) (torsionLevelEmbedding_inclusion A _)) |
| 65 | |
| 66 | theorem qTorsionAtLevelTwo_killedByQ (q : ℕ) {H : Over S} |
| 67 | (i : H ⟶ A.torsionScheme q) (T : Over S) (x : T ⟶ H) : |
| 68 | (x ≫ qTorsionAtLevelTwo A q i ≫ A.torsionInclusion (q ^ 2)) ^ q = 1 := by |
| 69 | have h : (x ≫ i ≫ A.torsionInclusion q) ^ q = 1 := by |
| 70 | rw [← Category.assoc, ← MonObj.comp_pow, A.torsionInclusion_pow, MonObj.comp_one] |
| 71 | exact (congrArg (fun f => (x ≫ f) ^ q) (qTorsionAtLevelTwo_inclusion A q i)).trans h |
| 72 | |
| 73 | instance qTorsionAtLevelTwo_mono (q : ℕ) {H : Over S} |
| 74 | (i : H ⟶ A.torsionScheme q) [Mono i] : Mono (qTorsionAtLevelTwo A q i) := |
| 75 | inferInstanceAs (Mono (i ≫ torsionLevelEmbedding A _)) |
| 76 | |
| 77 | instance qTorsionAtLevelTwo_closed (q : ℕ) {H : Over S} |
| 78 | (i : H ⟶ A.torsionScheme q) [IsClosedImmersion i.left] : |
| 79 | IsClosedImmersion (qTorsionAtLevelTwo A q i).left := |
| 80 | inferInstanceAs (IsClosedImmersion (i.left ≫ (torsionLevelEmbedding A _).left)) |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.TorsionEmbedding.Construction |