Restrict the domain of a function to a set #
Main definitions #
Set.domRestrict f s: restrict the domain offto the sets;Set.codRestrict f s h: givenh : ∀ x, f x ∈ s, restrict the codomain offto the sets;
Domain restriction #
Restrict domain of a function f to a set s. Same as Subtype.restrict but this version
takes an argument ↥s instead of Subtype s.
Equations
- s.domRestrict f x = f ↑x
Instances For
If a function f is restricted to a set t, and s ⊆ t, this is the restriction to s.
Equations
- Set.domRestrict₂ hst f x = f ⟨↑x, ⋯⟩
Instances For
If g factors through f and g is injective, then extend f g j is injective on the
range of f.
Restrict codomain of a function f to a set s. Same as Subtype.coind but this version
has codomain ↥s instead of Subtype s.
Equations
- Set.codRestrict f s h x = ⟨f x, ⋯⟩
Instances For
Alias of the reverse direction of Set.injective_codRestrict.
Alias of Set.domRestrict.
Restrict domain of a function f to a set s. Same as Subtype.restrict but this version
takes an argument ↥s instead of Subtype s.
Equations
Instances For
Alias of Set.domRestrict_def.
Alias of Set.domRestrict_eq.
Alias of Set.domRestrict_id.
Alias of Set.domRestrict_apply.
Alias of Set.domRestrict_eq_iff.
Alias of Set.eq_domRestrict_iff.
Alias of Set.range_domRestrict.
Alias of Set.image_domRestrict.
Alias of Set.domRestrict_dite.
Alias of Set.domRestrict_dite_compl.
Alias of Set.domRestrict_ite.
Alias of Set.domRestrict_ite_compl.
Alias of Set.domRestrict_piecewise.
Alias of Set.domRestrict_piecewise_compl.
Alias of Set.domRestrict_extend_range.
Alias of Set.domRestrict_extend_compl_range.
Alias of Set.domRestrict₂.
If a function f is restricted to a set t, and s ⊆ t, this is the restriction to s.
Equations
Instances For
Alias of Set.domRestrict₂_def.
Alias of Set.domRestrict₂_comp_domRestrict.
Alias of Set.domRestrict₂_comp_domRestrict₂.
Alias of Set.domRestrict_comp_codRestrict.
Alias of Set.domRestrict_eq_domRestrict_iff.
Alias of Set.codRestrict_domRestrict.
Restricting the domain and then the codomain is the same as MapsTo.restrict.
Reverse of Set.codRestrict_domRestrict.
Restriction onto preimage #
Alias of Set.restrictPreimage_injective.
Alias of Set.restrictPreimage_surjective.
Alias of Set.restrictPreimage_bijective.
Injectivity on a set #
Alias of the forward direction of Set.injOn_iff_injective.