TPTP Problem File: TIM019_1.p
View Solutions
- Solve Problem
%------------------------------------------------------------------------------
% File : TIM019_1 : TPTP v9.3.0. Released v9.3.0.
% Domain : Time
% Problem : INTEGRATED LOGIC, TEST 19: Next Year Same Day
% Version : Especial.
% English :
% Refs : [PS26] Pease & Stanica (2026), Email to Geoff Sutcliffe
% Source : [PS26]
% Names :
% Status : Theorem
% Rating : 0.80 v9.3.0
% Syntax : Number of formulae : 113 ( 51 unt; 25 typ; 0 def)
% Number of atoms : 232 ( 55 equ)
% Maximal formula atoms : 12 ( 2 avg)
% Number of connectives : 158 ( 14 ~; 6 |; 83 &)
% ( 3 <=>; 52 =>; 0 <=; 0 <~>)
% Maximal formula depth : 23 ( 4 avg)
% Maximal term depth : 7 ( 1 avg)
% Number arithmetic : 613 ( 44 atm; 108 fun; 321 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 : 171 ( 167 !; 4 ?; 171 :)
% SPC : TF0_THM_EQU_ARI
% Comments :
%------------------------------------------------------------------------------
include('Axioms/TIM001_0.ax').
%------------------------------------------------------------------------------
tff(test_next_year,conjecture,
? [Y: $int,M: $int,D: $int,N: day_name] :
( calc_date($sum(19,365),11,2025,ymd(Y,M,D))
& weekday(ymd(Y,M,D),N)
& ( Y = 2026 )
& ( M = 11 )
& ( D = 19 )
& ( N = thursday )
& valid_day(D) ) ).
%------------------------------------------------------------------------------