Skip to content

A more compact encoding of the full adder #1

@martin-cs

Description

@martin-cs

In http://www.kroening.com/papers/vmcai2016.pdf we give a more compact encoding of the full adder (Fig 3.c, page 6):

{cin,¬s,¬cout}
{a,¬s,¬cout}
{b,¬s,¬cout}
{a,b,cin,¬s}
{¬a,¬b,¬cin,s}
{¬cin,s,cout}
{¬a,s,cout} 
{¬b,s,cout}
{¬a,¬b,cout}
{¬a,¬cin,cout}
{¬b,¬cin,cout}
{a,b,¬cout}
{a,cin,¬cout}
{b,cin,¬cout}

we found it improved performance. It would be great to know if it helps your usecases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions