TPTP Problem File: SWX200-1.p

View Solutions - Solve Problem

%------------------------------------------------------------------------------
% File     : SWX200-1 : TPTP v9.3.0. Released v9.3.0.
% Domain   : Software Verification
% Problem  : Faulty property about merge
% Version  : Especial.
% English  :

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

% Status   : Unsatisfiable
% Rating   : 0.17 v9.3.0
% Syntax   : Number of clauses     :   24 (  24 unt;   0 nHn;   4 RR)
%            Number of literals    :   24 (  24 equ;   1 neg)
%            Maximal clause size   :    1 (   1 avg)
%            Maximal term depth    :    6 (   2 avg)
%            Number of predicates  :    1 (   0 usr;   0 prp; 2-2 aty)
%            Number of functors    :   15 (  15 usr;   4 con; 0-5 aty)
%            Number of variables   :   41 (  12 sgn)
% SPC      : CNF_UNS_RFO_PEQ_UEQ

% Comments :
%------------------------------------------------------------------------------
cnf(axiom,axiom,
    aux(Z,Xs,Y2,Ys,btrue) = cons(Z,merge(Xs,cons(Y2,Ys))) ).

cnf(axiom_001,axiom,
    aux(Z,Xs,Y2,Ys,bfalse) = cons(Y2,merge(cons(Z,Xs),Ys)) ).

cnf(axiom_002,axiom,
    aux2(Y,Y2,Xs,btrue) = ord(cons(Y2,Xs)) ).

cnf(axiom_003,axiom,
    aux2(Y,Y2,Xs,bfalse) = bfalse ).

cnf(axiom_004,axiom,
    leqNat(z,Y) = btrue ).

cnf(axiom_005,axiom,
    leqNat(s(Z),z) = bfalse ).

cnf(axiom_006,axiom,
    leqNat(s(Z),s(M)) = leqNat(Z,M) ).

cnf(axiom_007,axiom,
    merge(nil,Y) = Y ).

cnf(axiom_008,axiom,
    merge(cons(Z,Xs),nil) = cons(Z,Xs) ).

cnf(axiom_009,axiom,
    merge(cons(Z,Xs),cons(Y2,Ys)) = aux(Z,Xs,Y2,Ys,leqNat(Z,Y2)) ).

cnf(axiom_010,axiom,
    ord(nil) = btrue ).

cnf(axiom_011,axiom,
    ord(cons(Y,nil)) = btrue ).

cnf(axiom_012,axiom,
    ord(cons(Y,cons(Y2,Xs))) = aux2(Y,Y2,Xs,leqNat(Y,Y2)) ).

cnf(axiom_013,axiom,
    impl(btrue,Q) = Q ).

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

cnf(axiom_015,axiom,
    prop_merge_ord_not3(X,Y) = impl(eq2(ord(X),btrue),impl(eq2(ord(Y),bfalse),eq2(ord(merge(X,Y)),btrue))) ).

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

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

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

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

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

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

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

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

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