TPTP Problem File: MSC017+1.p
View Solutions
- Solve Problem
%------------------------------------------------------------------------------
% File : MSC017+1 : TPTP v9.0.0. Released v4.0.0.
% Domain : Miscellaneous
% Problem : Diving has no bad outcomes
% Version : Especial.
% English :
% Refs :
% Source : [TPTP]
% Names :
% Status : Theorem
% Rating : 0.06 v9.0.0, 0.08 v8.1.0, 0.06 v7.4.0, 0.07 v7.2.0, 0.03 v7.1.0, 0.04 v7.0.0, 0.07 v6.4.0, 0.12 v6.3.0, 0.04 v6.1.0, 0.10 v6.0.0, 0.04 v5.3.0, 0.11 v5.2.0, 0.00 v4.0.0
% Syntax : Number of formulae : 7 ( 1 unt; 0 def)
% Number of atoms : 20 ( 2 equ)
% Maximal formula atoms : 4 ( 2 avg)
% Number of connectives : 16 ( 3 ~; 1 |; 2 &)
% ( 2 <=>; 8 =>; 0 <=; 0 <~>)
% Maximal formula depth : 6 ( 4 avg)
% Maximal term depth : 3 ( 1 avg)
% Number of predicates : 5 ( 4 usr; 0 prp; 1-2 aty)
% Number of functors : 8 ( 8 usr; 4 con; 0-2 aty)
% Number of variables : 8 ( 8 !; 0 ?)
% SPC : FOF_THM_RFO_SEQ
% Comments :
%------------------------------------------------------------------------------
%----The nitrogen of a dive is a function of the depth and time
fof(dive_nitrogen,axiom,
! [D] :
( dive(D)
=> nitrogen(D) = padi(depth(D),time(D)) ) ).
fof(depth_and_time_and_nitrogen,axiom,
! [D] :
( dive(D)
=> ( ( greater(depth(D),depth_limit)
| greater(time(D),time_limit) )
<=> greater(nitrogen(D),nitrogen_limit) ) ) ).
%----If the nitrogen of a dive is greater than the nitrogen limit, then
%----an outcome of the dive is DCI
fof(too_much_nitrogen,axiom,
! [D] :
( dive(D)
=> ( greater(nitrogen(D),nitrogen_limit)
<=> outcome(D,dci) ) ) ).
%----DCI is bad
fof(bad_dci,axiom,
bad(dci) ).
%----DCI is the only bad outcome of a dive
fof(dci_is_the_only_bad_outcome,axiom,
! [D] :
( dive(D)
=> ! [O] :
( ( outcome(D,O)
& bad(O) )
=> O = dci ) ) ).
%----No deep long dives
fof(no_deep_long,axiom,
! [D] :
( dive(D)
=> ( ~ greater(depth(D),depth_limit)
& ~ greater(time(D),time_limit) ) ) ).
%----No bad outcomes
fof(no_bad,conjecture,
! [D] :
( dive(D)
=> ! [O] :
( outcome(D,O)
=> ~ bad(O) ) ) ).
%------------------------------------------------------------------------------