↑ Up

Beagle---0.9.52.THM-CRf.s

View TPTP
Problem
Process solution in
SystemOnTSTP
Download .tgz
%------------------------------------------------------------------------------
% File     : Beagle---0.9.52
% Problem  : TIM014_1 : TPTP v9.3.0. Released v9.3.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : java -Dfile.encoding=UTF-8 -Xms512M -Xmx4G -Xss10M -jar /export/starexec/sandbox/solver/bin/beagle.jar -auto -q -proof -print tff -smtsolver /export/starexec/sandbox/solver/bin/cvc4-1.4-x86_64-linux-opt -liasolver cooper -t %d %s

% Computer : n002.cluster.edu
% Model    : x86_64 x86_64
% CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz
% Memory   : 8042.1875MB
% OS       : Linux 3.10.0-693.el7.x86_64
% CPULimit : 300s
% WCLimit  : 300s
% DateTime : Tue May  5 07:15:46 PM UTC 2026

% Result   : Theorem 6.28s 2.43s
% Output   : CNFRefutation 6.28s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    7
%            Number of leaves      :    4
% Syntax   : Number of formulae    :   19 (   4 unt;   0 typ;   0 def)
%            Number of atoms       :   54 (  12 equ)
%            Maximal formula atoms :    8 (   2 avg)
%            Number of connectives :   59 (  24   ~;  22   |;   9   &)
%                                         (   1 <=>;   3  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    9 (   5 avg)
%            Maximal term depth    :    2 (   1 avg)
%            Number arithmetic     :  131 (  18 atm;  12 fun;  76 num;  25 var)
%            Number of types       :    5 (   3 usr;   1 ari)
%            Number of type conns  :    0 (   0   >;   0   *;   0   +;   0  <<)
%            Number of predicates  :   18 (  13 usr;   1 prp; 0-9 aty)
%            Number of functors    :   21 (   9 usr;  17 con; 0-5 aty)
%            Number of variables   :   25 (  22   !;   3   ?;  25   :)

% Comments : 
%------------------------------------------------------------------------------
%$ calc_datetime > normalize_time > zeller_prep > nth_weekday_date > calc_date > is_days_in_month > calc_nth_offset > weekday > map_name_to_int > map_iso > is_days_in_year > valid_day > is_leap_year > dt > ymd > #nlpp > wednesday > tuesday > thursday > sunday > saturday > monday > friday

%Foreground sorts:
tff(date,type,
    date: $tType ).

tff(time,type,
    time: $tType ).

tff(day_name,type,
    day_name: $tType ).

%Background operators:

%Foreground operators:
tff(friday,type,
    friday: day_name ).

tff(calc_date,type,
    calc_date: ( $int * $int * $int * date ) > $o ).

tff(tuesday,type,
    tuesday: day_name ).

tff(nth_weekday_date,type,
    nth_weekday_date: ( $int * day_name * $int * $int * date ) > $o ).

tff(zeller_prep,type,
    zeller_prep: ( $int * $int * $int * $int * $int * $int ) > $o ).

tff(is_leap_year,type,
    is_leap_year: $int > $o ).

tff(thursday,type,
    thursday: day_name ).

tff(calc_nth_offset,type,
    calc_nth_offset: ( $int * $int * $int ) > $o ).

tff(weekday,type,
    weekday: ( date * day_name ) > $o ).

tff(is_days_in_month,type,
    is_days_in_month: ( $int * $int * $int ) > $o ).

tff(is_days_in_year,type,
    is_days_in_year: ( $int * $int ) > $o ).

tff(ymd,type,
    ymd: ( $int * $int * $int ) > date ).

tff(saturday,type,
    saturday: day_name ).

tff(sunday,type,
    sunday: day_name ).

tff(map_iso,type,
    map_iso: ( $int * day_name ) > $o ).

tff(wednesday,type,
    wednesday: day_name ).

tff(valid_day,type,
    valid_day: $int > $o ).

tff(monday,type,
    monday: day_name ).

tff(map_name_to_int,type,
    map_name_to_int: ( day_name * $int ) > $o ).

tff(calc_datetime,type,
    calc_datetime: ( $int * $int * $int * $int * $int * $int * $int * $int * time ) > $o ).

tff(dt,type,
    dt: ( $int * $int * $int * $int * $int ) > time ).

tff(normalize_time,type,
    normalize_time: ( $int * $int * $int * $int * $int * $int * $int ) > $o ).

tff(f_307,axiom,
    ! [Ya: $int] :
      ( ( ( ( $remainder_e(Ya,4) = 0 )
          & ( ( $remainder_e(Ya,100) != 0 )
            | ( $remainder_e(Ya,400) = 0 ) ) )
       => is_days_in_month(2,Ya,29) )
      & ( ( ( $remainder_e(Ya,4) != 0 )
          | ( ( $remainder_e(Ya,100) = 0 )
            & ( $remainder_e(Ya,400) != 0 ) ) )
       => is_days_in_month(2,Ya,28) ) ),
    file('/export/starexec/sandbox/benchmark/Axioms/TIM001_0.ax',m2) ).

tff(f_335,axiom,
    ! [Da: $int,Ma: $int,Ya: $int,Limita: $int] :
      ( ( is_days_in_month(Ma,Ya,Limita)
        & $greater(Da,0)
        & $lesseq(Da,Limita) )
     => calc_date(Da,Ma,Ya,ymd(Ya,Ma,Da)) ),
    file('/export/starexec/sandbox/benchmark/Axioms/TIM001_0.ax',rule_base) ).

tff(f_72,axiom,
    ! [Da: $int] :
      ( valid_day(Da)
    <=> ( $greater(Da,0)
        & $lesseq(Da,31) ) ),
    file('/export/starexec/sandbox/benchmark/Axioms/TIM001_0.ax',trap_ax) ).

tff(f_564,negated_conjecture,
    ~ ? [Ya: $int,Ma: $int,Da: $int] :
        ( calc_date($sum(25,4),2,2024,ymd(Ya,Ma,Da))
        & ( Ma = 2 )
        & ( Da = 29 )
        & valid_day(Da) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',test_leap_ok) ).

tff(c_341,plain,
    ! [Y_76a: $int] :
      ( ( $remainder_e(Y_76a,100) = 0 )
      | is_days_in_month(2,Y_76a,29)
      | ( $remainder_e(Y_76a,4) != 0 ) ),
    inference(cnfTransformation,[status(thm)],[f_307]) ).

tff(c_125,plain,
    ! [D_87a: $int,M_88a: $int,Y_89a: $int,Limit_90a: $int] :
      ( calc_date(D_87a,M_88a,Y_89a,ymd(Y_89a,M_88a,D_87a))
      | ~ is_days_in_month(M_88a,Y_89a,Limit_90a)
      | ~ $greater(D_87a,0)
      | ~ $lesseq(D_87a,Limit_90a) ),
    inference(cnfTransformation,[status(thm)],[f_335]) ).

tff(c_847,plain,
    ! [D_413a: $int,M_414a: $int,Y_415a: $int,Limit_416a: $int] :
      ( calc_date(D_413a,M_414a,Y_415a,ymd(Y_415a,M_414a,D_413a))
      | ~ is_days_in_month(M_414a,Y_415a,Limit_416a)
      | ~ $less(0,D_413a)
      | $less(Limit_416a,D_413a) ),
    inference(backgroundSimplification,[status(thm),theory('LRFIA')],[c_125]) ).

tff(c_5,plain,
    ! [D_1a: $int] :
      ( valid_day(D_1a)
      | ~ $greater(D_1a,0)
      | ~ $lesseq(D_1a,31) ),
    inference(cnfTransformation,[status(thm)],[f_72]) ).

tff(c_593,plain,
    ! [D_350a: $int] :
      ( valid_day(D_350a)
      | ~ $less(0,D_350a)
      | $less(31,D_350a) ),
    inference(backgroundSimplification,[status(thm),theory('LRFIA')],[c_5]) ).

tff(c_230,plain,
    ! [Y_164a: $int] :
      ( ~ valid_day(29)
      | ~ calc_date($sum(25,4),2,2024,ymd(Y_164a,2,29)) ),
    inference(cnfTransformation,[status(thm)],[f_564]) ).

tff(c_232,plain,
    ! [Y_164a: $int] :
      ( ~ valid_day(29)
      | ~ calc_date(29,2,2024,ymd(Y_164a,2,29)) ),
    inference(backgroundSimplification,[status(thm),theory('LRFIA')],[c_230]) ).

tff(c_493,plain,
    ~ valid_day(29),
    inference(splitLeft,[status(thm)],[c_232]) ).

tff(c_607,plain,
    ( ~ $less(0,29)
    | $less(31,29) ),
    inference(resolution,[status(thm)],[c_593,c_493]) ).

tff(c_610,plain,
    $false,
    inference(backgroundSimplification,[status(thm),theory('LIA')],[c_607]) ).

tff(c_613,plain,
    ! [Y_164a: $int] : ~ calc_date(29,2,2024,ymd(Y_164a,2,29)),
    inference(splitRight,[status(thm)],[c_232]) ).

tff(c_852,plain,
    ! [Limit_416a: $int] :
      ( ~ is_days_in_month(2,2024,Limit_416a)
      | ~ $less(0,29)
      | $less(Limit_416a,29) ),
    inference(resolution,[status(thm)],[c_847,c_613]) ).

tff(c_873,plain,
    ! [Limit_420a: $int] :
      ( ~ is_days_in_month(2,2024,Limit_420a)
      | $less(Limit_420a,29) ),
    inference(backgroundSimplification,[status(thm),theory('LIA')],[c_852]) ).

tff(c_892,plain,
    ( $less(29,29)
    | ( $remainder_e(2024,100) = 0 )
    | ( $remainder_e(2024,4) != 0 ) ),
    inference(resolution,[status(thm)],[c_341,c_873]) ).

tff(c_895,plain,
    $false,
    inference(backgroundSimplification,[status(thm),theory('LIA')],[c_892]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.12  % Problem  : TIM014_1 : TPTP v9.3.0. Released v9.3.0.
% 0.13/0.13  % Command  : java -Dfile.encoding=UTF-8 -Xms512M -Xmx4G -Xss10M -jar /export/starexec/sandbox/solver/bin/beagle.jar -auto -q -proof -print tff -smtsolver /export/starexec/sandbox/solver/bin/cvc4-1.4-x86_64-linux-opt -liasolver cooper -t %d %s
% 0.18/0.34  % Computer : n002.cluster.edu
% 0.18/0.34  % Model    : x86_64 x86_64
% 0.18/0.34  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.18/0.34  % Memory   : 8042.1875MB
% 0.18/0.34  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.18/0.34  % CPULimit : 300
% 0.18/0.34  % WCLimit  : 300
% 0.18/0.34  % DateTime : Mon May  4 18:10:16 EDT 2026
% 0.18/0.34  % CPUTime  : 
% 6.28/2.43  % SZS status Theorem for /export/starexec/sandbox/benchmark/theBenchmark.p
% 6.28/2.43  
% 6.28/2.43  % SZS output start CNFRefutation for /export/starexec/sandbox/benchmark/theBenchmark.p
% See solution above
%------------------------------------------------------------------------------