Equations
- xs.incBoolList = xs.incBoolList' true
Instances For
Equations
- List.decideBoolList' p xs 0 = bif !p xs then false else true
- List.decideBoolList' p xs n_2.succ = bif !p xs then false else List.decideBoolList' p xs.incBoolList n_2
Instances For
Equations
- List.decideBoolList p n = List.decideBoolList' p (List.replicate n false) (2 ^ n)
Instances For
Equations
- xs.BoolListFinset' 0 = insert xs ∅
- xs.BoolListFinset' n_2.succ = insert xs (xs.incBoolList.BoolListFinset' n_2)
Instances For
Equations
- List.BoolListFinset n = (List.replicate n false).BoolListFinset' (2 ^ n)
Instances For
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
theorem
List.decideBoolList_iff_forall_mem_BoolListFinset
{p : List Bool → Prop}
[hp : DecidablePred p]
{n : ℕ}
:
@[instance_reducible]
instance
List.instDecidableForallForallEqNatLengthBoolOfDecidablePred_projects
{p : List Bool → Prop}
[hp : DecidablePred p]
{n : ℕ}
:
Equations
- List.instDecidableForallForallEqNatLengthBoolOfDecidablePred_projects = decidable_of_bool (List.decideBoolList (fun (b : List Bool) => decide (p b)) n) ⋯