roseking's picture
Add lean source and binary files (part 66)
8e4d533 verified
Raw History Blame Contribute Delete
670 Bytes
17
lemma onDomain_image_eq {X : Type*} [TopologicalSpace X] {Ω : Set X}
    (u : C(Ω,ℝ)) (A : Set X) (hA : A ⊆ Ω) :
    onDomain u '' A = u '' (Subtype.val ⁻¹' A) := by
proof · 6 lines
  ext t
  constructor
  · rintro ⟨x,hx,rfl⟩
    exact ⟨⟨x,hA hx⟩,hx,(onDomain_eq u x (hA hx)).symm⟩
  · rintro ⟨x,hx,rfl⟩
    exact ⟨x,hx,onDomain_eq u x x.property⟩