TPTP Problem File: SWX198-1.p
View Solutions
- Solve Problem
%------------------------------------------------------------------------------
% File : SWX198-1 : TPTP v9.3.0. Released v9.3.0.
% Domain : Software Verification
% Problem : Faulty property about orderedness
% Version : Especial.
% English :
% Refs : [CST26] Claessen et al. (2026), Email to Geoff Sutcliffe
% Source : [CST26]
% Names : MergeSort_pallsmall.p [CST26]
% Status : Unsatisfiable
% Rating : 1.00 v9.3.0
% Syntax : Number of clauses : 31 ( 31 unt; 0 nHn; 7 RR)
% Number of literals : 31 ( 31 equ; 1 neg)
% Maximal clause size : 1 ( 1 avg)
% Maximal term depth : 7 ( 2 avg)
% Number of predicates : 1 ( 0 usr; 0 prp; 2-2 aty)
% Number of functors : 18 ( 18 usr; 4 con; 0-2 aty)
% Number of variables : 36 ( 12 sgn)
% SPC : CNF_UNS_RFO_PEQ_UEQ
% Comments :
%------------------------------------------------------------------------------
cnf(axiom,axiom,
ltNat(z,z) = bfalse ).
cnf(axiom_001,axiom,
ltNat(z,s(Z)) = btrue ).
cnf(axiom_002,axiom,
ltNat(s(X2),z) = bfalse ).
cnf(axiom_003,axiom,
ltNat(s(X2),s(M)) = ltNat(X2,M) ).
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,
lengthNat(nil) = z ).
cnf(axiom_008,axiom,
lengthNat(cons(Y,Xs)) = s(lengthNat(Xs)) ).
cnf(axiom_009,axiom,
impl(btrue,Q) = Q ).
cnf(axiom_010,axiom,
impl(bfalse,Q) = btrue ).
cnf(axiom_011,axiom,
append(nil,Y) = Y ).
cnf(axiom_012,axiom,
append(cons(Z,Xs),Y) = cons(Z,append(Xs,Y)) ).
cnf(axiom_013,axiom,
rev(nil) = nil ).
cnf(axiom_014,axiom,
rev(cons(Y,Xs)) = append(rev(Xs),cons(Y,nil)) ).
cnf(axiom_015,axiom,
andb(btrue,Q) = Q ).
cnf(axiom_016,axiom,
andb(bfalse,Q) = bfalse ).
cnf(axiom_017,axiom,
usorted(nil) = btrue ).
cnf(axiom_018,axiom,
usorted(cons(Y,nil)) = btrue ).
cnf(axiom_019,axiom,
usorted(cons(Y,cons(Y2,Xs))) = andb(ltNat(Y,Y2),usorted(cons(Y2,Xs))) ).
cnf(axiom_020,axiom,
allsmall(X,nil) = btrue ).
cnf(axiom_021,axiom,
allsmall(X,cons(Z,Xs)) = andb(ltNat(Z,X),allsmall(X,Xs)) ).
cnf(axiom_022,axiom,
pallsmall(X) = impl(eq2(usorted(rev(X)),btrue),impl(eq2(allsmall(s(z),X),btrue),eq2(leqNat(lengthNat(X),s(s(z))),btrue))) ).
cnf(axiom_023,axiom,
eq2(bfalse,btrue) = bfalse ).
cnf(axiom_024,axiom,
eq2(btrue,bfalse) = bfalse ).
cnf(axiom_025,axiom,
eq(s(X),s(Y)) = eq(X,Y) ).
cnf(axiom_026,axiom,
eq(z,s(X)) = bfalse ).
cnf(axiom_027,axiom,
eq(s(X),z) = bfalse ).
cnf(axiom_028,axiom,
eq(X,X) = btrue ).
cnf(axiom_029,axiom,
eq2(X,X) = btrue ).
cnf(goal,negated_conjecture,
eq2(pallsmall(X),bfalse) != btrue ).
%------------------------------------------------------------------------------