TPTP Problem File: TIM014_1.p

View Solutions - Solve Problem

%------------------------------------------------------------------------------
% File     : TIM014_1 : TPTP v9.3.0. Released v9.3.0.
% Domain   : Time
% Problem  : LEAP YEAR CHECKS, TEST 14: Leap Exists
% Version  : Especial.
% English  :

% Refs     : [PS26]  Pease & Stanica (2026), Email to Geoff Sutcliffe
% Source   : [PS26]
% Names    :

% Status   : Theorem
% Rating   : 0.00 v9.3.0
% Syntax   : Number of formulae    :  113 (  51 unt;  25 typ;   0 def)
%            Number of atoms       :  229 (  53 equ)
%            Maximal formula atoms :   12 (   2 avg)
%            Number of connectives :  155 (  14   ~;   6   |;  80   &)
%                                         (   3 <=>;  52  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   23 (   4 avg)
%            Maximal term depth    :    7 (   1 avg)
%            Number arithmetic     :  612 (  44 atm; 108 fun; 320 num; 140 var)
%            Number of types       :    5 (   3 usr;   1 ari)
%            Number of type conns  :   55 (  15   >;  40   *;   0   +;   0  <<)
%            Number of predicates  :   17 (  13 usr;   0 prp; 1-9 aty)
%            Number of functors    :   66 (   9 usr;  58 con; 0-5 aty)
%            Number of variables   :  170 ( 167   !;   3   ?; 170   :)
% SPC      : TF0_THM_EQU_ARI

% Comments : 
%------------------------------------------------------------------------------
include('Axioms/TIM001_0.ax').
%------------------------------------------------------------------------------
tff(test_leap_ok,conjecture,
    ? [Y: $int,M: $int,D: $int] :
      ( calc_date($sum(25,4),2,2024,ymd(Y,M,D))
      & ( M = 2 )
      & ( D = 29 )
      & valid_day(D) ) ).

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