openAI-math-dataset / lean /OAI /GroupTheory /PolycyclicRecognition /Analysis /BadCharacterCompactness.lean
Download lean/OAI/GroupTheory/PolycyclicRecognition/Analysis/BadCharacterCompactness.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 2.77 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/GroupTheory/PolycyclicRecognition/Analysis/BadCharacterCompactness.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/GroupTheory/PolycyclicRecognition/Analysis/BadCharacterCompactness.lean
-
curl -L -o BadCharacterCompactness.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/GroupTheory/PolycyclicRecognition/Analysis/BadCharacterCompactness.lean
2.77 kB
Lean 4 · 5
declarations statementsfull
def positiveIdentityRegion : Set E := {v | ∃ a : ℤ[Q], ρ.asAlgebraHom a = 1 ∧ body · 1 line
∀ q ∈ a.coeff.support, 0 < (inwardVectorCharacter e v q).toAdd}def badUnitCharacters : Set E := {v | ‖v‖ = 1 ∧ body · 2 lines
¬Module.Finite ℤ[characterNonnegativeMonoid (inwardVectorCharacter e v)]
(characterMonoidRepresentation ρ (inwardVectorCharacter e v)).asModule}theorem positiveIdentityRegion_open : IsOpen (positiveIdentityRegion ρ e) := by proof · 7 lines
have he : positiveIdentityRegion ρ e = ⋃ a : ℤ[Q], ⋃ (_h : ρ.asAlgebraHom a = 1),
{v : E | ∀ q ∈ a.coeff.support, 0 < (inwardVectorCharacter e v q).toAdd} := by
ext v
simp only [positiveIdentityRegion, Set.mem_ofPred_eq, Set.mem_iUnion, exists_prop]
rw [he]
exact isOpen_iUnion fun a => isOpen_iUnion fun _ =>
isOpen_positiveIdentitySupport (inwardVectorCharacter e) (inwardVectorCharacter_continuous e) a 0theorem badUnitCharacters_eq_sdiff
(hspan : Submodule.span ℝ (Set.range (fun q => (e q).toAdd)) = ⊤) :
badUnitCharacters ρ e = {v : E | ‖v‖ = 1} \ positiveIdentityRegion ρ e := by proof · 17 lines
ext v
constructor
· rintro ⟨hv, hbad⟩
refine ⟨hv, ?_⟩
rintro ⟨a, hid, hpos⟩
exact hbad (finite_characterMonoidModule_of_positive_identity ρ
(inwardVectorCharacter e v) a hpos hid)
· rintro ⟨hv, hbad⟩
refine ⟨hv, ?_⟩
intro hfinite
let := hfinite
obtain ⟨q, hq⟩ := inwardVectorCharacter_exists_positive e hspan v (by
intro hz
simp [hz] at hv)
obtain ⟨a, hpos, hid⟩ := positive_identity_of_finite_characterMonoidModule ρ
(inwardVectorCharacter e v) q hq
exact hbad ⟨a, hid, hpos⟩theorem badUnitCharacters_compact [ProperSpace E]
(hspan : Submodule.span ℝ (Set.range (fun q => (e q).toAdd)) = ⊤) :
IsCompact (badUnitCharacters ρ e) := by proof · 4 lines
rw [badUnitCharacters_eq_sdiff ρ e hspan]
have hs : IsCompact {v : E | ‖v‖ = 1} := by
simpa only [Metric.sphere, dist_zero_right] using (isCompact_sphere (0 : E) 1)
exact hs.inter_right (positiveIdentityRegion_open ρ e).isClosed_complOutline