## TPTP Problem File: KLE050+1.p

View Solutions - Solve Problem

```%------------------------------------------------------------------------------
% File     : KLE050+1 : TPTP v7.5.0. Released v4.0.0.
% Domain   : Kleene Algebra (with Tests)
% Problem  : Loop denesting
% Version  : [Hoe08] axioms.
% English  : Encoding of the law while p do (x ; while q do y) = if p then
%            (x ; while p+q do if q then y else x) else skip.

% Refs     : [Koz97] Kozen (1997), Kleene Algebra with Tests
%          : [Hoe08] Hoefner (2008), Email to G. Sutcliffe
% Source   : [Hoe08]
% Names    :

% Status   : CounterSatisfiable
% Rating   : 0.50 v7.5.0, 0.60 v7.4.0, 0.33 v7.3.0, 0.67 v6.2.0, 0.82 v6.0.0, 0.85 v5.5.0, 0.75 v5.4.0, 0.86 v5.3.0, 1.00 v4.0.0
% Syntax   : Number of formulae    :   21 (  13 unit)
%            Number of atoms       :   33 (  18 equality)
%            Maximal formula depth :    7 (   4 average)
%            Number of connectives :   13 (   1   ~;   0   |;   3   &)
%                                         (   4 <=>;   5  =>;   0  <=;   0 <~>)
%                                         (   0  ~|;   0  ~&)
%            Number of predicates  :    4 (   0 propositional; 1-2 arity)
%            Number of functors    :    6 (   2 constant; 0-2 arity)
%            Number of variables   :   41 (   0 sgn;  40   !;   1   ?)
%            Maximal term depth    :    8 (   2 average)
% SPC      : FOF_CSA_RFO_SEQ

%------------------------------------------------------------------------------
%---Include axioms for Kleene algebra with tests
include('Axioms/KLE002+0.ax').
%---Include test axioms
include('Axioms/KLE001+1.ax').
%------------------------------------------------------------------------------
fof(goals,conjecture,(
! [X0,X1,X2,X3] :
( ( test(X2)
& test(X3) )