LeanPool.AFormalizationOfBorelDeterminacyInLean.Basic.FinLists #
Auxiliary declarations for the Borel determinacy formalization.
@[reducible, inline]
abbrev
List.mapEval
{α : Type u_4}
{β : α → Type u_5}
(a : α)
(x : List ((a : α) → β a))
:
List (β a)
Auxiliary declaration for the Borel determinacy formalization.
Equations
- List.mapEval a x = List.map (fun (f : (a : α) → β a) => f a) x
Instances For
def
List.zipFun
{α : Type u_4}
{β : α → Type u_5}
{n : ℕ}
(f : (a : α) → List (β a))
(h : ∀ (a : α), (f a).length = n)
:
List ((a : α) → β a)
Auxiliary declaration for the Borel determinacy formalization.
Equations
- List.zipFun f h_2 = []
- List.zipFun f h_2 = (fun (a : α) => (f a).head ⋯) :: List.zipFun (fun (a : α) => (f a).tail) ⋯
Instances For
Auxiliary declaration for the Borel determinacy formalization.
Equations
- x.zipInitsMap f = List.zipWith f x x.inits.tail
Instances For
@[simp]
@[simp]