openAI-math-dataset / lean /OAI /NumberTheory /DukePrimeDegree /Dynamics /CompactStabilizerSeparation.lean
roseking's picture
Add lean source and binary files (part 102)
b3ddf75 verified
Raw History Blame Contribute Delete
3.35 kB
22
def invarianceDefect {n : ℕ} (μ : Measure (X n))
    (f : CompactlySupportedContinuousMap (X n) ℝ) (g : G n) : ℝ :=
body · 1 line
  (∫ x, f (rightAction x g) ∂μ) - ∫ x, f x ∂μ
26
lemma continuous_invarianceDefect {n : ℕ} (μ : Measure (X n)) [IsFiniteMeasure μ]
    (f : CompactlySupportedContinuousMap (X n) ℝ) :
    Continuous (invarianceDefect μ f) :=
proof · 1 line
  (continuous_integral_rightAction μ f).sub continuous_const
31
lemma exists_nonzero_invarianceDefect {n : ℕ} (μ : Measure (X n)) [IsFiniteMeasure μ]
    (g : G n) (hg : g ∉ invariantRightSubgroup μ) :
    ∃ f : CompactlySupportedContinuousMap (X n) ℝ, invarianceDefect μ f g ≠ 0 := by
proof · 8 lines
  by_contra h
  push Not at h
  apply hg
  change g ∈ (invariantRightSubgroup μ : Set (G n))
  rw [invariantRightSubgroup_eq_tests]
  simp only [Set.mem_iInter, Set.mem_ofPred_eq]
  intro f
  exact sub_eq_zero.mp (h f)

A fixed finite family distinguishes every possible limiting shear in a compact set disjoint from the actual stabilizer.

45
theorem exists_finite_compact_stabilizer_separators {n : ℕ}
    (μ : Measure (X n)) [IsFiniteMeasure μ]
    (K : Set (G n)) (hK : IsCompact K)
    (hout : ∀ g ∈ K, g ∉ invariantRightSubgroup μ) :
    ∃ (F : Finset (CompactlySupportedContinuousMap (X n) ℝ)) (ε : ℝ),
      0 < ε ∧ ∀ g ∈ K, ∃ f ∈ F, ε < |invarianceDefect μ f g| := by
proof · 26 lines
  by_cases hne : K.Nonempty
  · choose f hf using fun g : K => exists_nonzero_invarianceDefect μ g.val (hout g.val g.property)
    let e : K → ℝ := fun g => |invarianceDefect μ (f g) g.val| / 2
    have he (g : K) : 0 < e g := half_pos (abs_pos.mpr (hf g))
    let U : K → Set (G n) := fun g => {a | e g < |invarianceDefect μ (f g) a|}
    have hopen (g : K) : IsOpen (U g) :=
      isOpen_lt continuous_const (continuous_invarianceDefect μ (f g)).abs
    have hself (g : K) : g.val ∈ U g := by
      change |invarianceDefect μ (f g) g.val| / 2 < |invarianceDefect μ (f g) g.val|
      linarith [abs_pos.mpr (hf g)]
    have hcover : K ⊆ ⋃ g : K, U g := by
      intro g hg
      exact mem_iUnion.mpr ⟨⟨g, hg⟩, hself ⟨g, hg⟩⟩
    obtain ⟨J, hJ⟩ := hK.elim_finite_subcover U hopen hcover
    have hJne : J.Nonempty := by
      obtain ⟨g, hg⟩ := hne
      obtain ⟨a, ha, _⟩ := mem_iUnion₂.mp (hJ hg)
      exact ⟨a, ha⟩
    obtain ⟨a, ha, hmin⟩ := Finset.exists_min_image J e hJne
    refine ⟨J.image f, e a, he a, ?_⟩
    intro g hg
    obtain ⟨b, hb, hgb⟩ := mem_iUnion₂.mp (hJ hg)
    exact ⟨f b, Finset.mem_image.mpr ⟨b, hb, rfl⟩, (hmin b hb).trans_lt hgb⟩
  · refine ⟨∅, 1, zero_lt_one, ?_⟩
    intro g hg
    exact (hne ⟨g, hg⟩).elim