roseking's picture
Add lean source and binary files (part 81)
6aac220 verified
Raw History Blame Contribute Delete
2.77 kB
19
def positiveIdentityRegion : Set E := {v | ∃ a : ℤ[Q], ρ.asAlgebraHom a = 1 ∧
body · 1 line
  ∀ q ∈ a.coeff.support, 0 < (inwardVectorCharacter e v q).toAdd}
22
def badUnitCharacters : Set E := {v | ‖v‖ = 1 ∧
body · 2 lines
  ¬Module.Finite ℤ[characterNonnegativeMonoid (inwardVectorCharacter e v)]
    (characterMonoidRepresentation ρ (inwardVectorCharacter e v)).asModule}
27
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 0
36
theorem 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⟩
57
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_compl