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.FredholmAlternative |
| 2 | import Mathlib.Analysis.InnerProductSpace.Adjoint |
| 3 | |
| 4 | /-! # Compact Energy -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.CompactEnergy.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Weak elliptic inversion from a compact lower-order inclusion and the graph inner product. -/ |
| 11 | |
| 12 | open _root_.Module InnerProductSpace _root_.ContinuousLinearMap |
| 13 | open scoped InnerProduct |
| 14 | |
| 15 | variable {𝕜 V H W : Type*} [RCLike 𝕜] |
| 16 | [NormedAddCommGroup V] [InnerProductSpace 𝕜 V] [CompleteSpace V] |
| 17 | [NormedAddCommGroup H] [InnerProductSpace 𝕜 H] [CompleteSpace H] |
| 18 | [NormedAddCommGroup W] [InnerProductSpace 𝕜 W] [CompleteSpace W] |
| 19 | |
| 20 | local notation "⟪" x ", " y "⟫" => inner 𝕜 x y |
| 21 | |
| 22 | /-- In a graph Hilbert norm, the energy operator is identity minus a compact operator. -/ |
| 23 | theorem graphEnergy_eq_identity_sub (J : V →L[𝕜] H) (D : V →L[𝕜] W) |
| 24 | (hgraph : ∀ u v, ⟪u, v⟫ = ⟪J u, J v⟫ + ⟪D u, D v⟫) : |
| 25 | D.adjoint.comp D = 1 - J.adjoint.comp J := by |
| 26 | ext u |
| 27 | apply ext_inner_right 𝕜 |
| 28 | intro v |
| 29 | simp only [comp_apply, sub_apply, inner_sub_left, adjoint_inner_left] |
| 30 | change ⟪D u, D v⟫ = ⟪u, v⟫ - ⟪J u, J v⟫ |
| 31 | rw [hgraph] |
| 32 | abel |
| 33 | |
| 34 | /-- Compactness supplies invertibility of the energy operator once its derivative has zero kernel. -/ |
| 35 | theorem graphEnergy_bijective (J : V →L[𝕜] H) (D : V →L[𝕜] W) |
| 36 | (hJ : IsCompactOperator J) (hD : Function.Injective D) |
| 37 | (hgraph : ∀ u v, ⟪u, v⟫ = ⟪J u, J v⟫ + ⟪D u, D v⟫) : |
| 38 | Function.Bijective (D.adjoint.comp D) := by |
| 39 | let K : V →L[𝕜] V := J.adjoint.comp J |
| 40 | have hK : IsCompactOperator K := hJ.clm_comp J.adjoint |
| 41 | have hno : ¬ Module.End.HasEigenvalue (K : Module.End 𝕜 V) 1 := by |
| 42 | intro heigen |
| 43 | obtain ⟨u, hu⟩ := heigen.exists_hasEigenvector |
| 44 | have heq : K u = u := by |
| 45 | have h := hu.apply_eq_smul |
| 46 | change K u = (1 : 𝕜) • u at h |
| 47 | simpa only [one_smul] using h |
| 48 | have hzero : (D.adjoint.comp D) u = 0 := by |
| 49 | rw [graphEnergy_eq_identity_sub J D hgraph] |
| 50 | change u - K u = 0 |
| 51 | rw [heq, sub_self] |
| 52 | have hinj := (D.adjoint_comp_self_injective_iff).mpr hD |
| 53 | apply hu.2 |
| 54 | apply hinj |
| 55 | change (D.adjoint.comp D) u = (D.adjoint.comp D) 0 |
| 56 | simpa only [map_zero] using hzero |
| 57 | have hres := (hK.hasEigenvalue_or_mem_resolventSet (by norm_num : (1 : 𝕜) ≠ 0)).resolve_left hno |
| 58 | have hunit : IsUnit (1 - K) := by |
| 59 | simpa only [spectrum.mem_resolventSet_iff, map_one] using hres |
| 60 | rw [graphEnergy_eq_identity_sub J D hgraph] |
| 61 | exact ContinuousLinearMap.isUnit_iff_bijective.mp hunit |
| 62 | |
| 63 | /-- Every bounded functional has a unique weak solution when the energy derivative is injective. -/ |
| 64 | theorem graphEnergy_weak_existsUnique (J : V →L[𝕜] H) (D : V →L[𝕜] W) |
| 65 | (hJ : IsCompactOperator J) (hD : Function.Injective D) |
| 66 | (hgraph : ∀ u v, ⟪u, v⟫ = ⟪J u, J v⟫ + ⟪D u, D v⟫) |
| 67 | (ℓ : V →L[𝕜] 𝕜) : ∃! u : V, ∀ v : V, ⟪D u, D v⟫ = ℓ v := by |
| 68 | obtain ⟨u, hu⟩ := (graphEnergy_bijective J D hJ hD hgraph).surjective |
| 69 | ((InnerProductSpace.toDual 𝕜 V).symm ℓ) |
| 70 | refine ⟨u, ?_, ?_⟩ |
| 71 | · intro v |
| 72 | rw [← adjoint_inner_left D, ← comp_apply, hu, InnerProductSpace.toDual_symm_apply] |
| 73 | · intro u' hu' |
| 74 | apply (graphEnergy_bijective J D hJ hD hgraph).injective |
| 75 | apply ext_inner_right 𝕜 |
| 76 | intro v |
| 77 | rw [hu, InnerProductSpace.toDual_symm_apply] |
| 78 | simpa only [comp_apply, adjoint_inner_left] using hu' v |
| 79 | |
| 80 | omit [CompleteSpace V] [CompleteSpace W] in |
| 81 | /-- The derivative is injective on the orthogonal complement of its actual kernel. -/ |
| 82 | theorem derivative_injective_on_kernel_orthogonal (D : V →L[𝕜] W) : |
| 83 | Function.Injective (D.comp (D.ker)ᗮ.subtypeL) := by |
| 84 | have hzero : ∀ u : (D.ker)ᗮ, D u.val = 0 → u = 0 := by |
| 85 | intro u hu |
| 86 | apply Subtype.ext |
| 87 | apply (inner_self_eq_zero (𝕜 := 𝕜)).mp |
| 88 | exact Submodule.inner_right_of_mem_orthogonal (show u.val ∈ D.ker from hu) u.property |
| 89 | intro u v huv |
| 90 | apply sub_eq_zero.mp |
| 91 | apply hzero |
| 92 | change D (u.val - v.val) = 0 |
| 93 | rw [map_sub] |
| 94 | exact sub_eq_zero.mpr huv |
| 95 | |
| 96 | /-- A functional vanishing on the derivative kernel has a unique normalized weak solution. -/ |
| 97 | theorem graphEnergy_weak_existsUnique_orthogonal (J : V →L[𝕜] H) (D : V →L[𝕜] W) |
| 98 | (hJ : IsCompactOperator J) |
| 99 | (hgraph : ∀ u v, ⟪u, v⟫ = ⟪J u, J v⟫ + ⟪D u, D v⟫) |
| 100 | (ℓ : V →L[𝕜] 𝕜) (hℓ : ∀ u ∈ D.ker, ℓ u = 0) : |
| 101 | ∃! u : (D.ker)ᗮ, ∀ v : V, ⟪D u.val, D v⟫ = ℓ v := by |
| 102 | let Q := (D.ker)ᗮ |
| 103 | let JQ := J.comp Q.subtypeL |
| 104 | let DQ := D.comp Q.subtypeL |
| 105 | let ℓQ := ℓ.comp Q.subtypeL |
| 106 | have hgraphQ : ∀ u v : Q, ⟪u, v⟫ = ⟪JQ u, JQ v⟫ + ⟪DQ u, DQ v⟫ := by |
| 107 | intro u v |
| 108 | exact hgraph u.val v.val |
| 109 | obtain ⟨u, hu, huniq⟩ := graphEnergy_weak_existsUnique JQ DQ |
| 110 | (hJ.comp_clm Q.subtypeL) (derivative_injective_on_kernel_orthogonal D) hgraphQ ℓQ |
| 111 | refine ⟨u, ?_, ?_⟩ |
| 112 | · intro v |
| 113 | have : CompleteSpace D.ker := D.isClosed_ker.completeSpace_coe |
| 114 | obtain ⟨k, hk, q, hq, rfl⟩ := D.ker.exists_add_mem_mem_orthogonal v |
| 115 | have hkD : D k = 0 := hk |
| 116 | have hqeq : ⟪D u.val, D q⟫ = ℓ q := hu ⟨q, hq⟩ |
| 117 | rw [map_add, hkD, zero_add, map_add, hℓ k hk, zero_add] |
| 118 | exact hqeq |
| 119 | · intro u' hu' |
| 120 | apply huniq |
| 121 | intro v |
| 122 | exact hu' v.val |
| 123 | |
| 124 | end |
| 125 | |
| 126 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.CompactEnergy.CM.Construction |