Restriction of a function indexed by a preorder #
Given a preorder α
and dependent function f : (i : α) → π i
and a : α
, one might want
to consider the restriction of f
to elements ≤ a
.
This is defined in this file as Preorder.restrictLe a f
.
Similarly, if we have a b : α
, hab : a ≤ b
and f : (i : ↑(Set.Iic b)) → π ↑i
,
one might want to restrict it to elements ≤ a
.
This is defined in this file as Preorder.restrictLe₂ hab f
.
We also provide versions where the intervals are seen as finite sets, see Preorder.frestrictLe
and Preorder.frestrictLe₂
.
Main definitions #
Preorder.restrictLe a f
: Restricts the functionf
to the variables indexed by elements≤ a
.
Restrict domain of a function f
indexed by α
to elements ≤ a
.
Equations
- Preorder.restrictLe a = (Set.Iic a).restrict
Instances For
Restrict domain of a function f
indexed by α
to elements ≤ α
, seen as a finite set.
Equations
- Preorder.frestrictLe a = (Finset.Iic a).restrict
Instances For
If a function f
indexed by α
is restricted to elements ≤ b
, and a ≤ b
,
this is the restriction to elements ≤ b
. Intervals are seen as finite sets.