Documentation

Circuitlib.Circuit.Wires

Wires #

References #

def Circuit.Wires (V : Type u) (I : ℕ) :
Equations
Instances For
    @[implicit_reducible]
    instance Circuit.instPreorderWires {V : Type u_1} {I : ℕ} [Preorder V] :
    Equations
    theorem Circuit.Wires.ext {V : Type u_1} {n : ℕ} {a b : Wires V n} :
    (∀ (i : Fin n), Vector.get a i = Vector.get b i) → a = b
    @[simp]
    theorem Circuit.Wires.get_ofFn {n : ℕ} {α : Type u} (f : Fin n → α) (i : Fin n) :
    (Vector.ofFn f).get i = f i
    @[simp]
    theorem Circuit.Wires.get_cast {V : Type u_1} {n m : ℕ} (h : n = m) (v : Wires V n) (i : Fin m) :
    (Vector.cast h v).get i = Vector.get v ⟨↑i, ⋯⟩