↑ Up

cvc5---1.3.4.THM-Prf.s

View TPTP
Problem
Process solution in
SystemOnTSTP
Download .tgz
%------------------------------------------------------------------------------
% File     : cvc5---1.3.4
% Problem  : TIM026_1 : TPTP v9.3.0. Released v9.3.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : /export/starexec/sandbox2/solver/bin/do_cvc5 /export/starexec/sandbox2/benchmark/theBenchmark.p 300 THM

% Computer : n006.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 : Wed Jun  3 09:15:38 AM UTC 2026

% Result   : Theorem 0.39s 0.63s
% Output   : Proof 0.39s
% Verified : 
% SZS Type : -

% Comments : 
%------------------------------------------------------------------------------
%----WARNING: Could not form TPTP format derivation
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.12  % Problem  : TIM026_1 : TPTP v9.3.0. Released v9.3.0.
% 0.12/0.13  % Command  : /export/starexec/sandbox2/solver/bin/do_cvc5 /export/starexec/sandbox2/benchmark/theBenchmark.p 300 THM
% 0.17/0.35  % Computer : n006.cluster.edu
% 0.17/0.35  % Model    : x86_64 x86_64
% 0.17/0.35  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.17/0.35  % Memory   : 8042.1875MB
% 0.17/0.35  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.17/0.35  % CPULimit : 300
% 0.17/0.35  % WCLimit  : 300
% 0.17/0.35  % DateTime : Wed Jun  3 01:13:19 EDT 2026
% 0.17/0.35  % CPUTime  : 
% 0.33/0.53  %----Proving TF0_ARI
% 0.39/0.63  --- Run --finite-model-find --decision=internal at 45...
% 0.39/0.63  % SZS status Theorem
% 0.39/0.63  % SZS output start Proof
% 0.39/0.63  (
% 0.39/0.63  (declare-sort tptp.time 0)
% 0.39/0.63  (declare-sort tptp.date 0)
% 0.39/0.63  (declare-sort tptp.day_name 0)
% 0.39/0.63  (declare-const tptp.is_leap_year (-> Int Bool))
% 0.39/0.63  (declare-const tptp.zeller_prep (-> Int Int Int Int Int Int Bool))
% 0.39/0.63  (declare-const tptp.nth_weekday_date (-> Int tptp.day_name Int Int tptp.date Bool))
% 0.39/0.63  (declare-const tptp.calc_nth_offset (-> Int Int Int Bool))
% 0.39/0.63  (declare-const tptp.sunday tptp.day_name)
% 0.39/0.63  (declare-const tptp.is_days_in_year (-> Int Int Bool))
% 0.39/0.63  (declare-const tptp.is_days_in_month (-> Int Int Int Bool))
% 0.39/0.63  (declare-const tptp.map_name_to_int (-> tptp.day_name Int Bool))
% 0.39/0.63  (declare-const tptp.thursday tptp.day_name)
% 0.39/0.63  (declare-const tptp.valid_day (-> Int Bool))
% 0.39/0.63  (declare-const tptp.monday tptp.day_name)
% 0.39/0.63  (declare-const tptp.calc_date (-> Int Int Int tptp.date Bool))
% 0.39/0.63  (declare-const tptp.map_iso (-> Int tptp.day_name Bool))
% 0.39/0.63  (declare-const tptp.ymd (-> Int Int Int tptp.date))
% 0.39/0.63  (declare-const tptp.weekday (-> tptp.date tptp.day_name Bool))
% 0.39/0.63  (declare-const tptp.friday tptp.day_name)
% 0.39/0.63  (declare-const tptp.normalize_time (-> Int Int Int Int Int Int Int Bool))
% 0.39/0.63  (declare-const tptp.wednesday tptp.day_name)
% 0.39/0.63  (declare-const tptp.calc_datetime (-> Int Int Int Int Int Int Int Int tptp.time Bool))
% 0.39/0.63  (declare-const tptp.saturday tptp.day_name)
% 0.39/0.63  (declare-const tptp.tuesday tptp.day_name)
% 0.39/0.63  (declare-const tptp.dt (-> Int Int Int Int Int tptp.time))
% 0.39/0.63  (define @t1 () (@var "D" Int))
% 0.39/0.63  (define @t2 () (> @t1 0))
% 0.39/0.63  (define @t3 () (@list @t1))
% 0.39/0.63  (define @t4 () (tptp.ymd 2025 1 1))
% 0.39/0.63  (define @t5 () (tptp.ymd 1600 1 1))
% 0.39/0.63  (define @t6 () (tptp.weekday @t5 tptp.saturday))
% 0.39/0.63  (define @t7 () (@var "DD" Int))
% 0.39/0.63  (define @t8 () (@var "EM" Int))
% 0.39/0.63  (define @t9 () (@var "EH" Int))
% 0.39/0.63  (define @t10 () (@var "AM" Int))
% 0.39/0.63  (define @t11 () (@var "AH" Int))
% 0.39/0.63  (define @t12 () (@var "SM" Int))
% 0.39/0.63  (define @t13 () (@var "SH" Int))
% 0.39/0.63  (define @t14 () (to_real 24))
% 0.39/0.63  (define @t15 () (@var "TotalH" Int))
% 0.39/0.63  (define @t16 () (to_real @t15))
% 0.39/0.63  (define @t17 () (/ @t16 @t14))
% 0.39/0.63  (define @t18 () (ite (>= @t14 0/1) (to_int @t17) (- (to_int (- @t17)))))
% 0.39/0.63  (define @t19 () (@var "NormM" Int))
% 0.39/0.63  (define @t20 () (@var "CarryH" Int))
% 0.39/0.63  (define @t21 () (to_real 60))
% 0.39/0.63  (define @t22 () (@var "TotalM" Int))
% 0.39/0.63  (define @t23 () (to_real @t22))
% 0.39/0.63  (define @t24 () (/ @t23 @t21))
% 0.39/0.63  (define @t25 () (ite (>= @t21 0/1) (to_int @t24) (- (to_int (- @t24)))))
% 0.39/0.63  (define @t26 () (@var "ResMin" Int))
% 0.39/0.63  (define @t27 () (@var "ResH" Int))
% 0.39/0.63  (define @t28 () (@var "ResD" Int))
% 0.39/0.63  (define @t29 () (@var "ResM" Int))
% 0.39/0.63  (define @t30 () (@var "ResY" Int))
% 0.39/0.63  (define @t31 () (@var "AD" Int))
% 0.39/0.63  (define @t32 () (@var "Min" Int))
% 0.39/0.63  (define @t33 () (@var "H" Int))
% 0.39/0.63  (define @t34 () (@var "M" Int))
% 0.39/0.63  (define @t35 () (@var "Y" Int))
% 0.39/0.63  (define @t36 () (@var "TimeDayDelta" Int))
% 0.39/0.63  (define @t37 () (@var "Res" tptp.date))
% 0.39/0.63  (define @t38 () (tptp.calc_date @t1 @t34 @t35 @t37))
% 0.39/0.63  (define @t39 () (+ @t35 400))
% 0.39/0.63  (define @t40 () (> @t1 200))
% 0.39/0.63  (define @t41 () (= @t34 1))
% 0.39/0.63  (define @t42 () (@list @t1 @t34 @t35 @t37))
% 0.39/0.63  (define @t43 () (+ @t1 36524))
% 0.39/0.63  (define @t44 () (- @t35 10))
% 0.39/0.63  (define @t45 () (tptp.calc_date (+ @t1 3652) 1 @t44 @t37))
% 0.39/0.63  (define @t46 () (to_real 4))
% 0.39/0.63  (define @t47 () (to_real @t44))
% 0.39/0.63  (define @t48 () (/ @t47 @t46))
% 0.39/0.63  (define @t49 () (>= @t46 0/1))
% 0.39/0.63  (define @t50 () (to_int (- @t47 (* (to_real (ite @t49 (to_int @t48) (- (to_int (- @t48))))) @t46))))
% 0.39/0.63  (define @t51 () (- 3652))
% 0.39/0.63  (define @t52 () (<= @t1 @t51))
% 0.39/0.63  (define @t53 () (=> (tptp.calc_date (- @t1 1461) 1 (+ @t35 4) @t37) @t38))
% 0.39/0.63  (define @t54 () (> @t1 1461))
% 0.39/0.63  (define @t55 () (@var "NextW_Name" tptp.day_name))
% 0.39/0.63  (define @t56 () (+ @t34 1))
% 0.39/0.63  (define @t57 () (@var "NextW_Int" Int))
% 0.39/0.63  (define @t58 () (to_real 7))
% 0.39/0.63  (define @t59 () (@var "DaysInM" Int))
% 0.39/0.63  (define @t60 () (@var "W_Int" Int))
% 0.39/0.63  (define @t61 () (to_real (+ @t60 @t59)))
% 0.39/0.63  (define @t62 () (/ @t61 @t58))
% 0.39/0.63  (define @t63 () (>= @t58 0/1))
% 0.39/0.63  (define @t64 () (@var "W_Name" tptp.day_name))
% 0.39/0.63  (define @t65 () (tptp.ymd @t35 @t34 1))
% 0.39/0.63  (define @t66 () (- @t1 36524))
% 0.39/0.63  (define @t67 () (> @t1 36524))
% 0.39/0.63  (define @t68 () (to_real @t35))
% 0.39/0.63  (define @t69 () (/ @t68 @t46))
% 0.39/0.63  (define @t70 () (to_int (- @t68 (* (to_real (ite @t49 (to_int @t69) (- (to_int (- @t69))))) @t46))))
% 0.39/0.63  (define @t71 () (= @t70 0))
% 0.39/0.63  (define @t72 () (@var "Limit" Int))
% 0.39/0.63  (define @t73 () (- @t1 @t72))
% 0.39/0.63  (define @t74 () (=> (tptp.calc_date @t73 1 (+ @t35 1) @t37) @t38))
% 0.39/0.63  (define @t75 () (> @t1 @t72))
% 0.39/0.63  (define @t76 () (@list @t1 @t34 @t35 @t72 @t37))
% 0.39/0.63  (define @t77 () (@list @t35))
% 0.39/0.63  (define @t78 () (to_real 400))
% 0.39/0.63  (define @t79 () (/ @t68 @t78))
% 0.39/0.63  (define @t80 () (= (to_int (- @t68 (* (to_real (ite (>= @t78 0/1) (to_int @t79) (- (to_int (- @t79))))) @t78))) 0))
% 0.39/0.63  (define @t81 () (to_real 100))
% 0.39/0.63  (define @t82 () (/ @t68 @t81))
% 0.39/0.63  (define @t83 () (>= @t81 0/1))
% 0.39/0.63  (define @t84 () (ite @t83 (to_int @t82) (- (to_int (- @t82)))))
% 0.39/0.63  (define @t85 () (to_int (- @t68 (* (to_real @t84) @t81))))
% 0.39/0.63  (define @t86 () (= @t85 0))
% 0.39/0.63  (define @t87 () (tptp.ymd @t35 @t34 @t1))
% 0.39/0.63  (define @t88 () (tptp.is_days_in_month @t34 @t35 @t72))
% 0.39/0.63  (define @t89 () (= @t34 12))
% 0.39/0.63  (define @t90 () (- @t34 1))
% 0.39/0.63  (define @t91 () (+ @t1 @t72))
% 0.39/0.63  (define @t92 () (not @t41))
% 0.39/0.63  (define @t93 () (<= @t1 0))
% 0.39/0.63  (define @t94 () (- @t35 1))
% 0.39/0.63  (define @t95 () (@var "S" Int))
% 0.39/0.63  (define @t96 () (@var "T" Int))
% 0.39/0.63  (define @t97 () (to_real (+ (- @t96 @t95) 7)))
% 0.39/0.63  (define @t98 () (/ @t97 @t58))
% 0.39/0.63  (define @t99 () (@var "O" Int))
% 0.39/0.63  (define @t100 () (@var "FinalDay" Int))
% 0.39/0.63  (define @t101 () (@var "DName" tptp.day_name))
% 0.39/0.63  (define @t102 () (@var "N" Int))
% 0.39/0.63  (define @t103 () (@var "Offset" Int))
% 0.39/0.63  (define @t104 () (@var "TargetDayInt" Int))
% 0.39/0.63  (define @t105 () (@var "StartDayInt" Int))
% 0.39/0.63  (define @t106 () (@var "StartDayName" tptp.day_name))
% 0.39/0.63  (define @t107 () (@var "N2" tptp.day_name))
% 0.39/0.63  (define @t108 () (@var "N1" tptp.day_name))
% 0.39/0.63  (define @t109 () (@var "Dt" tptp.date))
% 0.39/0.63  (define @t110 () (@var "I2" Int))
% 0.39/0.63  (define @t111 () (@var "I1" Int))
% 0.39/0.63  (define @t112 () (@var "Nm" tptp.day_name))
% 0.39/0.63  (define @t113 () (to_real @t94))
% 0.39/0.63  (define @t114 () (/ @t113 @t81))
% 0.39/0.63  (define @t115 () (ite @t83 (to_int @t114) (- (to_int (- @t114)))))
% 0.39/0.63  (define @t116 () (= @t34 2))
% 0.39/0.63  (define @t117 () (@list @t34 @t35))
% 0.39/0.63  (define @t118 () (@var "Name" tptp.day_name))
% 0.39/0.63  (define @t119 () (@var "Term2" Int))
% 0.39/0.63  (define @t120 () (to_real @t119))
% 0.39/0.63  (define @t121 () (/ @t120 @t58))
% 0.39/0.63  (define @t122 () (to_real (+ (to_int (- @t120 (* (to_real (ite @t63 (to_int @t121) (- (to_int (- @t121))))) @t58))) 7)))
% 0.39/0.63  (define @t123 () (/ @t122 @t58))
% 0.39/0.63  (define @t124 () (@var "J" Int))
% 0.39/0.63  (define @t125 () (/ (to_real @t124) @t46))
% 0.39/0.63  (define @t126 () (@var "K" Int))
% 0.39/0.63  (define @t127 () (/ (to_real @t126) @t46))
% 0.39/0.63  (define @t128 () (@var "Term1" Int))
% 0.39/0.63  (define @t129 () (to_real 5))
% 0.39/0.63  (define @t130 () (@var "ZM" Int))
% 0.39/0.63  (define @t131 () (/ (to_real (* 13 (+ @t130 1))) @t129))
% 0.39/0.63  (define @t132 () (@var "ZY" Int))
% 0.39/0.63  (define @t133 () (tptp.calc_date @t1 1 @t35 @t37))
% 0.39/0.63  (define @t134 () (tptp.is_leap_year @t94))
% 0.39/0.63  (define @t135 () (@list @t1 @t35 @t37))
% 0.39/0.63  (define @t136 () (@var "W" tptp.day_name))
% 0.39/0.63  (define @t137 () (@var "Res2" tptp.date))
% 0.39/0.63  (define @t138 () (@var "Res1" tptp.date))
% 0.39/0.63  (define @t139 () (@var "D4" Int))
% 0.39/0.63  (define @t140 () (tptp.ymd @t35 @t34 @t139))
% 0.39/0.63  (define @t141 () (@var "D5" Int))
% 0.39/0.63  (define @t142 () (@var "N" tptp.day_name))
% 0.39/0.63  (define @t143 () (= @t142 tptp.saturday))
% 0.39/0.63  (define @t144 () (tptp.weekday @t5 @t142))
% 0.39/0.63  (define @t145 () (and @t144 @t143))
% 0.39/0.63  (define @t146 () (@list @t142))
% 0.39/0.63  (define @t147 () (exists @t146 @t145))
% 0.39/0.63  (define @t148 () (not @t147))
% 0.39/0.63  (define @t149 () (not @t6))
% 0.39/0.63  (define @t150 () (not (= tptp.saturday tptp.saturday)))
% 0.39/0.63  (define @t151 () (or @t149 @t150))
% 0.39/0.63  (define @t152 () (= tptp.saturday @t142))
% 0.39/0.63  (define @t153 () (not @t152))
% 0.39/0.63  (define @t154 () (not @t144))
% 0.39/0.63  (define @t155 () (or @t153 @t154 @t153))
% 0.39/0.63  (define @t156 () (or @t154 @t153))
% 0.39/0.63  (define @t157 () (and @t144 @t152))
% 0.39/0.63  (define @t158 () (forall @t146 (not @t157)))
% 0.39/0.63  (define @t159 () (not @t158))
% 0.39/0.63  (assume @p1 (forall @t3 (= (tptp.valid_day @t1) (and @t2 (<= @t1 31)))))
% 0.39/0.63  (assume @p2 (tptp.weekday (tptp.ymd 2024 1 1) tptp.monday))
% 0.39/0.63  (assume @p3 (tptp.weekday (tptp.ymd 2024 2 1) tptp.thursday))
% 0.39/0.63  (assume @p4 (tptp.weekday (tptp.ymd 2024 3 1) tptp.friday))
% 0.39/0.63  (assume @p5 (tptp.weekday (tptp.ymd 2024 4 1) tptp.monday))
% 0.39/0.63  (assume @p6 (tptp.weekday (tptp.ymd 2024 5 1) tptp.wednesday))
% 0.39/0.63  (assume @p7 (tptp.weekday @t4 tptp.wednesday))
% 0.39/0.63  (assume @p8 (tptp.weekday (tptp.ymd 2025 2 1) tptp.saturday))
% 0.39/0.63  (assume @p9 (tptp.weekday (tptp.ymd 2025 3 1) tptp.saturday))
% 0.39/0.63  (assume @p10 (tptp.weekday (tptp.ymd 2025 11 1) tptp.saturday))
% 0.39/0.63  (assume @p11 (tptp.weekday (tptp.ymd 1776 1 1) tptp.monday))
% 0.39/0.63  (assume @p12 (tptp.weekday (tptp.ymd 1969 1 1) tptp.wednesday))
% 0.39/0.63  (assume @p13 (tptp.weekday (tptp.ymd 1985 1 1) tptp.tuesday))
% 0.39/0.63  (assume @p14 @t6)
% 0.39/0.63  (assume @p15 (tptp.calc_date 0 3 2024 (tptp.ymd 2024 2 29)))
% 0.39/0.63  (assume @p16 (tptp.calc_date 0 3 2025 (tptp.ymd 2025 2 28)))
% 0.39/0.63  (assume @p17 (tptp.calc_date 0 1 2025 (tptp.ymd 2024 12 31)))
% 0.39/0.63  (assume @p18 (tptp.calc_date 0 1 2024 (tptp.ymd 2023 12 31)))
% 0.39/0.63  (assume @p19 (tptp.calc_date 32 12 2024 @t4))
% 0.39/0.63  (assume @p20 (forall (@list @t13 @t12 @t11 @t10 @t9 @t8 @t7 @t22 @t19 @t20 @t15) (=> (and (= @t22 (+ @t12 @t10)) (= @t19 (to_int (- @t23 (* (to_real @t25) @t21)))) (= @t20 @t25) (= @t15 (+ @t13 (+ @t11 @t20))) (= @t9 (to_int (- @t16 (* (to_real @t18) @t14)))) (= @t8 @t19) (= @t7 @t18)) (tptp.normalize_time @t13 @t12 @t11 @t10 @t9 @t8 @t7))))
% 0.39/0.63  (assume @p21 (forall (@list @t35 @t34 @t1 @t33 @t32 @t31 @t11 @t10 @t30 @t29 @t28 @t27 @t26 @t36) (=> (and (tptp.normalize_time @t33 @t32 @t11 @t10 @t27 @t26 @t36) (tptp.calc_date (+ @t1 (+ @t31 @t36)) @t34 @t35 (tptp.ymd @t30 @t29 @t28))) (tptp.calc_datetime @t35 @t34 @t1 @t33 @t32 @t31 @t11 @t10 (tptp.dt @t30 @t29 @t28 @t27 @t26)))))
% 0.39/0.63  (assume @p22 (forall @t42 (=> (and @t41 (> @t1 146097) @t40) (=> (tptp.calc_date (- @t1 146097) 1 @t39 @t37) @t38))))
% 0.39/0.63  (assume @p23 (forall @t42 (=> (and @t41 (<= @t1 (- 146097))) (=> (tptp.calc_date (+ @t1 146097) 1 (- @t35 400) @t37) @t38))))
% 0.39/0.63  (assume @p24 (forall @t42 (=> (and @t41 (<= @t1 (- 36524))) (=> (tptp.calc_date @t43 1 (- @t35 100) @t37) @t38))))
% 0.39/0.63  (assume @p25 (forall @t42 (=> (and @t41 @t52 (or (= @t50 1) (= @t50 2))) (=> @t45 @t38))))
% 0.39/0.63  (assume @p26 (forall @t42 (=> (and @t41 (<= @t1 (- 3653)) (or (= @t50 0) (= @t50 3))) (=> (tptp.calc_date (+ @t1 3653) 1 @t44 @t37) @t38))))
% 0.39/0.63  (assume @p27 (forall @t42 (=> (and @t41 @t54 @t40 (> @t35 2000) (< @t35 2095)) @t53)))
% 0.39/0.63  (assume @p28 (forall (@list @t35 @t34 @t64 @t60 @t59 @t57 @t55) (=> (and (tptp.weekday @t65 @t64) (tptp.is_days_in_month @t34 @t35 @t59) (tptp.map_name_to_int @t64 @t60) (= @t57 (to_int (- @t61 (* (to_real (ite @t63 (to_int @t62) (- (to_int (- @t62))))) @t58)))) (tptp.map_iso @t57 @t55)) (tptp.weekday (tptp.ymd @t35 @t56 1) @t55))))
% 0.39/0.63  (assume @p29 (forall @t42 (=> (and @t41 @t67 @t40) (=> (tptp.calc_date @t66 1 (+ @t35 100) @t37) @t38))))
% 0.39/0.63  (assume @p30 (forall @t3 (=> (> @t1 100000) @t67)))
% 0.39/0.63  (assume @p31 (forall @t3 (=> (> @t1 400000) (> (- @t1 365240) 3652))))
% 0.39/0.63  (assume @p32 (forall @t3 (=> (> @t1 40000) (> @t66 1461))))
% 0.39/0.63  (assume @p33 (forall @t3 (=> (< @t1 (- 41000)) (< @t43 @t51))))
% 0.39/0.63  (assume @p34 (forall @t42 (=> (and @t41 (> @t1 3653) @t40 (or @t71 (= @t70 3))) (=> (tptp.calc_date (- @t1 3653) 1 (+ @t35 10) @t37) @t38))))
% 0.39/0.63  (assume @p35 (forall @t42 (=> (and @t41 @t54 @t40 @t71) @t53)))
% 0.39/0.63  (assume @p36 (forall @t76 (=> (and @t41 (tptp.is_days_in_year @t35 @t72) @t75 @t40) @t74)))
% 0.39/0.63  (assume @p37 (forall @t77 (tptp.is_days_in_month 1 @t35 31)))
% 0.39/0.63  (assume @p38 (forall @t77 (and (=> (and @t71 (or (not @t86) @t80)) (tptp.is_days_in_month 2 @t35 29)) (=> (or (not @t71) (and @t86 (not @t80))) (tptp.is_days_in_month 2 @t35 28)))))
% 0.39/0.63  (assume @p39 (forall @t77 (tptp.is_days_in_month 3 @t35 31)))
% 0.39/0.63  (assume @p40 (forall @t77 (tptp.is_days_in_month 4 @t35 30)))
% 0.39/0.63  (assume @p41 (forall @t77 (tptp.is_days_in_month 5 @t35 31)))
% 0.39/0.63  (assume @p42 (forall @t77 (tptp.is_days_in_month 6 @t35 30)))
% 0.39/0.63  (assume @p43 (forall @t77 (tptp.is_days_in_month 7 @t35 31)))
% 0.39/0.63  (assume @p44 (forall @t77 (tptp.is_days_in_month 8 @t35 31)))
% 0.39/0.63  (assume @p45 (forall @t77 (tptp.is_days_in_month 9 @t35 30)))
% 0.39/0.63  (assume @p46 (forall @t77 (tptp.is_days_in_month 10 @t35 31)))
% 0.39/0.63  (assume @p47 (forall @t77 (tptp.is_days_in_month 11 @t35 30)))
% 0.39/0.63  (assume @p48 (forall @t77 (tptp.is_days_in_month 12 @t35 31)))
% 0.39/0.63  (assume @p49 (forall (@list @t1 @t34 @t35 @t72) (=> (and @t88 @t2 (<= @t1 @t72)) (tptp.calc_date @t1 @t34 @t35 @t87))))
% 0.39/0.63  (assume @p50 (forall @t76 (=> (and @t88 @t75 (not @t89)) (=> (tptp.calc_date @t73 @t56 @t35 @t37) @t38))))
% 0.39/0.63  (assume @p51 (forall @t76 (=> (and @t88 @t75 @t89) @t74)))
% 0.39/0.63  (assume @p52 (forall @t76 (=> (and @t93 @t92) (=> (and (tptp.is_days_in_month @t90 @t35 @t72) (tptp.calc_date @t91 @t90 @t35 @t37)) @t38))))
% 0.39/0.63  (assume @p53 (forall @t76 (=> (and @t93 @t41) (=> (and (tptp.is_days_in_month 12 @t94 @t72) (tptp.calc_date @t91 12 @t94 @t37)) @t38))))
% 0.39/0.63  (assume @p54 (tptp.map_name_to_int tptp.saturday 0))
% 0.39/0.63  (assume @p55 (tptp.map_name_to_int tptp.sunday 1))
% 0.39/0.63  (assume @p56 (tptp.map_name_to_int tptp.monday 2))
% 0.39/0.63  (assume @p57 (tptp.map_name_to_int tptp.tuesday 3))
% 0.39/0.63  (assume @p58 (tptp.map_name_to_int tptp.wednesday 4))
% 0.39/0.63  (assume @p59 (tptp.map_name_to_int tptp.thursday 5))
% 0.39/0.63  (assume @p60 (tptp.map_name_to_int tptp.friday 6))
% 0.39/0.63  (assume @p61 (forall (@list @t95 @t96 @t99) (= (tptp.calc_nth_offset @t95 @t96 @t99) (and (<= 0 @t95) (<= @t95 6) (<= 0 @t96) (<= @t96 6) (<= 0 @t99) (<= @t99 6) (= @t99 (to_int (- @t97 (* (to_real (ite @t63 (to_int @t98) (- (to_int (- @t98))))) @t58))))))))
% 0.39/0.63  (assume @p62 (forall (@list @t102 @t101 @t34 @t35 @t106 @t105 @t104 @t103 @t100) (=> (and (tptp.weekday @t65 @t106) (tptp.map_name_to_int @t106 @t105) (tptp.map_name_to_int @t101 @t104) (tptp.calc_nth_offset @t105 @t104 @t103) (= @t100 (+ 1 (+ @t103 (* (- @t102 1) 7))))) (tptp.nth_weekday_date @t102 @t101 @t34 @t35 (tptp.ymd @t35 @t34 @t100)))))
% 0.39/0.63  (assume @p63 (forall (@list @t109 @t108 @t107) (=> (and (tptp.weekday @t109 @t108) (tptp.weekday @t109 @t107)) (= @t108 @t107))))
% 0.39/0.63  (assume @p64 (forall (@list @t112 @t111 @t110) (=> (and (tptp.map_name_to_int @t112 @t111) (tptp.map_name_to_int @t112 @t110)) (= @t111 @t110))))
% 0.39/0.63  (assume @p65 (forall @t117 (=> (or @t41 @t116) (tptp.zeller_prep @t34 @t35 (+ @t34 12) @t94 (to_int (- @t113 (* (to_real @t115) @t81))) @t115))))
% 0.39/0.63  (assume @p66 (forall @t117 (=> (and @t92 (not @t116)) (tptp.zeller_prep @t34 @t35 @t34 @t35 @t85 @t84))))
% 0.39/0.63  (assume @p67 (forall (@list @t35 @t34 @t1 @t118 @t130 @t132 @t126 @t124 @t128 @t119 @t33) (=> (and (> @t35 1582) (not (= @t35 2024)) (not (= @t35 2025)) (not (= @t35 1776)) (not (= @t35 1969)) (not (= @t35 1985)) (tptp.zeller_prep @t34 @t35 @t130 @t132 @t126 @t124) (= @t128 (ite (>= @t129 0/1) (to_int @t131) (- (to_int (- @t131))))) (= @t119 (+ @t1 (+ @t128 (+ @t126 (+ (ite @t49 (to_int @t127) (- (to_int (- @t127)))) (+ (ite @t49 (to_int @t125) (- (to_int (- @t125)))) (* 5 @t124))))))) (= @t33 (to_int (- @t122 (* (to_real (ite @t63 (to_int @t123) (- (to_int (- @t123))))) @t58)))) (tptp.map_iso @t33 @t118)) (tptp.weekday @t87 @t118))))
% 0.39/0.63  (assume @p68 (tptp.map_iso 0 tptp.saturday))
% 0.39/0.63  (assume @p69 (tptp.map_iso 1 tptp.sunday))
% 0.39/0.63  (assume @p70 (tptp.map_iso 2 tptp.monday))
% 0.39/0.63  (assume @p71 (tptp.map_iso 3 tptp.tuesday))
% 0.39/0.63  (assume @p72 (tptp.map_iso 4 tptp.wednesday))
% 0.39/0.63  (assume @p73 (tptp.map_iso 5 tptp.thursday))
% 0.39/0.63  (assume @p74 (tptp.map_iso 6 tptp.friday))
% 0.39/0.63  (assume @p75 (tptp.is_days_in_year 2024 366))
% 0.39/0.63  (assume @p76 (tptp.is_days_in_year 2025 365))
% 0.39/0.63  (assume @p77 (tptp.is_days_in_year 2026 365))
% 0.39/0.63  (assume @p78 (tptp.is_days_in_year 2027 365))
% 0.39/0.63  (assume @p79 (tptp.is_days_in_year 2028 366))
% 0.39/0.63  (assume @p80 (tptp.calc_date 1461 1 2025 (tptp.ymd 2028 12 31)))
% 0.39/0.63  (assume @p81 (tptp.is_days_in_month 2 1776 29))
% 0.39/0.63  (assume @p82 (tptp.is_days_in_month 2 2024 29))
% 0.39/0.63  (assume @p83 (forall @t135 (=> (and (<= @t1 (- 365)) (not @t134)) (=> (tptp.calc_date (+ @t1 365) 1 @t94 @t37) @t133))))
% 0.39/0.63  (assume @p84 (forall @t135 (=> (and (<= @t1 (- 366)) @t134) (=> (tptp.calc_date (+ @t1 366) 1 @t94 @t37) @t133))))
% 0.39/0.63  (assume @p85 (forall @t135 (=> @t52 (=> @t45 @t133))))
% 0.39/0.63  (assume @p86 (forall (@list @t35 @t34 @t1 @t136 @t138 @t137) (=> (and (tptp.calc_date @t1 @t34 @t35 @t138) (tptp.calc_date @t1 @t34 @t39 @t137)) (= (tptp.weekday @t138 @t136) (tptp.weekday @t137 @t136)))))
% 0.39/0.63  (assume @p87 (forall (@list @t101 @t34 @t35 @t139 @t141) (=> (and (tptp.nth_weekday_date 4 @t101 @t34 @t35 @t140) (tptp.nth_weekday_date 5 @t101 @t34 @t35 (tptp.ymd @t35 @t34 @t141)) (tptp.is_days_in_month @t34 @t35 @t139) (not (tptp.is_days_in_month @t34 @t35 @t141))) (tptp.nth_weekday_date 5 @t101 @t34 @t35 @t140))))
% 0.39/0.63  (assume @p88 @t148)
% 0.39/0.63  (assume @p89 true)
% 0.39/0.63  (step @p90 :rule bool-double-not-elim :args (@t6))
% 0.39/0.63  (step @p91 :rule aci_norm :args ((= (or @t149 false) @t149)))
% 0.39/0.63  (step @p92 :rule evaluate :args ((not true)))
% 0.39/0.63  (step @p93 :rule eq-refl :args (tptp.saturday))
% 0.39/0.63  (step @p94 :rule cong :premises (@p93) :args (@t150))
% 0.39/0.63  (step @p95 :rule trans :premises (@p94 @p92))
% 0.39/0.63  (step @p96 :rule refl :args (@t149))
% 0.39/0.63  (step @p97 :rule nary_cong :premises (@p96 @p95) :args (@t151))
% 0.39/0.63  (step @p98 :rule trans :premises (@p97 @p91))
% 0.39/0.63  (step @p99 :rule quant-var-elim-eq :args ((= (forall @t146 (or (not @t143) @t154 @t153)) @t151)))
% 0.39/0.63  (step @p100 :rule refl :args (@t153))
% 0.39/0.63  (step @p101 :rule refl :args (@t154))
% 0.39/0.63  (step @p102 :rule eq-symm :args (tptp.saturday @t142))
% 0.39/0.63  (step @p103 :rule cong :premises (@p102) :args (@t153))
% 0.39/0.63  (step @p104 :rule nary_cong :premises (@p103 @p101 @p100) :args (@t155))
% 0.39/0.63  (step @p105 :rule aci_norm :args ((= @t156 @t155)))
% 0.39/0.63  (step @p106 :rule trans :premises (@p105 @p104))
% 0.39/0.63  (step @p107 :rule cong :premises (@p106) :args ((forall @t146 @t156)))
% 0.39/0.63  (step @p108 :rule trans :premises (@p107 @p99))
% 0.39/0.63  (step @p109 :rule trans :premises (@p108 @p98))
% 0.39/0.63  (step @p110 :rule bool-and-de-morgan :args (@t144 @t152 true))
% 0.39/0.63  (step @p111 :rule cong :premises (@p110) :args (@t158))
% 0.39/0.63  (step @p112 :rule trans :premises (@p111 @p109))
% 0.39/0.63  (step @p113 :rule cong :premises (@p112) :args (@t159))
% 0.39/0.63  (step @p114 :rule trans :premises (@p113 @p90))
% 0.39/0.63  (step @p115 :rule exists-elim :args ((= (exists @t146 @t157) @t159)))
% 0.39/0.63  (step @p116 :rule trans :premises (@p115 @p114))
% 0.39/0.63  (step @p117 :rule eq-symm :args (@t142 tptp.saturday))
% 0.39/0.63  (step @p118 :rule refl :args (@t144))
% 0.39/0.63  (step @p119 :rule nary_cong :premises (@p118 @p117) :args (@t145))
% 0.39/0.63  (step @p120 :rule cong :premises (@p119) :args (@t147))
% 0.39/0.63  (step @p121 :rule trans :premises (@p120 @p116))
% 0.39/0.63  (step @p122 :rule cong :premises (@p121) :args (@t148))
% 0.39/0.63  (step @p123 :rule eq_resolve :premises (@p88 @p122))
% 0.39/0.63  (step @p124 false :rule contra :premises (@p14 @p123))
% 0.39/0.63  )
% 0.39/0.63  % SZS output end Proof
% 0.39/0.63  % cvc5 exiting
%------------------------------------------------------------------------------