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.IntersectionTheory.ProjectionFormula.AugmentedCotangent |
| 2 | |
| 3 | /-! # Jet Product -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.JetProduct |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Product identities for first-order data at a rational point. -/ |
| 10 | |
| 11 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.AugmentedCotangent |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | variable {K : Type u} {R : Type v} [Field K] [CommRing R] [Algebra K R] |
| 16 | (ε : R →ₐ[K] K) |
| 17 | |
| 18 | theorem differential_mul (r s : R) : |
| 19 | AugmentedCotangent.differential ε (r * s) = ε r • AugmentedCotangent.differential ε s + ε s • AugmentedCotangent.differential ε r := by |
| 20 | change (AugmentedCotangent.ideal ε).toCotangent (AugmentedCotangent.center ε (r * s)) = |
| 21 | ((AugmentedCotangent.ideal ε).toCotangent.restrictScalars K) (ε r • AugmentedCotangent.center ε s) + |
| 22 | ((AugmentedCotangent.ideal ε).toCotangent.restrictScalars K) (ε s • AugmentedCotangent.center ε r) |
| 23 | rw [← map_add] |
| 24 | apply (AugmentedCotangent.ideal ε).toCotangent_eq.mpr |
| 25 | change r * s - algebraMap K R (ε (r * s)) - |
| 26 | (ε r • (s - algebraMap K R (ε s)) + ε s • (r - algebraMap K R (ε r))) ∈ (AugmentedCotangent.ideal ε) ^ 2 |
| 27 | rw [pow_two] |
| 28 | convert (AugmentedCotangent.ideal ε).mul_mem_mul (AugmentedCotangent.center ε r).property (AugmentedCotangent.center ε s).property using 1 |
| 29 | dsimp [AugmentedCotangent.center] |
| 30 | simp only [map_mul, Algebra.smul_def] |
| 31 | ring |
| 32 | |
| 33 | theorem jet_mul (r s : R) : |
| 34 | AugmentedCotangent.jet ε (r * s) = ε r • AugmentedCotangent.jet ε s + ε s • AugmentedCotangent.jet ε r - (ε r * ε s) • AugmentedCotangent.jet ε 1 := by |
| 35 | apply Prod.ext |
| 36 | · change ε (r * s) = ε r * ε s + ε s * ε r - (ε r * ε s) * ε 1 |
| 37 | simp [mul_comm] |
| 38 | · change AugmentedCotangent.differential ε (r * s) = |
| 39 | ε r • AugmentedCotangent.differential ε s + ε s • AugmentedCotangent.differential ε r - (ε r * ε s) • AugmentedCotangent.differential ε 1 |
| 40 | have h1 : AugmentedCotangent.differential ε 1 = 0 := by |
| 41 | simpa only [map_one] using AugmentedCotangent.differential_constant ε 1 |
| 42 | rw [h1, smul_zero, sub_zero, differential_mul] |
| 43 | |
| 44 | theorem jet_constant (c : K) : AugmentedCotangent.jet ε (algebraMap K R c) = c • AugmentedCotangent.jet ε 1 := by |
| 45 | rw [← map_smul] |
| 46 | congr 1 |
| 47 | exact ((Algebra.smul_def c (1 : R)).trans (mul_one _)).symm |
| 48 | |
| 49 | def subalgebra (V : Submodule K (K × (AugmentedCotangent.ideal ε).Cotangent)) (h1 : AugmentedCotangent.jet ε 1 ∈ V) : Subalgebra K R where |
| 50 | carrier := {r | AugmentedCotangent.jet ε r ∈ V} |
| 51 | algebraMap_mem' c := by |
| 52 | change AugmentedCotangent.jet ε (algebraMap K R c) ∈ V |
| 53 | rw [jet_constant] |
| 54 | exact V.smul_mem c h1 |
| 55 | zero_mem' := by simp |
| 56 | one_mem' := h1 |
| 57 | add_mem' {r s} hr hs := by |
| 58 | change AugmentedCotangent.jet ε (r + s) ∈ V |
| 59 | rw [map_add] |
| 60 | exact V.add_mem hr hs |
| 61 | mul_mem' {r s} hr hs := by |
| 62 | change AugmentedCotangent.jet ε (r * s) ∈ V |
| 63 | rw [jet_mul] |
| 64 | exact V.sub_mem (V.add_mem (V.smul_mem (ε r) hs) (V.smul_mem (ε s) hr)) |
| 65 | (V.smul_mem (ε r * ε s) h1) |
| 66 | |
| 67 | theorem span_of_adjoin_eq_top (S : Set R) (hS : Algebra.adjoin K S = ⊤) : |
| 68 | Submodule.span K (insert (AugmentedCotangent.jet ε 1) (AugmentedCotangent.jet ε '' S)) = ⊤ := by |
| 69 | let V := Submodule.span K (insert (AugmentedCotangent.jet ε 1) (AugmentedCotangent.jet ε '' S)) |
| 70 | have h1 : AugmentedCotangent.jet ε 1 ∈ V := Submodule.subset_span (Set.mem_insert _ _) |
| 71 | have hle : Algebra.adjoin K S ≤ subalgebra ε V h1 := by |
| 72 | apply Algebra.adjoin_le |
| 73 | intro r hr |
| 74 | exact Submodule.subset_span (Set.mem_insert_of_mem _ ⟨r, hr, rfl⟩) |
| 75 | apply top_unique |
| 76 | intro v _ |
| 77 | obtain ⟨r, rfl⟩ := AugmentedCotangent.jet_surjective ε v |
| 78 | exact hle (hS ▸ (show r ∈ (⊤ : Subalgebra K R) from trivial)) |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.JetProduct |