TPTP Axioms File: HWV002-2.ax


%--------------------------------------------------------------------------
% File     : HWV002-2 : TPTP v8.1.0. Released .0.
% Domain   : Hardware Verification
% Axioms   : Full-adder.
% Version  : [Gei96] axioms.
% English  :

% Refs     : [Gei96] Geisler (1996), Email to G. Sutcliffe
% Source   : [Gei96]
% Names    :

% Status   : Satisfiable
% Syntax   : Number of clauses     :   11 (   0 unt;   0 nHn;  11 RR)
%            Number of literals    :   22 (   0 equ;  11 neg)
%            Maximal clause size   :    2 (   2 avg)
%            Maximal term depth    :    3 (   2 avg)
%            Number of predicates  :    4 (   4 usr;   0 prp; 1-2 aty)
%            Number of functors    :    9 (   9 usr;   0 con; 1-1 aty)
%            Number of variables   :   11 (   0 sgn)
% SPC      : 

% Comments : Requires HWV002-0.ax HWV002-1.ax
%--------------------------------------------------------------------------
%----Composition of fulladder
cnf(fulladder_halfadder1,axiom,
    ( ~ fulladder(X)
    | halfadder(h1(X)) ) ).

cnf(fulladder_halfadder2,axiom,
    ( ~ fulladder(X)
    | halfadder(h2(X)) ) ).

cnf(fulladder_or1,axiom,
    ( ~ fulladder(X)
    | logic_or(or1(X)) ) ).

%----Connections of fulladder
cnf(fulladder_connection_outsh1_in2h2,axiom,
    ( ~ fulladder(X)
    | connection(outs(h1(X)),in2(h2(X))) ) ).

cnf(fulladder_connection_outch1_in2or1,axiom,
    ( ~ fulladder(X)
    | connection(outc(h1(X)),in2(or1(X))) ) ).

cnf(fulladder_connection_outch2_in1or1,axiom,
    ( ~ fulladder(X)
    | connection(outc(h2(X)),in1(or1(X))) ) ).

cnf(fulladder_connection_in1_in1h2,axiom,
    ( ~ fulladder(X)
    | connection(in1(X),in1(h2(X))) ) ).

cnf(fulladder_connection_in2_in1h1,axiom,
    ( ~ fulladder(X)
    | connection(in2(X),in1(h1(X))) ) ).

cnf(fulladder_connection_inc_in2h1,axiom,
    ( ~ fulladder(X)
    | connection(inc(X),in2(h1(X))) ) ).

cnf(fulladder_connection_outs_outsh2,axiom,
    ( ~ fulladder(X)
    | connection(outs(X),outs(h2(X))) ) ).

cnf(fulladder_connection_outc_out1or1,axiom,
    ( ~ fulladder(X)
    | connection(outc(X),out1(or1(X))) ) ).

%--------------------------------------------------------------------------