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.Local.FieldFourier |
| 2 | |
| 3 | /-! # Field Oscillator -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.Local.FieldOscillator.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Transport of the independently defined oscillator and bare metaplectic groups. -/ |
| 12 | |
| 13 | open _root_.Matrix |
| 14 | |
| 15 | variable {k l : Type} [NormedField k] [NormedField l] [LocallyCompactSpace k] [LocallyCompactSpace l] |
| 16 | [MeasurableSpace k] [BorelSpace k] [MeasurableSpace l] [BorelSpace l] |
| 17 | [SecondCountableTopology k] [SecondCountableTopology l] |
| 18 | |
| 19 | def fieldOscillatorTransport (e : k ≃+* l) (he : Continuous e) (he' : Continuous e.symm) |
| 20 | (n : ℕ) (ψ : AddChar k ℂ) : FunctionsMetaplectic.Construction.Oscillator k n ψ →* FunctionsMetaplectic.Construction.Oscillator l n (FieldFourier.Construction.fieldCharacter e ψ) where |
| 21 | toFun a := by |
| 22 | let C := FieldCoordinates.Construction.testSpaceTransport (FieldCoordinates.Construction.fieldPositionEquiv e he he' n) |
| 23 | refine ⟨(FieldFourier.Construction.fieldSymplecticMap e n a.val.1, C.symm.trans (a.val.2.trans C)), ?_, ?_⟩ |
| 24 | · intro f |
| 25 | have h := FieldCoordinates.Construction.testSpaceTransport_energy_congr (FieldCoordinates.Construction.fieldPositionEquiv e he he' n) |
| 26 | (a.val.2 (C.symm f)) (C.symm f) (a.property.1 (C.symm f)) |
| 27 | change FunctionsMetaplectic.Construction.l2Energy l n (C (a.val.2 (C.symm f))) = FunctionsMetaplectic.Construction.l2Energy l n f |
| 28 | exact h.trans (congrArg (FunctionsMetaplectic.Construction.l2Energy l n) (C.apply_symm_apply f)) |
| 29 | · intro v f h |
| 30 | have hv : (fun i => e (e.symm (v i))) = v := by ext i; exact e.apply_symm_apply _ |
| 31 | obtain ⟨f, rfl⟩ := C.surjective f |
| 32 | obtain ⟨h, rfl⟩ := C.surjective h |
| 33 | change FunctionsMetaplectic.Construction.heisenbergGraph (FieldFourier.Construction.fieldCharacter e ψ) v (C f) (C h) ↔ |
| 34 | FunctionsMetaplectic.Construction.heisenbergGraph (FieldFourier.Construction.fieldCharacter e ψ) (FunctionsMetaplectic.Construction.symplecticAction (FieldFourier.Construction.fieldSymplecticMap e n a.val.1) v) |
| 35 | (C (a.val.2 (C.symm (C f)))) (C (a.val.2 (C.symm (C h)))) |
| 36 | rw [C.symm_apply_apply, C.symm_apply_apply, ← hv, FieldFourier.Construction.fieldSymplecticMap_action, |
| 37 | ← FieldFourier.Construction.fieldHeisenbergGraph e he he', ← FieldFourier.Construction.fieldHeisenbergGraph e he he'] |
| 38 | exact a.property.2 (fun i => e.symm (v i)) f h |
| 39 | map_one' := by |
| 40 | apply Subtype.ext |
| 41 | apply Prod.ext |
| 42 | · exact (FieldFourier.Construction.fieldSymplecticMap e n).map_one |
| 43 | · let C := FieldCoordinates.Construction.testSpaceTransport (FieldCoordinates.Construction.fieldPositionEquiv e he he' n) |
| 44 | apply LinearEquiv.ext |
| 45 | intro f |
| 46 | change C (C.symm f) = f |
| 47 | exact C.apply_symm_apply f |
| 48 | map_mul' a b := by |
| 49 | apply Subtype.ext |
| 50 | apply Prod.ext |
| 51 | · exact (FieldFourier.Construction.fieldSymplecticMap e n).map_mul a.val.1 b.val.1 |
| 52 | · let C := FieldCoordinates.Construction.testSpaceTransport (FieldCoordinates.Construction.fieldPositionEquiv e he he' n) |
| 53 | apply LinearEquiv.ext |
| 54 | intro f |
| 55 | change C (a.val.2 (b.val.2 (C.symm f))) = |
| 56 | C (a.val.2 (C.symm (C (b.val.2 (C.symm f))))) |
| 57 | rw [C.symm_apply_apply] |
| 58 | |
| 59 | theorem fieldOscillatorTransport_apply (e : k ≃+* l) (he : Continuous e) (he' : Continuous e.symm) |
| 60 | (n : ℕ) (ψ : AddChar k ℂ) (a : FunctionsMetaplectic.Construction.Oscillator k n ψ) (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) : |
| 61 | (fieldOscillatorTransport e he he' n ψ a).val.2 |
| 62 | (FieldCoordinates.Construction.testSpaceTransport (FieldCoordinates.Construction.fieldPositionEquiv e he he' n) f) = |
| 63 | FieldCoordinates.Construction.testSpaceTransport (FieldCoordinates.Construction.fieldPositionEquiv e he he' n) (a.val.2 f) := by |
| 64 | let C := FieldCoordinates.Construction.testSpaceTransport (FieldCoordinates.Construction.fieldPositionEquiv e he he' n) |
| 65 | change C (a.val.2 (C.symm (C f))) = C (a.val.2 f) |
| 66 | rw [C.symm_apply_apply] |
| 67 | |
| 68 | theorem fieldOscillatorTransport_projection (e : k ≃+* l) (he : Continuous e) (he' : Continuous e.symm) |
| 69 | (n : ℕ) (ψ : AddChar k ℂ) (a : FunctionsMetaplectic.Construction.Oscillator k n ψ) : |
| 70 | OscillatorProjection.Construction.oscillatorProjection l n (FieldFourier.Construction.fieldCharacter e ψ) (fieldOscillatorTransport e he he' n ψ a) = |
| 71 | FieldFourier.Construction.fieldSymplecticMap e n (OscillatorProjection.Construction.oscillatorProjection k n ψ a) := rfl |
| 72 | |
| 73 | theorem fieldOscillatorTransport_minus (e : k ≃+* l) (he : Continuous e) (he' : Continuous e.symm) |
| 74 | (n : ℕ) (ψ : AddChar k ℂ) : |
| 75 | fieldOscillatorTransport e he he' n ψ (FunctionsMetaplectic.Construction.oscillatorMinus k n ψ) = |
| 76 | FunctionsMetaplectic.Construction.oscillatorMinus l n (FieldFourier.Construction.fieldCharacter e ψ) := by |
| 77 | apply Subtype.ext |
| 78 | apply Prod.ext |
| 79 | · exact (FieldFourier.Construction.fieldSymplecticMap e n).map_one |
| 80 | · let C := FieldCoordinates.Construction.testSpaceTransport (FieldCoordinates.Construction.fieldPositionEquiv e he he' n) |
| 81 | apply LinearEquiv.ext |
| 82 | intro f |
| 83 | change C (-(C.symm f)) = -f |
| 84 | rw [map_neg, C.apply_symm_apply] |
| 85 | |
| 86 | theorem fieldOscillatorTransport_bare (e : k ≃+* l) (he : Continuous e) (he' : Continuous e.symm) |
| 87 | (n : ℕ) (ψ : AddChar k ℂ) (a : FunctionsMetaplectic.Construction.Metaplectic k n ψ) : |
| 88 | fieldOscillatorTransport e he he' n ψ a.val ∈ FunctionsMetaplectic.Construction.metaplecticSubgroup l n (FieldFourier.Construction.fieldCharacter e ψ) := by |
| 89 | let F := fieldOscillatorTransport e he he' n ψ |
| 90 | have hle : FunctionsMetaplectic.Construction.metaplecticSubgroup k n ψ ≤ (FunctionsMetaplectic.Construction.metaplecticSubgroup l n (FieldFourier.Construction.fieldCharacter e ψ)).comap F := by |
| 91 | change Subgroup.closure (commutatorSet (FunctionsMetaplectic.Construction.Oscillator k n ψ) ∪ {FunctionsMetaplectic.Construction.oscillatorMinus k n ψ}) ≤ _ |
| 92 | rw [Subgroup.closure_le] |
| 93 | intro x hx |
| 94 | change F x ∈ FunctionsMetaplectic.Construction.metaplecticSubgroup l n (FieldFourier.Construction.fieldCharacter e ψ) |
| 95 | rcases hx with hx | hx |
| 96 | · obtain ⟨a, b, rfl⟩ := mem_commutatorSet_iff.mp hx |
| 97 | rw [map_commutatorElement] |
| 98 | exact Subgroup.subset_closure (Or.inl (commutator_mem_commutatorSet _ _)) |
| 99 | · obtain rfl := Set.mem_singleton_iff.mp hx |
| 100 | rw [fieldOscillatorTransport_minus] |
| 101 | exact Subgroup.subset_closure (Or.inr rfl) |
| 102 | exact hle a.property |
| 103 | |
| 104 | def fieldMetaplecticTransport (e : k ≃+* l) (he : Continuous e) (he' : Continuous e.symm) |
| 105 | (n : ℕ) (ψ : AddChar k ℂ) (a : FunctionsMetaplectic.Construction.Metaplectic k n ψ) : FunctionsMetaplectic.Construction.Metaplectic l n (FieldFourier.Construction.fieldCharacter e ψ) := |
| 106 | ⟨fieldOscillatorTransport e he he' n ψ a.val, fieldOscillatorTransport_bare e he he' n ψ a⟩ |
| 107 | |
| 108 | theorem fieldMetaplecticTransport_scalar_pullback |
| 109 | (e : k ≃+* l) (he : Continuous e) (he' : Continuous e.symm) |
| 110 | (n : ℕ) (ψ : AddChar k ℂ) (a : FunctionsMetaplectic.Construction.Metaplectic k n ψ) (z : ℂ) |
| 111 | (h : ∀ f : FunctionsMetaplectic.Construction.schwartzBruhat l n, (fieldMetaplecticTransport e he he' n ψ a).val.val.2 f = z • f) |
| 112 | (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) : a.val.val.2 f = z • f := by |
| 113 | let C := FieldCoordinates.Construction.testSpaceTransport (FieldCoordinates.Construction.fieldPositionEquiv e he he' n) |
| 114 | have hh := h (C f) |
| 115 | change C (a.val.val.2 (C.symm (C f))) = z • C f at hh |
| 116 | rw [C.symm_apply_apply] at hh |
| 117 | apply C.injective |
| 118 | rw [map_smul] |
| 119 | exact hh |
| 120 | |
| 121 | end |
| 122 | |
| 123 | /-! Pullback of actual bare metaplectic elements along a topological field isomorphism. -/ |
| 124 | |
| 125 | def metaplecticCharacterCongr |
| 126 | {k : Type} [NormedField k] [LocallyCompactSpace k] [MeasurableSpace k] [BorelSpace k] |
| 127 | {n : ℕ} {ψ η : AddChar k ℂ} (h : ψ = η) : FunctionsMetaplectic.Construction.Metaplectic k n ψ ≃* FunctionsMetaplectic.Construction.Metaplectic k n η := by |
| 128 | subst η |
| 129 | exact MulEquiv.refl _ |
| 130 | |
| 131 | theorem metaplecticCharacterCongr_projection |
| 132 | {k : Type} [NormedField k] [LocallyCompactSpace k] [MeasurableSpace k] [BorelSpace k] |
| 133 | {n : ℕ} {ψ η : AddChar k ℂ} (h : ψ = η) (a : FunctionsMetaplectic.Construction.Metaplectic k n ψ) : |
| 134 | FunctionsMetaplectic.Construction.metaplecticProjection k n η (metaplecticCharacterCongr h a) = FunctionsMetaplectic.Construction.metaplecticProjection k n ψ a := by |
| 135 | subst η |
| 136 | rfl |
| 137 | |
| 138 | theorem metaplecticCharacterCongr_operator |
| 139 | {k : Type} [NormedField k] [LocallyCompactSpace k] [MeasurableSpace k] [BorelSpace k] |
| 140 | {n : ℕ} {ψ η : AddChar k ℂ} (h : ψ = η) (a : FunctionsMetaplectic.Construction.Metaplectic k n ψ) : |
| 141 | (metaplecticCharacterCongr h a).val.val.2 = a.val.val.2 := by |
| 142 | subst η |
| 143 | rfl |
| 144 | |
| 145 | theorem fieldCharacter_symm {k l : Type} [Field k] [Field l] |
| 146 | (e : k ≃+* l) (ψ : AddChar k ℂ) : FieldFourier.Construction.fieldCharacter e.symm (FieldFourier.Construction.fieldCharacter e ψ) = ψ := by |
| 147 | ext x |
| 148 | change ψ (e.symm (e x)) = ψ x |
| 149 | rw [e.symm_apply_apply] |
| 150 | |
| 151 | theorem fieldSymplecticMap_symm {k l : Type} [Field k] [Field l] |
| 152 | (e : k ≃+* l) (n : ℕ) (g : FunctionsMetaplectic.Construction.Symplectic k n) : |
| 153 | FieldFourier.Construction.fieldSymplecticMap e.symm n (FieldFourier.Construction.fieldSymplecticMap e n g) = g := by |
| 154 | apply Subtype.ext |
| 155 | ext i j |
| 156 | exact e.symm_apply_apply (g.val i j) |
| 157 | |
| 158 | variable {k l : Type} [NormedField k] [NormedField l] |
| 159 | [LocallyCompactSpace k] [LocallyCompactSpace l] |
| 160 | [MeasurableSpace k] [BorelSpace k] [MeasurableSpace l] [BorelSpace l] |
| 161 | [SecondCountableTopology k] [SecondCountableTopology l] |
| 162 | |
| 163 | def fieldMetaplecticPullback (e : k ≃+* l) (he : Continuous e) (he' : Continuous e.symm) |
| 164 | (n : ℕ) (ψ : AddChar k ℂ) (a : FunctionsMetaplectic.Construction.Metaplectic l n (FieldFourier.Construction.fieldCharacter e ψ)) : FunctionsMetaplectic.Construction.Metaplectic k n ψ := |
| 165 | metaplecticCharacterCongr (fieldCharacter_symm e ψ) |
| 166 | (fieldMetaplecticTransport e.symm he' he n (FieldFourier.Construction.fieldCharacter e ψ) a) |
| 167 | |
| 168 | theorem fieldMetaplecticPullback_projection |
| 169 | (e : k ≃+* l) (he : Continuous e) (he' : Continuous e.symm) |
| 170 | (n : ℕ) (ψ : AddChar k ℂ) (a : FunctionsMetaplectic.Construction.Metaplectic l n (FieldFourier.Construction.fieldCharacter e ψ)) : |
| 171 | FunctionsMetaplectic.Construction.metaplecticProjection k n ψ (fieldMetaplecticPullback e he he' n ψ a) = |
| 172 | FieldFourier.Construction.fieldSymplecticMap e.symm n (FunctionsMetaplectic.Construction.metaplecticProjection l n (FieldFourier.Construction.fieldCharacter e ψ) a) := by |
| 173 | rw [fieldMetaplecticPullback, metaplecticCharacterCongr_projection] |
| 174 | rfl |
| 175 | |
| 176 | theorem fieldMetaplecticPullback_operator |
| 177 | (e : k ≃+* l) (he : Continuous e) (he' : Continuous e.symm) |
| 178 | (n : ℕ) (ψ : AddChar k ℂ) (a : FunctionsMetaplectic.Construction.Metaplectic l n (FieldFourier.Construction.fieldCharacter e ψ)) |
| 179 | (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) : |
| 180 | (fieldMetaplecticPullback e he he' n ψ a).val.val.2 f = |
| 181 | (FieldCoordinates.Construction.testSpaceTransport (FieldCoordinates.Construction.fieldPositionEquiv e he he' n)).symm |
| 182 | (a.val.val.2 (FieldCoordinates.Construction.testSpaceTransport (FieldCoordinates.Construction.fieldPositionEquiv e he he' n) f)) := by |
| 183 | rw [fieldMetaplecticPullback, metaplecticCharacterCongr_operator] |
| 184 | rfl |
| 185 | |
| 186 | theorem fieldMetaplecticPullback_apply |
| 187 | (e : k ≃+* l) (he : Continuous e) (he' : Continuous e.symm) |
| 188 | (n : ℕ) (ψ : AddChar k ℂ) (a : FunctionsMetaplectic.Construction.Metaplectic l n (FieldFourier.Construction.fieldCharacter e ψ)) |
| 189 | (f : FunctionsMetaplectic.Construction.schwartzBruhat k n) (x : FunctionsMetaplectic.Construction.Position k n) : |
| 190 | (FunctionsMetaplectic.Construction.weilRepresentation k n ψ (fieldMetaplecticPullback e he he' n ψ a) f).val x = |
| 191 | (FunctionsMetaplectic.Construction.weilRepresentation l n (FieldFourier.Construction.fieldCharacter e ψ) a |
| 192 | (FieldCoordinates.Construction.testSpaceTransport (FieldCoordinates.Construction.fieldPositionEquiv e he he' n) f)).val (fun i => e (x i)) := by |
| 193 | change ((fieldMetaplecticPullback e he he' n ψ a).val.val.2 f).val x = _ |
| 194 | rw [fieldMetaplecticPullback_operator] |
| 195 | rfl |
| 196 | |
| 197 | theorem field_metaplecticProjection_surjective |
| 198 | (e : k ≃+* l) (he : Continuous e) (he' : Continuous e.symm) |
| 199 | (n : ℕ) (ψ : AddChar k ℂ) |
| 200 | (hs : Function.Surjective (FunctionsMetaplectic.Construction.metaplecticProjection l n (FieldFourier.Construction.fieldCharacter e ψ))) : |
| 201 | Function.Surjective (FunctionsMetaplectic.Construction.metaplecticProjection k n ψ) := by |
| 202 | intro g |
| 203 | obtain ⟨a, ha⟩ := hs (FieldFourier.Construction.fieldSymplecticMap e n g) |
| 204 | refine ⟨fieldMetaplecticPullback e he he' n ψ a, ?_⟩ |
| 205 | rw [fieldMetaplecticPullback_projection, ha, fieldSymplecticMap_symm] |
| 206 | |
| 207 | end |
| 208 | |
| 209 | end OAI.RepresentationTheory.Weil.Local.FieldOscillator.Construction |