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.RepresentationTheory.Weil.AdelicSplitting.ArchimedeanSpace |
| 2 | import Mathlib.Analysis.InnerProductSpace.Dual |
| 3 | |
| 4 | /-! # Dense Hilbert -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting.DenseHilbert.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A bounded conjugate-linear functional on a dense linear test space |
| 11 | has a unique Hilbert-space representative. This is a proved construction |
| 12 | from the continuous extension and the Riesz isometry. -/ |
| 13 | |
| 14 | open scoped InnerProductSpace ComplexConjugate |
| 15 | |
| 16 | variable {S H : Type*} [AddCommGroup S] [Module ℂ S] |
| 17 | variable [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H] |
| 18 | variable (P : S →ₗ[ℂ] H) (hP : DenseRange P) |
| 19 | |
| 20 | include hP |
| 21 | |
| 22 | omit [CompleteSpace H] in |
| 23 | theorem eq_of_dense_test_pairings (v w : H) |
| 24 | (h : ∀ f : S, ⟪P f, v⟫_ℂ = ⟪P f, w⟫_ℂ) : v = w := by |
| 25 | have hh (x : H) : ⟪x, v⟫_ℂ = ⟪x, w⟫_ℂ := by |
| 26 | have hs : IsClosed {y : H | ⟪y, v⟫_ℂ = ⟪y, w⟫_ℂ} := |
| 27 | isClosed_eq (by fun_prop) (by fun_prop) |
| 28 | have hr : Set.range P ⊆ {y : H | ⟪y, v⟫_ℂ = ⟪y, w⟫_ℂ} := by |
| 29 | rintro y ⟨f, rfl⟩ |
| 30 | exact h f |
| 31 | apply closure_minimal hr hs |
| 32 | rw [hP.closure_range] |
| 33 | trivial |
| 34 | have hz : ⟪v - w, v - w⟫_ℂ = 0 := by |
| 35 | rw [inner_sub_right, hh, sub_self] |
| 36 | exact sub_eq_zero.mp (inner_self_eq_zero.mp hz) |
| 37 | |
| 38 | theorem exists_vector_of_bounded_conjugate_linear |
| 39 | (L : S → ℂ) (hadd : ∀ f h, L (f + h) = L f + L h) |
| 40 | (hsmul : ∀ (z : ℂ) f, L (z • f) = conj z * L f) |
| 41 | (C : ℝ) (hC : 0 ≤ C) (hbound : ∀ f, ‖L f‖ ≤ C * ‖P f‖) : |
| 42 | ∃ v : H, ‖v‖ ≤ C ∧ ∀ f : S, ⟪P f, v⟫_ℂ = L f := by |
| 43 | let A : S →ₗ[ℂ] ℂ := |
| 44 | { toFun := fun f => conj (L f) |
| 45 | map_add' := fun f h => by rw [hadd, map_add] |
| 46 | map_smul' := fun z f => by |
| 47 | rw [hsmul, map_mul, starRingEnd_self_apply] |
| 48 | rfl } |
| 49 | have hA (f : S) : ‖A f‖ ≤ C * ‖P f‖ := by |
| 50 | change ‖conj (L f)‖ ≤ _ |
| 51 | rw [RCLike.norm_conj] |
| 52 | exact hbound f |
| 53 | let T := A.extendOfNorm P |
| 54 | have hT (f : S) : T (P f) = conj (L f) := LinearMap.extendOfNorm_eq hP ⟨C, hA⟩ f |
| 55 | have hTnorm : ‖T‖ ≤ C := by |
| 56 | apply T.opNorm_le_bound hC |
| 57 | exact LinearMap.norm_extendOfNorm_apply_le hP C hA |
| 58 | let v := (InnerProductSpace.toDual ℂ H).symm T |
| 59 | refine ⟨v, ?_, fun f => ?_⟩ |
| 60 | · exact ((InnerProductSpace.toDual ℂ H).symm.norm_map T).trans_le hTnorm |
| 61 | · rw [← inner_conj_symm] |
| 62 | change conj ⟪(InnerProductSpace.toDual ℂ H).symm T, P f⟫_ℂ = L f |
| 63 | rw [InnerProductSpace.toDual_symm_apply, hT, starRingEnd_self_apply] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.RepresentationTheory.Weil.AdelicSplitting.DenseHilbert.Construction |