Documentation

Validator.Basic

theorem Array.lt_of_getElem?_eq_some {α : Type u_1} {a : α} {xs : Array α} {i : } (h : xs[i]? = some a) :
i < xs.size
@[simp]
theorem Fintype.elems_eq_univ {α : Type u_1} [h : Fintype α] :
def Vector.elems {α : Type u_1} [h : Fintype α] [DecidableEq α] (n : ) :
Finset (Vector α n)
Equations
Instances For
    @[implicit_reducible]
    Equations
    theorem Vector.mem_iff_getElem' {α : Type u_1} {n : } {a : α} {xs : Vector α n} :
    a xs ∃ (i : Fin n), xs[i] = a

    Variant of Vector.mem_iff_getElem using Fin.

    def List.multiply {α : Type u_1} :
    List (List (List α))List (List α)
    Equations
    Instances For
      @[simp]
      theorem List.multiply_nil {α : Type u_1} :
      @[simp]
      theorem List.multiply_cons {α : Type u_1} {asss : List (List (List α))} {ass : List (List α)} :
      (ass :: asss).multiply = flatMap (fun (as : List α) => map (fun (x : List α) => as ++ x) asss.multiply) ass
      theorem List.map_toFinset {α : Type u_1} {β : Type u_2} [DecidableEq α] [DecidableEq β] {f : αβ} {xs : List α} :
      theorem List.length_flatten_short {α : Type u_1} (ass : List (List α)) (h : asass, as.length < 2) :
      @[simp]
      theorem Set.inter_compl_subset_union_compl {α : Type u_1} {s1 s2 s3 s4 : Set α} :
      s1 s2s3 s4 s1 s4s3 s2