IndependentOf f i
if the output of f
does not depend on the value of the i
th input.
Equations
- Nary.IndependentOf f i = ∀ (a : α) (v : Vector α n), f v = f (v.set (↑i) a ⋯)
Instances For
DependsOn f i
if the output of f
depends on the value of the i
th input.
Equations
- Nary.DependsOn f i = ¬Nary.IndependentOf f i
Instances For
The type of indices that a given function depends on.
Equations
- Nary.Dependency f = { i : Fin n // Nary.DependsOn f i }
Instances For
@[simp]
theorem
Nary.restrict_const
{β✝ : Sort u_1}
{b : β✝}
{α✝ : Type u_2}
{c : α✝}
{n✝ : ℕ}
{i : Fin n✝}
:
theorem
Nary.restrict_independentOf
{n✝ : ℕ}
{α✝ : Type u_1}
{β✝ : Sort u_2}
{f : Func n✝ α✝ β✝}
{c : α✝}
{i : Fin n✝}
:
IndependentOf (restrict f c i) i