Equations
- Std.Sat.AIG.RefVec.empty = { refs := { toArray := #[], size_toArray := Std.Sat.AIG.RefVec.empty.proof_1 }, hrefs := ⋯ }
Instances For
def
Std.Sat.AIG.RefVec.emptyWithCapacity
{α : Type}
[Hashable α]
[DecidableEq α]
{aig : AIG α}
(c : Nat)
:
aig.RefVec 0
Equations
- Std.Sat.AIG.RefVec.emptyWithCapacity c = { refs := Vector.emptyWithCapacity c, hrefs := ⋯ }
Instances For
@[simp]
theorem
Std.Sat.AIG.RefVec.emptyWithCapacity_eq
{α : Type}
[Hashable α]
[DecidableEq α]
{aig : AIG α}
{c : Nat}
:
@[inline]
def
Std.Sat.AIG.RefVec.get
{α : Type}
[Hashable α]
[DecidableEq α]
{aig : AIG α}
{len : Nat}
(s : aig.RefVec len)
(idx : Nat)
(hidx : idx < len)
:
aig.Ref
Equations
Instances For
@[inline]
def
Std.Sat.AIG.RefVec.push
{α : Type}
[Hashable α]
[DecidableEq α]
{aig : AIG α}
{len : Nat}
(s : aig.RefVec len)
(ref : aig.Ref)
:
Equations
Instances For
@[inline]
def
Std.Sat.AIG.RefVec.append
{α : Type}
[Hashable α]
[DecidableEq α]
{aig : AIG α}
{lw rw : Nat}
(lhs : aig.RefVec lw)
(rhs : aig.RefVec rw)
:
Equations
Instances For
def
Std.Sat.AIG.RefVec.countKnown
{α : Type}
[Hashable α]
[DecidableEq α]
{len : Nat}
(aig : AIG α)
(s : aig.RefVec len)
:
Equations
- Std.Sat.AIG.RefVec.countKnown aig s = Std.Sat.AIG.RefVec.countKnown.go aig s 0 0
Instances For
@[irreducible]
def
Std.Sat.AIG.RefVec.countKnown.go
{α : Type}
[Hashable α]
[DecidableEq α]
{len : Nat}
(aig : AIG α)
(s : aig.RefVec len)
(idx acc : Nat)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
structure
Std.Sat.AIG.BinaryRefVec
{α : Type}
[Hashable α]
[DecidableEq α]
(aig : AIG α)
(len : Nat)
:
Instances For
@[inline]
def
Std.Sat.AIG.BinaryRefVec.cast
{α : Type}
[Hashable α]
[DecidableEq α]
{len : Nat}
{aig1 aig2 : AIG α}
(s : aig1.BinaryRefVec len)
(h : aig1.decls.size ≤ aig2.decls.size)
:
aig2.BinaryRefVec len
Instances For
@[simp]
@[simp]