Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


SSL interval_trig.prf   Interaktion und
PortierbarkeitLisp

 

(interval_trig
 (cos_error_pi_lbn_bound 0
  (cos_error_pi_lbn_bound-1 nil 3554219250
   ("" (expand "cos_term")
    (("" (case "FORALL (kk:nat): even?(kk) IMPLIES (-1)^kk = 1")
      (("1" (skeep)
        (("1" (inst-cp - "2+2*n")
          (("1" (hide -1)
            (("1" (split -)
              (("1" (replaces -1)
                (("1" (assert)
                  (("1" (expand "abs")
                    (("1" (case "pi_lbn(n)^(4+4*n) < 3.2^(4+4*n)")
                      (("1" (mult-by -1 "1/factorial(4+4*n)")
                        (("1" (assert) nil nil)) nil)
                       ("2" (hide 2)
                        (("2" (lemma "both_sides_expt_pos_lt_aux")
                          (("2" (inst - "3+4*n" "pi_lbn(n)" "3.2")
                            (("2" (assert)
                              (("2"
                                (expand "^")
                                (("2"
                                  (assert)
                                  (("2"
                                    (hide 2)
                                    (("2"
                                      (lemma "pi_bounds")
                                      (("2"
                                        (inst-cp - "n")
                                        (("2"
                                          (inst - "3")
                                          (("2"
                                            (eval-expr "pi_ubn(3)")
                                            (("2"
                                              (assert)
                                              (("2" (ground) nil nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil)
               ("2" (hide 2)
                (("2" (expand "even?")
                  (("2" (inst + "1+n") (("2" (assert) nil nil)) nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil)
       ("2" (hide 2)
        (("2" (skeep)
          (("2" (expand "even?")
            (("2" (skosimp*)
              (("2" (replace -1)
                (("2" (lemma "expt_times")
                  (("2" (inst?)
                    (("2" (case "(-1)^2 = 1")
                      (("1" (replaces -1)
                        (("1" (replaces -1)
                          (("1" (case "FORALL (jjj:nat): 1^jjj = 1")
                            (("1" (inst?) (("1" (assert) nil nil)) nil)
                             ("2" (induct "jjj")
                              (("1"
                                (hide-all-but 1)
                                (("1" (grind) nil nil))
                                nil)
                               ("2"
                                (skeep)
                                (("2"
                                  (expand "^")
                                  (("2"
                                    (expand "expt" 1)
                                    (("2" (assert) nil nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil)
                       ("2" (hide-all-but 1) (("2" (grind) nil nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((- const-decl "[numfield -> numfield]" number_fields nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (^ const-decl "real" exponentiation nil)
    (/= const-decl "boolean" notequal nil)
    (OR const-decl "[bool, bool -> bool]" booleans nil)
    (= const-decl "[T, T -> boolean]" equalities nil)
    (even? const-decl "bool" integers nil)
    (IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (>= const-decl "bool" reals nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (int nonempty-type-eq-decl nil integers nil)
    (integer_pred const-decl "[rational -> boolean]" integers nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (rational_pred const-decl "[real -> boolean]" rationals nil)
    (real nonempty-type-from-decl nil reals nil)
    (real_pred const-decl "[number_field -> boolean]" reals nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (number_field_pred const-decl "[number -> boolean]" number_fields
     nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number nonempty-type-decl nil numbers nil)
    (minus_odd_is_odd application-judgement "odd_int" integers nil)
    (even_plus_even_is_even application-judgement "even_int" integers
     nil)
    (posint_plus_nnint_is_posint application-judgement "posint"
     integers nil)
    (* const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (posrat_div_posrat_is_posrat application-judgement "posrat"
     rationals nil)
    (pi_lb_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (nonzero_abs_is_pos application-judgement "{y: posreal | y >= x}"
     real_defs nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (< const-decl "bool" reals nil)
    (pi_lbn const-decl "real" atan_approx "trig_fnd/")
    (nznum nonempty-type-eq-decl nil number_fields nil)
    (/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
    (posrat_times_posrat_is_posrat application-judgement "posrat"
     rationals nil)
    (factorial def-decl "posnat" factorial "ints/")
    (posnat nonempty-type-eq-decl nil integers nil)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (posreal nonempty-type-eq-decl nil real_types nil)
    (> const-decl "bool" reals nil)
    (nonneg_real nonempty-type-eq-decl nil real_types nil)
    (both_sides_times_pos_lt1 formula-decl nil real_props nil)
    (both_sides_expt_pos_lt_aux formula-decl nil exponentiation nil)
    (posrat_expt application-judgement "posrat" exponentiation nil)
    (odd_plus_odd_is_even application-judgement "even_int" integers
     nil)
    (posreal_expt application-judgement "posreal" exponentiation nil)
    (nzreal_expt application-judgement "nzreal" exponentiation nil)
    (pi_bounds formula-decl nil atan_approx "trig_fnd/")
    (pi_bound name-judgement "{r: posreal | pi_lb < r AND r < pi_ub}"
     atan_approx "trig_fnd/")
    (pi_ubn const-decl "real" atan_approx "trig_fnd/")
    (pi_ub_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (bijective? const-decl "bool" functions nil)
    (id const-decl "(bijective?[T, T])" identity nil)
    (TRUE const-decl "bool" booleans nil)
    (odd_plus_even_is_odd application-judgement "odd_int" integers nil)
    (abs const-decl "{n: nonneg_real | n >= m AND n >= -m}" real_defs
         nil)
    (posreal_times_posreal_is_posreal application-judgement "posreal"
     real_types nil)
    (posreal_div_posreal_is_posreal application-judgement "posreal"
     real_types nil)
    (posint_times_posint_is_posint application-judgement "posint"
     integers nil)
    (nzreal_div_nzreal_is_nzreal application-judgement "nzreal"
     real_types nil)
    (expt_times formula-decl nil exponentiation nil)
    (pred type-eq-decl nil defined_types nil)
    (nat_induction formula-decl nil naturalnumbers nil)
    (expt def-decl "real" exponentiation nil)
    (posnat_expt application-judgement "posnat" exponentiation nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (j!1 skolem-const-decl "int" interval_trig nil)
    (posint_exp application-judgement "posint" exponentiation nil)
    (nzint_times_nzint_is_nzint application-judgement "nzint" integers
     nil)
    (nzrat_div_nzrat_is_nzrat application-judgement "nzrat" rationals
     nil)
    (int_expt application-judgement "int" exponentiation nil)
    (nzreal nonempty-type-eq-decl nil reals nil)
    (cos_term const-decl "real" trig_approx "trig_fnd/")
    (posrat_exp application-judgement "posrat" exponentiation nil)
    (nnrat_exp application-judgement "nnrat" exponentiation nil)
    (nzreal_times_nzreal_is_nzreal application-judgement "nzreal"
     real_types nil)
    (posreal_exp application-judgement "posreal" exponentiation nil)
    (nzreal_exp application-judgement "nzreal" exponentiation nil)
    (int_exp application-judgement "int" exponentiation nil)
    (mult_divides2 application-judgement "(divides(m))" divides nil)
    (mult_divides1 application-judgement "(divides(n))" divides nil)
    (even_times_int_is_even application-judgement "even_int" integers
     nil)
    (nnint_times_nnint_is_nnint application-judgement "nonneg_int"
     integers nil))
   nil))
 (Pi_TCC1 0
  (Pi_TCC1-1 nil 3318076124
   ("" (skeep)
    (("" (expand "Pos?")
      (("" (expand "Gt")
        (("" (expand "[||]")
          (("" (split) (("1" (assert) nil nil) ("2" (assert) nil nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((Pos? const-decl "bool" interval nil)
    ([\|\|] const-decl "Interval" interval nil)
    (pi_ub_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (pi_lb_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (real_gt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (Gt const-decl "bool" interval nil))
   nil))
 (Cos_fundamental 0
  (Cos_fundamental-3 nil 3554808246
   ("" (skeep)
    (("" (expand "<<")
      (("" (flatten)
        (("" (split)
          (("1" (expand "Cos")
            (("1" (lift-if)
              (("1" (lift-if)
                (("1" (lift-if)
                  (("1" (lift-if)
                    (("1" (assert)
                      (("1" (lift-if)
                        (("1" (assert)
                          (("1" (ground)
                            (("1" (expand "cos_0_pi")
                              (("1"
                                (expand "[||]")
                                (("1"
                                  (lemma "cos_lb_nn_strict_decreasing")
                                  (("1"
                                    (inst - "n")
                                    (("1"
                                      (expand "strict_decreasing?")
                                      (("1"
                                        (inst - "ub(X)" "ub(Y)")
                                        (("1" (assert) nil nil)
                                         ("2"
                                          (case "Proper?(Y)")
                                          (("1"
                                            (hide-all-but (-1 -3 1))
                                            (("1"
                                              (expand "Proper?")
                                              (("1"
                                                (lemma "pi_bounds")
                                                (("1"
                                                  (inst - "n")
                                                  (("1"
                                                    (lemma
                                                     "pi_lb_est_le")
                                                    (("1"
                                                      (inst - "n")
                                                      (("1"
                                                        (expand "<<")
                                                        (("1"
                                                          (ground)
                                                          nil
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil)
                                           ("2"
                                            (expand "Proper?")
                                            (("2" (ground) nil nil))
                                            nil))
                                          nil)
                                         ("3"
                                          (hide-all-but (-1 -3 1))
                                          (("3"
                                            (lemma "pi_lb_est_le")
                                            (("3"
                                              (inst - "n")
                                              (("3"
                                                (expand "Proper?")
                                                (("3"
                                                  (expand "<<")
                                                  (("3"
                                                    (ground)
                                                    nil
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("2" (case "NOT X = [|0,0|]")
                              (("1"
                                (hide 2)
                                (("1"
                                  (hide 2)
                                  (("1"
                                    (expand "Proper?")
                                    (("1"
                                      (expand "[||]")
                                      (("1"
                                        (expand "<<")
                                        (("1"
                                          (decompose-equality +)
                                          (("1"
                                            (grind
                                             :exclude
                                             "pi_lb_est")
                                            nil
                                            nil)
                                           ("2"
                                            (grind
                                             :exclude
                                             "pi_lb_est")
                                            nil
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil)
                               ("2"
                                (replace -1)
                                (("2"
                                  (hide-all-but 2)
                                  (("2"
                                    (grind :exclude "pi_lb_est")
                                    nil
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("3" (hide (-3 1 2))
                              (("3"
                                (grind :exclude "pi_lb_est")
                                nil
                                nil))
                              nil)
                             ("4" (hide-all-but (- 4))
                              (("4"
                                (grind :exclude "pi_lb_est")
                                nil
                                nil))
                              nil)
                             ("5" (case "NOT X = [|0,0|]")
                              (("1"
                                (hide-all-but (- 1))
                                (("1"
                                  (decompose-equality +)
                                  (("1"
                                    (grind :exclude "pi_lbn")
                                    nil
                                    nil)
                                   ("2"
                                    (grind :exclude "pi_lbn")
                                    nil
                                    nil))
                                  nil))
                                nil)
                               ("2"
                                (replace -1)
                                (("2"
                                  (expand "Neg")
                                  (("2"
                                    (expand "[||]" 1)
                                    (("2"
                                      (expand "cos_0_pi" 1 1)
                                      (("2"
                                        (expand "[||]" 1)
                                        (("2"
                                          (expand "cos_0_pi")
                                          (("2"
                                            (expand "[||]" 1)
                                            (("2"
                                              (expand "cos_lb" + 2)
                                              (("2"
                                                (lemma "cos_approx_a0")
                                                (("2"
                                                  (inst?)
                                                  (("2"
                                                    (replace -1)
                                                    (("2"
                                                      (hide -1)
                                                      (("2"
                                                        (assert)
                                                        (("2"
                                                          (lemma
                                                           "cos_bounds")
                                                          (("2"
                                                            (inst?)
                                                            (("2"
                                                              (ground)
                                                              nil
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("6" (expand "Neg")
                              (("6"
                                (expand "cos_0_pi")
                                (("6"
                                  (expand "[||]")
                                  (("6"
                                    (rewrite "cos_lb_neg")
                                    (("6"
                                      (rewrite "cos_lb_neg")
                                      (("6"
                                        (lemma
                                         "cos_lb_np_strict_increasing")
                                        (("6"
                                          (inst - "n")
                                          (("6"
                                            (expand
                                             "strict_increasing?")
                                            (("6"
                                              (inst - "lb(Y)" "lb(X)")
                                              (("1" (assert) nil nil)
                                               ("2"
                                                (assert)
                                                (("2"
                                                  (expand "<<")
                                                  (("2"
                                                    (flatten)
                                                    (("2"
                                                      (assert)
                                                      nil
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil)
                                               ("3"
                                                (assert)
                                                (("3"
                                                  (lemma
                                                   "pi_lb_est_le")
                                                  (("3"
                                                    (inst - "n")
                                                    (("3"
                                                      (lemma
                                                       "pi_bounds")
                                                      (("3"
                                                        (inst?)
                                                        (("3"
                                                          (expand "<<")
                                                          (("3"
                                                            (ground)
                                                            nil
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("7" (hide-all-but (- 2))
                              (("7" (grind :exclude "pi_lbn") nil nil))
                              nil)
                             ("8" (hide-all-but (- 3))
                              (("8" (grind :exclude "pi_lbn") nil nil))
                              nil)
                             ("9" (expand "cos_0_pi")
                              (("9"
                                (expand "cos_npi2_pi2")
                                (("9"
                                  (expand "[||]" 1)
                                  (("9"
                                    (lemma
                                     "cos_lb_nn_strict_decreasing")
                                    (("9"
                                      (inst - "n")
                                      (("9"
                                        (expand "strict_decreasing?")
                                        (("9"
                                          (inst - "ub(X)" "ub(Y)")
                                          (("1" (assert) nil nil)
                                           ("2"
                                            (expand "<<")
                                            (("2"
                                              (expand "[||]")
                                              (("2"
                                                (lemma "pi_bounds")
                                                (("2"
                                                  (inst - "n")
                                                  (("2"
                                                    (ground)
                                                    nil
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil)
                                           ("3"
                                            (expand "[||]")
                                            (("3"
                                              (expand "<<")
                                              (("3"
                                                (lemma "pi_bounds")
                                                (("3"
                                                  (inst - "n")
                                                  (("3"
                                                    (ground)
                                                    (("3"
                                                      (lemma
                                                       "pi_lb_est_le")
                                                      (("3"
                                                        (inst - "n")
                                                        (("3"
                                                          (ground)
                                                          (("3"
                                                            (expand
                                                             "Proper?")
                                                            (("3"
                                                              (ground)
                                                              nil
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("10" (expand "Neg")
                              (("10"
                                (expand "cos_0_pi")
                                (("10"
                                  (expand "cos_npi2_pi2")
                                  (("10"
                                    (expand "[||]")
                                    (("10"
                                      (rewrite "cos_lb_neg")
                                      (("10"
                                        (lemma
                                         "cos_lb_np_strict_increasing")
                                        (("10"
                                          (inst - "n")
                                          (("10"
                                            (expand
                                             "strict_increasing?")
                                            (("10"
                                              (inst - "lb(Y)" "lb(X)")
                                              (("1" (assert) nil nil)
                                               ("2"
                                                (expand "<<")
                                                (("2"
                                                  (lemma "pi_bounds")
                                                  (("2"
                                                    (inst - "n")
                                                    (("2"
                                                      (expand
                                                       "Proper?")
                                                      (("2"
                                                        (ground)
                                                        nil
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil)
                                               ("3"
                                                (expand "<<")
                                                (("3"
                                                  (expand "Proper?")
                                                  (("3"
                                                    (lemma "pi_bounds")
                                                    (("3"
                                                      (inst - "n")
                                                      (("3"
                                                        (ground)
                                                        nil
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("11" (expand "cos_npi2_pi2")
                              (("11"
                                (expand "[||]")
                                (("11"
                                  (expand "<<")
                                  (("11"
                                    (flatten)
                                    (("11"
                                      (expand "Proper?")
                                      (("11"
                                        (case "ub(X) <= 0")
                                        (("1" (assert) nil nil)
                                         ("2"
                                          (assert)
                                          (("2"
                                            (lemma
                                             "cos_lb_np_strict_increasing")
                                            (("2"
                                              (inst - "n")
                                              (("2"
                                                (expand
                                                 "strict_increasing?")
                                                (("2"
                                                  (inst
                                                   -
                                                   "lb(Y)"
                                                   "lb(X)")
                                                  (("2"
                                                    (assert)
                                                    (("2"
                                                      (lemma
                                                       "cos_lb_nn_strict_decreasing")
                                                      (("2"
                                                        (inst - "n")
                                                        (("2"
                                                          (expand
                                                           "strict_decreasing?")
                                                          (("2"
                                                            (inst
                                                             -
                                                             "ub(X)"
                                                             "ub(Y)")
                                                            (("2"
                                                              (split -)
                                                              (("1"
                                                                (split
                                                                 -)
                                                                (("1"
                                                                  (expand
                                                                   "min")
                                                                  (("1"
                                                                    (assert)
                                                                    (("1"
                                                                      (lift-if)
                                                                      (("1"
                                                                        (lift-if)
                                                                        (("1"
                                                                          (lift-if)
                                                                          (("1"
                                                                            (assert)
                                                                            nil
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil)
                                                                 ("2"
                                                                  (case
                                                                   "lb(Y) = lb(X)")
                                                                  (("1"
                                                                    (replace
                                                                     -1)
                                                                    (("1"
                                                                      (assert)
                                                                      (("1"
                                                                        (expand
                                                                         "min")
                                                                        (("1"
                                                                          (lift-if)
                                                                          (("1"
                                                                            (lift-if)
                                                                            (("1"
                                                                              (lift-if)
                                                                              (("1"
                                                                                (assert)
                                                                                nil
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil)
                                                                   ("2"
                                                                    (assert)
                                                                    nil
                                                                    nil))
                                                                  nil))
                                                                nil)
                                                               ("2"
                                                                (assert)
                                                                (("2"
                                                                  (case
                                                                   "ub(X) = ub(Y)")
                                                                  (("1"
                                                                    (replace
                                                                     -1)
                                                                    (("1"
                                                                      (expand
                                                                       "min")
                                                                      (("1"
                                                                        (lift-if)
                                                                        (("1"
                                                                          (lift-if)
                                                                          (("1"
                                                                            (lift-if)
                                                                            (("1"
                                                                              (assert)
                                                                              nil
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil)
                                                                   ("2"
                                                                    (assert)
                                                                    nil
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("12" (hide-all-but (- 1))
                              (("12"
                                (grind :exclude "pi_lb_est")
                                nil
                                nil))
                              nil)
                             ("13" (expand "cos_0_pi")
                              (("13"
                                (expand "[||]" 1)
                                (("13"
                                  (lemma "cos_lb_nn_strict_decreasing")
                                  (("13"
                                    (inst - "n")
                                    (("13"
                                      (expand "strict_decreasing?")
                                      (("13"
                                        (inst - "ub(X)" "pi_lbn(n)")
                                        (("1"
                                          (assert)
                                          (("1"
                                            (case
                                             "NOT cos_lb(pi_lbn(n), n) <=cos_lb(ub(X), n)")
                                            (("1"
                                              (assert)
                                              (("1"
                                                (lemma "pi_lb_est_le")
                                                (("1"
                                                  (inst - "n")
                                                  (("1"
                                                    (expand "<<")
                                                    (("1"
                                                      (ground)
                                                      nil
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil)
                                             ("2"
                                              (hide -2)
                                              (("2"
                                                (expand "cos_lb")
                                                (("2"
                                                  (lemma
                                                   "cos_approx_cos")
                                                  (("2"
                                                    (inst
                                                     -
                                                     "pi_lbn(n)"
                                                     "1+2*n")
                                                    (("2"
                                                      (lemma
                                                       "cos_error_pi_lbn_bound")
                                                      (("2"
                                                        (inst - "n")
                                                        (("2"
                                                          (assert)
                                                          nil
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil)
                                         ("2"
                                          (lemma "pi_bounds")
                                          (("2"
                                            (inst?)
                                            (("2" (assert) nil nil))
                                            nil))
                                          nil)
                                         ("3"
                                          (hide-all-but (-1 1 -2))
                                          (("3"
                                            (expand "Proper?")
                                            (("3"
                                              (lemma "pi_bounds")
                                              (("3"
                                                (inst - "n")
                                                (("3"
                                                  (lemma
                                                   "pi_lb_est_le")
                                                  (("3"
                                                    (inst - "n")
                                                    (("3"
                                                      (flatten)
                                                      (("3"
                                                        (expand "<<")
                                                        (("3"
                                                          (expand
                                                           "[||]")
                                                          (("3"
                                                            (ground)
                                                            nil
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("14" (expand "Neg")
                              (("14"
                                (expand "cos_0_pi")
                                (("14"
                                  (expand "[||]" 1)
                                  (("14"
                                    (expand "cos_lb")
                                    (("14"
                                      (lemma "cos_error_pi_lbn_bound")
                                      (("14"
                                        (inst - "n")
                                        (("14"
                                          (lemma
                                           "cos_lb_nn_strict_decreasing")
                                          (("14"
                                            (inst - "n")
                                            (("14"
                                              (expand
                                               "strict_decreasing?")
                                              (("14"
                                                (inst
                                                 -
                                                 "-lb(X)"
                                                 "pi_lbn(n)")
                                                (("1"
                                                  (case
                                                   "cos_lb(pi_lbn(n), n) <= cos_lb(-lb(X), n)")
                                                  (("1"
                                                    (hide -2)
                                                    (("1"
                                                      (expand "cos_lb")
                                                      (("1"
                                                        (assert)
                                                        (("1"
                                                          (lemma
                                                           "cos_approx_cos")
                                                          (("1"
                                                            (inst
                                                             -
                                                             "pi_lbn(n)"
                                                             "1+2*n")
                                                            (("1"
                                                              (assert)
                                                              nil
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil)
                                                   ("2"
                                                    (assert)
                                                    (("2"
                                                      (expand "<<" -2)
                                                      (("2"
                                                        (expand
                                                         "[||]"
                                                         -)
                                                        (("2"
                                                          (lemma
                                                           "pi_lb_est_le")
                                                          (("2"
                                                            (inst
                                                             -
                                                             "n")
                                                            (("2"
                                                              (ground)
                                                              nil
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil)
                                                 ("2"
                                                  (lemma "pi_bounds")
                                                  (("2"
                                                    (inst?)
                                                    (("2"
                                                      (assert)
                                                      nil
                                                      nil))
                                                    nil))
                                                  nil)
                                                 ("3"
                                                  (expand "<<" -)
                                                  (("3"
                                                    (expand "[||]" -)
                                                    (("3"
                                                      (flatten)
                                                      (("3"
                                                        (assert)
                                                        (("3"
                                                          (expand
                                                           "Proper?")
                                                          (("3"
                                                            (assert)
                                                            nil
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("15" (expand "cos_npi2_pi2")
                              (("15"
                                (expand "[||]" 1)
                                (("15"
                                  (case
                                   "FORALL (xr:real): -pi_lbn(n)/2 <= xr AND xr <= pi_lbn(n)/2 IMPLIES -1 - (3.2 ^ (4 + 4 * n) / factorial(4 + 4 * n)) <= cos_lb(xr,n)")
                                  (("1"
                                    (inst-cp - "lb(X)")
                                    (("1"
                                      (inst - "ub(X)")
                                      (("1"
                                        (assert)
                                        (("1"
                                          (expand "Proper?")
                                          (("1"
                                            (expand "<<" -3)
                                            (("1"
                                              (lemma "pi_lb_est_le")
                                              (("1"
                                                (inst - "n")
                                                (("1"
                                                  (flatten)
                                                  (("1"
                                                    (expand "[||]" -)
                                                    (("1"
                                                      (assert)
                                                      (("1"
                                                        (expand "min")
                                                        (("1"
                                                          (lift-if)
                                                          (("1"
                                                            (ground)
                                                            nil
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil)
                                   ("2"
                                    (hide 2)
                                    (("2"
                                      (skeep)
                                      (("2"
                                        (case "xr <= 0")
                                        (("1"
                                          (lemma
                                           "cos_lb_np_strict_increasing")
                                          (("1"
                                            (inst - "n")
                                            (("1"
                                              (expand
                                               "strict_increasing?")
                                              (("1"
                                                (inst
                                                 -
                                                 "-pi_lbn(n)"
                                                 "xr")
                                                (("1"
                                                  (assert)
                                                  (("1"
                                                    (lemma
                                                     "cos_approx_cos")
                                                    (("1"
                                                      (expand "cos_lb")
                                                      (("1"
                                                        (inst
                                                         -
                                                         "pi_lbn(n)"
                                                         "1+2*n")
                                                        (("1"
                                                          (lemma
                                                           "cos_error_pi_lbn_bound")
                                                          (("1"
                                                            (assert)
                                                            (("1"
                                                              (inst?)
                                                              (("1"
                                                                (assert)
                                                                (("1"
                                                                  (rewrite
                                                                   "cos_approx_neg")
                                                                  (("1"
                                                                    (assert)
                                                                    nil
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil)
                                                 ("2"
                                                  (assert)
                                                  (("2"
                                                    (lemma "pi_bounds")
                                                    (("2"
                                                      (inst - "n")
                                                      (("2"
                                                        (assert)
                                                        nil
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil)
                                                 ("3"
                                                  (lemma "pi_bounds")
                                                  (("3"
                                                    (inst?)
                                                    (("3"
                                                      (assert)
                                                      (("3"
                                                        (ground)
                                                        nil
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil)
                                         ("2"
                                          (lemma
                                           "cos_lb_nn_strict_decreasing")
                                          (("2"
                                            (inst - "n")
                                            (("2"
                                              (expand
                                               "strict_decreasing?")
                                              (("2"
                                                (inst
                                                 -
                                                 "xr"
                                                 "pi_lbn(n)")
                                                (("1"
                                                  (assert)
                                                  (("1"
                                                    (expand "cos_lb")
                                                    (("1"
                                                      (lemma
                                                       "cos_approx_cos")
                                                      (("1"
                                                        (inst
                                                         -
                                                         "pi_lbn(n)"
                                                         "1+2*n")
                                                        (("1"
                                                          (lemma
                                                           "cos_error_pi_lbn_bound")
                                                          (("1"
                                                            (inst?)
                                                            (("1"
                                                              (assert)
                                                              nil
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil)
                                                 ("2"
                                                  (lemma "pi_bounds")
                                                  (("2"
                                                    (inst?)
                                                    (("2"
                                                      (assert)
                                                      nil
                                                      nil))
                                                    nil))
                                                  nil)
                                                 ("3"
                                                  (assert)
                                                  (("3"
                                                    (lemma "pi_bounds")
                                                    (("3"
                                                      (inst?)
                                                      (("3"
                                                        (assert)
                                                        nil
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil)
           ("2" (expand "Cos")
            (("2" (assert)
              (("2" (lift-if)
                (("2" (lift-if)
                  (("2" (lift-if)
                    (("2" (lift-if)
                      (("2" (lift-if)
                        (("2" (assert)
                          (("2" (case "n = 0")
                            (("1" (replace -1)
                              (("1"
                                (assert)
                                (("1"
                                  (expand "[||]")
                                  (("1"
                                    (expand "<<")
                                    (("1"
                                      (expand "cos_0_pi")
                                      (("1"
                                        (expand "cos_npi2_pi2")
                                        (("1"
                                          (expand "[||]")
                                          (("1"
                                            (expand "Proper?")
                                            (("1"
                                              (assert)
                                              (("1"
                                                (expand "cos_ub")
                                                (("1"
                                                  (expand "cos_approx")
                                                  (("1"
                                                    (expand "sigma")
                                                    (("1"
                                                      (expand "sigma")
                                                      (("1"
                                                        (expand
                                                         "cos_term")
                                                        (("1"
                                                          (propax)
                                                          nil
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("2" (case "NOT n>=1")
                              (("1"
                                (hide 3)
                                (("1" (assert) nil nil))
                                nil)
                               ("2"
                                (hide 1)
                                (("2"
                                  (ground)
                                  (("1"
                                    (expand "cos_0_pi")
                                    (("1"
                                      (expand "[||]")
                                      (("1"
                                        (lemma
                                         "cos_ub_nn_strict_decreasing")
                                        (("1"
                                          (inst - "n")
                                          (("1"
                                            (expand
                                             "strict_decreasing?")
                                            (("1"
                                              (inst - "lb(Y)" "lb(X)")
                                              (("1" (assert) nil nil)
                                               ("2"
                                                (expand "Proper?")
                                                (("2"
                                                  (expand "<<")
                                                  (("2"
                                                    (ground)
                                                    nil
                                                    nil))
                                                  nil))
                                                nil)
                                               ("3"
                                                (case "Proper?(Y)")
                                                (("1"
                                                  (expand "<<")
                                                  (("1"
                                                    (expand "Proper?")
                                                    (("1"
                                                      (ground)
                                                      nil
                                                      nil))
                                                    nil))
                                                  nil)
                                                 ("2"
                                                  (hide (2 3))
                                                  (("2"
                                                    (grind
                                                     :exclude
                                                     "pi_lb_est")
                                                    nil
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil)
                                   ("2"
                                    (case "NOT X = [|0,0|]")
                                    (("1"
                                      (hide 2)
                                      (("1"
                                        (hide 2)
                                        (("1"
                                          (decompose-equality +)
                                          (("1"
                                            (grind
                                             :exclude
                                             "pi_lb_est")
                                            nil
                                            nil)
                                           ("2"
                                            (grind
                                             :exclude
                                             "pi_lb_est")
                                            nil
                                            nil))
                                          nil))
                                        nil))
                                      nil)
                                     ("2"
                                      (replaces -1)
                                      (("2"
                                        (assert)
                                        (("2"
                                          (expand "[||]")
                                          (("2"
                                            (expand "cos_0_pi")
                                            (("2"
                                              (expand "[||]")
                                              (("2"
                                                (expand "<<" -1)
                                                (("2"
                                                  (flatten)
                                                  (("2"
                                                    (assert)
                                                    (("2"
                                                      (expand "Neg")
                                                      (("2"
                                                        (expand "[||]")
                                                        (("2"
                                                          (lemma
                                                           "cos_ub_nn_strict_decreasing")
                                                          (("2"
                                                            (inst
                                                             -
                                                             "n")
                                                            (("2"
                                                              (assert)
                                                              nil
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil)
                                   ("3"
                                    (expand "cos_npi2_pi2")
                                    (("3"
                                      (expand "cos_0_pi")
                                      (("3"
                                        (expand "[||]")
                                        (("3"
                                          (lemma
                                           "cos_ub_nn_strict_decreasing")
                                          (("3"
                                            (inst - "n")
                                            (("3"
                                              (assert)
                                              (("3"
                                                (expand
                                                 "strict_decreasing?")
                                                (("3"
                                                  (inst - "0" "lb(X)")
                                                  (("1"
                                                    (assert)
                                                    (("1"
                                                      (lemma
                                                       "cos_ub_a0")
                                                      (("1"
                                                        (inst?)
                                                        (("1"
                                                          (replaces -1)
                                                          (("1"
                                                            (assert)
                                                            (("1"
                                                              (expand
                                                               "<<")
                                                              (("1"
                                                                (flatten)
                                                                (("1"
                                                                  (assert)
                                                                  (("1"
                                                                    (case
                                                                     "lb(X) = 0")
                                                                    (("1"
                                                                      (replace
                                                                       -1)
                                                                      (("1"
                                                                        (assert)
                                                                        (("1"
                                                                          (lemma
                                                                           "cos_ub_a0")
                                                                          (("1"
                                                                            (inst?)
                                                                            (("1"
                                                                              (assert)
                                                                              nil
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil)
                                                                     ("2"
                                                                      (assert)
                                                                      nil
                                                                      nil))
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil)
                                                   ("2"
                                                    (expand "<<")
                                                    (("2"
                                                      (expand
                                                       "Proper?")
                                                      (("2"
                                                        (ground)
                                                        nil
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil)
                                   ("4"
                                    (hide (1 3 4))
                                    (("4"
                                      (expand "cos_0_pi")
                                      (("4"
                                        (expand "[||]")
                                        (("4"
                                          (expand "<<")
                                          (("4"
                                            (flatten)
                                            (("4"
                                              (lemma
                                               "cos_ub_nn_strict_decreasing")
                                              (("4"
                                                (inst - "n")
                                                (("4"
                                                  (assert)
                                                  (("4"
                                                    (expand
                                                     "strict_decreasing?")
                                                    (("4"
                                                      (inst
                                                       -
                                                       "0"
                                                       "lb(X)")
                                                      (("1"
                                                        (assert)
                                                        (("1"
                                                          (case
                                                           "lb(X) = 0")
                                                          (("1"
                                                            (lemma
                                                             "cos_ub_a0")
                                                            (("1"
                                                              (inst?)
                                                              (("1"
                                                                (assert)
                                                                nil
                                                                nil))
                                                              nil))
                                                            nil)
                                                           ("2"
                                                            (assert)
                                                            (("2"
                                                              (lemma
                                                               "cos_ub_a0")
                                                              (("2"
                                                                (inst?)
                                                                (("2"
                                                                  (assert)
                                                                  nil
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil)
                                                       ("2"
                                                        (expand
                                                         "Proper?")
                                                        (("2"
                                                          (assert)
                                                          nil
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil)
                                   ("5"
                                    (case "NOT X = [|0,0|]")
                                    (("1"
                                      (hide-all-but (- 1))
                                      (("1"
                                        (decompose-equality +)
                                        (("1"
                                          (grind :exclude "pi_lb_est")
                                          nil
                                          nil)
                                         ("2"
                                          (grind :exclude "pi_lb_est")
                                          nil
                                          nil))
                                        nil))
                                      nil)
                                     ("2"
                                      (replace -1)
                                      (("2"
                                        (expand "[||]")
                                        (("2"
                                          (expand "<<")
                                          (("2" (propax) nil nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil)
                                   ("6"
                                    (expand "Neg")
                                    (("6"
                                      (expand "cos_0_pi")
                                      (("6"
                                        (expand "[||]")
                                        (("6"
                                          (rewrite "cos_ub_neg")
                                          (("6"
                                            (rewrite "cos_ub_neg")
                                            (("6"
                                              (lemma
                                               "cos_ub_np_strict_increasing")
                                              (("6"
                                                (inst - "n")
                                                (("6"
                                                  (assert)
                                                  (("6"
                                                    (expand
                                                     "strict_increasing?")
                                                    (("6"
                                                      (inst
                                                       -
                                                       "ub(X)"
                                                       "ub(Y)")
                                                      (("1"
                                                        (assert)
                                                        nil
                                                        nil)
                                                       ("2"
                                                        (expand "<<")
                                                        (("2"
                                                          (expand
                                                           "Proper?")
                                                          (("2"
                                                            (ground)
                                                            nil
                                                            nil))
                                                          nil))
                                                        nil)
                                                       ("3"
                                                        (expand "<<")
                                                        (("3"
                                                          (expand
                                                           "Proper?")
                                                          (("3"
                                                            (ground)
                                                            nil
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil)
                                   ("7"
                                    (expand "Neg")
                                    (("7"
                                      (expand "[||]")
                                      (("7"
                                        (expand "<<")
                                        (("7"
                                          (flatten)
                                          (("7"
                                            (expand "cos_npi2_pi2")
                                            (("7"
                                              (expand "cos_0_pi")
                                              (("7"
                                                (expand "[||]")
                                                (("7"
                                                  (lemma
                                                   "cos_ub_nn_strict_decreasing")
                                                  (("7"
                                                    (inst - "n")
                                                    (("7"
                                                      (assert)
                                                      (("7"
                                                        (expand
                                                         "strict_decreasing?")
                                                        (("7"
                                                          (inst
                                                           -
                                                           "0"
                                                           "-ub(X)")
                                                          (("1"
                                                            (assert)
                                                            (("1"
                                                              (case
                                                               "ub(X) = 0")
                                                              (("1"
                                                                (replace
                                                                 -1)
                                                                (("1"
                                                                  (rewrite
                                                                   "cos_ub_a0")
                                                                  (("1"
                                                                    (assert)
                                                                    nil
                                                                    nil))
                                                                  nil))
                                                                nil)
                                                               ("2"
                                                                (assert)
                                                                (("2"
                                                                  (rewrite
                                                                   "cos_ub_a0")
                                                                  (("2"
                                                                    (assert)
                                                                    nil
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil)
                                                           ("2"
                                                            (assert)
                                                            (("2"
                                                              (expand
                                                               "Proper?")
                                                              (("2"
                                                                (assert)
                                                                nil
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil)
                                   ("8"
                                    (hide (1 3 4 5))
                                    (("8"
                                      (expand "<<")
                                      (("8"
                                        (expand "[||]")
                                        (("8"
                                          (flatten)
                                          (("8"
                                            (expand "Neg")
                                            (("8"
                                              (expand "[||]")
                                              (("8"
                                                (expand "cos_0_pi")
                                                (("8"
                                                  (expand "[||]")
                                                  (("8"
                                                    (lemma
                                                     "cos_ub_nn_strict_decreasing")
                                                    (("8"
                                                      (expand
                                                       "Proper?")
                                                      (("8"
                                                        (inst - "n")
                                                        (("8"
                                                          (assert)
                                                          (("8"
                                                            (expand
                                                             "strict_decreasing?")
                                                            (("8"
                                                              (inst
                                                               -
                                                               "0"
                                                               "-ub(X)")
                                                              (("8"
                                                                (lemma
                                                                 "cos_ub_a0")
                                                                (("8"
                                                                  (inst?)
                                                                  (("8"
                                                                    (assert)
                                                                    nil
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil)
                                   ("9"
                                    (hide (-2 1 2))
                                    (("9"
                                      (grind :exclude "pi_lb_est")
                                      nil
                                      nil))
                                    nil)
                                   ("10"
                                    (hide (-2 1 2 4))
                                    (("10"
                                      (grind :exclude "pi_lb_est")
                                      nil
                                      nil))
                                    nil)
                                   ("11"
                                    (hide (2 3 4 5))
                                    (("11"
                                      (expand "cos_npi2_pi2")
                                      (("11"
                                        (expand "[||]")
                                        (("11" (assert) nil nil))
                                        nil))
                                      nil))
                                    nil)
                                   ("12"
                                    (hide (1 3 4 5 6))
                                    (("12"
                                      (expand "[||]")
                                      (("12"
                                        (expand "<<")
                                        (("12"
                                          (flatten)
                                          (("12"
                                            (expand "cos_npi2_pi2")
                                            (("12"
                                              (expand "[||]")
                                              (("12" (assert) nil nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil)
                                   ("13"
                                    (hide 1)
                                    (("13"
                                      (grind :exclude "pi_lb_est")
                                      nil
                                      nil))
                                    nil)
                                   ("14"
                                    (hide 1)
                                    (("14"
                                      (hide (1 2 4))
                                      (("14"
                                        (grind :exclude "pi_lb_est")
                                        nil
                                        nil))
                                      nil))
                                    nil)
                                   ("15"
                                    (hide (1 2 3 5 6))
                                    (("15"
                                      (grind :exclude "pi_lb_est")
                                      nil
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((<< const-decl "bool" interval nil)
    (rat_minus_rat_is_rat application-judgement "rat" rationals nil)
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (lb_interval formula-decl nil interval nil)
    (factorial def-decl "posnat" factorial "ints/")
    (posnat nonempty-type-eq-decl nil integers nil)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (OR const-decl "[bool, bool -> bool]" booleans nil)
    (- const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
    (nznum nonempty-type-eq-decl nil number_fields nil)
    (/= const-decl "boolean" notequal nil)
    (IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
    (minus_odd_is_odd application-judgement "odd_int" integers nil)
    (cos_approx_neg formula-decl nil trig_approx "trig_fnd/")
    (xr skolem-const-decl "real" interval_trig nil)
    (cos_approx_cos formula-decl nil trig_approx "trig_fnd/")
    (cos_error_pi_lbn_bound formula-decl nil interval_trig nil)
    (odd_plus_odd_is_even application-judgement "even_int" integers
     nil)
    (nnint_plus_posint_is_posint application-judgement "posint"
     integers nil)
    (n skolem-const-decl "nat" interval_trig nil)
    (pi_lbn const-decl "real" atan_approx "trig_fnd/")
    (min const-decl "{p: real | p <= m AND p <= n}" real_defs nil)
    (real_gt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (cos_npi2_pi2 const-decl "Interval" interval_trig nil)
    (nzreal_div_nzreal_is_nzreal application-judgement "nzreal"
     real_types nil)
    (posreal_div_posreal_is_posreal application-judgement "posreal"
     real_types nil)
    (real_minus_real_is_real application-judgement "real" reals nil)
    (npreal type-eq-decl nil real_types nil)
    (strict_increasing? const-decl "bool" real_fun_preds "reals/")
    (cos_lb_np_strict_increasing formula-decl nil trig_approx
     "trig_fnd/")
    (cos_lb_neg formula-decl nil trig_approx "trig_fnd/")
    (ub_interval formula-decl nil interval nil)
    (minus_nzreal_is_nzreal application-judgement "nzreal" real_types
     nil)
    (expt def-decl "real" exponentiation nil)
    (^ const-decl "real" exponentiation nil)
    (pi_lb_est const-decl "{rr: nnreal | rr < pi}" trig_approx
     "trig_fnd/")
    (Neg const-decl "Interval" interval nil)
    (cos_lb const-decl "real" trig_approx "trig_fnd/")
    (odd_plus_even_is_odd application-judgement "odd_int" integers nil)
    (* const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (cos_bounds formula-decl nil trig_approx "trig_fnd/")
    (cos_range application-judgement "trig_range" sincos_def
     "trig_fnd/")
    (- const-decl "[numfield -> numfield]" number_fields nil)
    (cos_approx_a0 formula-decl nil trig_approx "trig_fnd/")
    (NOT const-decl "[bool -> bool]" booleans nil)
    (= const-decl "[T, T -> boolean]" equalities nil)
    (cos_0_pi const-decl "Interval" interval_trig nil)
    (cos_lb_nn_strict_decreasing formula-decl nil trig_approx
     "trig_fnd/")
    (strict_decreasing? const-decl "bool" real_fun_preds "reals/")
    (Proper? const-decl "bool" interval nil)
    (pi_lb_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (pi_ub_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (pi_lb_est_le formula-decl nil trig_approx "trig_fnd/")
    (pi_bounds formula-decl nil atan_approx "trig_fnd/")
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (nnreal type-eq-decl nil real_types nil)
    (Y skolem-const-decl "Interval" interval_trig nil)
    (pi const-decl "posreal" atan "trig_fnd/")
    (posreal nonempty-type-eq-decl nil real_types nil)
    (> const-decl "bool" reals nil)
    (nonneg_real nonempty-type-eq-decl nil real_types nil)
    (<= const-decl "bool" reals nil)
    (X skolem-const-decl "Interval" interval_trig nil)
    (Interval type-eq-decl nil interval nil)
    (AND const-decl "[bool, bool -> bool]" booleans nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (pi_bound name-judgement "{r: posreal | pi_lb < r AND r < pi_ub}"
     atan_approx "trig_fnd/")
    (number nonempty-type-decl nil numbers nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number_field_pred const-decl "[number -> boolean]" number_fields
     nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (real_pred const-decl "[number_field -> boolean]" reals nil)
    (real nonempty-type-from-decl nil reals nil)
    (rational_pred const-decl "[real -> boolean]" rationals nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (integer_pred const-decl "[rational -> boolean]" integers nil)
    (int nonempty-type-eq-decl nil integers nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (>= const-decl "bool" reals nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    ([\|\|] const-decl "Interval" interval nil)
    (even_plus_even_is_even application-judgement "even_int" integers
     nil)
    (posint_plus_nnint_is_posint application-judgement "posint"
     integers nil)
    (nnreal_div_posreal_is_nnreal application-judgement "nnreal"
     real_types nil)
    (real_div_nzreal_is_real application-judgement "real" reals nil)
    (Cos const-decl "Interval" interval_trig nil)
    (posrat_div_posrat_is_posrat application-judgement "posrat"
     rationals nil)
    (posrat_exp application-judgement "posrat" exponentiation nil)
    (nnrat_exp application-judgement "nnrat" exponentiation nil)
    (mult_divides2 application-judgement "(divides(m))" divides nil)
    (mult_divides1 application-judgement "(divides(n))" divides nil)
    (even_times_int_is_even application-judgement "even_int" integers
     nil)
    (nnint_times_nnint_is_nnint application-judgement "nonneg_int"
     integers nil)
    (minus_real_is_real application-judgement "real" reals nil)
    (< const-decl "bool" reals nil)
    (cos_ub_nn_strict_decreasing formula-decl nil trig_approx
     "trig_fnd/")
    (cos_ub_a0 formula-decl nil trig_approx "trig_fnd/")
    (cos_ub_neg formula-decl nil trig_approx "trig_fnd/")
    (cos_ub_np_strict_increasing formula-decl nil trig_approx
     "trig_fnd/")
    (cos_approx const-decl "real" trig_approx "trig_fnd/")
    (cos_term const-decl "real" trig_approx "trig_fnd/")
    (sigma def-decl "real" sigma "reals/")
    (cos_ub const-decl "real" trig_approx "trig_fnd/"))
   nil)
  (Cos_fundamental-2 nil 3554808171
   ("" (skeep)
    (("" (expand "<<")
      (("" (flatten)
        (("" (split)
          (("1" (expand "Cos2")
            (("1" (lift-if)
              (("1" (lift-if)
                (("1" (lift-if)
                  (("1" (lift-if)
                    (("1" (assert)
                      (("1" (lift-if)
                        (("1" (assert)
                          (("1" (ground)
                            (("1" (expand "cos_0_pi")
                              (("1"
                                (expand "[||]")
                                (("1"
                                  (lemma "cos_lb_nn_strict_decreasing")
                                  (("1"
                                    (inst - "n")
                                    (("1"
                                      (expand "strict_decreasing?")
                                      (("1"
                                        (inst - "ub(X)" "ub(Y)")
                                        (("1" (assert) nil)
                                         ("2"
                                          (case "Proper?(Y)")
                                          (("1"
                                            (hide-all-but (-1 -3 1))
                                            (("1"
                                              (expand "Proper?")
                                              (("1"
                                                (lemma "pi_bounds")
                                                (("1"
                                                  (inst?)
                                                  (("1"
                                                    (expand "<<")
                                                    (("1"
                                                      (ground)
                                                      nil)))))))))))
                                           ("2"
                                            (expand "Proper?")
                                            (("2" (ground) nil)))))
                                         ("3"
                                          (hide-all-but (-1 -3 1))
                                          (("3"
                                            (lemma "pi_bounds")
                                            (("3"
                                              (inst?)
                                              (("3"
                                                (expand "Proper?")
                                                (("3"
                                                  (expand "<<")
                                                  (("3"
                                                    (ground)
                                                    nil)))))))))))))))))))))))
                             ("2" (case "NOT X = [|0,0|]")
                              (("1"
                                (hide 2)
                                (("1"
                                  (hide 2)
                                  (("1"
                                    (expand "Proper?")
                                    (("1"
                                      (expand "[||]")
                                      (("1"
                                        (expand "<<")
                                        (("1"
                                          (decompose-equality +)
                                          (("1"
                                            (grind :exclude "pi_lbn")
                                            nil)
                                           ("2"
                                            (grind :exclude "pi_lbn")
                                            nil)))))))))))))
                               ("2"
                                (replace -1)
                                (("2"
                                  (hide-all-but 2)
                                  (("2"
                                    (grind :exclude "pi_lbn")
                                    nil)))))))
                             ("3" (hide (-3 1 2))
                              (("3" (grind :exclude "pi_lbn") nil)))
                             ("4" (hide-all-but (- 4))
                              (("4" (grind :exclude "pi_lbn") nil)))
                             ("5" (case "NOT X = [|0,0|]")
                              (("1"
                                (hide-all-but (- 1))
                                (("1"
                                  (decompose-equality +)
                                  (("1" (grind) nil)
                                   ("2"
                                    (grind :exclude "pi_lbn")
                                    nil)))))
                               ("2"
                                (expand "Neg")
                                (("2"
                                  (expand "[||]" 1)
                                  (("2"
                                    (expand "cos_0_pi" 1 1)
                                    (("2"
                                      (expand "[||]" 1)
                                      (("2"
                                        (expand "cos_0_pi")
                                        (("2"
                                          (expand "[||]" 1)
                                          (("2"
                                            (replace -1 1)
                                            (("2"
                                              (expand "[||]" 1)
                                              (("2"
                                                (expand "cos_lb" + 2)
                                                (("2"
                                                  (lemma
                                                   "cos_approx_a0")
                                                  (("2"
                                                    (inst?)
                                                    (("2"
                                                      (replace -1)
                                                      (("2"
                                                        (hide -1)
                                                        (("2"
                                                          (assert)
                                                          (("2"
                                                            (lemma
                                                             "cos_bounds")
                                                            (("2"
                                                              (inst?)
                                                              (("2"
                                                                (ground)
                                                                nil)))))))))))))))))))))))))))))))))))
                             ("6" (expand "Neg")
                              (("6"
                                (expand "cos_0_pi")
                                (("6"
                                  (expand "[||]")
                                  (("6"
                                    (rewrite "cos_lb_neg")
                                    (("6"
                                      (rewrite "cos_lb_neg")
                                      (("6"
                                        (lemma
                                         "cos_lb_np_strict_increasing")
                                        (("6"
                                          (inst - "n")
                                          (("6"
                                            (expand
                                             "strict_increasing?")
                                            (("6"
                                              (inst - "lb(Y)" "lb(X)")
                                              (("1" (assert) nil)
                                               ("2"
                                                (assert)
                                                (("2"
                                                  (expand "<<")
                                                  (("2"
                                                    (flatten)
                                                    (("2"
                                                      (assert)
                                                      (("2"
                                                        (assert)
                                                        (("2"
                                                          (lemma
                                                           "pi_bounds")
                                                          (("2"
                                                            (inst?)
                                                            (("2"
                                                              (ground)
                                                              nil)))))))))))))))
                                               ("3"
                                                (lemma "pi_bounds")
                                                (("3"
                                                  (inst?)
                                                  (("3"
                                                    (expand "<<")
                                                    (("3"
                                                      (ground)
                                                      nil)))))))))))))))))))))))))
                             ("7" (hide-all-but (- 2))
                              (("7" (grind :exclude "pi_lbn") nil)))
                             ("8" (hide-all-but (- 3))
                              (("8" (grind :exclude "pi_lbn") nil)))
                             ("9" (expand "cos_0_pi")
                              (("9"
                                (expand "cos_npi2_pi2")
                                (("9"
                                  (expand "[||]" 1)
                                  (("9"
                                    (lemma
                                     "cos_lb_nn_strict_decreasing")
                                    (("9"
                                      (inst - "n")
                                      (("9"
                                        (expand "strict_decreasing?")
                                        (("9"
                                          (inst - "ub(X)" "ub(Y)")
                                          (("1" (assert) nil)
                                           ("2"
                                            (expand "<<")
                                            (("2"
                                              (expand "[||]")
                                              (("2"
                                                (lemma "pi_bounds")
                                                (("2"
                                                  (inst?)
                                                  (("2"
                                                    (ground)
                                                    nil)))))))))
                                           ("3"
                                            (expand "[||]")
                                            (("3"
                                              (expand "<<")
                                              (("3"
                                                (lemma "pi_bounds")
                                                (("3"
                                                  (inst?)
                                                  (("3"
                                                    (expand "Proper?")
                                                    (("3"
                                                      (ground)
                                                      nil)))))))))))))))))))))))))
                             ("10" (expand "Neg")
                              (("10"
                                (expand "cos_0_pi")
                                (("10"
                                  (expand "cos_npi2_pi2")
                                  (("10"
                                    (expand "[||]")
                                    (("10"
                                      (rewrite "cos_lb_neg")
                                      (("10"
                                        (lemma
                                         "cos_lb_np_strict_increasing")
                                        (("10"
                                          (inst - "n")
                                          (("10"
                                            (expand
                                             "strict_increasing?")
                                            (("10"
                                              (inst - "lb(Y)" "lb(X)")
                                              (("1" (assert) nil)
                                               ("2"
                                                (expand "<<")
                                                (("2"
                                                  (lemma "pi_bounds")
                                                  (("2"
                                                    (inst?)
                                                    (("2"
                                                      (expand
                                                       "Proper?")
                                                      (("2"
                                                        (ground)
                                                        nil)))))))))
                                               ("3"
                                                (expand "<<")
                                                (("3"
                                                  (expand "Proper?")
                                                  (("3"
                                                    (lemma "pi_bounds")
                                                    (("3"
                                                      (inst?)
                                                      (("3"
                                                        (ground)
                                                        nil)))))))))))))))))))))))))))
                             ("11" (expand "cos_npi2_pi2")
                              (("11"
                                (expand "[||]")
                                (("11"
                                  (expand "<<")
                                  (("11"
                                    (flatten)
                                    (("11"
                                      (expand "Proper?")
                                      (("11"
                                        (case "ub(X) <= 0")
                                        (("1" (assert) nil)
                                         ("2"
                                          (assert)
                                          (("2"
                                            (lemma
                                             "cos_lb_np_strict_increasing")
                                            (("2"
                                              (inst - "n")
                                              (("2"
                                                (expand
                                                 "strict_increasing?")
                                                (("2"
                                                  (inst
                                                   -
                                                   "lb(Y)"
                                                   "lb(X)")
                                                  (("1"
                                                    (assert)
                                                    (("1"
                                                      (lemma
                                                       "cos_lb_nn_strict_decreasing")
                                                      (("1"
                                                        (inst - "n")
                                                        (("1"
                                                          (expand
                                                           "strict_decreasing?")
                                                          (("1"
                                                            (inst
                                                             -
                                                             "ub(X)"
                                                             "ub(Y)")
                                                            (("1"
                                                              (split -)
                                                              (("1"
                                                                (split
                                                                 -)
                                                                (("1"
                                                                  (expand
                                                                   "min")
                                                                  (("1"
                                                                    (assert)
                                                                    (("1"
                                                                      (lift-if)
                                                                      (("1"
                                                                        (lift-if)
                                                                        (("1"
                                                                          (lift-if)
                                                                          (("1"
                                                                            (assert)
                                                                            nil)))))))))))
                                                                 ("2"
                                                                  (case
                                                                   "lb(Y) = lb(X)")
                                                                  (("1"
                                                                    (replace
                                                                     -1)
                                                                    (("1"
                                                                      (assert)
                                                                      (("1"
                                                                        (expand
                                                                         "min")
                                                                        (("1"
                                                                          (lift-if)
                                                                          (("1"
                                                                            (lift-if)
                                                                            (("1"
                                                                              (lift-if)
                                                                              (("1"
                                                                                (assert)
                                                                                nil)))))))))))))
                                                                   ("2"
                                                                    (assert)
                                                                    nil)))))
                                                               ("2"
                                                                (assert)
                                                                (("2"
                                                                  (case
                                                                   "ub(X) = ub(Y)")
                                                                  (("1"
                                                                    (replace
                                                                     -1)
                                                                    (("1"
                                                                      (expand
                                                                       "min")
                                                                      (("1"
                                                                        (lift-if)
                                                                        (("1"
                                                                          (lift-if)
                                                                          (("1"
                                                                            (lift-if)
                                                                            (("1"
                                                                              (assert)
                                                                              nil)))))))))))
                                                                   ("2"
                                                                    (assert)
                                                                    nil)))))))
                                                             ("2"
                                                              (assert)
                                                              (("2"
                                                                (lemma
                                                                 "pi_bounds")
                                                                (("2"
                                                                  (inst?)
                                                                  (("2"
                                                                    (ground)
                                                                    nil)))))))
                                                             ("3"
                                                              (lemma
                                                               "pi_bounds")
                                                              (("3"
                                                                (inst?)
                                                                (("3"
                                                                  (ground)
                                                                  nil)))))))))))))))
                                                   ("2"
                                                    (lemma "pi_bounds")
                                                    (("2"
                                                      (inst?)
                                                      (("2"
                                                        (assert)
                                                        nil)))))
                                                   ("3"
                                                    (lemma "pi_bounds")
                                                    (("3"
                                                      (inst?)
                                                      (("3"
                                                        (ground)
                                                        nil)))))))))))))))))))))))))))
                             ("12" (hide-all-but (- 1))
                              (("12" (grind :exclude "pi_lbn") nil)))
                             ("13" (expand "cos_0_pi")
                              (("13"
                                (expand "[||]" 1)
                                (("13"
                                  (lemma "cos_lb_nn_strict_decreasing")
                                  (("13"
                                    (inst - "n")
                                    (("13"
                                      (expand "strict_decreasing?")
                                      (("13"
                                        (inst - "ub(X)" "pi_lbn(n)")
                                        (("1"
                                          (assert)
                                          (("1"
                                            (case
                                             "NOT cos_lb(pi_lbn(n), n) <=cos_lb(ub(X), n)")
                                            (("1"
                                              (assert)
                                              (("1"
                                                (expand "<<" -1)
                                                (("1"
                                                  (expand "[||]" -1)
                                                  (("1"
                                                    (propax)
                                                    nil)))))))
                                             ("2"
                                              (hide -2)
                                              (("2"
                                                (expand "cos_lb")
                                                (("2"
                                                  (lemma
                                                   "cos_approx_cos")
                                                  (("2"
                                                    (inst
                                                     -
                                                     "pi_lbn(n)"
                                                     "1+2*n")
                                                    (("2"
                                                      (lemma
                                                       "cos_error_pi_lbn_bound")
                                                      (("2"
                                                        (inst - "n")
                                                        (("2"
                                                          (assert)
                                                          nil)))))))))))))))))
                                         ("2"
                                          (lemma "pi_bounds")
                                          (("2"
                                            (inst?)
                                            (("2" (assert) nil)))))
                                         ("3"
                                          (hide-all-but (-1 1 -2))
                                          (("3"
                                            (expand "Proper?")
                                            (("3"
                                              (lemma "pi_bounds")
                                              (("3"
                                                (inst?)
                                                (("3"
                                                  (flatten)
                                                  (("3"
                                                    (expand "<<")
                                                    (("3"
                                                      (expand "[||]")
                                                      (("3"
                                                        (ground)
                                                        nil)))))))))))))))))))))))))))
                             ("14" (expand "Neg")
                              (("14"
                                (expand "cos_0_pi")
                                (("14"
                                  (expand "[||]" 1)
                                  (("14"
                                    (expand "cos_lb")
                                    (("14"
                                      (lemma "cos_error_pi_lbn_bound")
                                      (("14"
                                        (inst - "n")
                                        (("14"
                                          (lemma
                                           "cos_lb_nn_strict_decreasing")
                                          (("14"
                                            (inst?)
                                            (("14"
                                              (expand
                                               "strict_decreasing?")
                                              (("14"
                                                (inst
                                                 -
                                                 "-lb(X)"
                                                 "pi_lbn(n)")
                                                (("1"
                                                  (case
                                                   "cos_lb(pi_lbn(n), n) <= cos_lb(-lb(X), n)")
                                                  (("1"
                                                    (hide -2)
                                                    (("1"
                                                      (expand "cos_lb")
                                                      (("1"
                                                        (assert)
                                                        (("1"
                                                          (lemma
                                                           "cos_approx_cos")
                                                          (("1"
                                                            (inst
                                                             -
                                                             "pi_lbn(n)"
                                                             "1+2*n")
                                                            (("1"
                                                              (assert)
                                                              nil)))))))))))
                                                   ("2"
                                                    (assert)
                                                    (("2"
                                                      (expand "<<" -2)
                                                      (("2"
                                                        (expand
                                                         "[||]"
                                                         -)
                                                        (("2"
                                                          (propax)
                                                          nil)))))))))
                                                 ("2"
                                                  (lemma "pi_bounds")
                                                  (("2"
                                                    (inst?)
                                                    (("2"
                                                      (assert)
                                                      nil)))))
                                                 ("3"
                                                  (expand "<<" -)
                                                  (("3"
                                                    (expand "[||]" -)
                                                    (("3"
                                                      (flatten)
                                                      (("3"
                                                        (assert)
                                                        (("3"
                                                          (expand
                                                           "Proper?")
                                                          (("3"
                                                            (assert)
                                                            (("3"
                                                              (lemma
                                                               "pi_bounds")
                                                              (("3"
                                                                (inst?)
                                                                (("3"
                                                                  (ground)
                                                                  nil)))))))))))))))))))))))))))))))))))))
                             ("15" (expand "cos_npi2_pi2")
                              (("15"
                                (expand "[||]" 1)
                                (("15"
                                  (case
                                   "FORALL (xr:real): -pi_lbn(n)/2 <= xr AND xr <= pi_lbn(n)/2 IMPLIES -1 - (3.2 ^ (4 + 4 * n) / factorial(4 + 4 * n)) <= cos_lb(xr,n)")
                                  (("1"
                                    (inst-cp - "lb(X)")
                                    (("1"
                                      (inst - "ub(X)")
                                      (("1"
                                        (assert)
                                        (("1"
                                          (expand "Proper?")
                                          (("1"
                                            (expand "<<" -3)
                                            (("1"
                                              (flatten)
                                              (("1"
                                                (expand "[||]" -)
                                                (("1"
                                                  (assert)
                                                  (("1"
                                                    (expand "min")
                                                    (("1"
                                                      (lift-if)
                                                      (("1"
                                                        (ground)
                                                        nil)))))))))))))))))))))
                                   ("2"
                                    (hide 2)
                                    (("2"
                                      (skeep)
                                      (("2"
                                        (case "xr <= 0")
                                        (("1"
                                          (lemma
                                           "cos_lb_np_strict_increasing")
                                          (("1"
                                            (inst - "n")
                                            (("1"
                                              (expand
                                               "strict_increasing?")
                                              (("1"
                                                (inst
                                                 -
                                                 "-pi_lbn(n)"
                                                 "xr")
                                                (("1"
                                                  (assert)
                                                  (("1"
                                                    (lemma
                                                     "cos_approx_cos")
                                                    (("1"
                                                      (expand "cos_lb")
                                                      (("1"
                                                        (inst
                                                         -
                                                         "pi_lbn(n)"
                                                         "1+2*n")
                                                        (("1"
                                                          (lemma
                                                           "cos_error_pi_lbn_bound")
                                                          (("1"
                                                            (assert)
                                                            (("1"
                                                              (inst?)
                                                              (("1"
                                                                (assert)
                                                                (("1"
                                                                  (rewrite
                                                                   "cos_approx_neg")
                                                                  (("1"
                                                                    (assert)
                                                                    nil)))))))))))))))))))
                                                 ("2"
                                                  (assert)
                                                  (("2"
                                                    (lemma "pi_bounds")
                                                    (("2"
                                                      (inst - "n")
                                                      (("2"
                                                        (assert)
                                                        nil)))))))
                                                 ("3"
                                                  (lemma "pi_bounds")
                                                  (("3"
                                                    (inst?)
                                                    (("3"
                                                      (assert)
                                                      nil)))))))))))))
                                         ("2"
                                          (lemma
                                           "cos_lb_nn_strict_decreasing")
                                          (("2"
                                            (inst - "n")
                                            (("2"
                                              (expand
                                               "strict_decreasing?")
                                              (("2"
                                                (inst
                                                 -
                                                 "xr"
                                                 "pi_lbn(n)")
                                                (("1"
                                                  (assert)
                                                  (("1"
                                                    (expand "cos_lb")
                                                    (("1"
                                                      (lemma
                                                       "cos_approx_cos")
                                                      (("1"
                                                        (inst
                                                         -
                                                         "pi_lbn(n)"
                                                         "1+2*n")
                                                        (("1"
                                                          (lemma
                                                           "cos_error_pi_lbn_bound")
                                                          (("1"
                                                            (inst?)
                                                            (("1"
                                                              (assert)
                                                              nil)))))))))))))
                                                 ("2"
                                                  (lemma "pi_bounds")
                                                  (("2"
                                                    (inst?)
                                                    (("2"
                                                      (assert)
                                                      nil)))))
                                                 ("3"
                                                  (assert)
                                                  (("3"
                                                    (lemma "pi_bounds")
                                                    (("3"
                                                      (inst?)
                                                      (("3"
                                                        (assert)
                                                        nil)))))))))))))))))))))))))))))))))))))))))))))
           ("2" (expand "Cos2")
            (("2" (assert)
              (("2" (lift-if)
                (("2" (lift-if)
                  (("2" (lift-if)
                    (("2" (lift-if)
                      (("2" (lift-if)
                        (("2" (assert)
                          (("2" (ground)
                            (("1" (expand "cos_0_pi")
                              (("1" (postpone) nil)))
                             ("2" (postpone) nil) ("3" (postpone) nil)
                             ("4" (postpone) nil) ("5" (postpone) nil)
                             ("6" (postpone) nil) ("7" (postpone) nil)
                             ("8" (postpone) nil) ("9" (postpone) nil)
                             ("10" (postpone) nil)
                             ("11" (postpone) nil)
                             ("12" (postpone) nil)
                             ("13" (postpone) nil)
                             ("14" (postpone) nil)
                             ("15" (postpone)
                              nil))))))))))))))))))))))))))
    nil)
   nil nil)
  (Cos_fundamental-1 nil 3552043684
   ("" (skeep)
    (("" (expand "<<")
      (("" (flatten)
        (("" (split)
          (("1" (expand "Cos")
            (("1" (lift-if)
              (("1" (lift-if)
                (("1" (lift-if)
                  (("1" (lift-if)
                    (("1" (assert)
                      (("1" (lift-if)
                        (("1" (assert)
                          (("1" (ground)
                            (("1" (expand "cos_0_pi")
                              (("1"
                                (expand "[||]")
                                (("1"
                                  (lemma "cos_lb_nn_strict_decreasing")
                                  (("1"
                                    (inst - "n")
                                    (("1"
                                      (expand "strict_decreasing?")
                                      (("1"
                                        (inst - "ub(X)" "ub(Y)")
                                        (("1" (assert) nil nil)
                                         ("2"
                                          (case "Proper?(Y)")
                                          (("1"
                                            (hide-all-but (-1 -3 1))
                                            (("1"
                                              (expand "Proper?")
                                              (("1"
                                                (lemma "pi_bounds")
                                                (("1"
                                                  (inst?)
                                                  (("1"
                                                    (expand "<<")
                                                    (("1"
                                                      (ground)
                                                      nil
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil)
                                           ("2"
                                            (expand "Proper?")
                                            (("2" (ground) nil nil))
                                            nil))
                                          nil)
                                         ("3"
                                          (hide-all-but (-1 -3 1))
                                          (("3"
                                            (lemma "pi_bounds")
                                            (("3"
                                              (inst?)
                                              (("3"
                                                (expand "Proper?")
                                                (("3"
                                                  (expand "<<")
                                                  (("3"
                                                    (ground)
                                                    nil
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("2" (case "NOT X = [|0,0|]")
                              (("1"
                                (hide 2)
                                (("1"
                                  (hide 2)
                                  (("1"
                                    (expand "Proper?")
                                    (("1"
                                      (expand "[||]")
                                      (("1"
                                        (expand "<<")
                                        (("1"
                                          (decompose-equality +)
                                          (("1"
                                            (grind :exclude "pi_lbn")
                                            nil
                                            nil)
                                           ("2"
                                            (grind :exclude "pi_lbn")
                                            nil
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil)
                               ("2"
                                (replace -1)
                                (("2"
                                  (hide-all-but 2)
                                  (("2"
                                    (grind :exclude "pi_lbn")
                                    nil
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("3" (hide (-3 1 2))
                              (("3" (grind :exclude "pi_lbn") nil nil))
                              nil)
                             ("4" (hide-all-but (- 4))
                              (("4" (grind :exclude "pi_lbn") nil nil))
                              nil)
                             ("5" (case "NOT X = [|0,0|]")
                              (("1"
                                (hide-all-but (- 1))
                                (("1"
                                  (decompose-equality +)
                                  (("1" (grind) nil nil)
                                   ("2"
                                    (grind :exclude "pi_lbn")
                                    nil
                                    nil))
                                  nil))
                                nil)
                               ("2"
                                (expand "Neg")
                                (("2"
                                  (expand "[||]" 1)
                                  (("2"
                                    (expand "cos_0_pi" 1 1)
                                    (("2"
                                      (expand "[||]" 1)
                                      (("2"
                                        (expand "cos_0_pi")
                                        (("2"
                                          (expand "[||]" 1)
                                          (("2"
                                            (replace -1 1)
                                            (("2"
                                              (expand "[||]" 1)
                                              (("2"
                                                (expand "cos_lb" + 2)
                                                (("2"
                                                  (lemma
                                                   "cos_approx_a0")
                                                  (("2"
                                                    (inst?)
                                                    (("2"
                                                      (replace -1)
                                                      (("2"
                                                        (hide -1)
                                                        (("2"
                                                          (assert)
                                                          (("2"
                                                            (lemma
                                                             "cos_bounds")
                                                            (("2"
                                                              (inst?)
                                                              (("2"
                                                                (ground)
                                                                nil
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("6" (expand "Neg")
                              (("6"
                                (expand "cos_0_pi")
                                (("6"
                                  (expand "[||]")
                                  (("6"
                                    (rewrite "cos_lb_neg")
                                    (("6"
                                      (rewrite "cos_lb_neg")
                                      (("6"
                                        (lemma
                                         "cos_lb_np_strict_increasing")
                                        (("6"
                                          (inst - "n")
                                          (("6"
                                            (expand
                                             "strict_increasing?")
                                            (("6"
                                              (inst - "lb(Y)" "lb(X)")
                                              (("1" (assert) nil nil)
                                               ("2"
                                                (assert)
                                                (("2"
                                                  (expand "<<")
                                                  (("2"
                                                    (flatten)
                                                    (("2"
                                                      (assert)
                                                      (("2"
                                                        (assert)
                                                        (("2"
                                                          (lemma
                                                           "pi_bounds")
                                                          (("2"
                                                            (inst?)
                                                            (("2"
                                                              (ground)
                                                              nil
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil)
                                               ("3"
                                                (lemma "pi_bounds")
                                                (("3"
                                                  (inst?)
                                                  (("3"
                                                    (expand "<<")
                                                    (("3"
                                                      (ground)
                                                      nil
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("7" (hide-all-but (- 2))
                              (("7" (grind :exclude "pi_lbn") nil nil))
                              nil)
                             ("8" (hide-all-but (- 3))
                              (("8" (grind :exclude "pi_lbn") nil nil))
                              nil)
                             ("9" (expand "cos_0_pi")
                              (("9"
                                (expand "cos_npi2_pi2")
                                (("9"
                                  (expand "[||]" 1)
                                  (("9"
                                    (lemma
                                     "cos_lb_nn_strict_decreasing")
                                    (("9"
                                      (inst - "n")
                                      (("9"
                                        (expand "strict_decreasing?")
                                        (("9"
                                          (inst - "ub(X)" "ub(Y)")
                                          (("1" (assert) nil nil)
                                           ("2"
                                            (expand "<<")
                                            (("2"
                                              (expand "[||]")
                                              (("2"
                                                (lemma "pi_bounds")
                                                (("2"
                                                  (inst?)
                                                  (("2"
                                                    (ground)
                                                    nil
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil)
                                           ("3"
                                            (expand "[||]")
                                            (("3"
                                              (expand "<<")
                                              (("3"
                                                (lemma "pi_bounds")
                                                (("3"
                                                  (inst?)
                                                  (("3"
                                                    (expand "Proper?")
                                                    (("3"
                                                      (ground)
                                                      nil
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("10" (expand "Neg")
                              (("10"
                                (expand "cos_0_pi")
                                (("10"
                                  (expand "cos_npi2_pi2")
                                  (("10"
                                    (expand "[||]")
                                    (("10"
                                      (rewrite "cos_lb_neg")
                                      (("10"
                                        (lemma
                                         "cos_lb_np_strict_increasing")
                                        (("10"
                                          (inst - "n")
                                          (("10"
                                            (expand
                                             "strict_increasing?")
                                            (("10"
                                              (inst - "lb(Y)" "lb(X)")
                                              (("1" (assert) nil nil)
                                               ("2"
                                                (expand "<<")
                                                (("2"
                                                  (lemma "pi_bounds")
                                                  (("2"
                                                    (inst?)
                                                    (("2"
                                                      (expand
                                                       "Proper?")
                                                      (("2"
                                                        (ground)
                                                        nil
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil)
                                               ("3"
                                                (expand "<<")
                                                (("3"
                                                  (expand "Proper?")
                                                  (("3"
                                                    (lemma "pi_bounds")
                                                    (("3"
                                                      (inst?)
                                                      (("3"
                                                        (ground)
                                                        nil
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("11" (expand "cos_npi2_pi2")
                              (("11"
                                (expand "[||]")
                                (("11"
                                  (expand "<<")
                                  (("11"
                                    (flatten)
                                    (("11"
                                      (expand "Proper?")
                                      (("11"
                                        (case "ub(X) <= 0")
                                        (("1" (assert) nil nil)
                                         ("2"
                                          (assert)
                                          (("2"
                                            (lemma
                                             "cos_lb_np_strict_increasing")
                                            (("2"
                                              (inst - "n")
                                              (("2"
                                                (expand
                                                 "strict_increasing?")
                                                (("2"
                                                  (inst
                                                   -
                                                   "lb(Y)"
                                                   "lb(X)")
                                                  (("1"
                                                    (assert)
                                                    (("1"
                                                      (lemma
                                                       "cos_lb_nn_strict_decreasing")
                                                      (("1"
                                                        (inst - "n")
                                                        (("1"
                                                          (expand
                                                           "strict_decreasing?")
                                                          (("1"
                                                            (inst
                                                             -
                                                             "ub(X)"
                                                             "ub(Y)")
                                                            (("1"
                                                              (split -)
                                                              (("1"
                                                                (split
                                                                 -)
                                                                (("1"
                                                                  (expand
                                                                   "min")
                                                                  (("1"
                                                                    (assert)
                                                                    (("1"
                                                                      (lift-if)
                                                                      (("1"
                                                                        (lift-if)
                                                                        (("1"
                                                                          (lift-if)
                                                                          (("1"
                                                                            (assert)
                                                                            nil
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil)
                                                                 ("2"
                                                                  (case
                                                                   "lb(Y) = lb(X)")
                                                                  (("1"
                                                                    (replace
                                                                     -1)
                                                                    (("1"
                                                                      (assert)
                                                                      (("1"
                                                                        (expand
                                                                         "min")
                                                                        (("1"
                                                                          (lift-if)
                                                                          (("1"
                                                                            (lift-if)
                                                                            (("1"
                                                                              (lift-if)
                                                                              (("1"
                                                                                (assert)
                                                                                nil
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil)
                                                                   ("2"
                                                                    (assert)
                                                                    nil
                                                                    nil))
                                                                  nil))
                                                                nil)
                                                               ("2"
                                                                (assert)
                                                                (("2"
                                                                  (case
                                                                   "ub(X) = ub(Y)")
                                                                  (("1"
                                                                    (replace
                                                                     -1)
                                                                    (("1"
                                                                      (expand
                                                                       "min")
                                                                      (("1"
                                                                        (lift-if)
                                                                        (("1"
                                                                          (lift-if)
                                                                          (("1"
                                                                            (lift-if)
                                                                            (("1"
                                                                              (assert)
                                                                              nil
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil)
                                                                   ("2"
                                                                    (assert)
                                                                    nil
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil)
                                                             ("2"
                                                              (assert)
                                                              (("2"
                                                                (lemma
                                                                 "pi_bounds")
                                                                (("2"
                                                                  (inst?)
                                                                  (("2"
                                                                    (ground)
                                                                    nil
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil)
                                                             ("3"
                                                              (lemma
                                                               "pi_bounds")
                                                              (("3"
                                                                (inst?)
                                                                (("3"
                                                                  (ground)
                                                                  nil
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil)
                                                   ("2"
                                                    (lemma "pi_bounds")
                                                    (("2"
                                                      (inst?)
                                                      (("2"
                                                        (assert)
                                                        nil
                                                        nil))
                                                      nil))
                                                    nil)
                                                   ("3"
                                                    (lemma "pi_bounds")
                                                    (("3"
                                                      (inst?)
                                                      (("3"
                                                        (ground)
                                                        nil
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("12" (hide-all-but (- 1))
                              (("12"
                                (grind :exclude "pi_lbn")
                                nil
                                nil))
                              nil)
                             ("13" (expand "cos_0_pi")
                              (("13"
                                (expand "[||]")
                                (("13"
                                  (expand "<<")
                                  (("13"
                                    (flatten)
                                    (("13"
                                      (eval-expr
                                       "sign(cos_lb(pi_lbn(10),10)+1)")
                                      (("13" (postpone) nil nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("14" (postpone) nil nil)
                             ("15" (postpone) nil nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil)
           ("2" (postpone) nil nil))
          nil))
        nil))
      nil))
    nil)
   nil shostak))
 (Sin_fundamental 0
  (Sin_fundamental-1 nil 3555173443
   ("" (skeep)
    (("" (expand "Proper?")
      (("" (expand "<<")
        (("" (flatten)
          (("" (split)
            (("1" (expand "Sin")
              (("1" (assert)
                (("1" (lift-if)
                  (("1" (lift-if)
                    (("1" (lift-if)
                      (("1" (lift-if)
                        (("1" (lift-if)
                          (("1" (lift-if)
                            (("1" (lift-if)
                              (("1"
                                (assert)
                                (("1"
                                  (lift-if)
                                  (("1"
                                    (lift-if)
                                    (("1"
                                      (lift-if)
                                      (("1"
                                        (lift-if)
                                        (("1"
                                          (lift-if)
                                          (("1"
                                            (lift-if)
                                            (("1"
                                              (lift-if)
                                              (("1"
                                                (lift-if)
                                                (("1"
                                                  (lift-if)
                                                  (("1"
                                                    (assert)
                                                    (("1"
                                                      (lift-if)
                                                      (("1"
                                                        (lift-if)
                                                        (("1"
                                                          (lift-if)
                                                          (("1"
                                                            (lift-if)
                                                            (("1"
                                                              (assert)
                                                              (("1"
                                                                (ground)
                                                                (("1"
                                                                  (expand
                                                                   "Union")
                                                                  (("1"
                                                                    (expand
                                                                     "[||]")
                                                                    (("1"
                                                                      (case
                                                                       "FORALL (r1,r2,s1,s2:real): (r1<=s1 AND r2<=s2) IMPLIES min(r1,r2)<=min(s1,s2)")
                                                                      (("1"
                                                                        (rewrite
                                                                         -1)
                                                                        (("1"
                                                                          (hide
                                                                           2)
                                                                          (("1"
                                                                            (lemma
                                                                             "Cos_fundamental")
                                                                            (("1"
                                                                              (expand
                                                                               "<<"
                                                                               -1)
                                                                              (("1"
                                                                                (inst?)
                                                                                (("1"
                                                                                  (assert)
                                                                                  (("1"
                                                                                    (hide
                                                                                     2)
                                                                                    (("1"
                                                                                      (hide
                                                                                       -1)
                                                                                      (("1"
                                                                                        (lemma
                                                                                         "pi_bounds")
                                                                                        (("1"
                                                                                          (inst
                                                                                           -
                                                                                           "n")
                                                                                          (("1"
                                                                                            (grind
                                                                                             :exclude
                                                                                             ("pi_ubn"
                                                                                              "pi_lbn"))
                                                                                            nil
                                                                                            nil))
                                                                                          nil))
                                                                                        nil))
                                                                                      nil))
                                                                                    nil))
                                                                                  nil))
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil)
                                                                         ("2"
                                                                          (hide
                                                                           2)
                                                                          (("2"
                                                                            (expand
                                                                             "Neg")
                                                                            (("2"
                                                                              (expand
                                                                               "[||]")
                                                                              (("2"
                                                                                (expand
                                                                                 "Add")
                                                                                (("2"
                                                                                  (expand
                                                                                   "Intersection")
                                                                                  (("2"
                                                                                    (expand
                                                                                     "[||]")
                                                                                    (("2"
                                                                                      (case
                                                                                       "FORALL (r1,r2:real): (-r1 <= -r2) IFF (r2 <= r1)")
                                                                                      (("1"
                                                                                        (rewrite
                                                                                         -1)
                                                                                        (("1"
                                                                                          (hide
                                                                                           -1)
                                                                                          (("1"
                                                                                            (lemma
                                                                                             "Cos_fundamental")
                                                                                            (("1"
                                                                                              (expand
                                                                                               "<<"
                                                                                               -1)
                                                                                              (("1"
                                                                                                (inst?)
                                                                                                (("1"
                                                                                                  (assert)
                                                                                                  (("1"
                                                                                                    (hide
                                                                                                     2)
                                                                                                    (("1"
                                                                                                      (hide
                                                                                                       -1)
                                                                                                      (("1"
                                                                                                        (lemma
                                                                                                         "pi_bounds")
                                                                                                        (("1"
                                                                                                          (inst
                                                                                                           -
                                                                                                           "n")
                                                                                                          (("1"
                                                                                                            (grind
                                                                                                             :exclude
                                                                                                             ("pi_ubn"
                                                                                                              "pi_lbn"))
                                                                                                            nil
                                                                                                            nil))
                                                                                                          nil))
                                                                                                        nil))
                                                                                                      nil))
                                                                                                    nil))
                                                                                                  nil))
                                                                                                nil))
                                                                                              nil))
                                                                                            nil))
                                                                                          nil))
                                                                                        nil)
                                                                                       ("2"
                                                                                        (hide-all-but
                                                                                         1)
                                                                                        (("2"
                                                                                          (grind)
                                                                                          nil
                                                                                          nil))
                                                                                        nil))
                                                                                      nil))
                                                                                    nil))
                                                                                  nil))
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil)
                                                                       ("2"
                                                                        (hide-all-but
                                                                         1)
                                                                        (("2"
                                                                          (grind)
                                                                          nil
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil)
                                                                 ("2"
                                                                  (expand
                                                                   "Neg")
                                                                  (("2"
                                                                    (expand
                                                                     "[||]")
                                                                    (("2"
                                                                      (expand
                                                                       "Union")
                                                                      (("2"
                                                                        (expand
                                                                         "[||]")
                                                                        (("2"
                                                                          (case
                                                                           "FORALL (s1,s2:real,s3:real): s3<=s2 IMPLIES min(s1,-s2)<=-s3")
                                                                          (("1"
                                                                            (rewrite
                                                                             -1)
                                                                            (("1"
                                                                              (hide
                                                                               2)
                                                                              (("1"
                                                                                (lemma
                                                                                 "Cos_fundamental")
                                                                                (("1"
                                                                                  (expand
                                                                                   "<<"
                                                                                   -1)
                                                                                  (("1"
                                                                                    (inst?)
                                                                                    (("1"
                                                                                      (assert)
                                                                                      (("1"
                                                                                        (hide
                                                                                         2)
                                                                                        (("1"
                                                                                          (hide
                                                                                           -1)
                                                                                          (("1"
                                                                                            (lemma
                                                                                             "pi_bounds")
                                                                                            (("1"
                                                                                              (inst
                                                                                               -
                                                                                               "n")
                                                                                              (("1"
                                                                                                (grind
                                                                                                 :exclude
                                                                                                 ("pi_ubn"
                                                                                                  "pi_lbn"))
                                                                                                nil
                                                                                                nil))
                                                                                              nil))
                                                                                            nil))
                                                                                          nil))
                                                                                        nil))
                                                                                      nil))
                                                                                    nil))
                                                                                  nil))
                                                                                nil))
                                                                              nil))
                                                                            nil)
                                                                           ("2"
                                                                            (hide-all-but
                                                                             1)
                                                                            (("2"
                                                                              (grind)
                                                                              nil
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil)
                                                                 ("3"
                                                                  (hide
                                                                   2)
                                                                  (("3"
                                                                    (hide
                                                                     (-1
                                                                      -2))
                                                                    (("3"
                                                                      (grind)
                                                                      nil
                                                                      nil))
                                                                    nil))
                                                                  nil)
                                                                 ("4"
                                                                  (case
                                                                   "FORALL (s1,s2:real,s3:real): s2<=s3 IMPLIES min(s2,s1)<=s3")
                                                                  (("1"
                                                                    (expand
                                                                     "Union")
                                                                    (("1"
                                                                      (expand
                                                                       "[||]")
                                                                      (("1"
                                                                        (rewrite
                                                                         -1)
                                                                        (("1"
                                                                          (hide
                                                                           2)
                                                                          (("1"
                                                                            (lemma
                                                                             "Cos_fundamental")
                                                                            (("1"
                                                                              (expand
                                                                               "<<"
                                                                               -1)
                                                                              (("1"
                                                                                (inst?)
                                                                                (("1"
                                                                                  (assert)
                                                                                  (("1"
                                                                                    (hide
                                                                                     (2
                                                                                      3))
                                                                                    (("1"
                                                                                      (hide
                                                                                       -1)
                                                                                      (("1"
                                                                                        (lemma
                                                                                         "pi_bounds")
                                                                                        (("1"
                                                                                          (inst
                                                                                           -
                                                                                           "n")
                                                                                          (("1"
                                                                                            (grind
                                                                                             :exclude
                                                                                             ("pi_ubn"
                                                                                              "pi_lbn"))
                                                                                            nil
                                                                                            nil))
                                                                                          nil))
                                                                                        nil))
                                                                                      nil))
                                                                                    nil))
                                                                                  nil))
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil)
                                                                   ("2"
                                                                    (hide-all-but
                                                                     1)
                                                                    (("2"
                                                                      (grind)
                                                                      nil
                                                                      nil))
                                                                    nil))
                                                                  nil)
                                                                 ("5"
                                                                  (hide
                                                                   2)
                                                                  (("5"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("6"
                                                                  (hide
                                                                   1)
                                                                  (("6"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("7"
                                                                  (expand
                                                                   "Neg")
                                                                  (("7"
                                                                    (expand
                                                                     "[||]")
                                                                    (("7"
                                                                      (expand
                                                                       "Add")
                                                                      (("7"
                                                                        (expand
                                                                         "Intersection")
                                                                        (("7"
                                                                          (expand
                                                                           "[||]")
                                                                          (("7"
                                                                            (case
                                                                             "FORALL (r1,r2:real): (-r1 <= -r2) IFF (r2 <= r1)")
                                                                            (("1"
                                                                              (rewrite
                                                                               -1)
                                                                              (("1"
                                                                                (hide
                                                                                 -1)
                                                                                (("1"
                                                                                  (lemma
                                                                                   "Cos_fundamental")
                                                                                  (("1"
                                                                                    (expand
                                                                                     "<<"
                                                                                     -1)
                                                                                    (("1"
                                                                                      (inst?)
                                                                                      (("1"
                                                                                        (assert)
                                                                                        (("1"
                                                                                          (hide
                                                                                           2)
                                                                                          (("1"
                                                                                            (lemma
                                                                                             "pi_bounds")
                                                                                            (("1"
                                                                                              (inst
                                                                                               -
                                                                                               "n")
                                                                                              (("1"
                                                                                                (grind
                                                                                                 :exclude
                                                                                                 ("pi_ubn"
                                                                                                  "pi_lbn"))
                                                                                                nil
                                                                                                nil))
                                                                                              nil))
                                                                                            nil))
                                                                                          nil))
                                                                                        nil))
                                                                                      nil))
                                                                                    nil))
                                                                                  nil))
                                                                                nil))
                                                                              nil)
                                                                             ("2"
                                                                              (hide-all-but
                                                                               1)
                                                                              (("2"
                                                                                (grind)
                                                                                nil
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil)
                                                                 ("8"
                                                                  (hide
                                                                   2)
                                                                  (("8"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("9"
                                                                  (hide
                                                                   2)
                                                                  (("9"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("10"
                                                                  (hide
                                                                   2)
                                                                  (("10"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("11"
                                                                  (hide
                                                                   1)
                                                                  (("11"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("12"
                                                                  (hide
                                                                   1)
                                                                  (("12"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("13"
                                                                  (hide
                                                                   2)
                                                                  (("13"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("14"
                                                                  (hide
                                                                   1)
                                                                  (("14"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("15"
                                                                  (hide
                                                                   1)
                                                                  (("15"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("16"
                                                                  (hide
                                                                   2)
                                                                  (("16"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("17"
                                                                  (lemma
                                                                   "Cos_fundamental")
                                                                  (("17"
                                                                    (expand
                                                                     "<<"
                                                                     -1)
                                                                    (("17"
                                                                      (inst?)
                                                                      (("17"
                                                                        (assert)
                                                                        (("17"
                                                                          (hide
                                                                           3)
                                                                          (("17"
                                                                            (lemma
                                                                             "pi_bounds")
                                                                            (("17"
                                                                              (inst
                                                                               -
                                                                               "n")
                                                                              (("17"
                                                                                (grind
                                                                                 :exclude
                                                                                 ("pi_ubn"
                                                                                  "pi_lbn"))
                                                                                nil
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil)
                                                                 ("18"
                                                                  (hide
                                                                   2)
                                                                  (("18"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("19"
                                                                  (hide
                                                                   1)
                                                                  (("19"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("20"
                                                                  (hide
                                                                   1)
                                                                  (("20"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("21"
                                                                  (hide
                                                                   2)
                                                                  (("21"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil)
             ("2" (expand "Sin")
              (("2" (assert)
                (("2" (lift-if)
                  (("2" (lift-if)
                    (("2" (lift-if)
                      (("2" (lift-if)
                        (("2" (lift-if)
                          (("2" (lift-if)
                            (("2" (lift-if)
                              (("2"
                                (assert)
                                (("2"
                                  (lift-if)
                                  (("2"
                                    (lift-if)
                                    (("2"
                                      (lift-if)
                                      (("2"
                                        (lift-if)
                                        (("2"
                                          (lift-if)
                                          (("2"
                                            (lift-if)
                                            (("2"
                                              (lift-if)
                                              (("2"
                                                (lift-if)
                                                (("2"
                                                  (lift-if)
                                                  (("2"
                                                    (assert)
                                                    (("2"
                                                      (lift-if)
                                                      (("2"
                                                        (lift-if)
                                                        (("2"
                                                          (lift-if)
                                                          (("2"
                                                            (lift-if)
                                                            (("2"
                                                              (assert)
                                                              (("2"
                                                                (ground)
                                                                (("1"
                                                                  (expand
                                                                   "Union")
                                                                  (("1"
                                                                    (expand
                                                                     "[||]")
                                                                    (("1"
                                                                      (case
                                                                       "FORALL (r1,r2,s1,s2:real): (r1<=s1 AND r2<=s2) IMPLIES max(r1,r2)<=max(s1,s2)")
                                                                      (("1"
                                                                        (rewrite
                                                                         -1)
                                                                        (("1"
                                                                          (hide
                                                                           2)
                                                                          (("1"
                                                                            (lemma
                                                                             "Cos_fundamental")
                                                                            (("1"
                                                                              (expand
                                                                               "<<"
                                                                               -1)
                                                                              (("1"
                                                                                (inst?)
                                                                                (("1"
                                                                                  (assert)
                                                                                  (("1"
                                                                                    (hide
                                                                                     2)
                                                                                    (("1"
                                                                                      (hide
                                                                                       -1)
                                                                                      (("1"
                                                                                        (lemma
                                                                                         "pi_bounds")
                                                                                        (("1"
                                                                                          (inst
                                                                                           -
                                                                                           "n")
                                                                                          (("1"
                                                                                            (grind
                                                                                             :exclude
                                                                                             ("pi_ubn"
                                                                                              "pi_lbn"))
                                                                                            nil
                                                                                            nil))
                                                                                          nil))
                                                                                        nil))
                                                                                      nil))
                                                                                    nil))
                                                                                  nil))
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil)
                                                                         ("2"
                                                                          (hide
                                                                           2)
                                                                          (("2"
                                                                            (expand
                                                                             "Neg")
                                                                            (("2"
                                                                              (expand
                                                                               "[||]")
                                                                              (("2"
                                                                                (expand
                                                                                 "Add")
                                                                                (("2"
                                                                                  (expand
                                                                                   "Intersection")
                                                                                  (("2"
                                                                                    (expand
                                                                                     "[||]")
                                                                                    (("2"
                                                                                      (case
                                                                                       "FORALL (r1,r2:real): (-r1 <= -r2) IFF (r2 <= r1)")
                                                                                      (("1"
                                                                                        (rewrite
                                                                                         -1)
                                                                                        (("1"
                                                                                          (hide
                                                                                           -1)
                                                                                          (("1"
                                                                                            (lemma
                                                                                             "Cos_fundamental")
                                                                                            (("1"
                                                                                              (expand
                                                                                               "<<"
                                                                                               -1)
                                                                                              (("1"
                                                                                                (inst?)
                                                                                                (("1"
                                                                                                  (assert)
                                                                                                  (("1"
                                                                                                    (hide
                                                                                                     2)
                                                                                                    (("1"
                                                                                                      (hide
                                                                                                       -1)
                                                                                                      (("1"
                                                                                                        (lemma
                                                                                                         "pi_bounds")
                                                                                                        (("1"
                                                                                                          (inst
                                                                                                           -
                                                                                                           "n")
                                                                                                          (("1"
                                                                                                            (grind
                                                                                                             :exclude
                                                                                                             ("pi_ubn"
                                                                                                              "pi_lbn"))
                                                                                                            nil
                                                                                                            nil))
                                                                                                          nil))
                                                                                                        nil))
                                                                                                      nil))
                                                                                                    nil))
                                                                                                  nil))
                                                                                                nil))
                                                                                              nil))
                                                                                            nil))
                                                                                          nil))
                                                                                        nil)
                                                                                       ("2"
                                                                                        (hide-all-but
                                                                                         1)
                                                                                        (("2"
                                                                                          (grind)
                                                                                          nil
                                                                                          nil))
                                                                                        nil))
                                                                                      nil))
                                                                                    nil))
                                                                                  nil))
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil)
                                                                       ("2"
                                                                        (hide-all-but
                                                                         1)
                                                                        (("2"
                                                                          (grind)
                                                                          nil
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil)
                                                                 ("2"
                                                                  (hide
                                                                   1)
                                                                  (("2"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("3"
                                                                  (hide
                                                                   2)
                                                                  (("3"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("4"
                                                                  (hide
                                                                   2)
                                                                  (("4"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("5"
                                                                  (hide
                                                                   2)
                                                                  (("5"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("6"
                                                                  (expand
                                                                   "Neg")
                                                                  (("6"
                                                                    (expand
                                                                     "Union")
                                                                    (("6"
                                                                      (expand
                                                                       "[||]")
                                                                      (("6"
                                                                        (case
                                                                         "FORALL (s1,s2:real,s3:real): s2<=s3 IMPLIES -s3<=max(s1,-s2)")
                                                                        (("1"
                                                                          (rewrite
                                                                           -1)
                                                                          (("1"
                                                                            (hide
                                                                             2)
                                                                            (("1"
                                                                              (lemma
                                                                               "Cos_fundamental")
                                                                              (("1"
                                                                                (expand
                                                                                 "<<"
                                                                                 -1)
                                                                                (("1"
                                                                                  (inst?)
                                                                                  (("1"
                                                                                    (assert)
                                                                                    (("1"
                                                                                      (hide
                                                                                       2)
                                                                                      (("1"
                                                                                        (hide
                                                                                         -1)
                                                                                        (("1"
                                                                                          (lemma
                                                                                           "pi_bounds")
                                                                                          (("1"
                                                                                            (inst
                                                                                             -
                                                                                             "n")
                                                                                            (("1"
                                                                                              (grind
                                                                                               :exclude
                                                                                               ("pi_ubn"
                                                                                                "pi_lbn"))
                                                                                              nil
                                                                                              nil))
                                                                                            nil))
                                                                                          nil))
                                                                                        nil))
                                                                                      nil))
                                                                                    nil))
                                                                                  nil))
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil)
                                                                         ("2"
                                                                          (hide-all-but
                                                                           1)
                                                                          (("2"
                                                                            (grind)
                                                                            nil
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil)
                                                                 ("7"
                                                                  (expand
                                                                   "Neg")
                                                                  (("7"
                                                                    (expand
                                                                     "[||]")
                                                                    (("7"
                                                                      (case
                                                                       "FORALL (r1,r2:real): (-r1 <= -r2) IFF (r2 <= r1)")
                                                                      (("1"
                                                                        (rewrite
                                                                         -1)
                                                                        (("1"
                                                                          (hide
                                                                           -1)
                                                                          (("1"
                                                                            (lemma
                                                                             "Cos_fundamental")
                                                                            (("1"
                                                                              (expand
                                                                               "<<"
                                                                               -1)
                                                                              (("1"
                                                                                (inst?)
                                                                                (("1"
                                                                                  (assert)
                                                                                  (("1"
                                                                                    (hide
                                                                                     2)
                                                                                    (("1"
                                                                                      (lemma
                                                                                       "pi_bounds")
                                                                                      (("1"
                                                                                        (inst
                                                                                         -
                                                                                         "n")
                                                                                        (("1"
                                                                                          (grind
                                                                                           :exclude
                                                                                           ("pi_ubn"
                                                                                            "pi_lbn"))
                                                                                          nil
                                                                                          nil))
                                                                                        nil))
                                                                                      nil))
                                                                                    nil))
                                                                                  nil))
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil)
                                                                       ("2"
                                                                        (hide-all-but
                                                                         1)
                                                                        (("2"
                                                                          (grind)
                                                                          nil
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil)
                                                                 ("8"
                                                                  (hide
                                                                   2)
                                                                  (("8"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("9"
                                                                  (hide
                                                                   2)
                                                                  (("9"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("10"
                                                                  (hide
                                                                   2)
                                                                  (("10"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("11"
                                                                  (hide
                                                                   1)
                                                                  (("11"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("12"
                                                                  (hide
                                                                   1)
                                                                  (("12"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("13"
                                                                  (hide
                                                                   2)
                                                                  (("13"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("14"
                                                                  (expand
                                                                   "Neg")
                                                                  (("14"
                                                                    (expand
                                                                     "Union")
                                                                    (("14"
                                                                      (expand
                                                                       "[||]")
                                                                      (("14"
                                                                        (expand
                                                                         "Add")
                                                                        (("14"
                                                                          (expand
                                                                           "Intersection")
                                                                          (("14"
                                                                            (expand
                                                                             "[||]")
                                                                            (("14"
                                                                              (case
                                                                               "FORALL (s1,s2:real,s3:real): s3<=s1 IMPLIES s3<=max(s1,s2)")
                                                                              (("1"
                                                                                (inst?)
                                                                                (("1"
                                                                                  (split
                                                                                   -)
                                                                                  (("1"
                                                                                    (propax)
                                                                                    nil
                                                                                    nil)
                                                                                   ("2"
                                                                                    (hide
                                                                                     2)
                                                                                    (("2"
                                                                                      (lemma
                                                                                       "Cos_fundamental")
                                                                                      (("2"
                                                                                        (expand
                                                                                         "<<"
                                                                                         -1)
                                                                                        (("2"
                                                                                          (inst?)
                                                                                          (("2"
                                                                                            (assert)
                                                                                            (("2"
                                                                                              (hide
                                                                                               2)
                                                                                              (("2"
                                                                                                (lemma
                                                                                                 "pi_bounds")
                                                                                                (("2"
                                                                                                  (inst
                                                                                                   -
                                                                                                   "n")
                                                                                                  (("2"
                                                                                                    (grind
                                                                                                     :exclude
                                                                                                     ("pi_ubn"
                                                                                                      "pi_lbn"))
                                                                                                    nil
                                                                                                    nil))
                                                                                                  nil))
                                                                                                nil))
                                                                                              nil))
                                                                                            nil))
                                                                                          nil))
                                                                                        nil))
                                                                                      nil))
                                                                                    nil))
                                                                                  nil))
                                                                                nil)
                                                                               ("2"
                                                                                (hide-all-but
                                                                                 1)
                                                                                (("2"
                                                                                  (grind)
                                                                                  nil
                                                                                  nil))
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil)
                                                                 ("15"
                                                                  (hide
                                                                   1)
                                                                  (("15"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("16"
                                                                  (hide
                                                                   2)
                                                                  (("16"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("17"
                                                                  (expand
                                                                   "[||]")
                                                                  (("17"
                                                                    (expand
                                                                     "Add")
                                                                    (("17"
                                                                      (expand
                                                                       "Intersection")
                                                                      (("17"
                                                                        (expand
                                                                         "[||]")
                                                                        (("17"
                                                                          (lemma
                                                                           "Cos_fundamental")
                                                                          (("17"
                                                                            (expand
                                                                             "<<"
                                                                             -1)
                                                                            (("17"
                                                                              (inst?)
                                                                              (("17"
                                                                                (assert)
                                                                                (("17"
                                                                                  (hide
                                                                                   3)
                                                                                  (("17"
                                                                                    (lemma
                                                                                     "pi_bounds")
                                                                                    (("17"
                                                                                      (inst
                                                                                       -
                                                                                       "n")
                                                                                      %------------------------------------------------------------------------------
                                                                                        (
                                                       
                                                                                         :FORALLf:convergent((,)):
                             "pi_lbn))
                                                                                        nil
                                                                                        nil))
                                                                                      
                                                                                    nil))
                                                                                 
                                                                                subset(, nnx=Ff}
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil)
                                                                 ("
18"
                                                                  (hide
                                                                   2)
                                                                  (("
18"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("
19"
                                                                  (hide
                                                                   1)
                                                                  (("
19"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("
20"
                                                                  (hide
                                                                   1)
                                                                  (("
20"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("
21"
                                                                  (hide
                                                                   2)
                                                                  (("
21"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((Proper? const-decl "
bool" interval nil)
    (ub_interval formula-decl nil interval nil)
    (Sin const-decl "
Interval" interval_trig nil)
    (Union const-decl "
Interval" interval nil)
    (min const-decl "
{p: real | p <= m AND p <= n}" real_defs nil)
    (<= const-decl "
bool" reals nil)
    (AND const-decl "
[bool, bool -> bool]" booleans nil)
    (IMPLIES const-decl "
[bool, bool -> bool]" booleans nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (real nonempty-type-from-decl nil reals nil)
    (real_pred const-decl "
[number_field -> boolean]" reals nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (number_field_pred const-decl "
[number -> boolean]" number_fields
     nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number nonempty-type-decl nil numbers nil)
    (minus_real_is_real application-judgement "
real" reals nil)
    (IFF const-decl "
[bool, bool -> bool]" booleans nil)
    (+ const-decl "
[numfield, numfield -> numfield]" number_fields nil)
    (NOT const-decl "
[bool -> bool]" booleans nil)
    (real_lt_is_strict_total_order name-judgement
     "
(strict_total_order?[real])" real_props nil)
    (pi_bound name-judgement "
{r: posreal | pi_lb < r AND r < pi_ub}"
     atan_approx "
trig_fnd/")
    (real_times_real_is_real application-judgement "
real" reals nil)
    (real_plus_real_is_real application-judgement "
real" reals nil)
    (max const-decl "
{p: real | p >= m AND p >= n}" real_defs nil)
    (pi const-decl "
posreal" atan "trig_fnd/")
    (atan_value const-decl "
real" atan "trig_fnd/")
    (Integral const-decl "
real" integral_def "analysis/")
    (real_gt_is_strict_total_order name-judgement
     "
(strict_total_order?[real])" real_props nil)
    (pi_bounds formula-decl nil atan_approx "
trig_fnd/")
    (Cos_fundamental formula-decl nil interval_trig nil)
    (Neg const-decl "
Interval" interval nil)
    (pi_lbn const-decl "
real" atan_approx "trig_fnd/")
    (pi_ubn const-decl "
real" atan_approx "trig_fnd/")
    (- const-decl "
[numfield -> numfield]" number_fields nil)
    (/ const-decl "
[numfield, nznum -> numfield]" number_fields nil)
    (nznum nonempty-type-eq-decl nil number_fields nil)
    (/= const-decl "
boolean" notequal nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (Intersection const-decl "
Interval" interval nil)
    (Add const-decl "
Interval" interval nil)
    (Cos const-decl "
Interval" interval_trig nil)
    (Interval type-eq-decl nil interval nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (>= const-decl "
bool" reals nil)
    (int nonempty-type-eq-decl nil integers nil)
    (integer_pred const-decl "
[rational -> boolean]" integers nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (rational_pred const-decl "
[real -> boolean]" rationals nil)
    ([\|\|] const-decl "
Interval" interval nil)
    (nzreal_div_nzreal_is_nzreal application-judgement "
nzreal"
     real_types nil)
    (pi_ub_pos application-judgement "
posreal" atan_approx "trig_fnd/")
    (minus_nzreal_is_nzreal application-judgement "
nzreal" real_types
     nil)
    (pi_lb_pos application-judgement "
posreal" atan_approx "trig_fnd/")
    (lb_interval formula-decl nil interval nil)
    (real_le_is_total_order name-judgement "
(total_order?[real])"
     real_props nil)
    (<< const-decl "
bool" interval nil))
   shostak))
 (tan_0_pi2_TCC1 0
  (tan_0_pi2_TCC1-1 nil 3301931278
   ("
" (skosimp*) (("" (assert) nil nil)) nil)
   ((real_gt_is_strict_total_order name-judgement
     "
(strict_total_order?[real])" real_props nil))
   shostak))
 (tan_0_pi2_TCC2 0
  (tan_0_pi2_TCC2-1 nil 3301931279
   ("
" (skosimp*) (("" (assert) nil nil)) nil)
   ((real_gt_is_strict_total_order name-judgement
     "
(strict_total_order?[real])" real_props nil))
   shostak))
 (tan_npi2_pi2_TCC1 0
  (tan_npi2_pi2_TCC1-2 nil 3304702393
   ("
" (skosimp*) (("" (assert) nil nil)) nil)
   ((real_gt_is_strict_total_order name-judgement
     "
(strict_total_order?[real])" real_props nil))
   nil))
 (tan_npi2_pi2_TCC2 0
  (tan_npi2_pi2_TCC2-1 nil 3302134474
   ("
" (skosimp*) (("" (assert) nil nil)) nil)
   ((real_gt_is_strict_total_order name-judgement
     "
(strict_total_order?[real])" real_props nil))
   shostak))
 (tan_npi2_pi2_union 0
  (tan_npi2_pi2_union-1 nil 3559305084
   ("
" (skeep)
    (("
" (decompose-equality +)
      (("
1" (expand "Union")
        (("
1" (expand "[||]")
          (("
1" (invoke (case "%1 = %2") (! 1 2) (! 1 2 1))
            (("1" (replaces -1)
              (("1" (expand "Neg")
                (("1" (expand "[||]")
                  (("1" (expand "tan_npi2_pi2")
                    (("1" (expand "<<")
                      (("1" (flatten)
                        (("1" (assert)
                          (("1" (expand "##")
                            (("1" (flatten)
                              (("1"
                                (assert)
                                (("1"
                                  (invoke (case "%1") (! 1 1 1))
                                  (("
1"
                                    (flatten)
                                    (("
1"
                                      (assert)
                                      (("
1"
                                        (case
                                         "
Intersection(X,
                                                                                                                            (# lb := -pi_lb_est(n) / 2,
                                                                                                                               ub := 0 #)) = (# lb:= lb(X), ub:= 0 #)")
                                        (("
1"
                                          (replace -1)
                                          (("
1"
                                            (assert)
                                            (("
1"
                                              (expand "
tan_0_pi2")
                                              (("
1"
                                                (rewrite "
cos_lb_neg")
                                                (("
1"
                                                  (assert)
                                                  (("
1"
                                                    (rewrite
                                                     "
cos_ub_a0")
                                                    (("
1"
                                                      (assert)
                                                      (("
1"
                                                        (rewrite
                                                         "
sin_ub_neg")
                                                        (("
1"
                                                          (assert)
                                                          nil
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil)
                                         ("
2"
                                          (hide 2)
                                          (("
2"
                                            (grind
                                             :exclude
                                             ("
cos_lb" "pi_lb_est"))
                                            nil
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil)
                                   ("
2"
                                    (hide 2)
                                    (("
2"
                                      (lemma
                                       "
cos_lb_nn_strict_decreasing")
                                      (("
2"
                                        (inst - "
n")
                                        (("
2"
                                          (expand "
strict_decreasing?")
                                          (("
2"
                                            (inst-cp
                                             -
                                             "
-lb(X)"
                                             "
pi_lbn(n)/2")
                                            (("
1"
                                              (inst
                                               -
                                               "
ub(X)"
                                               "
pi_lbn(n)/2")
                                              (("
1"
                                                (assert)
                                                (("
1"
                                                  (lemma
                                                   "
cos_lb_pi2_pos")
                                                  (("
1"
                                                    (inst - "
n")
                                                    (("
1"
                                                      (assert)
                                                      (("
1"
                                                        (assert)
                                                        (("
1"
                                                          (case
                                                           "
pi_lb_est(n) <= pi_lbn(n)")
                                                          (("
1"
                                                            (assert)
                                                            (("
1"
                                                              (rewrite
                                                               "
cos_lb_neg")
                                                              (("
1"
                                                                (ground)
                                                                (("
1"
                                                                  (case
                                                                   "
-lb(X) = pi_lbn(n)/2")
                                                                  (("
1"
                                                                    (replace
                                                                     -1
                                                                     :dir
                                                                     rl)
                                                                    (("
1"
                                                                      (rewrite
                                                                       "
cos_lb_neg")
                                                                      nil
                                                                      nil))
                                                                    nil)
                                                                   ("
2"
                                                                    (assert)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("
2"
                                                                  (case
                                                                   "
-lb(X) = pi_lbn(n)/2")
                                                                  (("
1"
                                                                    (replace
                                                                     -1
                                                                     :dir
                                                                     rl)
                                                                    (("
1"
                                                                      (rewrite
                                                                       "
cos_lb_neg")
                                                                      nil
                                                                      nil))
                                                                    nil)
                                                                   ("
2"
                                                                    (assert)
                                                                    nil
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil)
                                                           ("
2"
                                                            (hide-all-but
                                                             1)
                                                            (("
2"
                                                              (expand
                                                               "
pi_lb_est")
                                                              (("
2"
                                                                (lift-if)
                                                                (("
2"
                                                                  (ground)
                                                                  nil
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil)
                                               ("
2"
                                                (lemma "
pi_bounds")
                                                (("
2"
                                                  (inst?)
                                                  (("
2"
                                                    (ground)
                                                    nil
                                                    nil))
                                                  nil))
                                                nil))
                                              nil)
                                             ("2"
                                              (lemma "pi_bounds")
                                              (("2"
                                                (inst?)
                                           
                                                  (ground)
                                               
                                                  nil))
                                                nil))
                                              nil))
                                            lbrakk>equiv(A,r); a ∈ A] ==> a ∈ r``{a}"
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil)
             ("2" (hide 2)
              (("2"
                (case "FORALL (a,b:real): a<=b IMPLIES min(a,b) = a")
                (("1" (rewrite -1)
                  (("1" (hide (-1 2))
                    (("1"
                      (case "FORALL (a,b:real): a<=0 AND b>=0 IMPLIES a<=b")
                      (("1" (inst?)
                        (("1" (assert)
                          (("1" (hide 2)
                            (("1" (split)
                              (("1"
                                (expand "Neg")
                                (("1"
                                  (expand "[||]")
                                  (("1"
                                    (expand "tan_0_pi2")
                                    (("1"
                                      (expand "[||]")
                                      (("1"
                                        (invoke (case "%1") (! 1 1 1))
                                        (("1"
                                          (assert)
                                          (("1"
                                            (flatten)
                                            (("1"
                                              (assert)
                                              (("1"
                                                (neg-formula 1)
                                                (("1"
                                                  (lemma
                                                   "sin_ub_increasing")
                                                  (("1"
                                                    (inst - "n")
                                                    (("1"
                                                      (expand
                                                       "strict_increasing?")
                                                      (("1"
                                                        (cross-mult 1)
                                                        (("1"
                                                          (invoke
                                                           (inst
                                                            -
                                                            "0"
                                                            "%1")
                                                           (! 1 2 1))
                                                          (("1"
                                                            (rewrite
                                                             "sin_ub_a0")
                                                            (("1"
                                                              (java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 0
                                                              ("1"
                                                                (case
                                                                 "FORALL (a1:nnreal): (NOT a1=0) IMPLIES 0<a1")
                                                                (("1"
                                                                  (rewrite
                                                                   -1)
                                                                  (("1"
                                                                    (replace
                                                                     -1)
                                                                    (("1"
                                                                      (rewrite
                                                                       "sin_ub_a0")
                                                                      (("1"
                                                                        (assert)
                                                                        nil
                                                                        nil))
                                                                      nil))
                                                                    nil)
                                                                   ("2"
                                                                    (hide-all-but
                                                                     (-4
                                                                      1))
                                                                    (("2"
                                                                      (grind
                                                                       :exclude
                                                                       "pi_lb_est")
                                                                      nil
                                                                      nil))
                                                                    nil))
                                                                  nil)
                                                                 ("2"
                                                                  (hide-all-but
                                                                   1)
                                                                  (("2"
                                                                    (grind)
                                                                    nil
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
                                                            java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 66
                                                           ("2"
                               all
                                                             (-4 -5 1))
                                                            (("2"
                                                              (grind
                                                               :exclude
                                                               "pi_lb_est")
                                                              nil
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil)
                                         ("2"
                                          (hide 2)
                                          (("2"
                                            (case
                                             "NOT ub(Intersection(X, (# lb := -pi_lb_est(n) / 2, ub := 0 #))) = 0")
                                            (("1"
                                              (hide 2)
                                              (("1"
                                                (grind
                                                 :exclude
                                                 "pi_lb_est")
                                                nil
                                                nil))
                                              nil)
                                             ("2"
                                              (replace -1)
                                              (("2"
                                                (rewrite "cos_ub_a0")
                                                (("2"
                                                  (assert)
                                                  (("2"
                                                    (lemma
                                                     "cos_lb_nn_strict_decreasing")
                                                    (("2"
                                                      (inst - "n")
                                                      (("2"
                                                        (expand
                                                         "strict_decreasing?")
                                                        (("2"
                                                          (invoke
                                                           (inst
                                                            -
                                                            "%1"
                                                            "pi_lbn(n)/2")
                                                           (! 1 1 1))
                                                          (("1"
                                                            (assert)
                                                            (("1"
                                                              (invoke
                                                               (case
                                                                "%1 = %2")
                                                               (!
                                                                -1
                                                                1
                                                                1)
                                                               (!
                                                                -1
                                                                1
                                                                2))
                                                              (("
1"
                                                                (lemma
                                                                 "
cos_lb_pi2_pos")
                                                                (("
1"
                                                                  (inst
                                                                   -
                                                                   "
n")
                                                                  (("
1"
                                                                    (assert)
                                                                    nil
                                                                    nil))
                                                                  nil))
                                                                nil)
                                                               ("
2"
                                                                (lemma
                                                                 "
cos_lb_pi2_pos")
                                                                (("
2"
                                                                  (inst
                                                                   -
                                                                   "
n")
                                                                  (("
2"
                                                                    (assert)
                                                                    (("
2"
                                                                      (case
                                                                       "
pi_lb_est(n) <= pi_lbn(n)")
                                                                      (("
1"
                                                                        (grind
                                                                         :exclude
                                                                         ("
pi_lb_est"
                                                                          "
pi_lbn"
                                                                          "
cos_lb"))
                                                                        nil
                                                                        nil)
                                                                       ("
2"
                                                                        (hide-all-but
                                                                         1)
                                                                        (("
2"
                                                                          (expand
                                                                           "
pi_lb_est")
                                                                          (("
2"
                                                                            (lift-if)
                                                                            (("2"
                                   (ground)
              nil
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil)
                                                           ("2"
                                                            (assert)
                                                            (("2"
                                                              (lemma
                                                               "pi_bounds")
                                                              (("2"
                                                                (inst
                                                                 -
                                                                 "n")
                                                                (("2"
                                                                  (assert)
                                                                  nil
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil)
                                                           ("3"
                                                            (assert)
                                                            (("3"
                                                              (hide
                                                               (-1 2))
                                                              (("3"
                                                                (case
                                                                 "pi_lb_est(n) <= pi_lbn(n)")
                                                                (("1"
                                                                  (lemma
                                                                   "pi_bounds")
                                                                  (("1"
                                                                    (inst
                                                                     -
                                                                     "n")
                                                                    (("1"
                                                                      (assert)
                                                                      (("1"
                                                                        (flatten)
                                                                        (("1"
                                                                          (grind
                                                                           :exclude
                                                                           ("pi_lb_est"
                                                                            "pi_lbn"
                                                                            "cos_lb"
                                                                            "pi_ubn"))
                                                                          nil
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil)
                                                                 ("2"
                                                                  (hide-all-but
                                                                   1)
                                                                  (("2"
                                                                    (expand
                                                                     "pi_lb_est")
                                                                    (("2"
                                                                      (lift-if)
                                                                      (("2"
                                                                        (ground)
                                                                        nil
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil)
                               ("2"
                                (expand "tan_0_pi2")
                                (("2"
                                  (expand "[||]")
                                  (("2"
                                    (invoke (case "%1") (! 1 1 1))
                                    (("1"
                                      (assert)
                                      (("1"
                                        (flatten)
                                        (("1"
                                          (assert)
                                          (("1"
                                            (cross-mult 1)
                                            (("1"
                                              (lemma
                                               "sin_lb_increasing")
                                              (("1"
                                                (inst - "n")
                                                (("1"
                                                  (expand
                                                   "strict_increasing?")
                                                  (("1"
                                                    (invoke
                                                     (inst - "0" "%1")
                                                     (! 1 1 1))
                                                    (("1"
                                                      (invoke
                                                       (case "%1 = %2")
                                                       (! -1 1 1)
                                                       (! -1 1 2))
                                                      (("1"
                                                        (replace
                                                         -1
                                                         :dir
                                                         rl)
                                                        (("1"
                                                          (rewrite
                                                           "sin_lb_a0")
                                                          (("1"
                                                            (assert)
                                                            nil
                                                            nil))
                                                          nil))
                                                        nil)
                                                       ("2"
                                                        (assert)
                                                        (("2"
                                                          (rewrite
                                                           "sin_lb_a0")
                                                          (("2"
                                                            (assert)
                                                            (("2"
                                                              (grind
                                                               :exclude
                                                               ("pi_lb_est"
                                                                "pi_lbn"
                                                                "cos_lb"
                                                                "pi_ubn"
                                                                "sin_lb"
                                                                "cos_ub"))
                                                              nil
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil)
                                                     ("2"
                                                      (grind
                                                       :exclude
                                                       ("pi_lb_est"
                                                        "pi_lbn"
                                                        "cos_lb"
                                                        "pi_ubn"
                                                        "sin_lb"
                                                        "cos_ub"))
                                                      nil
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil)
                                     ("2"
                                      (hide 2)
                                      (("2"
                                        (invoke
                                         (case "%1 = 0")
                                         (! 1 1 1 1))
                                        (("1"
                                          (replaces -1)
                                          (("1"
                                            (rewrite "cos_ub_a0")
                                            (("1"
                                              (assert)
                                              (("1"
                                                (lemma
                                                 "cos_lb_nn_strict_decreasing")
                                                (("1"
                                                  (inst - "n")
                                                  (("1"
                                                    (expand
                                                     "strict_decreasing?")
                                                    (("1"
                                                      (invoke
                                                       (inst
                                                        -
                                                        "%1"
                                                        "pi_lbn(n)/2")
                                                       (! 1 1 1))
                                                      (("1"
                                                        (lemma
                                                         "cos_lb_pi2_pos")
                                                        (("1"
                                                          (inst - "n")
                                                          (("1"
                                                            (assert)
                                                            (("1"
                                                              (invoke
                                                               (case
                                                                "%1 = %2")
                                                               (! 1 1)
                                                               (! 1 2))
                                                              (("1"
                                                                (assert)
                                                                nil
                                                                nil)
                                                               ("2"
                                                                (case
                                                                 "pi_lb_est(n) <= pi_lbn(n)")
                                                                (("1"
                                                                  (grind
                                                                   :exclude
                                                                   ("pi_lb_est"
                                                                    "pi_lbn"
                                                                    "cos_lb"
                                                                    "pi_ubn"
                                                                    "sin_lb"
                                                                    "cos_ub"))
                                                                  nil
                                                                  nil)
                                                                 ("2"
                                                                  (hide-all-but
                                                                   1)
                                                                  (("2"
                                                                    (expand
                                                                     "pi_lb_est")
                                                                    (("2"
                                                                      (lift-if)
                                                                      (("2"
                                                                        (ground)
                                                                        nil
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil)
                                                       ("2"
                                                        (lemma
                                                         "pi_bounds")
                                                        (("2"
                                                          (inst - "n")
                                                          (("2"
                                                            (ground)
                                                            nil
                                                            nil))
                                                          nil))
                                                        nil)
                                                       ("3"
                                                        (assert)
                                                        (("3"
                                                          (case
                                                           "pi_lb_est(n) <= pi_lbn(n)")
                                                          (("1"
                                                            (lemma
                                                             "pi_bounds")
                                                            (("1"
                                                              (inst
                                                               -
                                                               "n")
                                                              (("1"
                                                                (grind
                                                                 :exclude
                                                                 ("pi_lb_est"
                                                                  "pi_lbn"
                                                                  "cos_lb"
                                                                  "pi_ubn"
                                                                  "sin_lb"
                                                                  "cos_ub"
                                                                  "pi"))
                                                                nil
                                                                nil))
                                                              nil))
                                                            nil)
                                                           ("2"
                                                            (hide-all-but
                                                             1)
                                                            (("2"
                                                              (expand
                                                               "pi_lb_est")
                                                              (("2"
                                                                (lift-if)
                                                                (("2"
                                                                  (ground)
                                                                  nil
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil)
                                         ("2"
                                          (hide 2)
                                          (("2"
                                            (grind
                                             :exclude
                                             ("pi_lb_est"
                                              "pi_lbn"
                                              "cos_lb"
                                              "pi_ubn"
                                              "sin_lb"
                                              "cos_ub"
                                              "pi"))
                                            nil
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil)
                       ("2" (hide-all-but 1) (("2" (grind) nil nil))
                        nil))
                      nil))
                    nil))
                  nil)
                 ("2" (hide-all-but 1) (("2" (grind) nil nil)) nil))
                nil))
              nil))
            nil))
          nil))
        nil)
       ("2" (expand "tan_npi2_pi2")
        (("2" (expand "<<")
          (("2" (flatten)
            (("2" (assert)
              (("2" (expand "##")
                (("2" (flatten)
                  (("2" (assert)
                    (("2" (invoke (case "%1") (! 1 1 1))
                      (("1" (flatten)
                        (("1" (assert)
                          (("1"
                            (case "Intersection(X,
                                                                                                                          (# lb := -pi_lb_est(n) / 2,
                                                                                                                             ub := 0 #)) = (# lb:= lb(X), ub:= 0 #)")
                            (("1" (expand "[||]")
                              (("1"
                                (expand "Neg")
                                (("1"
                                  (replace -1)
                                  (("1"
                                    (expand "[||]")
                                    (("1"
                                      (assert)
                                      (("1"
                                        (expand "tan_0_pi2")
                                        (("1"
                                          (rewrite "cos_lb_neg")
                                          (("1"
                                            (rewrite "cos_ub_a0")
                                            (("1"
                                              (rewrite "sin_lb_a0")
                                              (("1"
                                                (expand "[||]")
                                                (("1"
                                                  (assert)
                                                  (("1"
                                                    (rewrite
                                                     "sin_ub_neg")
                                                    (("1"
                                                      (expand "Union")
                                                      (("1"
                                                        (expand "[||]")
                                                        (("1"
                                                          (invoke
                                                           (case "%1")
                                                           (! 1 2 2 1))
                                                          (("1"
                                                            (flatten)
                                                            (("1"
                                                              (assert)
                                                              (("1"
                                                                (replace
                                                                 -1)
                                                                (("1"
                                                                  (replace
                                                                   -2)
                                                                  (("1"
                                                                    (case
                                                                     "FORALL (b:real): 0<=b IMPLIES max(0,b) = b")
                                                                    (("1"
                                                                      (rewrite
                                                                       -1)
                                                                      (("1"
                                                                        (hide
                                                                         -1)
                                                                        (("1"
                                                                          (invoke
                                                                           (case
                                                                            "%1 = %2")
                                                                           (!
                                                                            1
                                                                            1
                                                                            1
                                                                            1)
                                                                           (!
                                                                            1
                                                                            2
                                                                            1
                                                                            1))
                                                                          (("1"
                                                                            (replace
                                                                             -1
                                                                             :dir
                                                                             rl)
                                                                            (("1"
                                                                              (propax)
                                                                              nil
                                                                              nil))
                                                                            nil)
                                                                           ("2"
                                                                            (grind
                                                                             :exclude
                                                                             ("pi_lb_est"
                                                                              "pi_lbn"
                                                                              "cos_lb"
                                                                              "pi_ubn"
                                                                              "sin_lb"
                                                                              "cos_ub"
                                                                              "pi"
                                                                              "sin_ub"))
                                                                            nil
                                                                            nil))
                                                                          nil))
                                                                        nil)
                                                                       ("2"
                                                                        (hide
                                                                         2)
                                                                        (("2"
                                                                          (cross-mult
                                                                           1)
                                                                          (("2"
                                                                            (lemma
                                                                             "sin_bounds")
                                                                            (("2"
                                                                              (inst?)
                                                                              (("2"
                                                                                (flatten)
                                                                                (("2"
                                                                                  (lemma
                                                                                   "sin_ge_0")
                                                                                  (("2"
                                                                                    (inst?)
                                                                                    (("2"
                                                                                      (assert)
                                                                                      (("2"
                                                                                        (hide
                                                                                         2)
                                                                                        (("2"
                                                                                          (lemma
                                                                                           "pi_bounds")
                                                                                          (("2"
                                                                                            (inst
                                                                                             -
                                                                                             "n")
                                                                                            (("2"
                                                                                              (flatten)
                                                                                              (("2"
                                                                                                (case
                                                                                                 "pi_lb_est(n) <= pi_lbn(n)")
                                                                                                (("1"
                                                                                                  (grind
                                                                                                   :exclude
                                                                                                   ("pi_lb_est"
                                               "
                                                                                     
                                                                                                    "pi_ubn"
                                                                                                    "sin_lb"
                                                                                                    "cos_ub"
                                                                                                    "pi"
                                                                                                    "sin_ub"))
                                                                                                  nil
                                                                                                  nil)
                                                                                                 ("2"
                                                                                                  (hide-all-but
                                                                                                   1)
                                                                                                  (("2"
                                                                                                    (expand
                                                                                                     "pi_lb_est")
                                                                                                    (("2"
                                                                                                      (lift-if)
                                                                                                      (("2"
                                                                                                        (ground)
                                                                                                        nil
                                                                                                        nil))
                                                                                                      nil))
                                                                                                    nil))
                                                                                                  nil))
                                                                                                nil))
                                                                                              nil))
                                                                                            nil))
                                                                                          nil))
                                                                                        nil))
                                                                                      nil))
                                                                                    nil))
                                                                                  nil))
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil)
                                                                     ("2"
                                                                      (hide-all-but
                                                                       1)
                                                                      (("2"
                                                                        (grind)
                                                                        nil
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil)
                                                           ("2"
                                                            (hide 2)
                                                            (("2"
                                                              (invoke
                                                               (case
                                                                "%1 = 0")
                                                               (!
                                                                1
                                                                1
                                                                1
                                                                1))
                                                              (("1"
                                                                (replace
                                                                 -1)
                                                                (("1"
                                                                  (rewrite
                                                                   "cos_ub_a0")
                                                                  (("1"
                                                                    (assert)
                                                                    (("1"
                                                                      (lemma
                                                                       "cos_lb_nn_strict_decreasing")
                                                                      (("1"
                                                                        (inst
                                                                         -
                                                                         "n")
                                                                        (("1"
                                                                          (expand
                                                                           "strict_decreasing?")
                                                                          (("1"
                                                                            (invoke
                                                                             (inst
                                                                              -
                                                                              "%1"
                                                                              "pi_lbn(n)/2")
                                                                             (!
                                                                              1
                                                                              1
                                                                              1))
                                                                            (("1"
                                                                              (lemma
                                                                               "cos_lb_pi2_pos")
                                                                              (("1"
                                                                                (inst
                                                                                 -
                                                                                 "n")
                                                                                (("1"
                                                                                  (assert)
                                                                                  (("1"
                                                                                    (lemma
                                                                                     "pi_lb_est_le")
                                                                                    (("1"
                                                                                      (inst
                                                                                       -
                                                                                       "n")
                                                                                      (("1"
                                                                                        (flatten)
                                                                                        (("1"
                                                                                          (grind
                                                                                           :exclude
                                                                                           ("pi_lb_est"
                                                                                            "pi_lbn"
                                                                                            "cos_lb"
                                                                                            "pi_ubn"
                                                                                            "sin_lb"
                                                                                            "cos_ub"
                                                                                            "pi"
                                                                                            "sin_ub"))
                                                                                          nil
                                                                                          nil))
                                                                                        nil))
                                                                                      nil))
                                                                                    nil))
                                                                                  nil))
                                                                                nil))
                                                                              nil)
                                                                             ("2"
                                                                              (lemma
                                                                               "pi_bounds")
                                                                              (("2"
                                                                                (inst
                                                                                 -
                                                                                 "n")
                                                                                (("2"
                                                                                  (ground)
                                                                                  nil
                                                                                  nil))
                                                                                nil))
                                                                              nil)
                                                                             ("3"
                                                                              (hide
                                                                               2)
                                                                              (("3"
                                                                                (lemma
                                                                                 "pi_lb_est_le")
                                                                                (("3"
                                                                                  (inst
                                                                                   -
                                                                                   "n")
                                                                                  (("3"
                                                                                    (flatten)
                                                                                    (("3"
                                                                                      (grind
                                                                                       :exclude
                                                                                       ("pi_lb_est"
                                                                                        "pi_lbn"
                                                                                        "cos_lb"
                                                                                        "pi_ubn"
                                                                                        "sin_lb"
                                                                                        "cos_ub"
                                                                                        "pi"
                                                                                        "sin_ub"))
                                                                                      nil
                                                                                      nil))
                                                                                    nil))
                                                                                  nil))
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil))
                                                                nil)
                                                               ("2"
                                                                (grind
                                                                 :exclude
                                                                 ("pi_lb_est"
                                                                  "pi_lbn"
                                                                  "cos_lb"
                                                                  "pi_ubn"
                                                                  "sin_lb"
                                                                  "cos_ub"
                                                                  "pi"
                                                                  "sin_ub"))
                                                                nil
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("2"
                              (grind :exclude
                               ("pi_lb_est"
                                "pi_lbn"
                                "cos_lb"
                                "pi_ubn"
                                "sin_lb"
                                "cos_ub"
                                "pi"
                                "sin_ub"))
                              nil nil))
                            nil))
                          nil))
                        nil)
                       ("2" (hide 2)
                        (("2" (lemma "pi_lb_est_le")
                          (("2" (inst - "n")
                            (("2" (flatten)
                              (("2"
                                (lemma "cos_lb_pi2_pos")
                                (("2"
                                  (inst - "n")
                                  (("2"
                                    (assert)
                                    (("2"
                                      (lemma
                                       "cos_lb_nn_strict_decreasing")
                                      (("2"
                                        (inst - "n")
                                        (("2"
                                          (expand "strict_decreasing?")
                                          (("2"
                                            (inst - _ "pi_lbn(n)/2")
                                            (("1"
                                              (inst-cp - "-lb(X)")
                                              (("1"
                                                (inst - "ub(X)")
                                                (("1"
                                                  (assert)
                                                  (("1"
                                                    (rewrite
                                                     "cos_lb_neg")
                                                    (("1"
                                                      (ground)
                                                      (("1"
                                                        (case
                                                         "-lb(X) = pi_lbn(n)/2")
                                                        (("1"
                                                          (replace
                                                           -1
                                                           :dir
                                                           rl)
                                                          (("1"
                                                            (rewrite
                                                             "cos_lb_neg")
                                                            nil
                                                            nil))
                                                          nil)
                                                         ("2"
                                                          (assert)
                                                          nil
                                                          nil))
                                                        nil)
                                                       ("2"
                                                        (case
                                                         "-lb(X) = pi_lbn(n)/2")
                                                        (("1"
                                                          (replace
                                                           -1
                                                           :dir
                                                           rl)
                                                          (("1"
                                                            (rewrite
                                                             "cos_lb_neg")
                                                            nil
                                                            nil))
                                                          nil)
                                                         ("2"
                                                          (assert)
                                                          nil
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil)
                                             ("2"
                                              (assert)
                                              (("2"
                                                (lemma "pi_bounds")
                                                (("2"
                                                  (inst - "n")
                                                  (("2"
                                                    (ground)
                                                    nil
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (minus_real_is_real application-judgement "real" reals nil)
    (nnreal_div_posreal_is_nnreal application-judgement "nnreal"
     real_types nil)
    (real_div_nzreal_is_real application-judgement "real" reals nil)
    (number nonempty-type-decl nil numbers nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number_field_pred const-decl "[number -> boolean]" number_fields
     nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (real_pred const-decl "[number_field -> boolean]" reals nil)
    (rational_pred const-decl "[real -> boolean]" rationals nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (integer_pred const-decl "[rational -> boolean]" integers nil)
    (int nonempty-type-eq-decl nil integers nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (>= const-decl "bool" reals nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (tan_npi2_pi2 const-decl "Interval" interval_trig nil)
    (Union const-decl "Interval" interval nil)
    (Neg const-decl "Interval" interval nil)
    (tan_0_pi2 const-decl "Interval" interval_trig nil)
    (Intersection const-decl "Interval" interval nil)
    ([\|\|] const-decl "Interval" interval nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (/= const-decl "boolean" notequal nil)
    (nznum nonempty-type-eq-decl nil number_fields nil)
    (/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
    (- const-decl "[numfield -> numfield]" number_fields nil)
    (nnreal type-eq-decl nil real_types nil)
    (< const-decl "bool" reals nil)
    (nonneg_real nonempty-type-eq-decl nil real_types nil)
    (> const-decl "bool" reals nil)
    (posreal nonempty-type-eq-decl nil real_types nil)
    (pi const-decl "posreal" atan "trig_fnd/")
    (pi_lb_est const-decl "{rr: nnreal | rr < pi}" trig_approx
     "trig_fnd/")
    (Interval type-eq-decl nil interval nil)
    (real nonempty-type-from-decl nil reals nil)
    (Integral const-decl "real" integral_def "analysis/")
    (atan_value const-decl "real" atan "trig_fnd/")
    (sin_ub_increasing formula-decl nil trig_approx "trig_fnd/")
    (strict_increasing? const-decl "bool" real_fun_preds "reals/")
    (X skolem-const-decl "Interval" interval_trig nil)
    (sin_ub_a0 formula-decl nil trig_approx "trig_fnd/")
    (div_mult_pos_le2 formula-decl nil real_props nil)
    (TRUE const-decl "bool" booleans nil)
    (id const-decl "(bijective?[T, T])" identity nil)
    (bijective? const-decl "bool" functions nil)
    (sin_ub const-decl "real" trig_approx "trig_fnd/")
    (negreal nonempty-type-eq-decl nil real_types nil)
    (nonpos_real nonempty-type-eq-decl nil real_types nil)
    (both_sides_times_neg_le1 formula-decl nil real_props nil)
    (minus_odd_is_odd application-judgement "odd_int" integers nil)
    (real_times_real_is_real application-judgement "real" reals nil)
    (mult_divides2 application-judgement "(divides(m))" divides nil)
    (mult_divides1 application-judgement "(divides(n))" divides nil)
    (even_times_int_is_even application-judgement "even_int" integers
     nil)
    (mult_neg formula-decl nil extra_tegies nil)
    (neg_div formula-decl nil extra_tegies nil)
    (neg_neg formula-decl nil extra_tegies nil)
    (NOT const-decl "[bool -> bool]" booleans nil)
    (cos_ub const-decl "real" trig_approx "trig_fnd/")
    (sin_lb_increasing formula-decl nil trig_approx "trig_fnd/")
    (sin_lb_a0 formula-decl nil trig_approx "trig_fnd/")
    (sin_lb const-decl "real" trig_approx "trig_fnd/")
    (div_mult_pos_ge1 formula-decl nil real_props nil)
    (IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
    (<< const-decl "bool" interval nil)
    (real_gt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (lb_interval formula-decl nil interval nil)
    (cos_lb const-decl "real" trig_approx "trig_fnd/")
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (max const-decl "{p: real | p >= m AND p >= n}" real_defs nil)
    (ub_interval formula-decl nil interval nil)
    (sin_ub_neg formula-decl nil trig_approx "trig_fnd/")
    (cos_ub_a0 formula-decl nil trig_approx "trig_fnd/")
    (cos_lb_neg formula-decl nil trig_approx "trig_fnd/")
    (minus_even_is_even application-judgement "even_int" integers nil)
    (cos_lb_nn_strict_decreasing formula-decl nil trig_approx
     "trig_fnd/")
    (strict_decreasing? const-decl "bool" real_fun_preds "reals/")
    (cos_lb_pi2_pos formula-decl nil trig_approx "trig_fnd/")
    (nat_exp application-judgement "nat" exponentiation nil)
    (posint_plus_nnint_is_posint application-judgement "posint"
     integers nil)
    (posrat_div_posrat_is_posrat application-judgement "posrat"
     rationals nil)
    (real_minus_real_is_real application-judgement "real" reals nil)
    (pi_ub_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (pi_bounds formula-decl nil atan_approx "trig_fnd/")
    (n skolem-const-decl "nat" interval_trig nil)
    (pi_lbn const-decl "real" atan_approx "trig_fnd/")
    (posreal_div_posreal_is_posreal application-judgement "posreal"
     real_types nil)
    (pi_lb_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (pi_bound name-judgement "{r: posreal | pi_lb < r AND r < pi_ub}"
     atan_approx "trig_fnd/")
    (|##| const-decl "bool" interval nil)
    (= const-decl "[T, T -> boolean]" equalities nil)
    (AND const-decl "[bool, bool -> bool]" booleans nil)
    (<= const-decl "bool" reals nil)
    (min const-decl "{p: real | p <= m AND p <= n}" real_defs nil)
    (EmptyInterval const-decl "Interval" interval nil)
    (sin_ge_0 formula-decl nil trig_ineq "trig_fnd/")
    (sin_range application-judgement "trig_range" sincos_def
     "trig_fnd/")
    (sin_bounds formula-decl nil trig_approx "trig_fnd/")
    (pi_lb_est_le formula-decl nil trig_approx "trig_fnd/"))
   shostak))
 (Tan_proper 0
  (Tan_proper-1 nil 3559394623
   (""
    (case "NOT FORALL (X: Interval, n: nat):
               Proper?(X) AND
                X << [| 0, pi_lb_est(n + 5) / 2 |]
                IMPLIES Proper?(Tan(n)(X))"
)
    (("1" (hide 2)
      (("1" (skeep)
        (("1" (expand "Tan")
          (("1" (ground)
            (("1" (expand "tan_0_pi2")
              (("1" (invoke (case "%1") (! 1 1))
                (("1" (flatten)
                  (("1" (assert)
                    (("1" (expand "[||]")
                      (("1" (expand "Proper?")
                        (("1"
                          (case "FORALL (a,c:nnreal,b,d:posreal): a<=c AND b>=d IMPLIES a/b<=c/d")
                          (("1" (inst?)
                            (("1" (assert)
                              (("1"
                                (hide 2)
                                (("1"
                                  (lemma "sin_bounds")
                                  (("1"
                                    (split +)
                                    (("1"
                                      (inst-cp - "lb(X)" "5+n")
                                      (("1"
                                        (inst - "ub(X)" "5+n")
                                        (("1"
                                          (flatten)
                                          (("1"
                                            (lemma "sin_increasing")
                                            (("1"
                                              (inst - "ub(X)" "lb(X)")
                                              (("1"
                                                (assert)
                                                (("1"
                                                  (expand "<<")
                                                  (("1"
                                                    (flatten)
                                                    (("1"
                                                      (lemma
                                                       "pi_lb_est_le")
                                                      (("1"
                                                        (inst - "5+n")
                                                        (("1"
                                                          (flatten)
                                                          (("1"
                                                            (assert)
                                                            nil
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil)
                                     ("2"
                                      (hide -1)
                                      (("2"
                                        (lemma "cos_bounds")
                                        (("2"
                                          (inst-cp - "lb(X)" "5+n")
                                          (("2"
                                            (inst - "ub(X)" "5+n")
                                            (("2"
                                              (flatten)
                                              (("2"
                                                (lemma
                                                 "cos_decreasing")
                                                (("2"
                                                  (inst
                                                   -
                                                   "ub(X)"
                                                   "lb(X)")
                                                  (("2"
                                                    (assert)
                                                    (("2"
                                                      (expand "<<")
                                                      (("2"
                                                        (flatten)
                                                        (("2"
                                                          (lemma
                                                           ")
                                                          ((        (("
 (  <""H1C(t!)"!t) "C!1)
                                                             typeniljava.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 45
                                                             -
                                                             "5+n")
                                                            (("2"
                                                              (flatten)
                                                              (("2"
                                                                (assert)
                                                                nil
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("2" (lemma "sin_ub_increasing")
                              (("2"
                                (inst - "5+n")
                                (("2"
                                  (expand "strict_increasing?")
                                  (("2"
                                    (inst - "0" "ub(X)")
                                    (("1"
                                      (assert)
                                      (("1"
                                        (lemma "sin_ub_a0")
                                        (("1"
                                          (inst?)
                                          (("1"
                                            (assert)
                                            (("1"
                                              (expand "<<")
                                              (("1" (propax) nil nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil)
                                     ("2"
                                      (expand "<<")
                                      (("2" (ground) nil nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("3" (lemma "sin_lb_increasing")
                              (("3"
                                (inst - "5+n")
                                (("3"
                                  (expand "strict_increasing?")
                                  (("3"
                                    (inst - "0" "lb(X)")
                                    (("1"
                                      (assert)
                                      (("1"
                                        (lemma "sin_lb_a0")
                                        (("1"
                                          (inst - "5+n")
                                          (("1"
                                            (assert)
                                            (("1"
                                              (expand "<<")
                                              (("1" (propax) nil nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil)
                                     ("2"
                                      (expand "<<")
                                      (("2" (ground) nil nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil)
                           ("2" (hide-all-but 1)
                            (("2" (skeep)
                              (("2"
                                (mult-ineq -1 -2)
                                (("2" (cross-mult 1) nil nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil)
                 ("2" (hide 2)
                  (("2" (split +)
                    (("1" (lemma "cos_bounds")
                      (("1" (inst?)
                        (("1" (flatten)
                          (("1" (lemma "cos_gt_0")
                            (("1" (inst?)
                              (("1"
                                (assert)
                                (("1"
                                  (lemma "pi_lb_est_le")
                                  (("1"
                                    (inst - "5+n")
                                    (("1"
                                      (flatten)
                                      (("1"
                                        (expand "<<")
                                        (("1"
                                          (expand "[||]")
                                          (("1"
                                            (flatten)
                                            (("1"
                                              (assert)
                                              (("1"
                                                (expand "Proper?")
                                                (("1"
                                                  (assert)
                                                  nil
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil)
                     ("2" (lemma "cos_lb_nn_strict_decreasing")
                      (("2" (inst - "5+n")
                        (("2" (expand "strict_decreasing?")
                          (("2" (inst - "ub(X)" "pi_lbn(5+n)/2")
                            (("1" (lemma "pi_lb_est_le")
                              (("1"
                                (inst - "5+n")
                                (("1"
                                  (flatten)
                                  (("1"
                                    (assert)
                                    (("1"
                                      (expand "<<")
                                      (("1"
                                        (expand "[||]")
                                        (("1"
                                          (flatten)
                                          (("1"
                                            (assert)
                                            (("1"
                                              (expand "Proper?")
                                              (("1"
                                                (lemma
                                                 "cos_lb_pi2_pos")
                                                (("1"
                                                  (inst - "5+n")
                                                  (("1"
                                                    (assert)
                                                    nil
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("2" (lemma "pi_bounds")
                              (("2"
                                (inst?)
                                (("2" (ground) nil nil))
                                nil))
                              nil)
                             ("3" (expand "Proper?")
                              (("3"
                                (lemma "pi_lb_est_le")
                                (("3"
                                  (inst - "5+n")
                                  (("3"
                                    (flatten)
                                    (("3"
                                      (assert)
                                      (("3"
                                        (expand "<<")
                                        (("3"
                                          (expand "[||]")
                                          (("3" (ground) nil nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("2"
      (case "NOT FORALL (X: Interval, n: nat):
                 Proper?(X) AND
                  (X << [| 0, pi_lb_est(n + 5) / 2 |] OR X << [| -pi_lb_est(n + 5) / 2,0 |])
                  IMPLIES Proper?(Tan(n)(X))"
)
      (("1" (hide 2)
        (("1" (skeep)
          (("1" (inst-cp - "X" "n")
            (("1" (assert)
              (("1" (assert)
                (("1" (expand "Tan" 1)
                  (("1" (inst - "Neg(X)" "n")
                    (("1" (assert)
                      (("1" (invoke (case "%1") (! -3 1))
                        (("
1" (flatten)
                          (("
1" (assert)
                            (("
1" (expand "Tan")
                              (("
1"
                                (grind
                                 
                                 ("tan_0_pi2  ()jj)ANDii < jj IMPLIES
                                nil
                               java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
                              nil))
                            nil))
                          nil)
                         ("2" (hide -3)
                          (("2"
                            (grind :exclude ("tan_0_pi2" "pi_lb_est"))
                            nil nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil)
       ("2" (skeep)
        (("2" (inst-cp - "X" "n")
          (("2" (hide -3)
            (("2" (assert)
              (("2" (flatten)
                (("2" (expand "Tan")
                  (("2" (assert)
                    (("2" (rewrite "tan_npi2_pi2_union")
                      (("1"
                        (case "NOT FORALL (XX,YY:Interval): Proper?(YY) IMPLIES Proper?(Union(XX,YY))")
                        (("1" (hide-all-but 1) (("1" (grind) nil nil))
                          nil)
                         ("2" (inst?)
                          (("2" (assert)
                            (("2" (hide 4)
                              (("2"
                                (inst
                                 -
                                 "Intersection(X, [| 0, pi_lb_est(5 + n) / 2 |])"
                                 "n")
                                (("2"
                                  (assert)
                                  (("2"
                                    (split -)
                                    (("1" (propax) nil nil)
                                     ("2"
                                      (flatten)
                                      (("2"
                                        (hide-all-but (-2 1))
                                        (("2"
                                          (grind
                                           :exclude
                                           ("tan_0_pi2" "pi_lb_est"))
                                          nil
                                          nil))
                                        nil))
                                      nil)
                                     ("3"
                                      (hide 2)
                                      (("3"
                                        (grind
                                         :exclude
                                         ("tan_0_pi2" "pi_lb_est"))
                                        nil
                                        nil))
                                      nil)
                                     ("4"
                                      (flatten)
                                      (("4"
                                        (hide-all-but 1)
                                        (("4"
                                          (grind
                                           :exclude
                                           ("tan_0_pi2" "pi_lb_est"))
                                          nil
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil)
                       ("2" (hide -1)
                        (("2"
                          (grind :exclude
                           ("tan_0_pi2" "pi_lb_est" "tan_npi2_pi2"))
                          nil nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((OR const-decl "[bool, bool -> bool]" booleans nil)
    (Neg const-decl "Interval" interval nil)
    (tan_npi2_pi2_union formula-decl nil interval_trig nil)
    (int_minus_int_is_int application-judgement "int" integers nil)
    (Intersection const-decl "Interval" interval nil)
    (max const-decl "{p: real | p >= m AND p >= n}" real_defs nil)
    (min const-decl "{p: real | p <= m AND p <= n}" real_defs nil)
    (Union const-decl "Interval" interval nil)
    (|##| const-decl "bool" interval nil)
    (minus_real_is_real application-judgement "real" reals nil)
    (tan_0_pi2 const-decl "Interval" interval_trig nil)
    (cos_lb_nn_strict_decreasing formula-decl nil trig_approx
     "trig_fnd/")
    (strict_decreasing? const-decl "bool" real_fun_preds "reals/")
    (pi_bounds formula-decl nil atan_approx "trig_fnd/")
    (pi_ub_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (cos_lb_pi2_pos formula-decl nil trig_approx "trig_fnd/")
    (pi_lbn const-decl "real" atan_approx "trig_fnd/")
    (cos_gt_0 formula-decl nil trig_ineq "trig_fnd/")
    (<= const-decl "bool" reals nil)
    (sin_lb_increasing formula-decl nil trig_approx "trig_fnd/")
    (sin_lb_a0 formula-decl nil trig_approx "trig_fnd/")
    (sin_ub_increasing formula-decl nil trig_approx "trig_fnd/")
    (strict_increasing? const-decl "bool" real_fun_preds "reals/")
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (sin_ub_a0 formula-decl nil trig_approx "trig_fnd/")
    (- const-decl "[numfield -> numfield]" number_fields nil)
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (sin_bounds formula-decl nil trig_approx "trig_fnd/")
    (cos_range application-judgement "trig_range" sincos_def
     "trig_fnd/")
    (cos_decreasing formula-decl nil trig_ineq "trig_fnd/")
    (cos_bounds formula-decl nil trig_approx "trig_fnd/")
    (pi_lb_est_le formula-decl nil trig_approx "trig_fnd/")
    (pi_lb_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (sin_range application-judgement "trig_range" sincos_def
     "trig_fnd/")
    (posreal_div_posreal_is_posreal application-judgement "posreal"
     real_types nil)
    (pi_bound name-judgement "{r: posreal | pi_lb < r AND r < pi_ub}"
     atan_approx "trig_fnd/")
    (nzreal_div_nzreal_is_nzreal application-judgement "nzreal"
     real_types nil)
    (minus_nzreal_is_nzreal application-judgement "nzreal" real_types
     nil)
    (sin_increasing formula-decl nil trig_ineq "trig_fnd/")
    (sin_ub const-decl "real" trig_approx "trig_fnd/")
    (n skolem-const-decl "nat" interval_trig nil)
    (X skolem-const-decl "Interval" interval_trig nil)
    (sin_lb const-decl "real" trig_approx "trig_fnd/")
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (nonzero_real nonempty-type-eq-decl nil reals nil)
    (times_div2 formula-decl nil real_props nil)
    (div_mult_pos_le2 formula-decl nil real_props nil)
    (div_mult_pos_le1 formula-decl nil real_props nil)
    (le_times_le_any1 formula-decl nil extra_real_props nil)
    (abs const-decl "{n: nonneg_real | n >= m AND n >= -m}" real_defs
         nil)
    (nnreal_times_nnreal_is_nnreal application-judgement "nnreal"
     real_types nil)
    (* const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (real_gt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (cos_ub const-decl "real" trig_approx "trig_fnd/")
    (cos_lb const-decl "real" trig_approx "trig_fnd/")
    (real_div_nzreal_is_real application-judgement "real" reals nil)
    (posint_plus_nnint_is_posint application-judgement "posint"
     integers nil)
    (nnint_plus_posint_is_posint application-judgement "posint"
     integers nil)
    (nnreal_div_posreal_is_nnreal application-judgement "nnreal"
     real_types nil)
    (boolean nonempty-type-decl nil booleans nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (NOT const-decl "[bool -> bool]" booleans nil)
    (real nonempty-type-from-decl nil reals nil)
    (Interval type-eq-decl nil interval nil)
    (number nonempty-type-decl nil numbers nil)
    (number_field_pred const-decl "[number -> boolean]" number_fields
     nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (real_pred const-decl "[number_field -> boolean]" reals nil)
    (rational_pred const-decl "[real -> boolean]" rationals nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (integer_pred const-decl "[rational -> boolean]" integers nil)
    (int nonempty-type-eq-decl nil integers nil)
    (>= const-decl "bool" reals nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
    (AND const-decl "[bool, bool -> bool]" booleans nil)
    (Proper? const-decl "bool" interval nil)
    (<< const-decl "bool" interval nil)
    ([\|\|] const-decl "Interval" interval nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (/= const-decl "boolean" notequal nil)
    (nznum nonempty-type-eq-decl nil number_fields nil)
    (/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
    (nnreal type-eq-decl nil real_types nil)
    (< const-decl "bool" reals nil)
    (nonneg_real nonempty-type-eq-decl nil real_types nil)
    (> const-decl "bool" reals nil)
    (posreal nonempty-type-eq-decl nil real_types nil)
    (pi const-decl "posreal" atan "trig_fnd/")
    (pi_lb_est const-decl "{rr: nnreal | rr < pi}" trig_approx
     "trig_fnd/")
    (+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (Tan const-decl "Interval" interval_trig nil))
   shostak))
 (Atan_fundamental 0
  (Atan_fundamental-1 nil 3559665648
   ("" (skeep)
    (("" (expand "Atan")
      (("" (lemma "atan_lb_increasing")
        (("" (lemma "atan_ub_increasing")
          (("" (inst - "n")
            (("" (inst - "n")
              (("" (expand "increasing?")
                (("" (inst - "ub(X)" "ub(Y)")
                  (("" (inst - "lb(Y)" "lb(X)")
                    (("" (assert)
                      (("" (expand "<<")
                        (("" (expand "[||]") (("" (ground) nil nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((Atan const-decl "Interval" interval_trig nil)
    (atan_ub_increasing formula-decl nil atan_approx "trig_fnd/")
    (Interval type-eq-decl nil interval nil)
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    ([\|\|] const-decl "Interval" interval nil)
    (<< const-decl "bool" interval nil)
    (increasing? const-decl "bool" real_fun_preds "reals/")
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (>= const-decl "bool" reals nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (int nonempty-type-eq-decl nil integers nil)
    (integer_pred const-decl "[rational -> boolean]" integers nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (rational_pred const-decl "[real -> boolean]" rationals nil)
    (real nonempty-type-from-decl nil reals nil)
    (real_pred const-decl "[number_field -> boolean]" reals nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (number_field_pred const-decl "[number -> boolean]" number_fields
     nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number nonempty-type-decl nil numbers nil)
    (atan_lb_increasing formula-decl nil atan_approx "trig_fnd/"))
   shostak))
 (Pi_inclusion 0
  (Pi_inclusion-1 nil 3306165185
   ("" (skeep)
    (("" (expand "Pi")
      (("" (expand "##")
        (("" (expand "[||]")
          (("" (lemma "pi_bounds")
            (("" (inst?) (("" (ground) nil nil)) nil)) nil))
          nil))
        nil))
      nil))
    nil)
   ((Pi const-decl "(Pos?)" interval_trig nil)
    ([\|\|] const-decl "Interval" interval nil)
    (number nonempty-type-decl nil numbers nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number_field_pred const-decl "[number -> boolean]" number_fields
     nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (real_pred const-decl "[number_field -> boolean]" reals nil)
    (real nonempty-type-from-decl nil reals nil)
    (rational_pred const-decl "[real -> boolean]" rationals nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (integer_pred const-decl "[rational -> boolean]" integers nil)
    (int nonempty-type-eq-decl nil integers nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (>= const-decl "bool" reals nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (pi_ub_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (pi_bound name-judgement "{r: posreal | pi_lb < r AND r < pi_ub}"
     atan_approx "trig_fnd/")
    (pi_lb_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (pi_bounds formula-decl nil atan_approx "trig_fnd/")
    (|##| const-decl "bool" interval nil))
   shostak))
 (Pi_proper 0
  (Pi_proper-1 nil 3567426319
   ("" (skeep)
    (("" (lemma "Pi_inclusion")
      (("" (inst? -1)
        (("" (lemma "Member_Proper")
          (("" (inst? -1) (("" (assert) nil nil)) nil)) nil))
        nil))
      nil))
    nil)
   ((Pi_inclusion formula-decl nil interval_trig nil)
    (Member_Proper formula-decl nil interval nil)
    (pi_bound name-judgement "{r: posreal | pi_lb < r AND r < pi_ub}"
     atan_approx "trig_fnd/")
    (pi const-decl "posreal" atan "trig_fnd/")
    (posreal nonempty-type-eq-decl nil real_types nil)
    (> const-decl "bool" reals nil)
    (nonneg_real nonempty-type-eq-decl nil real_types nil)
    (Pi const-decl "(Pos?)" interval_trig nil)
    (Pos? const-decl "bool" interval nil)
    (Interval type-eq-decl nil interval nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (>= const-decl "bool" reals nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (int nonempty-type-eq-decl nil integers nil)
    (integer_pred const-decl "[rational -> boolean]" integers nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (rational_pred const-decl "[real -> boolean]" rationals nil)
    (real nonempty-type-from-decl nil reals nil)
    (real_pred const-decl "[number_field -> boolean]" reals nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (number_field_pred const-decl "[number -> boolean]" number_fields
     nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number nonempty-type-decl nil numbers nil))
   nil))
 (sin_npi2_pi2 0
  (sin_npi2_pi2-1 nil 3321631707
   ("" (skeep)
    (("" (expand "<<")
      (("" (flatten)
        (("" (expand "sin_npi2_pi2")
          (("" (assert)
java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 63
              nil)
("

                  (("" (inst-cp -1 "ub(X)" "n")
                    (("" (inst -1 "lb(X)" "n")
                      (("" (grind-reals)
                        (("1" (lemma "sin_incr")
                          (("1" (inst -1 "ub(X)" "x")
                            (("1" (assert)
                              (("1"
                                (lemma "pi_bounds")
                                (("1"
                                  (inst?)
                                  (("1"
                                    (flatten)
                                    (("1" (assert) nil nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil)
                         ("2" (lemma "sin_incr")
                          (("2" (inst -1 "x" "lb(X)")
                            (("2" (assert)
                              (("2"
                                (lemma "pi_bounds")
                                (("2"
                                  (inst?)
                                  (("2"
                                    (flatten)
                                    (("2" (assert) nil nil))
                                    nil(("2"
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
)
            nil))
          nil))
        nil))
      nil))
    nil)
   ((pi_lb_pos application-judgement "posreal" atan_approx "trig_fnd                                                                       -
    (minus_nzreal_is_nzreal application-judgement "
nzreal" real_types
     nil)
    (<< const-decl "
bool" interval nil)
    (sin_npi2_pi2 const-decl "
Interval" interval_trig nil)
    (|##| const-decl "
bool" interval nil)
    (sin_bounds formula-decl nil trig_approx "
trig_fnd/                                                                         
    (sin_incr formula-decl nil trig_ineq "trig_fnd/")
    (real_ge_is_total_ordernil))
     real_props nil)
    (pi_bound name-judgement  il))
     atan_approx(("2"
    (div_mult_pos_ge2 formula-decl nil                                                  "3java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
    (pi_ub_pos                                                      nil))
    (pi_bounds formula-decl nil ("2java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
    (real_times_real_is_real application-judgement "
real" reals("2java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order)
    (div_mult_pos_le1 formula-decl nil real_props n)
    (div_mult_pos_le2 formula-decl nil real_props nil)
    nat nonemptytype-- nilnaturalnumbersnil)
    >= - "
boolreals nil
    (bool nonempty-type-eq-decl nil booleans nil)
    (int nonempty-type-eq-decl nil integers nil)
    (integer_pred const-decl "[rational -> boolean]" integers nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (rational_pred const-ecl"real >boolean] rationals nil)
(typeeq-decl nil interval nil)
    (real nonempty-type-from-decl nil reals nil)
    (real_pred const-decl "
[number_field -> boolean]"((1 (""
    (number_field nonempty-type-from-decl nil number_fields nil)
    (number_field_pred const-decl "
[number -> boolean(2 typepred"!1"
     nil)
    (boolean"a1,b1floor(b1a1)delta1 +))
    nnonempty-type-ecl nil numbers niljava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
    (java.lang.StringIndexOutOfBoundsException: Range [42, 16) out of bounds for length 50
    (lb_interval formula-decl nil interval nil)
    (real_le_is_total_order name-judgement "
(total_order?[real])"
     real_props nil)
    (nzreal_div_nzreal_is_nzreal application-judgement "
nzreal"
     real_types nil)
    (posreal_div_posreal_is_posreal application-judgement "
posreal"
     real_types nil)
    (sin_range application-judgement "
trig_range"                                                      -
     "
trig_fnd/"))
   nil))
 (sin_pi2_pi 0
  (sin_pi2_pi-1 nil 3321631733
   ("
" (skeep)
    (("
" (expand* "<<" "##" "sin_pi2_pi")
      (("
" (assert)
        (("
" (flatten)
          (("
" (split)
            (("
1" (case "sin((("1"
              (("1" (lemma "sin_bounds")
                (("1" (inst -1 "ub(X)" "n") (("1" ((("1"
                  nil))
                nil)
               ("2" (hide 2)
                (("2" (grind"sigma_last_gejava.lang.StringIndexOutOfBoundsException: Index 117 out of bounds for length 117
                  (("
2" (lemma "sin_decr")
                    (("
2" (inst                                               IF i = j!1 THEN SecJ * F_DIF ELSE 0 ENDIF)) = 0")
                      (("2" (assert)
                        (("2" (lemma "pi_bounds")
                          (("2" (inst?)
                            (("2" (flatten) (("2" (assert) nil nil))
                              nil))
                            nil))
                          nil))
                        nil)
                      nil))
                    nil))
                  nil))
                nil))
              nil)
             ("2" (case "sin(x)<= sin(lb(X))")
              (("1" (lemma "sin_bounds")
                ( inst - lb " (1 assertnil )
                  nil))
                nil)
               ("2" (hide 2)
                (("2" (lemmanil
                  (("2" (inst -1 "x" "lb(X)")
                    (("2" (assert)
                      (("2" (lemma "pi_bounds")
                        (("2" (inst?)
                          (("2" (flatten) (nil))
                                                             nil
                          nil))
                        nil))
                      nil))
                    nil))
                  nil)
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((|#| const-decl b"interval iljava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    (sin_pi2_pi const-decl "
Interval" interval_trig nil)
    (pi_ub_pos application-judgement "
posreal" atan_approx "trig_fnd/")
    (<< const-decl "
bool" interval nil)
    (Interval type-eq-decl nil interval nil)
    (sin const-decl "
real" sincos_def "trig_fnd/")
    (<= const-decl "
bool" reals nil)("2"
    (java.lang.StringIndexOutOfBoundsException: Range [88, 9) out of bounds for length 93
    (real nonempty-type-from-decl nil reals nil)
    (real_pred const-decl "
[number_field -> boolean]" reals nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (number_field_pred const-decl "
[number -> boolean]" number_fields
     nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number nonempty-type-decl nil numbers nil)
     nonemptytype-decl nil  nil
    (>= const-                                    nil)
    (int nonempty-type-eq-("
2"
    (integer_pred const-decl "
[rational -> boolean]" integers nil)
    (rational nonempty-type-from                                                             "
3java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
    (rational_pred const-decl "[real -> boolean]" rationals nil)
    (sin_bounds formula-decl nil trig_approx "trig_fnd/")
    (div_mult_pos_le1 formula-decl nil real_props nil)
    (real_lt_is_strict_total_order name-judgement
     """
    (real_times_real_is_real application-judgement "
real" reals nil)
    (pi_bounds formula-decl nil atan_approx "
trig_fnd/")
    (div_mult_pos_ge2 formula-decl nil real_props nil)
    (div_mult_pos_le2 formula-decl nil real_props nil)
    (java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 12
     real_types nil)
    (pi_bound name-judgement "
{java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 45
     atan_approx "trig_fnd/")
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (sin_decr formula-decl nil trig_ineq "trig_fnd/")
    (ub_interval formula-decl nil interval nil)
    (lb_interval formula-decl nil interval niljava.lang.StringIndexOutOfBoundsException: Range [46, 47) out of bounds for length 15
    (real_le_is_total_order name-judgement "(total_order?[real] nil
     real_props nil)
    (posreal_div_posreal_is_posreal application-judgement "
posreal"
     real_types nil)
    (pi_lb_pos application-judgement "
posreal" atan_approx(_constdecl"real-] java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 64
    (sin_range application-""sincos_def
     "trig_fnd/"))
   nil))
 (sin_0_pi 0
  (sin_0_pi-1 nil 3312224255
   ("" (skeep)
    (("" (expand* "<<" "##" "sin_0_pi")
      (("" (flatten)
        (("" (assert)
          (("" (split)
            (("1" (case "x <= pi/2")
              (("1" (case(("" h -
                (("1" (expand "min")
                  (("1" (lift-if) (("1" (assert) nil nil)) nil)) nil)
                 ("2" (hide 2)
                  (("2" (                            1
                    (("2" (inst -1 "lb(X)" "n")
                      2" (assert)
                       (2"
(
                          (("2" (hide -2)
                            (("2" (casenil)
                              (("1" (assert) nil nil)
                               ("2"
                                -)
                                (("2"
                                  (lemma "sin_incr")
                                  (("2"
                                    (inst -1 "x" "lb(X)")
                                    (("2" (assert) nil nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        )
                      nil))
                    nil))
                  nil))
                nil)
               ("2" (case "sin_lb(ub(X), n) <= sin(x)")
                (("    (ounded_below java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 60
                  nil)
                 ("
2" (hide 3)
                  (("
2" (lemma "sin_bounds")
                    (("
2" (inst -1 "ub(X)" "n")
                      ((    (osint_plus_nnint_is_posint - posint"

                            number_field_pred-decl[ -> "number_fields
                          - number_fieldsniljava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
                            ("
1(assert nilnil)
                             
                             "
                                (lemma "sin_decr((""(case<+")
                                "
2"
                                  (inst -1 "
ub(X)" "x")
                          "

                                    (assert)
                                    (("2"
                                      (lemma "pi_bounds")
                                      (("2"
                                        (inst?)
                                    2
                                          (flatten)
                                          i- i"nil
                                          nil))
                                                          nil)
                                      nil))
                                    nil))
                                  nil((2( (2 ground) nil nil))nil)java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
niljava.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
                              nil))
                            nil))
                          nil))
                        nil)    java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 42
                      nil))
                        (integer_predconst- "
> boolean]" integers nil)
                  )
                        "
 casereplacen0"
              nil)
             ("
2" (assert) nil nil))
            nil))
          nil))
        ("
"
      nil))
    nil)
   ((|##| const-decl "
bool" interval nil)
    (sin_0_pi const-decl "
Interval" interval_trig nil)
    (<< const-decl "
bool" interval nil)
    (sin_range application-judgement "
trig_range" sincos_def
trig_fnd)
    (pi_lb_pos     (set type-eq-decl nil set                                                    3
    (real_le_is_total_order name-judgement "
(total_order?[real])"
     real_props nil)
    (lb_interval formula-decl nil interval nil)
    (ub_interval formula-decl nil interval nil)
("
"(*
    java.lang.StringIndexOutOfBoundsException: Range [62, 54) out of bounds for length 67
( declb"
java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
(nonemptynil
    = java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 36
    (/ decl "[numfield - numfield]  nil)
    (nznum nonempty-type-eq-decl nil number_fields nil)
    (/= const-decl "
                           
    (numfield nonempty-type-eq-                                  
    (<= const-decl "bool" reals nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (real nonempty-ypefrom-decl nil nil)
    (real_pred const-decl "[number_field -> boolean]" reals nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (number_field_pred                   nil)
     nil)
    (boolean nonempty-type-decl nil booleans nil                                                                         array2list[niljava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    (number nonempty-type-decl nil numbers nil)
    (posreal_div_posreal_is_posreal application-judgement "posreal"
     real_types nil)
    (in_incr   

     nil)(java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 62
(zreal_div_nzreal_is_nzrealapplicationjudgement                                                               )
              h4
    (real_ge_is_total_order name-judgement "(total_order?[java.lang.StringIndexOutOfBoundsException: Range [68, 65) out of bounds for length 73
     real_props nil)
    (sin_bounds formula-decl nil trig_approx "
trig_fnd/")
    (min const-decl "
{p: real | p <= m AND p <= n}" real_defs nil)
    (real_gt_is_strict_total_order name-judgement
     "
(strict_total_order?[real])" real_props               nil))
    (pi_bound name-judgement "
{r: posreal | pi_lb < r AND r < pi_ub}"
     atan_approx "
trig_fndintegral_bounded 
    (sin const-decl "real" sincos_def "trig_fnd/")
    (Interval type-eq-decl nil interval nil)
    (sin_lb const-decl "real" trig_approx "trig_fnd/")
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (int nonempty-type-eq-decl nil integers nil)
    (             "nth")
    (rational nonempty-type-from-decl nil rationals nil)
l_pred constdecl" -> boolean]" rationals nil
    (pi_bounds formula-decl nil atan_approx "trig_fnd/")
    (real_lt_is_strict_total_order name-judgement
     "(""()((2 assert nil)nil)
    (pi_ub_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (posreal_times_posreal_is_posreal application-judgement "posreal"
     real_types nil)
    (sin_decr formula-decl nil trig_ineq "trig_fnd/"))
   nil))
 s0
  (sin_npi_0-1 nil 3312226151
   (                  ((1 flatten) ((1"() nilnil))nil) ))
    (("
" (case-                                         "witch_one_entry(ll, m, new)")
      (("
1" (hide -1)
        (("
1" (rewrite "Neg_inclusion")
          (("
1"((1" typepred"
            (("
1" (lemma "sin_neg")
              (("
1" (inst -1 "x")
                (("
1                      (2 assert)))))))))))java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
                  (("1" ((("1" (lemma "is_finite_surj
                    (                inst"ength(!)-1"
                      (("1" (lemma "Neg_Incl")
                        nil)java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
                          (("1" (assert)
                    (" ")
                              (("1" (assert) nil nil)) nil))
                            nil))
                          nil))
                        nil))
                      nil)
                     ("2" (rewrite "Neg_inclusion") nil nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil)
       ("2" (assert) nil nil))
      nil))
    nil)
   ((sin_range application-judgement "trig_range" sincos_def
     "trig_fnd/")
    (minus_real_is_real application-judgement "real" reals nil)
    (number nonempty-type-decl nil                                       nil))
    (boolean nonempty-type(declb"    (surjective? const-decl "bool" functions niljava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
    (= const-decl "
[T, T -> boolean]" equalities nil)
    (number_field_pred const-decl "
[number -> boolean]" number_fields
     nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (real_pred const-decl "
[number_field -> boolean]" reals nil)
    (real nonempty-type-from-decl nil reals nil)
    (sin const-decl "
real" sincos_def "trig_fnd/")
    (            ("
 i "!""1 i!     structures"
    (- const-decl "[numfield -> numfield]" number_fields nil"(skosimp (nat_induction formula-ecl nil nil
( application-judgement posreal"
java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 37
(  java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 49
    (Interval type-eq-decl nil interval nil)
    (java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 15
    (rational nonempty-type-from-decl nil rationals nil)
    (integer_pred const-decl "[rational -> boolean]" integers nil)
    (int nonempty-type-eq-decl nil integers    (array2list const-decl
    (bool nonempty-type-eq-decl nil booleans nil)
(constdecl"ool"reals nil
    ump_one_ind_list_TCC1nil3621672198 "" (ubtype-tcc)nil nil)
    sin_0_piconst- Interval"interval_trig nil)
    (Neg const-decl "
Interval" interval nil)
    (minus_nzreal_is_nzreal application-judgement "
nzreal" real_types
     nil)
    (sin_neg formula-decl nil trig_basic "
trig_fnd/")
    (pi_lbn const-decl "
real" atan_approx "trig_fnd/")
    ([\|\|] const-decl "
Interval" interval nil)
    (Neg_interval formula-decl nil interval nil)
    (minus_even_is_even application-judgement "
even_int" integers nil)
    ( (hide2java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
    (sin_0_pi formula-decl nil interval_trig nil))
   nil))
 (sin_npi_npi2 0
  (sin_npi_npi2-2 nil 3320434600
   ("
" (skeep)
((java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 41
      (("
1" (hide -1)
        (("
1"bool")
                  nil)
            (("1" (lemma "sin_neg")
              (("1" (inst -1 "x")
                (("1" (replaces -1 :dir rl)
                  (("1" (rewrite "sin_pi2_pi")
                    ("( "
                      (("1" (lemma "Neg_Incl")
                        (("1" (inst? -1 :where -2)
                          (("1" (assert)
                            (("1" (rewrite "Neg_interval")
                              ) )
                            nil))
                          nil))
                        nil))
                      nil)
                     ("2" (                                         
                    nil))
                  nil))
                )
              nil))
            nil))
          nil))
        nil)
       ("2" (assert) nil nil))
      nil))
    nil)
   ((sin_range application-judgement "trig_range"      "{z: nonneg_real | z >= x AND z >= y}" real_defs
t/)
    (minus_real_is_real application-judgement "real" reals nil)
    (number nonempty-    (umber_field_predjava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 69
    -ecljava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 49
    (= const( namejudgement
    (number_field_pred const-decl "[number ->     -  3621672198 ("" (subtype-tcc) nil nil)
     nil)
    (number_field nonempty-type   shostak))
    (real_pred const-decl "
[number_field -> boolean]" reals nil)
    (real nonempty-type-from-decl nil reals nil)
    (sin const-decl "
real" sincos_def "trig_fnd/")
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (- const-decl "
nil
    minus_nzreal_is_nzreal application-udgement ""real_types
)
    (pi_ub_pos application-judgement "posreal"     (AND const-decl "[bool, bool -> bool]" booleans nil
    (pi_lb_pos application-judgement "posreal"     (finite_sequence type-eq-decl nil finite_sequences nil
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 49
    (Interval    (number_field_pred const-decl"number -boolean] 
    (rational_pred const-decl "
[real -> boolean]" rationals nil)
-type-romdecl rationals java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
    (integer_pred const-decl "
[rational -> java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 37
    (int nonempty-type-eq-decl nil integers nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (>= (strict_total_order]"java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 50
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 54
     const-decl "
numfieldnumfield -numfield"number_fields nil)
    )
    (nzreal_div_nzreal_is_nzreal application-judgement "
nzreal"
     real_types nil)
    (sin_neg formula-decl nil trig_basic "
trig_fnd/")
    (pi_ubn const-decl "
real" atan_approx "trig_fnd/")
    (/ const-decl "
[numfield, nznum -> numfield]" number_fields nil)
    nznum -type--decl number_fields nil)
    (/= const-decl "
boolean" notequal nil)
    (pi_lbn const-decl "
real"( const-decl "bool,bool -> bool]"booleans nil)
    (\\]- "
 java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 47
    (Neg_interval formula-decl nil interval nil)
    (Neg_Incl formula-decl nil interval nil)
    (posreal_div_posreal_is_posreal(java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 51
     real_types cl"" 
    (sin_pi2_pi formula-decl nil interval_trig nil))
   nil))
 (cos_0_pi 0
  c-  
   ("" (skeep)
    (("" (expand* "<<" "##" "cos_0_pi" "cos_0_pi2")
      (("" (               nil))
        (("" (split 1)
          (("1" (case "cos(ub(--java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 58
            (("
1" (lemma "cos_bounds")
("
"(- "ub(X""" (1 a) nil il)
               ))
              nil)
             ("
2" (hide 2)
              (("
2" (lemma "(asereplace"LAMBDA (s: nat)java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
                (("
2" (inst -1 "ub(X)" "x")
                  (("
2" (assert)
                    (("
2" (lemma "pi_boundsn
("ijava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 35
                        (("
2" (flatten) (("2" (assert) nil nil)) nil))
                        nil))
                      java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
                    nil))
                  nil))
                nil))
              nil))
            nil)
           ("
2" (case "cos(x) <= cos(lb(X))")
_"
)
              (("1" (inst                   (3 f
                nil))
              nil)
             ("2" (hide 2    (real_gt_is_strict_total_ordername-udgement
              (("2" (lemma "cos_decr")
)
                  (("2" (assert)
                    ""(emma"i_bounds"java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
                      (("2" (inst?)
                        (("2" (flatten) (("2" (assert) nil nil)) nil))
                       )
                      nil))
                    nil))
nil)
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((|##| const-decl "bool" interval nil)
    (cos_0_pi const-decl "Interval" interval_trig nil)
    (<< const-decl "bool" interval nil)
    (pi_bounds formula-decl nil atan_approx "trig_fnd/")
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])"                                          ""
    (pi_ub_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (pi_bound name-judgement "{r: posreal | pi_lb < r AND r < pi_ub}"
     atan_approx "trig_fnd/")
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (cos_decr formula-decl nil java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
    (cos_bounds formula-decl nil trig_approx "java.lang.StringIndexOutOfBoundsException: Range [0, 54) out of bounds for length 33
    (lb_interval formula-decl nil interval nil)
 nil)
    (pi_lb_pos application-judgement "
posreal" atan_approx "trig_fnd/")
    (cos_range application-judgement "
trig_range" sincos_def
     "
trig_fnd/")
    (real_le_is_total_order name-judgement "
(total_order?[real])"
     real_props nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (>= const-decl "
bool" reals nil)
    (int nonempty-type-eq                      nil)))
    (integer_pred const-decl "
[rational -> boolean]" integers nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (rational_pred const-decl "
[real -> boolean]" rationals nil)
    (number nonempty-type-decl nil numbers nil)
    (boolean nonempty-type-decl nil java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 11
    (number_field_pred const-decl "
[number -> boolean]" number_fields
     nil)
    number_field nonempty-type-from-decl nil number_fields nil)
 const-decl [ "
)
    (real nonempty-type-from-decl nil reals nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (<= const-decl "bool" reals nil)
    (s-sigma/java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
    (Interval typeposrat_div_posrat_is_posrat application""
   nil))
 (cos_npi_0 0
  (cos_npi_0-1 nil 3579704427
   ("" (skeep)
    (("" (lemma(nonemptytype-declnil  nil)
      (("" (inst -1 "Neg(X)" "n" "-x")
        (("" (assert)
          (("" (rewrite    (
            (("" (expand "cos_0_pi")
              (("" (assert)
               ( h)
                  (("" (expand "<<")
                    (" flatten)
                       nil)))
                        (("
" (assert)
                          (                ("
2 expand "ow2"1)
                            (("" (flatten) (("" (assert) nil nil))
                              nil))
                            nil))
                          nil))
)
                      nil))
                    nil))
                  nil))

              nil))
            nil))
          nil)nil)
        nil))
      )
    nil)
nil 
    (cos_range application-judgement "trig_range" sincos_def
     "trig_fnd/")(-decl[rational- "integersniljava.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
    (pi_lb_pos application-judgement "
posreal"    boolean nonempty-type-decl nil booleans nil)
    (minus_nzreal_is_nzreal application-judgement "
nzreal" real_types
     nil)
    (cos_0_pi const-decl "
Interval"(strict_total_order?[real]"real_props nil)
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (lb_interval formula-decl nil interval nil)
    (ub_interval formula-decl nil interval nil)
    (|##| const-decl "bool" interval nil)
    (<< const-decl "bool" interval nil)
    (cos_neg formula-decl nil trig_basic "trig_fnd/")
    (- const-decl "[numfield -> numfield]" number_fields nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (>= const-decl "bool" reals nil)
nonempty--eqdecl nil  niljava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
    (1"(java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 47
    (integer_pred const-decl "
[rational -> boolean]" integers nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (rational_pred const-decl "
[real -> boolean]" rationals nil)
    (real_pred const-decl "
[number_field -> boolean]" reals nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (number_field_pred const-decl "
[number -> boolean]" number_fields
     nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number nonempty-type-decl nil numbers nil)
    (Neg const-decl "
Interval" interval nil)
    java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 44
    (real nonempty-type-from-decl nil reals nil)
    (minus_real_is_real application-judgement "
real" reals nil))
   nil))
 (cos_npi2_pi2 0
  (cos_npi2_pi2-1 nil 3305037654
   ("
" (skeep)
    (("
" (expand "<<")
      (("
" (flatten)
        (("
" (expand "cos_npi2_pi2nil
          (("" (expand "##")
            (("" (flatten)
              (("" (split)
                (("1" (case "x >= 0")
("(case "os_lb(bX,n)< cos()")
                    (("
1" (expand "min")
                      (("
1" (lift-if) (("1" (assert) nil nil)) nil))
                      nil)
                 "
2"(hide )
                      (("
2" (lemma "cos_bounds")
                        (("
2" (inst -1 "ub(X)" "n")
                          (("
2" (flatten)
("
2 cos(bX)<(
                              (("1" (assert(java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 47
                               ("2"
                                (hide -1 -2 2)
                                (          
                                  (lemmanumfieldtypeeqdeclnil number_fields)
                                  (("2"
                                    (inst -1 "ub(X)" "x")
                                    (("2"
                                      (  b" reals nil)
                                      (("
2"
             lemma pi_bounds"
java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
                                        (("2"
                                          (inst?)
                                          (("2"
                                            )
                                            (("2" (assert) nil nil))
                                            nil))
                                          nil(
                                        nil))
                                      nil))

                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil)
                   ("2" (case "cos_lb(lb(X),n) <= cos(x)")
                    (("1" (expand "min")
                      (("1" (lift-if) (("1" (assert) nil nil)) nil))
                      nil)
                     ("2" (hide 3)
("(")
                        (("2" (inst                                                    ((1java.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
                          (("2" (flatten)
                            (nil))
                              (("1" (                                                                          ))
                               ("2"
                                (hide -1 -2 2)
                                (("2"
                                  (lemma "cos_decr")
                                  (("2"
                                    (inst -1 "-x" "-lb(X)")
                                    (("2"
                                      (rewrite "cos_neg")
                                      (("2"
                                        (rewrite "cos_neg")
                                        (("2"
                                          (assert)
                                          (("2"
                                            (lemma "pi_bounds")
(2"
                                              (inst?)
                                              (("
2"
                                                (flatten)
                                                                                                
                                                  (assert)
                                                 
                                                       "{ff: [nat -> below(3)] | FORALL (k: above(j + 1()  0}java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
niljava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
nil)
                  nil)
                 ("
2" (assert) nil nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((pi_lb_pos application-judgement "
posreal" atan_approx "trig_fnd/")
    (minus_nzreal_is_nzreal application-judgement "
nzreal" real_types
     nil)
    (                ("
"(expand "bump_one_ind_list)
    (cos_npi2_pi2 const-decl "Interval" interval_trig nil)
    (>= const-decl "bool" reals nil)
    (bool nonempty(""(switch_is_with"java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
    (real nonempty-type-from-decl nil reals nil)
    (real_pred const-decl "
[number_field -> boolean]" reals nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
ld_pred const-ecl"
number- oolean] number_fields
     nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number nonempty-type-decl nil numbers nil)
    (cos_decr formula-decl nil trig_ineq "trig_fnd/")
    (pi_bound name-judgement "{r: posreal | pi_lb < r AND r < pi_ub}"
     atan_approx "trig_fnd/")
    (pi_ub_pos application-judgement "posreal" atan_approx(eqdecldefined_typesjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (pi_bounds formula-decl nil atan_approx "trig_fnd/")
    (cos_bounds formula-decl nil trig_approx "trig_fnd/")
    (min const-decl "{p: real | p <= m AND p <= n}" real_defs nil)
    (lb_interval formula-decl nil interval nil)
    (ub_interval formula-decl nil interval nil)
    (real_gt_is_strict_total_order name-judgement
     "strict_total_order?[real])" real_props nil)
    (array2list "structures")
     real_types nil)
    (nzreal_div_nzreal_is_nzreal application-judgement "
nzreal"
     real_types nil)
    (real_ge_is_total_order name-judgement "
(total_order?[real])"
real_props nil)
    (cos_range application-judgement "
trig_range" sincos_def
     "
trig_fnd/")
real_le_is_total_order name-judgement "
total_order?real])"
     real_props nil)
    (<= const-decl "
bool" reals nil)
    ("
1"
    (rational nonempty-type-from-decl nil rationals nil)
    (integer_pred const-decl                                                     "
"
    (int nonempty-type-eq-decl nil integers nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (cos_lb const-decl "
real" trig_approx "trig_fnd/")
    (Interval type-eq-decl nil interval nil)
    (cos const-decl "
real" sincos_def "trig_fnd/")
    (cos_neg formula-decl nil trig_basic "
trig_fnd/")
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (- const-decl "
[numfield -> numfield]" number_fields nil)
    mapplicationjudgement"
eal  )
    (|##| const-decl "bool" interval nil))
   nil))
 (Cos_inclusion 0
  (Cos_inclusion-2 nil 3304702817
   ("" (skeep)
    (("" (expand "Cos")
      (("" (lift-if)
        (("" (bddsimp)
          (("1" (rewrite "cos_0_pi")
            (("1" (hide 2)
              (("1" (grind :exclude ("pi_lbn" "^")) nil nil)) nil))
            nil)
           ("2" (rewrite("2"
            (("2" (hide (2 3))
              (("2" (grind :exclude ("pi_lbn" "^")) nil nil)) nil))
            nil)
                                                   (2java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
("( (2 34)
              (("
3" (grind :exclude ("pi_lbn" "^")) nil nil))  nil
            nil)
           ("
4" (hide-all-but 4)
            (("
4" (assert)
              (("
4" (typepred "cos(x)")
                (("
4" (expand "##") (("4" (assert) nil nil)) nil))
                ("
"
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((minus_real_is_real application-judgement "
real" reals nil)
    (nnint_times_nnint_is_nnint application-judgement "
nonneg_int"
     integers nil)
    (even_times_int_is_even application-judgement "
even_int" integers
     nil)
    (mult_divides1 application-judgement "(divides(n))" divides nil)
    (mult_divides2 application-judgement "(divides(m))" divides nil)
n java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 64
    (posrat_exp application-judgement "
posrat" exponentiation nil)
    (posrat_div_posrat_is_posrat application-judgement "
posrat"
     rationals nil)
     const- Interval"
interval_trig)
    (posint_plus_nnint_is_posint application-judgement "posint"
     integers nil)
    ((("1"(flatten)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    ([\|\|] const-decl "Interval" interval nil)
    (<< const-decl "bool" interval nil)
    (|##| const-decl "bool" interval nil)
    (pi_lb_est const-decl "{rr: nnreal | rr < pi}" trig_approx
     "trig_fnd/")
    (real_minus_real_is_real application-judgement "real" reals nil)
    (minus_odd_is_odd application-judgement "odd_int" integers nil)
    (pi_lb_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (cos_range application-judgement "trig_range" sincos_def
     "trig_fnd/")
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (>= const-decl "bool" reals nil)
---decl )
    > constdecl"  nil)
    (integer_pred const-decl "
[rational -> boolean]" integers nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (rational_pred const-decl "
[real -> boolean]" rationals nil)
    (real_pred const-decl "
[number_field -> boolean]" reals nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (number_field_pred const-decl "
[number -> boolean]" number_fields
     nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number nonempty-type-decl nil numbers nil)
    (Interval type-eq-decl nil interval nil)
    (real nonempty-type-from-decl nil reals nil)
    (cos_0_pi formula   nil
    (  (dot_tail_sum2plus_TCC2-1 3621758096("
 s ilniljava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
     nil)
    (cos_npi_0 formula-decl nil interval_trig nil)
    ((int nonempty-nil ntegers nil)
     real_types nil)
    (posreal_div_posreal_is_posreal application-judgement "posreal"
     real_types nil)
    real_div_nzreal_is_real application-judgement "real" reals nil)
    (nnreal_div_posreal_is_nnreal application- (array2list constdecl
     real_types nil)
    (cos_npi2_pi2 formula-decl nil interval_trig nil)
    even_plus_even_is_even application-"even_int"integers
     nil)
    (rat_minus_rat_is_rat                ""(skeep) (""(ground) nil il)) nil)
    (ub_interval formula-decl nil interval nil)
    (lb_interval formula-decl nil interval nil)
    r"sincos_def trig_fnd/")
 decl[-numfield number_fieldsniljava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (<= const-decl "bool" reals nil)
    (NOT const-decl "[bool -> bool]" booleans nil))
   nil))
 (Sin_inclusion nil)
  (Sin_inclusion-2 nil 3304702653
   ("" (expand "Sin")
    (("" (skeep)
      (("" (name "Xpos" "Intersection(X, [| 0, ub(X) |])")
        (("" (replace -1)
          (("" (name "    (< const-declbool" reals nil)
            (("" (replace -1)
              ((""
                (name "piint" "[| -pi_ubn(n) / 2, -pi_lbn(n) / 2 |]")
                (("" (replace -1(base_list constdecl"[elow()() base_repr"eals"java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
                  (("
" (case "x>=0")
                    (("
1" (case "x ## Xpos")
                      (("
1" (assert)
 "
roper())
                          (("1" (assert)
                            (("1"
                              (case "sin(x) ## Cos(n)(Add(Xpos, piint))")
                              (("1"
                                (hide-all-but (-1 1))
                                (("1"
                                  (grind
                                   :exclude
                                   ("cos"
                                    "Cos"
                                    "sin"
                                     dot_tail_sum2plus_TCC7 0
                                    "pi_lbn"
                                    "pi_ubn"
                                    "pi"))
                                  nil
                                  )
                                nil)
                               ("2"
                               )
                                (("2"
                                  (rewrite "sin_cos")
                                  (("2"
                                    (lemma "cos_neg")
                                    (("2"
                                      (inst - "pi/2+x")
                                      (("2"
                                        (replaces -1 :dir rl)
                                        (("2"
                                          (rewrite "neg_cos")
                                          (("2"
          a)
((2
                                              (rewrite
                                               "cos_neg"
                                               :dir
                     
                                              (    posnat_expt application-udgement posnat" exponentiation nil))
                                                (assert)
                                                (("
2"
(case
                                                   "
NOT -(-(pi / 2 + x) + pi) = x-pi/2")
                                                  (("
1"
                                                    (assert)
                                                    nil
                                                    nil)
                                                   ("
2"
                                                    (replaces -1)
                                                    (("
2"

                                                       "
Cos_inclusion")
                                                      (("
2"
                                                        (inst?)
                                                        (("
2"
                                                          (assert)
(("
2java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
                                                            (lemma
                                                             "pi_bounds")
                                                                (bump_one_listconst-ecl
                                                              (inst
                                                               -
                                                               "n")
                                                              (("2"
                                                                (flatten)
                                                                (("2"
                                                                  (grind
            :
                                                               ("
                                                                   
                                                                    (dot_tail_sum2plus def-decl "
real query_coeff)
                                                                    "Sin"
                                                                    "pi_lbn"
                                                                    "pi_ubn"
                                                                    "pi"))
                                                                  nil
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
nil
                                            nil))
                                          nil))
    ( constdecl"rational >boolean]"integers)
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil)
                           ("2" (assert)
                            (("2" (hide-all-but (-1 1))
                              (("2" (grind) nil nil)) nil))
                             ( nonempty-from-nilrealsnil)
                          nil))
                        nil)
                       ("2" (hide-all-but (-1 -5 1))
                        (("2" (expand "Xpos") (("2" (grind) nil nil))
                          nil))
                        ( real xponentiationjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
                      nil)
                    2 (ase"())
                      (("
1" (assert)
    rational_pred decl [real ->"
rationals)
                          (case "sin(x) ## Neg(Cos(n)(Add(Neg(Xneg), piint)))")
                          (("1" (hide-all-but (-1 +))
                            (("1"
                              (grind :exclude
                               ("cos"
                                "Cos"
                                "sin"
                                "Sin"
                                "pi_lbn"
                                "pi_ubn"
                                "pi"))
                              nil nil))
                            nil)
                           ("2" (hide 3)
                            (("2" (rewrite "sin_cos")
                              (("2"
   ( "
                                (("
2"
                                  (hide 2)
                                  (("2"
                                    (rewrite "
cos_neg" :dir rl)
                             "
2java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
                                      (lemma "Cos_inclusion")
                                      (("2"
                                        (inst?)
                                        (("2"
                                          (assert)
                                          (("2"
                                            (hide 2)
                                            (("2"
                                              (lemma "pi_bounds")
                                              (("2"
                                                (inst - "n")
                (""
                                                  (flatten)
                                                  (("2"
                                                    (grind
                                                     :exclude
                                                     ("cos"
                                                      "Cos"
                                                      "sin"
                                                      "Sin"
                                                      "pi_lbn"
                                                      "pi_ubn"
                                                      "pi"))
                                                    nil
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil)
                       ("2" (case "x ## Xneg")
                        (("1" (hide-all-but (-1 1))
                          (("1" (grind) nil nil)) nil)
                         ("2" (hide 4)
                          (("2" (hide -1) (("2" (grind) nil nil)) nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((pi_ub_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (minus_nzreal_is_nzreal application-judgement "nzreal" real_types
     nil)
    (Neg_inclusion formula-decl nil interval nil)
    (cos const-decl "real" sincos_def "trig_fnd/")
    (|##| const-decl "bool" interval nil)
    (Proper? const-decl "bool" interval nil)
    (sin const-decl "real" sincos_def "trig_fnd/")
    (Cos const-decl "Interval" interval_trig nil)
    (Add const-decl "Interval" interval nil)
    (Union const-decl "Interval" interval nil)
    (max const-decl "{p: real | p >= m AND p >= n}" real_defs nil)
    (min const-decl "{p: real | p <= m AND p <= n}" real_defs nil)
    (Neg const-decl "Interval" interval nil)
    (real_plus_real_is_real application-judgement "real" reals nil)
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (minus_real_is_real application-judgement "real" reals nil)
    (sin_cos formula-decl nil trig_basic "trig_fnd/")
    (pi_bound name-judgement "{r: posreal | pi_lb < r AND r < pi_ub}"
     atan_approx "trig_fnd/")
    (posreal_div_posreal_is_posreal application-judgement "posreal"
     real_types nil)
    (cos_range application-judgement "trig_range" sincos_def
     "trig_fnd/")
    (pi const-decl "posreal" atan "trig_fnd/")
    (posreal nonempty-type-eq-decl nil real_types nil)
    (> const-decl "bool" reals nil)
    (nonneg_real nonempty-type-eq-decl nil real_types nil)
    (+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (neg_cos formula-decl nil trig_basic "trig_fnd/")
    (real_minus_real_is_real application-judgement "real" reals nil)
    (NOT const-decl "[bool -> bool]" booleans nil)
    (- const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (Cos_inclusion formula-decl nil interval_trig nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (real_gt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (pi_bounds formula-decl nil atan_approx "trig_fnd/")
    (cos_neg formula-decl nil trig_basic "trig_fnd/")
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (pi_lb_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (sin_range application-judgement "trig_range" sincos_def
     "trig_fnd/")
    (Xpos skolem-const-decl "Interval" interval_trig nil)
    (nzreal_div_nzreal_is_nzreal application-judgement "nzreal"
     real_types nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (/= const-decl "boolean" notequal nil)
    (nznum nonempty-type-eq-decl nil number_fields nil)
    (/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
    (- const-decl "[numfield -> numfield]" number_fields nil)
    (rational_pred const-decl "[real -> boolean]" rationals nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (integer_pred const-decl "[rational -> boolean]" integers nil)
    (int nonempty-type-eq-decl nil integers nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (>= const-decl "bool" reals nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (pi_ubn const-decl "real" atan_approx "trig_fnd/")
    (pi_lbn const-decl "real" atan_approx "trig_fnd/")
    (real nonempty-type-from-decl nil reals nil)
    (Interval type-eq-decl nil interval nil)
    (boolean nonempty-type-decl nil booleans nil)
    (= const-decl "[T, T -> boolean]" equalities nil)
    (Intersection const-decl "Interval" interval nil)
    (number nonempty-type-decl nil numbers nil)
    (number_field_pred const-decl "[number -> boolean]" number_fields
     nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (real_pred const-decl "[number_field -> boolean]" reals nil)
    ([\|\|] const-decl "Interval" interval nil)
    (Sin const-decl "Interval" interval_trig nil))
   nil))
 (Tan_pi2_def 0
  (Tan_pi2_def-1 nil 3321636958
   ("" (skeep)
    (("" (expand* "##" "<<")
      (("" (flatten)
        (("" (lemma "pi_bounds")
          (("" (inst?)
            (("" (flatten)
              (("" (assert) (("" (rewrite "tan_pi2_def") nil nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((<< const-decl "bool" interval nil)
    (minus_nzreal_is_nzreal application-judgement "nzreal" real_types
     nil)
    (pi_lb_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (|##| const-decl "bool" interval nil)
    (pi_bounds formula-decl nil atan_approx "trig_fnd/")
    (tan_pi2_def formula-decl nil trig_ineq "trig_fnd/")
    (ub_interval formula-decl nil interval nil)
    (lb_interval formula-decl nil interval nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (pi_bound name-judgement "{r: posreal | pi_lb < r AND r < pi_ub}"
     atan_approx "trig_fnd/")
    (pi_ub_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (nzreal_div_nzreal_is_nzreal application-judgement "nzreal"
     real_types nil)
    (posreal_div_posreal_is_posreal application-judgement "posreal"
     )
   natnonempty-eqnaturalnumbers niljava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
    (>= const-decl "bool" reals nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (intreal_props
    (integer_pred const-decl "[rational -(nt_minus_int_is_int application-judgement "nt integers nil)
    (--romdeclnilrationals nil)
 rationalsjava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
    (real nonempty-type-from-decl nil reals nil)
    (real_pred     (mult_divides1 application-judgement "(divides(n))" divides nil)
    (number_fielddefaultconstdecl niljava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
    (number_field_pred

    (booleandeclnil
    (number nonempty-type-decl java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 33
   nil))
 (cos_lb_gt_0_pos 0
  (cos_lb_gt_0_pos-1 nil    (number_field_pred -ecl[ ->boolean]"
   ("
" (skeep)
    number_field_pred -ecl [umber - boolean"
number_fields
     1(-)
   " 
  nil))java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
          nil))
    )
        lemma "
cos_lb_pi2_pos
("inst)
          (("
2" (java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 48
            (("
2" (lemma((""(xpand "mpty_seq"
              (("
2" (inst -1 "n")
                 )
                  (("
2" (inst -1 "x"            (1 tjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 34
                    (("
1" (assert)
(("
1"("#)((1 assertnilnil))
                    )
                      nil)
                     ("2" (lemma "pi_bounds")
                      (("2" (instnumber_field_pred- "number- boolean"number_fields
                        (("2" (flatten) (("2" (assert) nil nil( application  java.lang.StringIndexOutOfBoundsException: Range [66, 62) out of bounds for length 67
                        nil))
                  )
                     ("3" (expand "##")
                      ((
                        (("3" (assert)
                          ((rational_predconstdecl "real -> boolean]" rationals nil)
                           (3 i)
                              (("3"
                                (flatten)
                                (("3" (assert) nil nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((real nonempty-type-from-decl nil reals nil)
    (real_pred const-decl "[number_field -> boolean]" reals nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (number_field_pred const-decl "[number -> boolean]" number_fields
     nil)
    (= const-decl "[T, T -> boolean]" equalities nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number nonempty-type-decl nil numbers nil)
    (real_gt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (>= const-decl "bool" reals nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (int nonempty-type-eq-decl nil integers nil)
    (integer_pred const-decl "[rational -> boolean]" integers nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (rational_pred const-decl "[real -> boolean]" rationals nil)
    (cos_lb_a0 formula-decl nil trig_approx "trig_fnd/")
    (pi_lb_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (cos_lb_nn_strict_decreasing formula-decl nil trig_approx
     "trig_fnd/")
    (strict_decreasing? const-decl "bool" real_fun_preds "reals/")
    (pi_bounds formula-decl nil atan_approx "trig_fnd/")
    (pi_ub_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (lb_interval formula-decl nil interval nil)
    (ub_interval formula-decl nil interval nil)
    (|##| const-decl "bool" interval nil)
    (nnreal type-eq-decl nil real_types nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (/= const-decl "boolean" notequal nil)
    (nznum nonempty-type-eq-decl nil number_fields nil)
    (/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
    (pi_lbn const-decl "real" atan_approx "trig_fnd/")
    (n skolem-const-decl "nat" interval_trig nil)
    (pi const-decl "posreal" atan "trig_fnd/")
    (posreal nonempty-type-eq-decl nil real_types nil)
    (> const-decl "bool" reals nil)
    (nonneg_real nonempty-type-eq-decl nil real_types nil)
    (<= const-decl "bool" reals nil)
    (x skolem-const-decl "real" interval_trig nil)
    (AND const-decl "[bool, bool -> bool]" booleans nil)
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (pi_bound name-judgement "{r: posreal | pi_lb < r AND r < pi_ub}"
     atan_approx "trig_fnd/")
    (posreal_div_posreal_is_posreal application-judgement "posreal"
     real_types nil)
    (cos_lb_pi2_pos formula-decl nil trig_approx "trig_fnd/"))
   shostak))
 (cos_lb_gt_0 0
  (cos_lb_gt_0-1 nil 3321635963
   ("" (skeep)
    (("" (case "x > 0")
      (("1" (lemma "cos_lb_gt_0_pos")
        (("1" (inst?)
          (("1" (assert)
            (("1" (hide-all-but (-2 1))
              (("1" (expand "##") (("1" (assert) nil nil)) nil)) nil))
            nil))
          nil))
        nil)
       ("2" (lemma "cos_lb_gt_0_pos")
        (("2" (inst -1 "n" "-x")
          (("2" (rewrite "cos_lb_neg")
            (("2" (assert)
              (("2" (hide-all-but (-1 1))
                (("2" (expand "##") (("2" (assert) nil nil)) nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((> const-decl "bool" reals nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (real nonempty-type-from-decl nil reals nil)
    (real_pred const-decl "[number_field -> boolean]" reals nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (number_field_pred const-decl "[number -> boolean]" number_fields
     nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number nonempty-type-decl nil numbers nil)
    (rational_pred const-decl "[real -> boolean]" rationals nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (integer_pred const-decl "[rational -> boolean]" integers nil)
    (int nonempty-type-eq-decl nil integers nil)
    (>= const-decl "bool" reals nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (lb_interval formula-decl nil interval nil)
    (ub_interval formula-decl nil interval nil)
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (|##| const-decl "bool" interval nil)
    (real_gt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (nzreal_div_nzreal_is_nzreal application-judgement "nzreal"
     real_types nil)
    (minus_nzreal_is_nzreal application-judgement "nzreal" real_types
     nil)
    (pi_lb_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (posreal_div_posreal_is_posreal application-judgement "posreal"
     real_types nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (cos_lb_gt_0_pos formula-decl nil interval_trig nil)
    (minus_real_is_real application-judgement "real" reals nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (- const-decl "[numfield -> numfield]" number_fields nil)
    (cos_lb_neg formula-decl nil trig_approx "trig_fnd/"))
   shostak))
 (cos_ub_gt_0 0
  (cos_ub_gt_0-2 nil 3304702463
   ("" (skeep)
    (("" (lemma "cos_bounds")
      (("" (inst? -1)
        (("" (expand "##") (("" (flatten) (("" (assert) nil nil)) nil))
          nil))
        nil))
      nil))
    nil)
   ((cos_bounds formula-decl nil trig_approx "trig_fnd/")
    (pi_lb_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (minus_nzreal_is_nzreal application-judgement "nzreal" real_types
     nil)
    (|##| const-decl "bool" interval nil)
    (lb_interval formula-decl nil interval nil)
    (ub_interval formula-decl nil interval nil)
    (real_gt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (posreal_div_posreal_is_posreal application-judgement "posreal"
     real_types nil)
    (nzreal_div_nzreal_is_nzreal application-judgement "nzreal"
     real_types nil)
    (cos_range application-judgement "trig_range" sincos_def
     "trig_fnd/")
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (>= const-decl "bool" reals nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (int nonempty-type-eq-decl nil integers nil)
    (integer_pred const-decl "[rational -> boolean]" integers nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (rational_pred const-decl "[real -> boolean]" rationals nil)
    (real nonempty-type-from-decl nil reals nil)
    (real_pred const-decl "[number_field -> boolean]" reals nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (number_field_pred const-decl "[number -> boolean]" number_fields
     nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number nonempty-type-decl nil numbers nil))
   nil))
 (cos_lb_ub_gt_0 0
  (cos_lb_ub_gt_0-1 nil 3321637451
   ("" (skeep)
    (("" (expand* "Proper?" "<<")
      (("" (flatten)
        (("" (assert)
          (("" (splash 1)
            (("1" (rewrite "cos_ub_gt_0")
              (("1" (expand "##") (("1" (assert) nil nil)) nil)) nil)
             ("2" (rewrite "cos_ub_gt_0")
              (("2" (expand "##") (("2" (assert) nil nil)) nil)) nil)
             ("3" (rewrite "cos_lb_gt_0")
              (("3" (expand "##") (("3" (assert) nil nil)) nil)) nil)
             ("4" (rewrite "cos_lb_gt_0")
              (("4" (expand "##") (("4" (assert) nil nil)) nil)) nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((<< const-decl "bool" interval nil)
    (minus_nzreal_is_nzreal application-judgement "nzreal" real_types
     nil)
    (pi_lb_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (Proper? const-decl "bool" interval nil)
    (real_gt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (posreal_div_posreal_is_posreal application-judgement "posreal"
     real_types nil)
    (nzreal_div_nzreal_is_nzreal application-judgement "nzreal"
     real_types nil)
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (lb_interval formula-decl nil interval nil)
    (ub_interval formula-decl nil interval nil)
    (cos_lb_gt_0 formula-decl nil interval_trig nil)
    (cos_ub_gt_0 formula-decl nil interval_trig nil)
    (|##| const-decl "bool" interval nil)
    (cos_ub const-decl "real" trig_approx "trig_fnd/")
    (Interval type-eq-decl nil interval nil)
    (cos_lb const-decl "real" trig_approx "trig_fnd/")
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (>= const-decl "bool" reals nil)
    (int nonempty-type-eq-decl nil integers nil)
    (integer_pred const-decl "[rational -> boolean]" integers nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (rational_pred const-decl "[real -> boolean]" rationals nil)
    (> const-decl "bool" reals nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (real nonempty-type-from-decl nil reals nil)
    (real_pred const-decl "[number_field -> boolean]" reals nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (number_field_pred const-decl "[number -> boolean]" number_fields
     nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number nonempty-type-decl nil numbers nil))
   shostak))
 (tan_0_pi2_TCC3 0
  (tan_0_pi2_TCC3-1 nil 3318076124
   ("" (skeep)
    (("" (lemma "Tan_pi2_def")
      (("" (inst?)
        (("" (inst?)
          (("" (expand "<<")
            (("" (assert) (("" (flatten) (("" (assert) nil nil)) nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((Tan_pi2_def formula-decl nil interval_trig nil)
    (minus_nzreal_is_nzreal application-judgement "nzreal" real_types
     nil)
    (pi_lb_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (rational_pred const-decl "[real -> boolean]" rationals nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (integer_pred const-decl "[rational -> boolean]" integers nil)
    (int nonempty-type-eq-decl nil integers nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (>= const-decl "bool" reals nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (posreal_div_posreal_is_posreal application-judgement "posreal"
     real_types nil)
    (nzreal_div_nzreal_is_nzreal application-judgement "nzreal"
     real_types nil)
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (lb_interval formula-decl nil interval nil)
    (ub_interval formula-decl nil interval nil)
    (<< const-decl "bool" interval nil)
    (real_pred const-decl "[number_field -> boolean]" reals nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (number_field_pred const-decl "[number -> boolean]" number_fields
     nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number nonempty-type-decl nil numbers nil)
    (Interval type-eq-decl nil interval nil)
    (real nonempty-type-from-decl nil reals nil))
   nil))
 (tan_0_pi2 0
  (tan_0_pi2-1 nil 3304702837
   ("" (skeep)
    (("" (lemma "cos_lb_ub_gt_0")
      (("" (inst -1 "X" "n")
        (("" (case "Proper?(X)")
          (("1" (expand* "<<" "##" "tan_0_pi2")
            (("1" (assert)
              (("1" (flatten)
                (("1" (assert)
                  (("1" (flatten)
                    (("1" (split)
                      (("1" (lift-if)
                        (("1" (split)
                          (("1" (flatten)
( a sub_dom"
                              (("
1"
                                (inst -1 "
lb(X)" "n")
                                (("
1"
                                  (split)
                                  (("
1"
                                    (flatten)
                                    (("
1"
                                      (expand "
tan_lb_ub")
                                      (("
1"
                                        (lemma "
tan_incr")
                                        (("
1"
                                          (inst -1 "
x" "lb(X)")
                                          (("
1"
                                            (assert)
                                            (("
1"
                                              (assert)
                                              (("
1"
                                                (lemma "
pi_bounds")
                                                (("
1"
                                                  (inst?)
                                                  (("
1"
                                                    (flatten)
                                                    (("
1"
                                                      (assert)
                                                      nil
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil)
                                   ("
2" (propax) nil nil)
                                   ("
3"
                                    (lemma "
pi_bounds")
                                    (("
3"
                                      (inst?)
                                      (("
3"
                                        (flatten)
                                        (("
3" (assert) nil nil))
                                        nil))
                                      nil))
                                    nil)
                                   ("
4" (propax) nil nil))
                                  nil))
                                nil))
                              nil))
                            nil)
                           ("
2" (assert) nil nil))
                          nil))
                        nil)
                       ("
2" (lift-if)
                        (("
2" (split 1)
                          (("
1" (flatten)
                            (("
1" (lemma "tan_bounds_0_pi2")
                              (("
1"
                                (inst -1 "
ub(X)" "n")
                                (("
1"
                                  (split)
                                  (("
1"
                                    (flatten)
                                    (("
1"
                                      (expand "
tan_ub_lb")
                                      (("
1"
                                        (lemma "
tan_incr")
                                        (("
1"
                                          (inst -1 "
ub(X)" "x")
                                          (("
1"
                                            (assert)
                                            (("
1"
                                              (assert)
                                              (("
1"
                                                (lemma "
pi_bounds")
                                                (("
1"
                                                  (inst?)
                                                  (("
1"
                                                    (flatten)
                                                    (("
1"
                                                      (assert)
                                                      nil
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil)
                                   ("
2" (assert) nil nil)
                                   ("
3"
                                    (lemma "
pi_bounds")
                                    (("
3"
                                      (inst?)
                                      (("
3"
                                        (flatten)
                                        (("
3" (assert) nil nil))
                                        nil))
                                      nil))
                                    nil)
                                   ("
4" (propax) nil nil))
                                  nil))
                                nil))
                              nil))
                            nil)
                           ("
2" (assert) nil nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil)
           ("
2" (hide -1)
            (("
2" (lemma "Member_Proper")
              (("
2" (inst?) (("2" (assert) nil nil)) nil)) nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((cos_lb_ub_gt_0 formula-decl nil interval_trig nil)
    (Proper? const-decl "bool" interval nil)
    (real_div_nzreal_is_real application-judgement "real" reals nil)
    (real_gt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (posreal_div_posreal_is_posreal application-judgement "posreal"
     real_types nil)
    (nzreal_div_nzreal_is_nzreal application-judgement "nzreal"
     real_types nil)
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (lb_interval formula-decl nil interval nil)
    (ub_interval formula-decl nil interval nil)
    (tan_bounds_0_pi2 formula-decl nil tan_approx "trig_fnd/")
    (tan_lb_ub const-decl "real" tan_approx "trig_fnd/")
    (pi_ub_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (pi_bounds formula-decl nil atan_approx "trig_fnd/")
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (pi_bound name-judgement "{r: posreal | pi_lb < r AND r < pi_ub}"
     atan_approx "trig_fnd/")
    (tan_incr formula-decl nil trig_ineq "trig_fnd/")
    (tan_ub_lb const-decl "real" tan_approx "trig_fnd/")
    (<< const-decl "bool" interval nil)
    (minus_nzreal_is_nzreal application-judgement "nzreal" real_types
     nil)
    (pi_lb_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (tan_0_pi2 const-decl "Interval" interval_trig nil)
    (|##| const-decl "bool" interval nil)
    (Member_Proper formula-decl nil interval nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (>= const-decl "bool" reals nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (int nonempty-type-eq-decl nil integers nil)
    (integer_pred const-decl "[rational -> boolean]" integers nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (rational_pred const-decl "[real -> boolean]" rationals nil)
    (real_pred const-decl "[number_field -> boolean]" reals nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (number_field_pred const-decl "[number -> boolean]" number_fields
     nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number nonempty-type-decl nil numbers nil)
    (Interval type-eq-decl nil interval nil)
    (real nonempty-type-from-decl nil reals nil))
   nil))
 (tan_npi2_0_TCC1 0
  (tan_npi2_0_TCC1-2 nil 3318077125
   ("" (skeep)
    (("" (lemma "Tan_pi2_def")
      (("" (inst?)
        (("" (inst?)
          (("" (expand "<<")
            (("" (assert) (("" (flatten) (("" (assert) nil nil)) nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((Tan_pi2_def formula-decl nil interval_trig nil)
    (pi_lb_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (rational_pred const-decl "[real -> boolean]" rationals nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (integer_pred const-decl "[rational -> boolean]" integers nil)
    (int nonempty-type-eq-decl nil integers nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (>= const-decl "bool" reals nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (posreal_div_posreal_is_posreal application-judgement "posreal"
     real_types nil)
    (nzreal_div_nzreal_is_nzreal application-judgement "nzreal"
     real_types nil)
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (lb_interval formula-decl nil interval nil)
    (ub_interval formula-decl nil interval nil)
    (<< const-decl "bool" interval nil)
    (minus_nzreal_is_nzreal application-judgement "nzreal" real_types
     nil)
    (real_pred const-decl "[number_field -> boolean]" reals nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (number_field_pred const-decl "[number -> boolean]" number_fields
     nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number nonempty-type-decl nil numbers nil)
    (Interval type-eq-decl nil interval nil)
    (real nonempty-type-from-decl nil reals nil))
   nil))
 (tan_npi2_0 0
  (tan_npi2_0-2 nil 3579704469
   ("" (skeep)
    (("" (lemma "tan_0_pi2")
      (("" (inst -1 "Neg(X)" "n" "-x")
        (("" (rewrite "tan_neg")
          (("" (split)
            (("1" (lemma "Neg_inclusion")
              (("1" (inst -1 "tan_0_pi2(n)(Neg(X))" "-tan(x)")
                (("1" (assert) nil nil)) nil))
              nil)
             ("2" (hide-all-but (-1 1))
              (("2" (expand "<<")
                (("2" (expand "Neg")
                  (("2" (flatten) (("2" (assert) nil nil)) nil)) nil))
                nil))
              nil)
             ("3" (propax) nil nil)
(4(java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 53
            nil))
          nil))
        nil))
      nil))
    nil)
   ((tan_0_pi2 formula-decl nil interval_trig nil)
    (Tan? const-decl "
bool" sincos_def "trig_fnd/")
    (tan_neg formula-decl nil trig_basic "
trig_fnd/")
    (pi_lb_pos application-judgement "
posreal" atan_approx "trig_fnd/")
    (minus_nzreal_is_nzreal application-judgement "
nzreal" real_types
     nil)
    (lb_interval formula-decl nil interval nil)
    (ub_interval formula-decl nil interval nil)
    (posreal_div_posreal_is_posreal application-judgement "
posreal"
     real_types nil)
    (real_le_is_total_order name-judgement "
(total_order?[real])"
     real_props nil)
    (<< const-decl "
bool" interval nil)
    (Neg_inclusion formula-decl nil interval nil)
    (real_ge_is_total_order name-judgement "
(total_order?[real])"
     real_props nil)
    (nzreal_div_nzreal_is_nzreal application-judgement "
nzreal"
     real_types nil)
    (tan_0_pi2 const-decl "
Interval" interval_trig nil)
    (tan const-decl "
real" sincos_def "trig_fnd/")
    (- const-decl "
[numfield -> numfield]" number_fields nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (>= const-decl "
bool" reals nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (int nonempty-type-eq-decl nil integers nil)
    (integer_pred const-decl "
[rational -> boolean]" integers nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (rational_pred const-decl "
[real -> boolean]" rationals nil)
    (real_pred const-decl "
[number_field -> boolean]" reals nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (number_field_pred const-decl "
[number -> boolean]" number_fields
     nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number nonempty-type-decl nil numbers nil)
    (Neg const-decl "
Interval" interval nil)
    (Interval type-eq-decl nil interval nil)
    (real nonempty-type-from-decl nil reals nil)
    (minus_real_is_real application-judgement "
real" reals nil))
   nil))
 (tan_npi2_pi2_TCC3 0
  (tan_npi2_pi2_TCC3-2 nil 3318077435
   ("
" (skeep)
    (("
" (lemma "Tan_pi2_def")
      (("
" (inst?) (("" (inst?) (("" (assert) nil nil)) nil)) nil))
      nil))
    nil)
   ((Tan_pi2_def formula-decl nil interval_trig nil)
    (rational_pred const-decl "
[real -> boolean]" rationals nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (integer_pred const-decl "
[rational -> boolean]" integers nil)
    (int nonempty-type-eq-decl nil integers nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (>= const-decl "
bool" reals nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (real_ge_is_total_order name-judgement "
(total_order?[real])"
     real_props nil)
    (nzreal_div_nzreal_is_nzreal application-judgement "
nzreal"
     real_types nil)
    (minus_nzreal_is_nzreal application-judgement "
nzreal" real_types
     nil)
    (pi_lb_pos application-judgement "
posreal" atan_approx "trig_fnd/")
    (posreal_div_posreal_is_posreal application-judgement "
posreal"
     real_types nil)
    (real_pred const-decl "
[number_field -> boolean]" reals nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (number_field_pred const-decl "
[number -> boolean]" number_fields
     nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number nonempty-type-decl nil numbers nil)
    (Interval type-eq-decl nil interval nil)
    (real nonempty-type-from-decl nil reals nil))
   nil))
 (tan_npi2_pi2 0
  (tan_npi2_pi2-2 "
" 3545778271
   ("
" (skeep)
    (("
" (expand "Zeroin?")
      (("
" (lemma "cos_lb_ub_gt_0")
        (("
" (inst -1 "X" "n")
          (("
" (case "Proper?(X)")
            (("
1" (expand* "<<" "##")
              (("
1" (assert)
                (("
1" (flatten)
                  (("
1" (assert)
                    (("
1" (flatten)
                      (("
1" (expand "tan_npi2_pi2")
                        (("
1" (assert)
                          (("
1" (split)
                            (("
1" (lemma "tan_bounds_npi2_0")
                              (("
1"
                                (inst -1 "
lb(X)" "n")
                                (("
1"
                                  (split -1)
                                  (("
1"
                                    (flatten)
                                    (("
1"
                                      (expand "
tan_lb_lb")
                                      (("
1"
                                        (case "
tan(lb(X)) <= tan(x)")
                                        (("
1" (assert) nil nil)
                                         ("
2"
                                          (hide -1 -2 2)
                                          (("
2"
                                            (lemma "
tan_incr")
                                            (("
2"
                                              (inst -1 "
x" "lb(X)")
                                              (("
2"
                                                (assert)
                                                (("
2"
                                                  (assert)
                                                  (("
2"
                                                    (lemma "
pi_bounds")
                                                    (("
2"
                                                      (inst?)
                                                      (("
2"
                                                        (flatten)
                                                        (("
2"
                                                          (assert)
                                                          nil
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil)
                                   ("2"
                                    (assert)
                                    (("2"
                                      (lemma "pi_bounds")
                                      (("2"
                                        (inst?)
                                        (("2"
                                          (flatten)
                                          (("2" (assert) nil nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil)
                                   ("3" (assert) nil nil)
                                   ("4" (propax) nil nil))
                                  nil))
                                nil))
                              nil)
                             ("2" (lemma "tan_bounds_0_pi2")
                              (("2"
                                (inst -1 "ub(X)" "n")
                                (("2"
                                  (split)
                                  (("1"
                                    (flatten)
                                    (("1"
                                      (expand "tan_ub_lb")
                                      (("1"
                                        (case "tan(x) <= tan(ub(X))")
                                        (("1" (assert) nil nil)
                                         ("2"
                                          (hide -1 -2 2)
                                          (("2"
                                            (lemma "tan_incr")
                                            (("2"
                                              (inst -1 "ub(X)" "x")
                                              (("2"
                                                (assert)
                                                (("2"
                                                  (assert)
                                                  (("2"
                                                    (lemma "pi_bounds")
                                                    (("2"
                                                      (inst?)
                                                      (("2"
                                                        (flatten)
                                                        (("2"
                                                          (assert)
                                                          nil
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil)
                                   ("2" (assert) nil nil)
                                   ("3"
                                    (assert)
                                    (("3"
                                      (lemma "pi_bounds")
                                      (("3"
                                        (inst?)
                                        (("3"
                                          (flatten)
                                          (("3" (assert) nil nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil)
                                   ("4" (propax) nil nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          ))
                        ))
                      integer_pred const-dec"
>
                    nil))
                  ))
                nil))
              nil)
             ("2" (hide -1)
              (("2" (lemma "Member_Proper")
                (("niljava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
( const-decl "
bool nil
    (real nonempty-type-from-decl nil reals nil)
intervalnil
    (number
    (boolean nonempty-type-decl nil booleans nil)
    (number_field_pred const-decl "[number -> boolean]" number_fields
     nil)    (eal_lt_is_strict_total_order name-udgement
    (number_field nonempty-type-from-decl nil(at nonempty-type-eqdecl nil naturalnumbers nil)
     (ext2int_TCC11nil 3508335744 ("(subtype-tcc)nil nil)
( nonempty-type-decl nil booleans nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (integer_pred const-decl "
[rational(umber nonempty-type-decl nilnumbers niljava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
nonemptytypeeqnil integers nil)
    (for_it_TCC6java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
    (>= const-decl "bool" reals nil)
    (nat nonempty-type-eq-decl nil aturalnumbers nil)
(ember_Proper formula-   nil
    (|##| const-decl "bool" interval nil)
    (pi_lb_pos(" (ypepred "for_it(i,i,j,a,f)") (("" (propax) nil nil)) nil))
   minus_nzreal_is_nzrealapplicationjudgement nzreal"
real_types
     nil)
    (<< const-decl"LAMBDA(:nat,kT:  k> n-+1 OR inv(,ak)"
    (real_div_nzreal_is_real application-judgement "real" reals nil)
    (real_gt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (tan_bounds_0_pi2 formula-decl nil tan_approx "trig_fnd/")
    (tan_ub_lb const-decl "real" tan_approx "trig_fnd/")
    (tan_bounds_npi2_0 formula-decl nil tan_approx P type-qdeclnildefined_types
    tan_lb_lb const- "real"tan_approx trig_fnd/"
    (pi_ub_pos application-judgement "
posreal" atan_approx "trig_fnd/")
    (pi_bounds formula-decl nil atan_approx "
trig_fnd/")
    ( rat  s >= q AND s>= r}"

trig_fnd"
    (tan_incr formula-decl nil                           )
    (    (umber nonempty--decl nil numbers nil)
(an? const-decl "
bool" sincos_def "trig_fnd/")
    (<= const-decl "
bool"         (case "FORALL (i:int, n,a:T,f:[int,T]- ])
    (tan_npi2_pi2 nil)java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
-niljava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 47
    > declbool"
reals)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (real_le_is_total_order name-judgement "(    ( const-decl [numfield, numfield - numfield]" number_fieldsnil)
     real_props nil application""integers)
    (nzreal_div_nzreal_is_nzreal application-judgement "nzreal"
     real_types nil)
    (posreal_div_posreal_is_posreal application-judgement "posreal"
     real_types nil)
    (real_lt_is_strict_total_order name-judgement
    java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 49
    (Proper? const-decl "bool" (formuladeclnil
    (cos_lb_ub_gt_0              (1 assertnil
   nil)
  (tan_npi2_pi2-1 "" 3320522103
   ("" (skeep)
" cjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 33
      (("
" (inst   (java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 68
( ("
()"
          (("
1" (expandn)java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
                real_predconstdecl [umber_field ->boolean]"
reals)
              ""f)
("ajava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 30
                  (1"
(flatten
                    (("1" (expand "tan_npi2_pi2")
                      (("1" (assert)
                        (("1"(split)
nil
                            (("1" (inst -1 "lb(X)" "n")
                              (("1"
                                (split -1)
                                (("1"
                                  (flatten)
                                  t   java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 65
                                    (expand "tan_lb_lb")
                                    java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 49
                                      (case "tan(lb(X)) <= tan(x)")
                                      (("1" (assert) nil nil)
                                       ("2"
                                        (hide -1 -2 2)
                  2java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
                                          (
                                          (("2"
i-eqjava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 48
                                            (("2"
                                              
                                              (("2"
(
                                                (("2"
                                                  (lemma "pi_bounds    <java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 36
                                                  (("
2"
                                                    (inst?)
                                                    (("
2"
                                                      (flatten)
                                                      (("
2"
                                         
                                                        
                                                        nil))
          java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
                                                    nil))
                                                  nil))
                                                nil))
                                             
                                            nil))
                                          nil))
                                        )
                                      nil))
                                    nil))
                                  
                                 ("2"
                                  (assert)
                                  (("2"
                                    (lemma "pi_bounds")
                                    (("2"
                                      (inst?)
                                      (("2"
(java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 49
                                        (("2" (assert) nil nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil)
                                 ("3" (assert) nil nil)
                                 ("4" (propax) nil nil))
                                nil))
                              nil))
                            nil)
                           ("2" (lemma "tan_bounds_0_pi2")
                            (("2" (inst -1 "ub(X)" "n")
                              (("2"
                                (split)
                                (("1"
                                  (flatten)
                                  (("1"
                                    (expand "tan_ub_lb")
                                    (("1"
                                      (case "tan(x) <= tan(ub(X))")
                                      (("1" (assert) nil nil)
                                       ("2"
                                        (hide -1 -2 2)
                                        (("2"
                                          (lemma "tan_incr")
                                          (("2"
                                            (inst -1 "ub(X)" "x")
                                            (("2"
                                              (assert)
                                              (("2"
                                                (assert)
                                                (("2"
                                                  (lemma "pi_bounds")
                                                  (("2"
                                                    (inst?)
                                                    (("2"
                                                      (flatten)
                                                      (("2"
                                                        (assert)
                                                        nil
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil)
                                 ("2" (assert) nil nil)
                                 ("3"
                                  (assert)
                                  (("3"
                                    (lemma "pi_bounds")
                                    (("3"
                                      (inst?)
                                      (("3"
                                        (flatten)
                                        (("3" (assert) nil nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil)
                                 ("4" (propax) nil nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil)
           ("2" (hide -1)
            (("2" (lemma "Member_Proper")
              (("2" (inst?) (("2" (assert) nil nil)) nil)) nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((Proper? const-decl "bool" interval nil)
    (lb_interval formula-decl nil interval nil)
    (ub_interval formula-decl nil interval nil)
    (Tan? const-decl "bool" sincos_def "trig_fnd/")
    (tan const-decl "real" sincos_def "trig_fnd/")
    (tan_incr formula-decl nil trig_ineq "trig_fnd/")
    (pi_bound name-judgement "{r: posreal | pi_lb < r AND r < pi_ub}"
     atan_approx "trig_fnd/")
    (pi_bounds formula-decl nil atan_approx "trig_fnd/")
    (pi_ub_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (tan_lb_lb const-decl "real" tan_approx "trig_fnd/")
    (tan_bounds_npi2_0 formula-decl nil tan_approx "trig_fnd/")
    (tan_ub_lb const-decl "real" tan_approx "trig_fnd/")
    (tan_bounds_0_pi2 formula-decl nil tan_approx "trig_fnd/")
    (<< const-decl "bool" interval nil)
    (pi_lb_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (Member_Proper formula-decl nil interval nil)
    (Interval type-eq-decl nil interval nil))
   nil))
 (TAN?_TCC1 0
  (TAN?_TCC1-1 nil 3567426319 ("" (subtype-tcc) nil nil) nil nil))
 (TAN_Tan 0
  (TAN_Tan-2 nil 3567449799
   ("" (skeep)
    (("" (expand "TAN?")
      (("" (lemma "pi_lb_est_le")
        (("" (inst?)
          (("" (flatten)
            (("" (lemma "Tan_pi2_def")
              (("" (inst? -1)
                (("" (inst? -1)
                  (("" (assert)
                    (("" (hide-all-but (-3 1))
                      (("" (grind :exclude ("pi_lb_est" "pi_lbn")) nil
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((TAN? const-decl "bool" interval_trig nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (int_plus_int_is_int application-judgement "int" integers nil)
    (number nonempty-type-decl nil numbers nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number_field_pred const-decl "[number -> boolean]" number_fields
     nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (real_pred const-decl "[number_field -> boolean]" reals nil)
    (real nonempty-type-from-decl nil reals nil)
    (rational_pred const-decl "[real -> boolean]" rationals nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (integer_pred const-decl "[rational -> boolean]" integers nil)
    (int nonempty-type-eq-decl nil integers nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (>= const-decl "bool" reals nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (Tan_pi2_def formula-decl nil interval_trig nil)
    (minus_nzreal_is_nzreal application-judgement "nzreal" real_types
     nil)
    (pi_lb_pos application-judgement "posreal" atan_approx "trig_fnd/")
    ([\|\|] const-decl "Interval" interval nil)
    (<< const-decl "bool" interval nil)
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (pi_bound name-judgement "{r: posreal | pi_lb < r AND r < pi_ub}"
     atan_approx "trig_fnd/")
    (real_div_nzreal_is_real application-judgement "real" reals nil)
    (minus_real_is_real application-judgement "real" reals nil)
    (nnreal_div_posreal_is_nnreal application-judgement "nnreal"
     real_types nil)
    (nzreal_div_nzreal_is_nzreal application-judgement "nzreal"
     real_types nil)
    (posreal_div_posreal_is_posreal application-judgement "posreal"
     real_types nil)
    (Interval type-eq-decl nil interval nil)
    (pi_lb_est_le formula-decl nil trig_approx "trig_fnd/"))
   nil)
  (TAN_Tan-1 nil 3567449719 ("" (postpone) nil nil) nil shostak))
 (Tan_inclusion_TCC1 0
  (Tan_inclusion_TCC1-3 nil 3302520141
   ("" (skeep)
    (("" (lemma "TAN_Tan")
      (("" (inst?) (("" (inst?) (("" (assert) nil nil)) nil)) nil))
      nil))
    nil)
   ((TAN_Tan formula-decl nil interval_trig nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (>= const-decl "bool" reals nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (int nonempty-type-eq-decl nil integers nil)
    (integer_pred const-decl "[rational -> boolean]" integers nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (rational_pred const-decl "[real -> boolean]" rationals nil)
    (real_pred const-decl "[number_field -> boolean]" reals nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (number_field_pred const-decl "[number -> boolean]" number_fields
     nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number nonempty-type-decl nil numbers nil)
    (Interval type-eq-decl nil interval nil)
    (real nonempty-type-from-decl nil reals nil))
   nil))
 (Tan_inclusion 0
  (Tan_inclusion-3 nil 3567451111
   ("" (skeep)
    (("" (expand "Tan")
      (("" (case "X << [|0, pi_lb_est(5 + n) / 2|]")
        (("1" (assert)
          (("1" (rewrite "tan_0_pi2")
            (("1" (lemma "pi_lb_est_le")
              (("1" (inst?)
                (("1" (flatten)
                  (("1" (expand "<<")
                    (("1" (expand "[||]") (("1" (ground) nil nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil)
         ("2" (replace 1)
          (("2" (case "X << [|-pi_lb_est(5 + n) / 2, 0|]")
            (("1" (assert)
              (("1" (rewrite "tan_npi2_0")
                (("1" (lemma "pi_lb_est_le")
                  (("1" (inst?)
                    (("1" (expand "<<")
                      (("1" (expand "[||]")
                        (("1" (flatten) (("1" (assert) nil nil)) nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil)
             ("2" (expand "TAN?")
              (("2" (assert)
                (("2" (rewrite "tan_npi2_pi2")
                  (("1" (lemma "pi_lb_est_le")
                    (("1" (inst?)
                      (("1" (expand "<<")
                        (("1" (expand "[||]")
                          (("1" (flatten) (("1" (assert) nil nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil)
                   ("2" (hide (-2 4))
                    (("2" (grind :exclude "pi_lb_est") nil nil)) nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((minus_real_is_real application-judgement "real" reals nil)
    (Tan const-decl "Interval" interval_trig nil)
    (TAN? const-decl "bool" interval_trig nil)
    (tan_npi2_pi2 formula-decl nil interval_trig nil)
    (Zeroin? const-decl "bool" interval nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (nzreal_div_nzreal_is_nzreal application-judgement "nzreal"
     real_types nil)
    (minus_nzreal_is_nzreal application-judgement "nzreal" real_types
     nil)
    (tan_npi2_0 formula-decl nil interval_trig nil)
    (- const-decl "[numfield -> numfield]" number_fields nil)
    (real_div_nzreal_is_real application-judgement "real" reals nil)
    (pi_lb_est_le formula-decl nil trig_approx "trig_fnd/")
    (pi_bound name-judgement "{r: posreal | pi_lb < r AND r < pi_ub}"
     atan_approx "trig_fnd/")
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (posreal_div_posreal_is_posreal application-judgement "posreal"
     real_types nil)
    (pi_lb_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (tan_0_pi2 formula-decl nil interval_trig nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (int_plus_int_is_int application-judgement "int" integers nil)
    (nnreal_div_posreal_is_nnreal application-judgement "nnreal"
     real_types nil)
    (real nonempty-type-from-decl nil reals nil)
    (Interval type-eq-decl nil interval nil)

    b nonempty--eq-decl nilbooleans nil)
    (<< const-decl "bool" interval nil)
n nonempty-ype-decl nil numbers nil)
    S2=a,P2,is2,)IN
     nil)
    (number_field nonempty-type-from-decl nil number_fields nil)
    (real_pred const-decl "[number_field -> boolean]" reals nil)
    ([\|\|] const-decl "Interval" interval nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (/= const-decl "boolean" notequal nil)
    (nznum nonempty-type-eq-decl nil number_fields nil)
    (/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
    (rational_pred const-decl "[real -> boolean]" rationals nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (integer_pred const-decl "[rational -> boolean]" integers nil)
    (int nonempty-type-eq-decl nil integers nil)
    (>= const-decl "bool" reals nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (nnreal type-eq-decl nil real_types nil)
    (< const-decl "bool" reals nil)
    (nonneg_real nonempty-type-eq-decl nil real_types nil)
    (> const-decl "bool" reals nil)
    (posreal nonempty-type-eq-decl nil real_types nil)
    (pi const-decl "posreal" atan "trig_fnd/")
    (pi_lb_est const-decl "{rr: nnreal | rr < pi}" trig_approx
     "trig_fnd/")
    (+ const-decl "[numfield, numfield -> numfield]" number_fields
       nil))
   nil)
  (Tan_inclusion-2 nil 3545778321
   ("" (skeep)
    (("" (expand "Tan")
      (("" (case "X << [|0, pi_lb_est(5 + n) / 2|]")
        (("1" (assert)
          (("1" (rewrite "tan_0_pi2")
            (("1" (lemma "pi_lb_est_le")
              (("1" (inst?)
                (("1" (flatten)
                  (("1" (expand "<<")
                    (("1" (expand "[||]") (("1" (ground) nil nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil)
         ("2" (replace 1)
          (("2" (case "X << [|-pi_lb_est(5 + n) / 2, 0|]")
            (("1" (assert)
              (("1" (rewrite "tan_npi2_0")
                (("1" (lemma "pi_lb_est_le")
                  (("1" (inst?)
                    (("1" (expand "<<")
                      (("1" (expand "[||]")
                        (("1" (flatten) (("1" (assert) nil nil)) nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil)
             ("2" (assert)
              (("2" (rewrite "tan_npi2_pi2")
                (("1" (lemma "pi_lb_est_le")
                  (("1" (inst?)
                    (("1" (expand "<<")
                      (("1" (expand "[||]")
                        (("1" (flatten) (("1" (assert) nil nil)) nil))
                        nil))
                      nil))
                    nil))
                  nil)
                 ("2" (hide 4)
                  (("2" (grind :exclude "pi_lb_est") nil nil)) nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((Zeroin? const-decl "bool" interval nil)
    (|##| const-decl "bool" interval nil)
    (pi_lb_est_le formula-decl nil trig_approx "trig_fnd/")
    (pi_bound name-judgement "{r: posreal | pi_lb < r AND r < pi_ub}"
     atan_approx "trig_fnd/")
    (pi_lb_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (Interval type-eq-decl nil interval nil)
    (<< const-decl "bool" interval nil)
    (pi const-decl "posreal" atan "trig_fnd/")
    (pi_lb_est const-decl "{rr: nnreal | rr < pi}" trig_approx
     "trig_fnd/"))
   nil)
  (Tan_inclusion-1 nil 3302519966
   ("" (skeep)
    (("" (expand "Tan")
      (("" (lift-if)
        (("" (bddsimp)
          (("1" (rewrite "tan_0_pi2") nil nil)
           ("2" (rewrite "tan_npi2_0") nil nil)
           ("3" (rewrite "tan_npi2_pi2")
            (("1" (expand "<<") (("1" (assert) nil nil)) nil)
             ("2" (expand "<<") (("2" (assert) nil nil)) nil))
            nil)
           ("4" (assert) nil nil))
          nil))
        nil))
      nil))
    nil)
   ((pi_lb_pos application-judgement "posreal" atan_approx "trig_fnd/")
    (Interval type-eq-decl nil interval nil)
    (<< const-decl "bool" interval nil)
    (ub_interval formula-decl nil interval nil)
--> --------------------

--> maximum size reached

--> --------------------

Messung
CHZG
8110010093

¤ Dauer der Verarbeitung: 2.164 Sekunden  ¤

*Bot Zugriff







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,187,961
#Domains=975,535