TPTP Problem File: KLE121+1.p

View Solutions - Solve Problem

%------------------------------------------------------------------------------
% File     : KLE121+1 : TPTP v7.5.0. Released v4.0.0.
% Domain   : Kleene Algebra (Modal Semirings)
% Problem  : Validity of composition rule
% Version  : [Hoe08] axioms.
% English  : The composition rule of Hoare logic is valid with respect to the
%            Kleene algebra semantics.

% Refs     : [DMS04] Desharnais et al. (2004), Termination in Modal Kleene
%          : [Hoe08] Hoefner (2008), Email to G. Sutcliffe
% Source   : [Hoe08]
% Names    :

% Status   : Theorem
% Rating   : 0.86 v7.5.0, 0.88 v7.4.0, 0.87 v7.3.0, 0.90 v7.1.0, 0.87 v7.0.0, 0.90 v6.4.0, 0.88 v6.2.0, 0.96 v6.1.0, 0.97 v6.0.0, 1.00 v5.4.0, 0.96 v5.2.0, 0.95 v5.0.0, 0.96 v4.0.0
% Syntax   : Number of formulae    :   27 (  25 unit)
%            Number of atoms       :   30 (  29 equality)
%            Maximal formula depth :    8 (   3 average)
%            Number of connectives :    3 (   0   ~;   0   |;   1   &)
%                                         (   1 <=>;   1  =>;   0  <=;   0 <~>)
%                                         (   0  ~|;   0  ~&)
%            Number of predicates  :    2 (   0 propositional; 2-2 arity)
%            Number of functors    :   14 (   2 constant; 0-2 arity)
%            Number of variables   :   48 (   0 sgn;  48   !;   0   ?)
%            Maximal term depth    :    6 (   3 average)
% SPC      : FOF_THM_RFO_SEQ

% Comments : Equational encoding
%------------------------------------------------------------------------------
%---Include axioms for modal semiring
include('Axioms/KLE001+0.ax').
%---Include axioms for Boolean domain/codomain
include('Axioms/KLE001+4.ax').
%---Include axioms for diamond and boxes
include('Axioms/KLE001+6.ax').
%------------------------------------------------------------------------------
fof(goals,conjecture,(
    ! [X0,X1,X2,X3,X4] :
      ( ( addition(backward_diamond(X3,domain(X0)),domain(X1)) = domain(X1)
        & addition(backward_diamond(X4,domain(X1)),domain(X2)) = domain(X2) )
     => addition(backward_diamond(multiplication(X3,X4),domain(X0)),domain(X2)) = domain(X2) ) )).

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