TPTP Problem File: SWX228-1.p
View Solutions
- Solve Problem
%------------------------------------------------------------------------------
% File : SWX228-1 : TPTP v9.3.0. Released v9.3.0.
% Domain : Software Verification
% Problem : Faulty property of the function union
% Version : Especial.
% English :
% Refs : [CST26] Claessen et al. (2026), Email to Geoff Sutcliffe
% Source : [CST26]
% Names : Definitions_prop_union_comm.p [CST26]
% Status : Unsatisfiable
% Rating : 0.00 v9.3.0
% Syntax : Number of clauses : 26 ( 24 unt; 0 nHn; 4 RR)
% Number of literals : 28 ( 28 equ; 3 neg)
% Maximal clause size : 2 ( 1 avg)
% Maximal term depth : 3 ( 1 avg)
% Number of predicates : 1 ( 0 usr; 0 prp; 2-2 aty)
% Number of functors : 15 ( 15 usr; 4 con; 0-4 aty)
% Number of variables : 43 ( 15 sgn)
% SPC : CNF_UNS_RFO_PEQ_NUE
% Comments :
%------------------------------------------------------------------------------
cnf(axiom,axiom,
aux(Y,Z,Xs,btrue) = union(Xs,Y) ).
cnf(axiom_001,axiom,
aux(Y,Z,Xs,bfalse) = cons(Z,union(Xs,Y)) ).
cnf(axiom_002,axiom,
barbar(btrue,Y) = btrue ).
cnf(axiom_003,axiom,
barbar(bfalse,Y) = Y ).
cnf(axiom_004,axiom,
eqNat(s(Z),s(Y2)) = eqNat(Z,Y2) ).
cnf(axiom_005,axiom,
eqNat(s(Z),z) = bfalse ).
cnf(axiom_006,axiom,
eqNat(z,s(X2)) = bfalse ).
cnf(axiom_007,axiom,
eqNat(z,z) = btrue ).
cnf(axiom_008,axiom,
elem(X,nil) = bfalse ).
cnf(axiom_009,axiom,
elem(X,cons(Z,Xs)) = barbar(eqNat(X,Z),elem(X,Xs)) ).
cnf(axiom_010,axiom,
union(nil,Y) = Y ).
cnf(axiom_011,axiom,
union(cons(Z,Xs),Y) = aux(Y,Z,Xs,elem(Z,Y)) ).
cnf(axiom_012,axiom,
prop_union_comm(X,Y) = eq(union(X,Y),union(Y,X)) ).
cnf(axiom_013,axiom,
eq3(bfalse,btrue) = bfalse ).
cnf(axiom_014,axiom,
eq3(btrue,bfalse) = bfalse ).
cnf(axiom_015,axiom,
eq2(s(X),s(Y)) = eq2(X,Y) ).
cnf(axiom_016,axiom,
eq2(s(X),z) = bfalse ).
cnf(axiom_017,axiom,
eq2(z,s(X)) = bfalse ).
cnf(axiom_018,axiom,
eq(X,X) = btrue ).
cnf(axiom_019,axiom,
eq2(X,X) = btrue ).
cnf(axiom_020,axiom,
eq3(X,X) = btrue ).
cnf(axiom_021,axiom,
( eq2(X,Z) != bfalse
| eq(cons(X,Y),cons(Z,X2)) = bfalse ) ).
cnf(axiom_022,axiom,
( eq2(X,Z) != btrue
| eq(cons(X,Y),cons(Z,X2)) = eq(Y,X2) ) ).
cnf(axiom_023,axiom,
eq(nil,cons(X,Y)) = bfalse ).
cnf(axiom_024,axiom,
eq(cons(X,Y),nil) = bfalse ).
cnf(goal,negated_conjecture,
eq3(prop_union_comm(X,Y),bfalse) != btrue ).
%------------------------------------------------------------------------------