The areas / V01. The language of Mathlib
Mathlib.Logic.Function.DependsOn
8 declarations and 1 deprecated aliases. Mathlib docs · Source
def DependsOn E1 #
{ι : Type u_1} → {α : ι → Type u_2} → {β : Type u_3} → (((i : ι) → α i) → β) → Set ι → Prop
A function f depends on s if, whenever x and y coincide over s, f x = f y.
It should be interpreted as "f potentially depends only on variables in s".
However it might be the case that f does not depend at all on variables in s,
for example if f is constant. As a consequence, DependsOn f univ is always true,
see dependsOn_univ.
theorem dependsOn_iff_factorsThrough E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} {β : Type u_3} {f : ((i : ι) → α i) → β} {s : Set ι},
DependsOn f s ↔ Function.FactorsThrough f s.domRestrict
theorem dependsOn_iff_exists_comp E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} {β : Type u_3} [Nonempty β] {f : ((i : ι) → α i) → β} {s : Set ι},
DependsOn f s ↔ ∃ g, f = g ∘ s.domRestrict
theorem dependsOn_univ E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} {β : Type u_3} (f : ((i : ι) → α i) → β), DependsOn f Set.univ
theorem dependsOn_const E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} {β : Type u_3} (b : β), DependsOn (fun x ↦ b) ∅
A constant function does not depend on any variable.
theorem DependsOn.mono E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} {β : Type u_3} {f : ((i : ι) → α i) → β} {s t : Set ι},
s ⊆ t → DependsOn f s → DependsOn f t
theorem DependsOn.empty E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} {β : Type u_3} {f : ((i : ι) → α i) → β},
DependsOn f ∅ → ∀ (x y : (i : ι) → α i), f x = f y
A function which depends on the empty set is constant.
theorem Set.dependsOn_domRestrict E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} (s : Set ι), DependsOn s.domRestrict s
Deprecated aliases
| Name | New name | Since |
|---|---|---|
Set.dependsOn_restrict | Set.dependsOn_domRestrict | 2026-07-19 |