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.UnitarySplitting.HeisenbergStability |
| 2 | import OAI.RepresentationTheory.Weil.UnitarySplitting.DensityMeasure |
| 3 | |
| 4 | /-! # Kernel -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.Kernel.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The kernel of the actual oscillator extension consists exactly of |
| 11 | unit circle scalars, for all fields in the UnitarySplitting statement. -/ |
| 12 | |
| 13 | variable {F : Type} [NormedField F] [CompleteSpace F] [LocallyCompactSpace F] [CharZero F] |
| 14 | variable [MeasurableSpace F] [BorelSpace F] {d : ℕ} |
| 15 | |
| 16 | omit [MeasurableSpace F] [BorelSpace F] in |
| 17 | theorem heisenberg_translation_apply (hF : ¬ DiscreteTopology F) |
| 18 | (ψ : AddChar F ℂ) (hψ : Continuous (fun x : F => ψ x)) (hunit : ∀ t, ‖ψ t‖ = 1) |
| 19 | (q : Local.FunctionsMetaplectic.Construction.Position F d) (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat F d) (x : Local.FunctionsMetaplectic.Construction.Position F d) : |
| 20 | (HeisenbergStability.Construction.heisenbergOperator hF ψ hψ hunit (Sum.elim q 0) f).val x = f.val (x - q) := by |
| 21 | change Local.FunctionsMetaplectic.Construction.heisenbergFunction ψ (Sum.elim q 0) f.val x = _ |
| 22 | simp [Local.FunctionsMetaplectic.Construction.heisenbergFunction, Pi.sub_def] |
| 23 | |
| 24 | theorem unitary_heisenberg_commutant_scalar (hF : ¬ DiscreteTopology F) |
| 25 | (ψ : AddChar F ℂ) (hψ : Continuous (fun x : F => ψ x)) |
| 26 | (hunit : ∀ t, ‖ψ t‖ = 1) (hnontrivial : ∃ t, ψ t ≠ 1) |
| 27 | (A : Local.FunctionsMetaplectic.Construction.schwartzBruhat F d →ₗ[ℂ] Local.FunctionsMetaplectic.Construction.schwartzBruhat F d) |
| 28 | (henergy : ∀ f, Local.FunctionsMetaplectic.Construction.l2Energy F d (A f) = Local.FunctionsMetaplectic.Construction.l2Energy F d f) |
| 29 | (hA : ∀ v f, A (HeisenbergStability.Construction.heisenbergOperator hF ψ hψ hunit v f) = |
| 30 | HeisenbergStability.Construction.heisenbergOperator hF ψ hψ hunit v (A f)) : |
| 31 | ∃ z : Circle, ∀ f, A f = (z : ℂ) • f := by |
| 32 | let : SecondCountableTopology F := TestSpaceAnalysis.Construction.localField_secondCountable F hF |
| 33 | let M (p : Local.FunctionsMetaplectic.Construction.Position F d) : Local.FunctionsMetaplectic.Construction.schwartzBruhat F d →ₗ[ℂ] Local.FunctionsMetaplectic.Construction.schwartzBruhat F d := |
| 34 | (HeisenbergStability.Construction.heisenbergOperator hF ψ hψ hunit (Sum.elim 0 p)).toLinearMap |
| 35 | have hM (p : Local.FunctionsMetaplectic.Construction.Position F d) (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat F d) (x : Local.FunctionsMetaplectic.Construction.Position F d) : |
| 36 | (M p f).val x = UltraMultiplier.Construction.modulationCharacter ψ p x * f.val x := by |
| 37 | change Local.FunctionsMetaplectic.Construction.heisenbergFunction ψ (Sum.elim 0 p) f.val x = _ |
| 38 | simp [Local.FunctionsMetaplectic.Construction.heisenbergFunction, UltraMultiplier.Construction.modulationCharacter, Local.FunctionsMetaplectic.Construction.dot] |
| 39 | have hnorm (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat F d) (x : Local.FunctionsMetaplectic.Construction.Position F d) : ‖(A f).val x‖ = ‖f.val x‖ := |
| 40 | DensityMeasure.Construction.energy_commutant_preserves_norm F ψ hψ hunit hnontrivial M hM A henergy |
| 41 | (fun p g => hA (Sum.elim 0 p) g) f x |
| 42 | have hzero (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat F d) (x : Local.FunctionsMetaplectic.Construction.Position F d) (hx : f.val x = 0) : |
| 43 | (A f).val x = 0 := by |
| 44 | apply norm_eq_zero.mp |
| 45 | rw [hnorm, hx, norm_zero] |
| 46 | obtain ⟨u, hu⟩ := LocalTest.Construction.exists_test_nonzero F hF d |
| 47 | obtain ⟨y, hy⟩ : ∃ y, u.val y ≠ 0 := by |
| 48 | by_contra! h |
| 49 | exact hu (Subtype.ext (funext h)) |
| 50 | let z : ℂ := (A u).val y / u.val y |
| 51 | have hz : ‖z‖ = 1 := by |
| 52 | rw [norm_div, hnorm, div_self (norm_ne_zero_iff.mpr hy)] |
| 53 | refine ⟨⟨z, mem_sphere_zero_iff_norm.mpr hz⟩, fun f => ?_⟩ |
| 54 | apply Subtype.ext |
| 55 | funext x |
| 56 | let t := HeisenbergStability.Construction.heisenbergOperator hF ψ hψ hunit (Sum.elim (x - y) 0) u |
| 57 | have ht : t.val x = u.val y := by |
| 58 | rw [heisenberg_translation_apply] |
| 59 | simp |
| 60 | have hAt : (A t).val x = (A u).val y := by |
| 61 | change (A (HeisenbergStability.Construction.heisenbergOperator hF ψ hψ hunit (Sum.elim (x - y) 0) u)).val x = _ |
| 62 | rw [hA, heisenberg_translation_apply] |
| 63 | simp |
| 64 | have hh := hzero (f - (f.val x / u.val y) • t) x (by |
| 65 | change f.val x - (f.val x / u.val y) * t.val x = 0 |
| 66 | rw [ht, div_mul_cancel₀ _ hy, sub_self]) |
| 67 | rw [map_sub, map_smul] at hh |
| 68 | change (A f).val x - (f.val x / u.val y) * (A t).val x = 0 at hh |
| 69 | rw [hAt] at hh |
| 70 | change (A f).val x = z * f.val x |
| 71 | rw [sub_eq_zero] at hh |
| 72 | rw [hh] |
| 73 | dsimp [z] |
| 74 | ring |
| 75 | |
| 76 | variable {E : Type} [NormedField E] [Algebra F E] {m n : ℕ} |
| 77 | variable (σ : E ≃ₐ[F] E) |
| 78 | variable (H : Matrix (Fin m) (Fin m) E) (K : Matrix (Fin n) (Fin n) E) |
| 79 | variable (c : Oscillator.Construction.SymplecticFrame σ H K) (ψ : AddChar F ℂ) |
| 80 | |
| 81 | theorem circleProjection_kernel (hF : ¬ DiscreteTopology F) |
| 82 | (hψ : Continuous (fun x : F => ψ x)) (hunit : ∀ t, ‖ψ t‖ = 1) |
| 83 | (hnontrivial : ∃ t, ψ t ≠ 1) (a : Oscillator.Construction.CircleExtension σ H K c ψ) : |
| 84 | Oscillator.Construction.circleProjection σ H K c ψ a = 1 ↔ |
| 85 | ∃ z : Circle, Oscillator.Construction.circleScalar σ H K c ψ z = a := by |
| 86 | constructor |
| 87 | · intro ha |
| 88 | have hA (v : Local.FunctionsMetaplectic.Construction.PhaseSpace F (m * n)) (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat F (m * n)) : |
| 89 | a.val.2 (HeisenbergStability.Construction.heisenbergOperator hF ψ hψ hunit v f) = |
| 90 | HeisenbergStability.Construction.heisenbergOperator hF ψ hψ hunit v (a.val.2 f) := by |
| 91 | have hgraph : Local.FunctionsMetaplectic.Construction.heisenbergGraph ψ (c.coordinates (c.coordinates.symm v)) f |
| 92 | (HeisenbergStability.Construction.heisenbergOperator hF ψ hψ hunit v f) := by |
| 93 | rw [c.coordinates.apply_symm_apply] |
| 94 | rfl |
| 95 | have hh := (a.property.2 (c.coordinates.symm v) f |
| 96 | (HeisenbergStability.Construction.heisenbergOperator hF ψ hψ hunit v f)).mp hgraph |
| 97 | have ha' : a.val.1 = 1 := ha |
| 98 | change (a.val.2 (HeisenbergStability.Construction.heisenbergOperator hF ψ hψ hunit v f)).val = |
| 99 | Local.FunctionsMetaplectic.Construction.heisenbergFunction ψ (c.coordinates (a.val.1.val (c.coordinates.symm v))) |
| 100 | (a.val.2 f).val at hh |
| 101 | rw [ha'] at hh |
| 102 | change (a.val.2 (HeisenbergStability.Construction.heisenbergOperator hF ψ hψ hunit v f)).val = |
| 103 | Local.FunctionsMetaplectic.Construction.heisenbergFunction ψ (c.coordinates (c.coordinates.symm v)) (a.val.2 f).val at hh |
| 104 | rw [c.coordinates.apply_symm_apply] at hh |
| 105 | exact Subtype.ext hh |
| 106 | obtain ⟨z, hz⟩ := unitary_heisenberg_commutant_scalar hF ψ hψ hunit hnontrivial |
| 107 | a.val.2.toLinearMap a.property.1 hA |
| 108 | refine ⟨z, ?_⟩ |
| 109 | apply Subtype.ext |
| 110 | apply Prod.ext |
| 111 | · exact ha.symm |
| 112 | · apply LinearEquiv.ext |
| 113 | intro f |
| 114 | exact (hz f).symm |
| 115 | · rintro ⟨z, rfl⟩ |
| 116 | exact Oscillator.Construction.circleScalar_projects_to_one σ H K c ψ z |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.RepresentationTheory.Weil.UnitarySplitting.Kernel.Construction |