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.ComplexGroups.HolomorphicAlgebraicity.ConeEq |
| 2 | import Mathlib.Algebra.Module.Submodule.Union |
| 3 | import Mathlib.Analysis.Normed.Module.FiniteDimension |
| 4 | |
| 5 | /-! # Linear Polynomial -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.LinearPolynomial.Constructions.Cone |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Linear functionals and homogeneous polynomial substitution |
| 13 | -/ |
| 14 | |
| 15 | open Set _root_.MvPolynomial |
| 16 | |
| 17 | theorem exists_linear_functional_separating_finite_set |
| 18 | {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 19 | {S : Set E} (hS : S.Finite) {x : E} (hx : x ∉ S) : |
| 20 | ∃ ℓ : E →L[ℂ] ℂ, ∀ y ∈ S, ℓ x ≠ ℓ y := by |
| 21 | let : Finite S := hS.to_subtype |
| 22 | obtain ⟨ℓ, hℓ⟩ := Module.exists_dual_forall_apply_ne_zero (K := ℂ) |
| 23 | (fun y : S => x - y.val) (fun y => sub_ne_zero.mpr (fun h => hx (h ▸ y.property))) |
| 24 | refine ⟨ℓ.toContinuousLinearMap, ?_⟩ |
| 25 | intro y hy hxy |
| 26 | apply hℓ ⟨y, hy⟩ |
| 27 | change ℓ (x - y) = 0 |
| 28 | rw [map_sub] |
| 29 | exact sub_eq_zero.mpr hxy |
| 30 | |
| 31 | def linearPolynomial {ι : Type*} [Fintype ι] (ℓ : (ι → ℂ) →L[ℂ] ℂ) : MvPolynomial ι ℂ := by |
| 32 | classical |
| 33 | exact ∑ i : ι, C (ℓ (Pi.single i 1)) * X i |
| 34 | |
| 35 | theorem linearPolynomial_isHomogeneous {ι : Type*} [Fintype ι] |
| 36 | (ℓ : (ι → ℂ) →L[ℂ] ℂ) : (linearPolynomial ℓ).IsHomogeneous 1 := by |
| 37 | exact IsHomogeneous.sum Finset.univ _ 1 (fun i _ => isHomogeneous_C_mul_X _ i) |
| 38 | |
| 39 | theorem eval_linearPolynomial {ι : Type*} [Fintype ι] |
| 40 | (ℓ : (ι → ℂ) →L[ℂ] ℂ) (x : ι → ℂ) : eval x (linearPolynomial ℓ) = ℓ x := by |
| 41 | classical |
| 42 | have hx : (∑ i : ι, x i • Pi.single i (1 : ℂ)) = x := by |
| 43 | ext j |
| 44 | simp [Pi.smul_apply, Pi.single_apply] |
| 45 | calc |
| 46 | _ = ∑ i : ι, ℓ (Pi.single i 1) * x i := by |
| 47 | simp only [linearPolynomial, map_sum, map_mul, eval_C, eval_X] |
| 48 | _ = ∑ i : ι, ℓ (x i • Pi.single i 1) := by |
| 49 | apply Finset.sum_congr rfl |
| 50 | intro i _ |
| 51 | rw [map_smul, smul_eq_mul, mul_comm] |
| 52 | _ = ℓ (∑ i : ι, x i • Pi.single i 1) := (map_sum ℓ _ _).symm |
| 53 | _ = ℓ x := congrArg ℓ hx |
| 54 | |
| 55 | theorem exists_homogeneous_linear_substitution |
| 56 | {ι κ : Type*} [Fintype ι] |
| 57 | (L : (ι → ℂ) →L[ℂ] (κ → ℂ)) {P : MvPolynomial κ ℂ} {d : ℕ} |
| 58 | (hP : P.IsHomogeneous d) : |
| 59 | ∃ Q : MvPolynomial ι ℂ, Q.IsHomogeneous d ∧ ∀ x, eval x Q = eval (L x) P := by |
| 60 | let f : κ → MvPolynomial ι ℂ := fun j => |
| 61 | linearPolynomial ((ContinuousLinearMap.proj j).comp L) |
| 62 | refine ⟨eval₂ C f P, ?_, ?_⟩ |
| 63 | · simpa only [one_mul] using hP.eval₂ C f (fun r => isHomogeneous_C ι r) |
| 64 | (fun j => linearPolynomial_isHomogeneous _) |
| 65 | · intro x |
| 66 | rw [eval_eval₂] |
| 67 | have hC : (eval x).comp C = RingHom.id ℂ := by ext r; simp |
| 68 | rw [hC, eval₂_id] |
| 69 | have hfx : (fun j => eval x (f j)) = L x := by |
| 70 | funext j |
| 71 | exact eval_linearPolynomial _ x |
| 72 | rw [hfx] |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.LinearPolynomial.Constructions.Cone |