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,