packages feed

tptp-0.1.0.0: test-data/tptp/tff/PUZ139_1.p

%------------------------------------------------------------------------------
% File     : PUZ139_1 : TPTP v7.2.0. Released v6.1.0.
% Domain   : Puzzles
% Problem  : Caramel vanilla coffee helps people stay awake
% Version  : Especial.
% English  :

% Refs     : [Arh14] Arhami (2010), Email to Geoff Sutcliffe
% Source   : [Arh14]
% Names    : 

% Status   : Theorem
% Rating   : 0.00 v6.4.0
% Syntax   : Number of formulae    :    9 (   2 unit;   7 type)
%            Number of atoms       :    2 (   0 equality)
%            Maximal formula depth :    5 (   2 average)
%            Number of connectives :    0 (   0   ~;   0   |;   0   &)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%                                         (   0  ~|;   0  ~&)
%            Number of type conns  :    3 (   2   >;   1   *;   0   +;   0  <<)
%            Number of predicates  :   11 (  10 propositional; 0-1 arity)
%            Number of functors    :    6 (   5 constant; 0-3 arity)
%            Number of variables   :    2 (   1 sgn;   1   !;   0   ?)
%                                         (   2   :;   1  !>;   0  ?*)
%            Maximal term depth    :    3 (   2 average)
% SPC      : TF1_THM_NEQ_NAR

% Comments : 
%------------------------------------------------------------------------------
tff(beverage_type,type,(
    beverage: $tType )).

tff(syrup_type,type,(
    syrup: $tType )).

%----Coffee is a beverage
tff(coffee_type,type,(
    coffee: beverage )).

%----Vanilla syrup is a syrup
tff(vanilla_syrup_type,type,(
    vanilla_syrup: syrup )).

%----Caramel syrup is a syrup
tff(caramel_syrup_type,type,(
    caramel_syrup: syrup )).

%----The mixture of a syrup and a beverage is a beverage
%----The mixture of a syrup and a syrup is a syrup
tff(mixture_type,type,(
    mixture: 
      !>[BeverageOrSyrup: $tType] :
        ( ( BeverageOrSyrup * syrup ) > BeverageOrSyrup ) )).

%----The mixture of coffee and any syrup helps people stay awake
tff(help_people_stay_awake_type,type,(
    help_people_stay_awake: beverage > $o )).

tff(mixture_of_coffee_help_people_stay_awake,axiom,(
    ! [S: syrup] : help_people_stay_awake(mixture(beverage,coffee,S)) )).

%----Caramel vanilla coffee help people stay awake
tff(caramel_vanilla_coffee_help_people_stay_awake,conjecture,(
    help_people_stay_awake(mixture(beverage,coffee,mixture(syrup,caramel_syrup,vanilla_syrup))) )).

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