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 Mathlib.Analysis.Normed.Operator.Compact.FiniteDimension |
| 2 | import Mathlib.Analysis.InnerProductSpace.Adjoint |
| 3 | |
| 4 | /-! # Compact Isometry -/ |
| 5 | |
| 6 | namespace OAI.Analysis.HodgeTheory.Decomposition.CompactIsometry.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A compact inner-product-preserving inclusion has finite-dimensional domain. -/ |
| 11 | |
| 12 | theorem submodule_projection_inner_ambient {E : Type*} |
| 13 | [NormedAddCommGroup E] [InnerProductSpace ℂ E] |
| 14 | (K : Submodule ℂ E) [CompleteSpace K] (u : E) (k : K) : |
| 15 | inner ℂ (K.orthogonalProjectionOnto u).val k.val = inner ℂ u k.val := |
| 16 | Submodule.inner_orthogonalProjectionOnto_eq_of_mem_right k u |
| 17 | |
| 18 | theorem finiteDimensional_of_compact_inner_preserving {E F : Type*} |
| 19 | [NormedAddCommGroup E] [InnerProductSpace ℂ E] [CompleteSpace E] |
| 20 | [NormedAddCommGroup F] [InnerProductSpace ℂ F] [CompleteSpace F] |
| 21 | (J : E →L[ℂ] F) (hJ : IsCompactOperator J) |
| 22 | (hinner : ∀ u v, inner ℂ (J u) (J v) = inner ℂ u v) : FiniteDimensional ℂ E := by |
| 23 | have hleft : J.adjoint.comp J = ContinuousLinearMap.id ℂ E := by |
| 24 | apply ContinuousLinearMap.ext |
| 25 | intro u |
| 26 | apply ext_inner_right ℂ |
| 27 | intro v |
| 28 | change inner ℂ (J.adjoint (J u)) v = inner ℂ u v |
| 29 | exact (ContinuousLinearMap.adjoint_inner_left J v (J u)).trans (hinner u v) |
| 30 | have hcompact := hJ.clm_comp J.adjoint |
| 31 | change IsCompactOperator (J.adjoint.comp J) at hcompact |
| 32 | rw [hleft] at hcompact |
| 33 | exact FiniteDimensional.of_isCompactOperator_id (𝕜 := ℂ) hcompact |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.Analysis.HodgeTheory.Decomposition.CompactIsometry.Constructions |