TPTP Problem File: SWX205-1.p

View Solutions - Solve Problem

%------------------------------------------------------------------------------
% File     : SWX205-1 : TPTP v9.3.0. Released v9.3.0.
% Domain   : Software Verification
% Problem  : Faulty property about addition of natural numbers
% Version  : Especial.
% English  :

% Refs     : [CST26] Claessen et al. (2026), Email to Geoff Sutcliffe
% Source   : [CST26]
% Names    : Nat_plus_ninf.p [CST26]

% Status   : Satisfiable
% Rating   : 0.75 v9.3.0
% Syntax   : Number of clauses     :   11 (  11 unt;   0 nHn;   3 RR)
%            Number of literals    :   11 (  11 equ;   1 neg)
%            Maximal clause size   :    1 (   1 avg)
%            Maximal term depth    :    4 (   1 avg)
%            Number of predicates  :    1 (   0 usr;   0 prp; 2-2 aty)
%            Number of functors    :    8 (   8 usr;   3 con; 0-2 aty)
%            Number of variables   :   10 (   4 sgn)
% SPC      : CNF_SAT_RFO_PEQ_UEQ

% Comments :
%------------------------------------------------------------------------------
cnf(axiom,axiom,
    impl(btrue,Q) = Q ).

cnf(axiom_001,axiom,
    impl(bfalse,Q) = btrue ).

cnf(axiom_002,axiom,
    plus_ninf(X) = impl(eq(s(X),X),eq2(btrue,bfalse)) ).

cnf(axiom_003,axiom,
    eq2(bfalse,btrue) = bfalse ).

cnf(axiom_004,axiom,
    eq2(btrue,bfalse) = bfalse ).

cnf(axiom_005,axiom,
    eq(s(X),s(Y)) = eq(X,Y) ).

cnf(axiom_006,axiom,
    eq(z,s(X)) = bfalse ).

cnf(axiom_007,axiom,
    eq(s(X),z) = bfalse ).

cnf(axiom_008,axiom,
    eq(X,X) = btrue ).

cnf(axiom_009,axiom,
    eq2(X,X) = btrue ).

cnf(goal,negated_conjecture,
    eq2(plus_ninf(X),bfalse) != btrue ).

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