@[implicit_reducible]
Equations
- Array.instSProdProd_weightedNetKAT = { sprod := Array.product }
Equations
- l.Nodup = Array.Pairwise (fun (x1 x2 : α) => x1 ≠ x2) l
Instances For
theorem
Array.Nodup.map
{α : Type u_1}
{β : Type u_2}
{l : Array α}
{f : α → β}
(hf : Function.Injective f)
:
@[implicit_reducible]
def
Listed.ofArray
{α : Type u_1}
[DecidableEq α]
(array : Array α)
(nodup : array.Nodup)
(complete : ∀ (a : α), a ∈ array)
:
Listed α
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
Equations
- ⋯ = ⋯
Instances For
Equations
Instances For
Equations
Instances For
@[inline, specialize #[]]
Equations
Instances For
Equations
- Listed.equivFin = { toFun := Listed.encodeFin, invFun := Listed.decodeFin, left_inv := ⋯, right_inv := ⋯ }
Instances For
Equations
- ⋯ = ⋯
Instances For
Equations
- ⋯ = ⋯
Instances For
Equations
- ⋯ = ⋯
Instances For
@[implicit_reducible]
Equations
- Listed.decidableEq a b = if h : Listed.encode a = Listed.encode b then isTrue ⋯ else isFalse ⋯
Instances For
@[implicit_reducible]
Equations
- Listed.fintype = { elems := (Listed.listOf α).toFinset, complete := ⋯ }
Instances For
@[simp]
@[implicit_reducible]
Equations
- Listed.instReprT.repr Listed.T.a prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Listed.T.a")).group prec✝
- Listed.instReprT.repr Listed.T.b prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Listed.T.b")).group prec✝
- Listed.instReprT.repr Listed.T.c prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Listed.T.c")).group prec✝
- Listed.instReprT.repr Listed.T.d prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Listed.T.d")).group prec✝
Instances For
@[implicit_reducible]
Equations
- Listed.instReprT = { reprPrec := Listed.instReprT.repr }
Equations
Instances For
@[implicit_reducible]
Equations
- Listed.instInhabitedT = { default := Listed.instInhabitedT.default }
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[implicit_reducible]
Equations
- Listed.instFin = { array := Array.finRange n, nodup := ⋯, size := n, size_prop := ⋯, complete := ⋯, encode := fun (a : Fin n) => ↑a, encode_len := ⋯, encode_prop := ⋯ }
@[implicit_reducible]
Equations
- Listed.instUniqueFinSizeUnit = { toInhabited := Fin.instInhabited, uniq := Listed.instUniqueFinSizeUnit._proof_5 }
@[simp]
@[simp]
theorem
Listed.size_subsingleton_nonempty
{α : Type u_3}
[Listed α]
[ss : Subsingleton α]
[i : Nonempty α]
:
@[simp]
@[simp]