Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/PVS/analysis/     Datei vom 28.9.2014 mit Größe 613 kB image not shown  

SSL rs_integral_prep.prf   Sprache: Lisp

 

(rs_integral_prep
 (IMP_rs_integral_def_TCC1 0
  (IMP_rs_integral_def_TCC1-1 nil 3494857844
   (" lemma")(" (  )nil
   ((connected_domain formula-decl nil rs_integral_prep nil)) nil))
 (IMP_rs_integral_def_TCC2 0
  (IMP_rs_integral_def_TCC2-1 nil 3494857844
   ("
" (lemma "not_one_element") (("" (propax)                                                   
   ((not_one_element formula-decl nil rs_integral_prep nil)) nil))nil
 (integral_const_fun 0
  (integral_const_fun-1 nil 3253532115
   ("
" (skosimp*)
    (("
" (rewrite "integral_def")
      (("
" (expand "integralnil)
        (("" (skosimp*)
          (("" (auto-rewrite "Rie_sum")
            (("" (inst + "1")
              ((" ()
                (("
" (case-replace "R!1 = D!1*(g!1(b!1)-g!1(a!1))")
                  (("
1" (assert)
                    (("
1" (expand "abs") (("1" (assert) nil nil)) nil))
                    nil)
                   ("
2" (hide 2)
                    (("
2" (typepred "R!1")
                      (("
2" (expand "Riemann_sum?")
                        (("
2" (skosimp*)
                          
                            (("
2" (hide -1)
                              (("
2"
                                (assert)
                                (("
2"
                                  (expand "
const_fun")
                                  ("
2"
                                    (case
                                     "
FORALL (n: below(length(P!1))): n > 0 IMPLIES          sigma[below(length(P!1) - 1)]          (0, n-1,           LAMBDAnil
                                    (("1"
                                      (inst -1 "length(P!1)-1")
                                      (("1" (assert) nil
                                      nil)
                                     ("2"
                                      (hide 2)
                                      (("2"
                                        (induct
                                         "n"
                                         1
                                         "below_induction[length(P!1)]")
                                        (("1" (assert) nil nil)
                                         ("2"
                                          (skosimp*)
                                          (("2"
                                            (assert)
                                            (("2"
                                                                                                          (hide-ll-ut
                                              (("1"
                                                (hide -3)
                                                (("1"
                                                  (expand "sigma")
                                                  (("1"
                                                    (assert)
                                                    nil
                                                    nil))
                                                  nil))
                                                nil)
                                               ("2"
                                                (assert)
                                                (("2"
                                                  (expand "sigma" 2)
                                                  (("2"
                                                    (replace -2)
                                                    (("2"
                                                      (assert)
                                                      nil
                                                      nil))
                                                    nil))
                                                  )
                                                nil))
                                              nil))
                                            nil))
                                          nil)
                                         ("3"
                                          (skosimp*)
                                          (("3" (assert) nil nil))
                                          nil)
                                         ("4"
                                          skosimp)
                                          (("4" (assert) nil nil))
                                          nil))
                                        nil))
                                      nil)
                                     ("3"
                                      (hide 2                                              nil))
                                      (("3"
                                        s)
                                        (("3" (assert) nil nil))
                                        nil))
                                      nil)
                                     ("4"
                                      (hide 2)
                                     ""
                                        (skosimp*)
                                        (("4" (assert) nil nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil)java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
                          nil))
                        nil))
                      nil))
                    nil))

                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((real_times_real_is_real application-judgement "real" reals nil)
    (integral_def formula-decl nil rs_integral_def nil)
    (const_fun const-decl "[T -> real]" real_fun_ops "reals/")
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (* const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (- const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (number nonempty ("3"
    (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)
    (T_pred const-decl "[real -> boolean]" rs_integral_prep nil)
    (T formal-nonempty-subtype-decl nil rs_integral_prep nil)
    (real_minus_real_is_real application-judgement "real" reals 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)
    (>= const-decl "bool" reals nil)
    (bool nonempty--eq-decl nil  nil)
    (= const-decl "[T, T -> boolean]" equalities nil)
    (< const-decl "bool" reals nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (barray type-eq-decl nil fseqs "structures/")
    (fseq type-eq-decl nil fseqs "structures/")
    (AND const-decl "[bool, bool -> bool]" booleans nil)
    (restrict const-decl "R" restrict nil)
    (<= const-decl "bool" reals nil)
    (increasing? const-decl "bool" sort_fseq "structures/")
    (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)
    (below type-eq-decl nil naturalnumbers nil)
    (partition type-eq-decl nil rs_partition nil)
    (Riemann_sum? const-decl "bool" rs_integral_def nil)
    (abs const-decl "{n: nonneg_real | n >= m AND n >= -m}" real_defs
         nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (NOT const-decl "[bool -> bool]" booleans nil)
    (odd_plus_even_is_odd application-judgement "odd_int" integers nil)
    (real_plus_real_is_real application-judgement "real" reals nil)
    (minus_odd_is_odd application-judgement "odd_int" integers nil)
    (nnint_plus_posint_is_posint application-judgement "posint"
     integers nil)
    (sigma_0_neg formula-decl nil sigma_below "reals/")
    (below_induction formula-decl nil bounded_nat_inductions nil)
    (pred type-eq-decl nil defined_types nil)
    (P!1 skolem-const-decl "partition[T](a!1, b!1)" rs_integral_prep
     nil)
    (b!1 skolem-const-decl "T" rs_integral_prep nil)
    (a!1 skolem-const-decl "T" rs_integral_prep nil)
    (integer nonempty-type-from-decl nil integers nil)
    (+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (sigma                                           (("3"
    (T_high type-eq-decl nil sigma "reals/")
    (T_low type-eq-decl nil sigma "reals/")
    (OR                                                        (assert)
    (IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
    (posint_plus_nnint_is_posint application-judgement "posint"
     integers nil)
    (Rie_sum const-decl "                                                   
    (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)
    (java.lang.StringIndexOutOfBoundsException: Range [60, 30) out of bounds for length 65
     order?[real])"
 real_props nil)
    (int_minus_int_is_int application-judgement "int" integers nil)
    (integral? const-decl "bool" rs_integral_def nil))
   nil))
 (integral_const_restrict 0
  (integral_const_restrict-3 nil 3278176127
   ("" (skosimp*)
    (("" (lemma "integral_const_fun")
       nil))
        (("" (assert)
          (("" (flatten)
            (("" (typepred "integral(a!1, b!1,g!1, java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 58
              (("
" (expand "integral?")
                (("
" (skosimp*)
                  ("
4"
                    (("
" (skosimp*)
                      (("
" (inst + "delta!1")
                        (("
" (skosimp*)
                          ("
"(inst?)
                            (("
" (assert)
                              (("
"
                                (replace -3)
                                (("
"
                                  (typepred "
R!1")
                                  (("
"                                                       (1 2)java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
                                    (inst -2 "
R!1")
                                    (("
1                                                      ((4java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
                                     ("2"
                                      (hide 2)
                                      (("2"
                                        (expand "Riemann_sum?")
                                        (2java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
                                          (                                             lift-)
                                          (("2"
                                            (skosimp*)
                                            (("2"
                                              (assert)
                                              (("2"
                                                (inst + "xis!1")
                                                (("2"
                                                  (                                                            (ground)
                                                  (("2"
                                                    (hide -1)
                                                    (("2
                                                      (assert)
                                                      (("
2"
                                                        nil
                                                         "
const_fun")
                                                        (("
2"
                                                          rewrite
                                                           "
sigma_restrict_eq[below(length(P!1) - 1)]")
                                                          (("
1"
                                                            (hide 2)
                                                            (("
1"
                                                              (expand
                                                               "
restrict")
                                                              
                                                                (apply-extensionality
                                                                 1
                                                                 ?
                                                                 t)
                                                                (("
1"
                                                                  (inst?)
                                                                  (("
1"
                                                                    (assert)
                                                                    nil
                                                                    nil)
                                                                   ("
2"
                                                                    (typepred
                                                                     "
xis!1")
                                                                    (("
2"
                                                                      (inst
                                                                       
                                                                       "
x!1")
                                                                      (("
2"
                                                                        (typepred
                                                                         "
P!1")
                                                                        (("
2"
    (inst-cp
                                                                           -
                                                                           "
x!1")
                                                                          (("
2"
                                                                            (inst
                                                                             -
                                                                             "
x!1+1")
                                                                            (("
2"
                                                                              (ground)
                                                                              nil
                                                                                                                                      
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil)
                                                           ("
2"
                                                            (hide 2
                                                            (("
2"
                                                              (skosimp*)
                                                              (("
2"
                                                                (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))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((integral_const_fun formula-decl nil rs_integral_prep nil)
    (real_times_real_is_real application-judgement "
real" reals nil)
    (real_lt_is_strict_total_order name-judgement
     "
(strict_total_order?[real])" real_props nil)
    (integral const-decl "
{S: real | integral?(a, b                                                      (assertjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
     rs_integral_def nil)
    (integrable? const-decl "                                 nil)
    (const_fun const-decl "
[T -> real]" real_fun_ops "reals/")
    (integral? const-decl "
bool" rs_integral_def nil)
    (< const-decl "
bool" reals nil)
    (NOT const-decl "
[bool -> bool]" booleans nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (Riemann_sum? const-decl "
bool" rs_integral_def 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)
    (real_le_is_total_order name-judgement "
(total_order?[real])"
     real_props nil)
    (Rie_sum const-decl "
real" rs_integral_def nil)
    (integer nonempty-type-from-decl nil integers nil)
    (IMPLIES const-decl "
[bool, bool -> bool]" booleans nil)
    (T_low type-eq-decl nil sigma "
reals/")
    (T_high type-eq-decl nil sigma "
reals/")
    (OR const-decl "
[bool, bool -> bool]" booleans nil)
    (* const-decl "
[numfield, numfield -> numfield]" number_fields nil)
    (sigma_restrict_eq formula-decl nil sigma "
reals/")
    (posint_plus_nnint_is_posint application-judgement "
posint"
     integers nil)
    (restrict const-decl "
[T -> real]" sigma "reals/")
    (xis!1 skolem-const-decl "
xis?[T](a!1, b!1,nil)
     nil)
    (x!1 skolem-const-decl "below(length(P!1) - 1)" rs_integral_prep
     nil)
    (closed_interval type-eq-decl nil intervals_real "reals/")
    (nnint_plus_posint_is_posint application-judgement "posint"

    (+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (xis? type-eq-decl nil rs_integral_def nil)
    (int_minus_int_is_int application-judgement "int" integers nil)
    (R!1 skolem-const-decl "(Riemann_sum?(a!1, b!1, P!1, g!1, f!1))"
     rs_integral_prep nil)
    (f!1 skolem-const-decl "[T -> real]" rs_integral_prep nil)
    (D!1 skolem-const-decl "real" rs_integral_prep nil)
    (g!1 skolem-const-decl "[T -> real]" rs_integral_prep nil)
    (P!1 skolem-const-decl "partition[T](a!1, b!1)" rs_integral_prep
     nil)
    (b!1 skolem-const-decl "T" rs_integral_prep nil)
    (a!1 skolem-const-decl "T" rs_integral_prep nil)
    (minus_odd_is_odd application-judgement "odd_int" integers nil)
    (partition type-eq-decl nil rs_partition(("4"
    (below type-eq-decl nil naturalnumbers 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)
    (increasing? const-decl "bool" sort_fseq "structures/")
    (<= const-decl "bool" reals nil)
    (restrict const-decl "R" restrict nil)
    (- const-decl "[                         (("4"
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (= const-decl "
[T, T -> boolean]" equalities nil)
    (AND const-decl "
[bool, bool -> bool]" booleans nil)
    (fseq type-eq-decl nil fseqs "
structures/")
                                                            (typepred
    (nat nonempty-type-eq-decl nil naturalnumbers 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)
    (T formal-nonempty-subtype-decl nil rs_integral_prep nil)
    (T_pred const-decl "
[real -> boolean]" rs_integral_prep 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-                                "
xis!"java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
     nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number nonempty-type-nil numbers niljava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
    (real_minus_real_is_real application-judgement "
real" reals nil))
   nil)
  (integral_const_restrict-2 nil 3277741047
   ("
" (skosimp*)
    (("
" (lemma "integral_const_fun")
      (("
" (inst?)
        (("
" (assert)
          (("
" (flatten)
            (("
" (typepred "integral(a!1, b!1, const_fun[T](D!1))")
              (("
1" (expand "integral?")
                (("
1" (skosimp*)
                  (("
1" (inst -1 "epsi!1")
                    (("
1" (skosimp*)
                      (("
1" (inst + "delta!1")
                        (("
1" (skosimp*)
                          (("
1" (inst?)
                            (("
1" (assert)
                              (("
1"
                                (replace -3)
                                (("
1"
                                  (typepred "
R!1")
                                  (("
1"
                                    (inst -2 "
R!1")
                                    (("
1" (assert) nil nil)
                                     ("
2"
                                      (hide 2)
                                      (("
2"
                                                                                        ))
                                        (("
2"
                                          (skosimp*)
                                          (("
2"
                                            (assert)
                                            (("
2"
                                              (inst + "
xis!1")
                                              (("
2"
                                                (replace -1)
                                                (("
2"
                                                  (hide -1)
                                                  (("
2"
                                                                                              (hide 2)
                                                    (("
2"
                                                      (expand
                                                       "
const_fun")
                                                      (("
2"
                                                        (rewrite
                                                                                                     (hide 2)
                                                        (("
1"
                                                          (hide 2)
                                                          (("
1"
                                                            (expand
                                                             "
restrict")
                                                            (("
1"
                                                              (apply-extensionality
                                                               1
                                                               :hide?
                                                               t)
                                                              (("
2"
                                                                (inst?)
                                                                (("
1"
                                                                  (assert)
                                                                  nil
                                                                  nil)
                                                                 ("
"
                                                                  (hide
                                                                   )
                                                                  (("
2"
                                                                    (typepred
                                                                     "
P!1")
                                                                    (("
2"
                                                                      (typepred
                                                                       "
xis!1")
                                                                      (("
2"
                                                                        (assert)
                                                                        (("
2"
                                                                          (flatten)
                                                                          (("
2"
                                                                            (assert)
                                                                            nil
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil)
                                                                nil)
                                                               ("
2"
                                                               
                                                                (("
2"
                                                                  (typepred
                                                                   (skosimp*)
                                                                  (("
2"
                                                                    (assert)
                                                                    (("
2"
                                                                      (flatten)
       (("
2"
                                                                        (assert)
                                                                        nil
                                                                        nil))
                                                                     
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              )
                                                            nil))
                                                          nil)
                                                         ("
2"
                                                          (skosimp*)
                                                          (("
2"
                                                            (hide 2)
                                                            (("
2"
                                                              (typepred
                                                               ("
2java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
                                                              (("2"
                                                                (assert)
                                                                (("2"
                                                                  (flatten)
                                                                  (nil))
                                                                    (assert)
                                                                    nil
                                                                    nil))
                                                                                                                  nil)
                                                                nil)
                                                              nil))
                                                            nil))
                                                          nil)
                                                        "
                                                          (hide 2)
                                                          (("
3"
                                                            (skosimp*)
                                                            (("
3"
                                                              
                                                              nil
                                                              nil))
                                                            nil))
                                                          java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 39
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
                                            nil))
                                          nil)nil)java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
nil)
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
               )
               ("
2" (propax) nil nil))
              nil))
            nil))
          nil))
        )java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
      nil))
    nil)
   ((const_fun const-decl "
[T -> real]" real_fun_ops "reals/")
    (restrict const-decl "
[T -> real]" sigma "reals/")
       (decl nil"
/"java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
   nil)
  (integral_const_restrict-1 nil 3253532115
   ("
" (skosimp*)
    (("
" (lemma "integral_const_fun")
      (("
" (inst?)
        (("
" (assert)
          (("
" ((""(ide2 (3 g nilnil)nil))
            (("
" (typepred "integral(a!1, b!1, const_fun[T](D!                      )
              (("1" (expand "java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 25
                (("
1" (skosimp*)
                  (("
1" (inst -1 "epsi!1")
                    (("
1" (skosimp*)
                      (("
1" (inst + "delta!1")
                        (("
1" (skosimp*)
                          (("
1" (inst?)
                            (("
1" (assert)
                              (("
1"
                                (replace -3)
                                (("
1"
                                  (hide -3)
                                  (("
1"
                                    (case-replace
                                     "
Riemann_sum(a!1, b!1, P!1, f!1) = Riemann_sum(a!1, b!1   ((const_funconst-"T - ]  "eals"
        (1 assert  )
                                     ("
2"
                   hide 1 )
                                      (("
2"
                                        nil)
                                        (("
2"
                                          (rewrite "
sigma_restrict_eq")
                                          (("
1"
                                            (hide 2)
                                            (("
1"
                                              (expand "
restrict")
                                              (("
1"
                                                (apply-extensionality
                                                 1
                                                 :hide?
                                                 t)
                                                (("
1"
                                                  (lift-if)
                                                  (("
1"
                                                    (ground)
                                                    (("
1"
                                                      
                                                       "
const_fun")
                                                      (("
1"
                                                        (inst?)
                                                        (("
1"
                                                          (replace -3)
                                                          (("
1"
                                                            (propax)
                                                            nil
                                                            nil))
                                                          java.lang.StringIndexOutOfBoundsException: Range [0, 61) out of bounds for length 47
                                                        nil)i - "
""ntegrala1 1 0*!1,f!)java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
                                                      nil))
                                                    nil))
                                                  nil)
                                                 (2"
                                                  (skosimp*)
                                                  (("
2"
                                                    (typepred "
P!1")
                                                    (("
2"
                                                      (inst - "
i!1-1")
                                                      (("
1"
                                                        (assert)
                                                        nil
                                                        nil)
                                                       ("
2"
                                                        (assert)
nil
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil)
                 "
"
                                                  (skosimp*)
                                                  (("
3"
                                                    a)
                                                    nil
                                                    ("
"
                                                  nil))
                                                nil))
                                              nil))
                                            nil)
                                           ("
2"
                                             )
                                            (("
2"
                                              (skosimp*)
                                              (("
2"
                                                (assert)
                                                (java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 41
                                                  (typepred "
P!1" ( niljava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
                                                  (("2"
                                                    (inst - "n!1-1")
                                                    (("2"
                                                      (assert)
                                                      nil
                                                      nil))
                                                    nil))
                                                  )
                                                nil))
                                              nil))
                                            nil)
                                           ("3"
                                            (hide-all-but 1)
                                            (("3"
                                              nil)
                                              (("3" (assert) nil nil))
                                              nil))
                                            nil)
                                           ("4"
                                            (hide-all-but 1)
                                            (("4"
                                              )
                                              (("4" (ground) nil nil))
                                              nil))
                                            nil))
                                          nil)
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil)
               ""()nilnil))
              nil))
            nil)                            (1" (expand "Riemann_sum"java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
          )
        nil))
      nil))
    nil)
   ((const_fun const-decl "
[T -> real
    (sigma_restrict_eq formula-decl nil sigma "reals/")
    (restrict const-decl "[T ->  (assert)
   nil))
 (integral_scal 0
  (integral_scal-3 nil 3280253820
   ("
" (skosimp*)
    (("
" (case-replace "D!1 = 0")
      (("
1" (assert)
        (("
1" (                  (eplace -1)
          (("
1" (lemma "integral_const_fun")
            (("
1" (inst - "0" "a!1" "b!1" "g!1")
              (("
1" (expand "const_fun")
                (("
1" (flatten) (("1" (assert) nil nil)) nil)) nil))
              nil))
            nil))
          nil))
        nil)
       ("
2" (rewrite "integral_def")
        (("
2" (typepred "integral(a!1, b!1, g!1,f!1)")
          (("
2" (expand "integral?")
            (("
2" (skosimp*)
              (("
2" (inst -1 "epsi!1/abs(D!1)")
                (("
1" (skosimp*(assertjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
                  (("
1" (inst + "delta!1")
                    (("
1" (skosimp*)
                                   ((1java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
                        (("
1" (assert)

                            (("
1" (expand "Riemann_sum?")
                              (("
1"
                                (auto-rewrite "
Rie_sum")
                                (("
1"
                                  (assert)
                                  (("
1"
                                    (skosimp*)
                                    ("
1
                                      (replace -1)
                                      (("1"
                                        (hide -1)
                                        (("1"
                                          (case-replace
                                           "Rie_sum(a!1, b!1,g!1, P!1, xis!1, D!1 * f!1) = D!1*Rie_sum(a!1, b!1, g!1,P!1, xis!1, f(java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 67
                                          (("
1"
                                            (expand "
Rie_sum")
                                            (("
1"
                                              (assert)
                                              (("
1"
                                                (replace -1)
                                                (("
1"
                                                  (hide -1)
                                                  (("
1"                                                          "java.lang.StringIndexOutOfBoundsException: Range [63, 64) out of bounds for length 63
                                                    (inst
                                                     -
                                                     "sigma[below(length(P!1) - 1)]
                                              (0, length(P!1) - 2,
                                               ("
1java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
                                                 g!seq(  )  f!1xis!() -
                                                  g!1(P!1`seq(n)) * f!1(xis!1(n)))")
                                                    (("
1"
 -1)
                                                      (("
1"
                                                        )
                                                        (("
1"
                                                          (split -1)
                                                          (("
1"
                                                            (flatten)
                                                            (("
1"
                                                              (rewrite
                                                               "
abs_mult                                                                  "
                                                               :dir
                                                                                                                              rl)
                                                              (("
1"
                                                                (assert)
                                                                ("
"
                                                                nil)
                                                               ("
2"
                                                                                                                                         abs_mult"

                                                                 3)
                                                                (("2"
                                                                  (skosimp*)
                                                                  (("2"
(assert
                                                                    nil
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil)
                                                           ("2"
                                                            (flatten)
                                                            (("2"
                                                              (hide-all-but
                                                               (1 2))
                                                              (("2"
                                                                (expand
                                                                 "abs")
                                                                (("2"
                                                                  (lift-if)
                                                                  (("2"
                                                                    (ground)
                                                                    nil
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil)
                                                       ("2"
                                                        (skosimp*)
                                                        (("2"
                                                          (assert)
                                                          nil
                                                          nil))
                                                        ((""

                                                     ("2"
                                                      (hide-all-but
                                                       (1 2))
                                                      (("2"
                                                        (grind)
                                                        nil
                                                        nil))
                                                      nil)
                                                     ("3"
                                                      java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
                                                      (3java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
                                                        (skosimp*)
                                                        (("3"
                                                          (assert)
                                                          nil
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              java.lang.StringIndexOutOfBoundsException: Range [51, 49) out of bounds for length 55
                                            )
                                           ("2"
                                            (hide 2)
                                            (("2"
                                              (hide 2)
                                              (("2"
                                                (expand "Rie_sum")
                                                ""
                                                  (assert)
                                                  (("2"
                                                    (lemma((""
                                                     "sigma_scal[below(java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 65
                                                    (("
1"
                                                      (inst?)
                                                      1
                                                        (assert)
                                                        (("
1"
                                                          (expand "
*")
                                                          (("
1"
                                                            (                                                        nil))
                                                            nil
                                                            
                                                          nil))
                                                        nil))
                                                      nil)()
                                                     ("
2"
                                                      (assert)
                                                      ("

                                                        (skosimp*)
                                                        (("2"
                                                          (assert)
                                                          
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              ))
                                            nil))
                                          nil))
                                        (""
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    ))
                  nil)
(("2
                  (("
1" (assert) nil nil)
                   ("
2" (hide-all-but (1 3))
                    (("
2" (cross-mult 1) (("2" (assert) nil nil)) nil))
                    nil)
                   ("
3" (lemma "abs_eq_0")
                    (("
3" (inst?) (("3" (assert) nil nil)) nil)) nil))
                  nil)
                 ("
3" (lemma "abs_eq_0")
                  (("
3" (inst?) (("3" (assert) nil nil)) nil)) nil))
                nil))
              nil))
            nil))
          nil))
        java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 13
      nil))
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
   ((number nonempty-type-decl nil numbers nil)
    (boolean nonempty-type-decl nil booleans nil)
    (= const-decl "
[T, T -> boolean]" equalities nil)
    (number_field_pred const-decl "
[number -> boolean]" number_fields
     nil)
    (number_field nonempty-type-(declsigmareals"
)
    (real_pred const-decl "[number_field -> boolean]" reals nil)
    (real nonempty-type-from-decl nil reals nil)
    (* const-decl "[T -> real]" (abs_0 formula-decl nil abs_lems "reals
    (Tint_abs_is_nonneg judgement"{:java.lang.StringIndexOutOfBoundsException: Range [62, 60) out of bounds for length 71
    (T_pred const-decl "
[real -> boolean]" rs_integral_prep nil)
    (real_times_real_is_real application-judgement "
real" reals nil)
    (const_fun const-decl "
[T ->      real_propsjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    (integral_const_fun formula-decl nil rs_integral_prep nil)
    (real_lt_is_strict_total_order name-judgement
     "strict_total_orderreal])" real_propsnil)
    (+ const"[ numfield -> numfield"niljava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
    (nt_minus_int_is_int application-judgement i"
    (abs_nat formula-decl nil abs_lems "
reals/")
    (abs_eq_0 formula-decl nil abs_lems(("
" skosimp*
    (int_minus_int_is_int application-judgement "
int" integers nil)
    (Rie_sum const-decl "
real" rs_integral_def nil)
(xis eq-   nil)
    (+ const-decl "
[numfield, numfield -> numfield]" number_fields nil)
    rjava.lang.StringIndexOutOfBoundsException: Range [32, 27) out of bounds for length 65
     real_props nil)
    (real_plus_real_is_real application-judgement "
real" java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 36
    (int_plus_int_is_int(split -)
    (div_mult_pos_neg_lt2 formula-decl nil extra_real_props nil)
    (nonzero_real nonempty-type-eq-decl nil reals nil)
    (abs_mult formula-decl nil real_props nil)
    (nnreal_times_nnreal_is_nnreal application-judgement "
nnreal"
     real_types nil)
    (xis!1 skolem-const-decl "
xis?[T](a!1, b!1, P!1)" rs_integral_prep
     nil)
     "
 java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 42
    (T_high type-eq-decl nil sigma "reals/")
    (                                       45-)
                                      (""
    (f!1 skolem(java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 56
    (g!1 skolem-const-decl "[T -> real]" rs_integral_prep nil)
    (IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
    (nteger nonempty-type-rom-ecl  integersnil)
    (P!1 skolem-                     ("
     nil)
    (b!1 skolem-const-decl "
T" rs_integral_prep nil)
    a! -const-ecl T rs_integral_prep java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
    (posint_plus_nnint_is_posint application-judgement "
posint                                                (hide 1)
     integers nil)
    (sigma_scal formula-decl nil sigma "reals/")
    (Riemann_sum? const-decl "bool" rs_integral_def nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (barray type-eq-decl nil fseqs "structures/")
    (seqtype-q-decl nil fseqs "structures/")
    (- const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (restrict const-decl "R" restrict nil)
    (<= const-decl "bool" reals nil)
    (increasing? const-decl "bool" sort_fseq "structures/")
    (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)
    (below type-eq-decl nil naturalnumbers nil)
    (partition type-eq-decl nil rs_partition nil)
    (epsi!1 skolem-const-decl "posreal" rs_integral_prep nil)
    (posreal nonempty-type-eq-decl nil real_types nil)
    (> const-decl "bool" reals nil)
    (/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
    (                                                       
    (D!1 skolem-const-decl "real" rs_integral_prep nil)
    (abs const-decl "{n: nonneg_real | n >= m AND n >= -m}" real_defs
         nil)
    (- const-decl "[numfield -> numfield]" number_fields nil)
( java.lang.StringIndexOutOfBoundsException: Range [56, 14) out of bounds for length 56
    (nonneg_real nonempty-type-eq-decl nil real_types nil)
    (>= const-decl "bool" reals nil)
    (/= const-decl "boolean" notequal nil)
    (nzreal_div_nzreal_is_nzreal-
     real_types nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (real_gt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (real_minus_real_is_real application-judgement "real" reals nil)
    (integral const-decl "{S: real | integral?(a, b, gg, ff, S)}"
     rs_integral_def                         "triangle")
    (integral? const-decl "bool" rs_integral_def nil)
    (integrable? const-decl "bool" rs_integral_def nil)
    (< const-decl "bool" reals nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    *const--decl "[numfield,numfield -> numfield]" number_fields nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (integral_def formula-decl nil rs_integral_def nil))
   nil)
  (integral_scal-2 nil 3278176311
   ("" (skosimp*)
    (("" (case-replace "D!1 = 0")
      (("1" (assert)
        (("1" (expand "*")
          (("1" (lemma "integral_const_fun")
            (("1" (inst - "0" "a!1" "b!1")
              (("1" (expand "const_fun")
                (1"(flatten)("1"(assert) nil nil) nil) nil))
              nil))
            nil))
          nil))
        nil)
       ("
2"(rewrite "integral_def")
        (("
2" (typepred "integral(a!1, b!1, f!1)")
          (("
1" (expand "integral?")
            (("
1" (skosimp*)
              (("
1" (inst -1 "epsi!1/abs(D!1)")
                (("
1" (skosimp*)
                  (("
1" (inst + "delta!1")
                    (("
1" (skosimp*)
                                                                               ("
2
                        (("1" (assert)
                          (("1" (typepred "R!1")
                            (("
                              (("
1"
                                (auto-rewrite "
Rie_sum")
                                (("
1"
                                 assert)
                                  (("
1"
                                   (*
                                    (("
1"
                                      (replace -1)
                                      (("
1"
                                        (hide -1)
                                        (("
1"
                                          (case-replace
                                           "
Rie_sum(a!1, b!1, P!1, xis!1, D!1 * java.lang.StringIndexOutOfBoundsException: Range [56, 81) out of bounds for length 69
                                          (("1"
                                            (expand "Rie_sum")
                                            (("1"
                                              assert)
                                              (("1"
                                                (replace -1)
                                                (("1"
                                                  (hide -1)
                                                  (("1"
                                                    (inst
                                                     -
                                                     "sigma[below(length(P!1) - 1)]
                          (0,                                     (inst?)
                           LAMBDA (n: below(length(P!1) - 1)):
                             P!1`seq(1+ n)* f!(xis!1`(n)-
                              P!1`seq(n) * f!1(xis!1`seq(n)))"
)
                                                    (("1"
                                                      (cross-mult -1)
                                                      (("1"
                                                        (assert)
                                                        (("1"
                                                          (split -1)
                                                          ((                                                      ((2java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
                                                            (flatten)
                                                            (("1"
                                                              (rewrite
                                                                                                                             "abs_mult "
                                                               :dir
                                                               rl)
                                                              (("1"
                                                                (assert)
                                                                nil
                                                                nil)
                                                               ("2"
                                                                (hide
                                                                 3)
                                                                (("2"
                                                                  *java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
                                                                  (("2"
                                                                    (assert)
                                                                    nil
                                                                    nil))
                                                                  nil))
                                                                nil)
                                                               ("3"
                                                                (skosimp*)
                                                                "
                                                                  (assert)
                                                                  (("
3"
                                                                    (typepred
                                                                                                                                     ("
"
                                                                    "
3java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
                                                                      (assert)
                                                                      nil
                                                                      nil))
                                                                    nil))
                                                                  nil))
                                                                 nil))
                                                              nil))
                                                            
                                                           ("2"
                                                            (flatten)
                                                            (("2"
                                                              (hide-all nil))
                                                               (1 2))
                                                              (("2"
                                                                (expand
                                                                 "abs")
                                                                (("2"
                                                                  (lift-if)
                                                                  (("2"
                                                                    (ground)
                                                                    nil
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil)
                                                       ("2)
                                                        (skosimp*)
                                                        (("
2"
                                                          (assert)
                                                          nil
                                                          nil))
                                                        nil)
                                                       ("
3"
                                                        (skosimp*)
                                                        (("
3"
                                                          (assert)
                                                          (("
3"nil)java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
                                                            (typepred
                                                             "
xis!1")
                                                            (("
3"
                                                              (assert)
                                                              nil
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil)
                                                       ("
4"
                                                        (hide-all-but
                                                         (1 2))
                                                        (("
4"
                                                          (expand
                                                           "
abs")
                                                          ((    (ntegral_defformula- rs_integral_defnil)
                                                            (lift-if)
                                                            (("
4"
                                                              )
                                                              nil
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil)
                                                     (java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 65
                                                      (hide 3)
                                                      (("
2"
                                                        (expand
                                                         "
Riemann_sum?")
                                                        (("
2"
                                                          (assert)
                                                          (("
2"
                                                            (inst
                                                             +
                                                             "
xis!1")
                                                            nil
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil)
                         ("
3"
                                                      (skosimp*)
                                                      (("
3"
                                                        (assert)
                                                        nil
                                                        nil))
                                                      nil)
                                                     ("
4"
                                                      (skosimp*)
                                                      (("
4"
                                                       )
                                                        (("
4"
                                                          (typepred
                                                           "
xis!1")
                                   "
4java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
                                                            (assert)
                                                                (artition type-q
                                                            (below-eqdecl nil naturalnumbersnil
                                                          (nt nonempty-type--decl nil integersnil)
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil)
                                           ("2"
                                            (hide 2)
                                            "
                                              (hide 2)
                                              ((    nnreal_plus_nnreal_is_nnreal application-judgement "
nnreal"
                                                expand "
Rie_sum"
                                                (("
2"
                                                  (assert)
                                                  (("
2"
                                                    (lemma
                                                     "
sigma_scal[below(length(P!1) - 1)]")
                                                    (("
1"
                                                      (inst?)
                                                      (("
1 (h1decl[ >]" rs_integral_prep niljava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
                                                        (assert)
                                                        (("
1"
                                                          (expand "
*")
                                                          (("
1"
                                                   assertjava.lang.StringIndexOutOfBoundsException: Range [68, 69) out of bounds for length 68
                                                            nil
                                                            nil))
                                ))
                                                        nil)
                                                       ("
2"
                                                        (hide 2)
                                                        (("
2"
                                                          (skosimp*)
                                                          (("
2"
                                                            (assert)
                                                            ("

                                                              (typepred
                                                               "xis!1")
                                                              (("2"
                                                                (assert)
                                                                nil
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                            
                                                     ("2"
                                                      (skosimp*)
                                                      (("2"
                                                        (assert)
                                                        nil
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                               nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      ("" name-"I1" "integral(a!1, b!1, g!,f1"java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
                                    nil))
                                  
                                nil))
                              )
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil)
                 ("2" (hide 3)
                  (("2" (assert)
                    (("2" (case "epsi!1 / abs(D!1) > 0")
                      (("1" (assert) nil java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 36
                       ("2" (hide 2)
                        (("2" (hide -2)
                          (("2" (cross-mult 1)
                            (("1" (grind) nil nil)
                             ("2" (assert)
                              (("2"
                                (hide 2)
                                (("2" (grind) nil nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil)
                       ""(ide )((3 grind)nil nil)) nil))
                      nil))
                    nil))
                  )
                 ("3" (hide -2 3) (("3" (grind) nil nil)) nil))
                nil))
              nil))
            nil)
           ("2" (propax) nil nil) ("3" (propax) nil nil))
          nil))
        nil)
      nil))
    nil)
   ((const_fun const-decl "[T -> real]" real_fun_ops "reals/")
    (sigma def-decl "real" sigma "reals/")
    (sigma_scal formula-decl nil sigma "reals/"))
   nil)
  (integral_scal- nil 3253532115
   ("" (skosimp*)
    (("" (case-replace "D!1 = 0")
      (("1" (assert)
        (("1" (expand "*")
          (("1" (lemma "integral_const_fun")
            (("1" (inst - "0" "a!1" "b!1")
              (1 ")
                (("
1" (flatten) (("1" (assert) nil nil)) nil)) nil))
              nil))
            nil))
          nil))
        nil)
       ("
2" (rewrite "integral_def")
        (("
2" (typepred "integral(a!1, b!1, f!1)")
          (("
1" (expand "integral?")
            (("
1" (skosimp*)
              (("
1" (inst -1 "epsi!1/abs(D!1)")
                (("
1" (skosimp*)
                  (1"
 inst+"elta!1)
                    (("
1" (skosimp*)
                      (("
1" (inst?)
                        (("
1" (assert)
                          (("
1" (typepred "R!1")
                            (("
1" (expand "Riemann_sum?")
                              (("
1"
                                (assert)
("
"
                                  (skosimp*)
                                  (("
1"
                                    (replace -1)
                                    (("
1"
                                      (hide -1)
                                      (("
1"
                                        (case-replace
                                         "
Rie_sum(a!1, b!1, P!1, xis!1, D!1 * f!1) = D!1*Rie_sum(a!1, b!1, P!1, xis!1, f!1)")
                                        (("
1"
                                          (expand "
Rie_sum")
                                          (("
1"
                                            (assert
                                            (("
1"
                                              (replace -)
                                              (("
1"
                                                (hide -1)
                                                (("
1"
                                                  (inst
                                                   -
                                                   "
sigma[below(length(P!1) - 1)]
                (0, length(P!1) - 2,
                LAMBDAn below(length(!1) - )):
                   P!1`seq(1 + n) * f!1(xis!1`seq(n)) -
                    P!1`seq(n) * f!1(xis!1`seq(n)))")
                                                  (("
1"
                                                    (cross-mult -1)
                                                    (("
1"
                                                      (assert)
                                                      (("
1"
                                                        (split -1)
                                                        (                                                       (("
2"
                                                          (flatten)
                                                          (("
1"
                                                            (rewrite
                                                             "
abs_mult "
                                                          (2"

                                                             rl)
                                                            (("1"
                                                            nil
                                                              nil
                                                              nil)
                                                             ("2"
                                                              hide 3)
                                                              (("2"
                                                                (skosimp*)
                                                                (("2"
                                                                  (assert)
                                                                  nil
                                                                  nil))
                                                                nil))
                                                              nil)
                                                             ("3"
                                                              (skosimp*)
                                                              (("3"
                                                                (assert)
                                                                ("3"
                                                                  (typepred
                                                                   "xis!1                                                    (hide 2)
                                                                  (("
3"
                                                                    (assert)
                                                                    nil
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil)
                                                         ("
2"
                                                          (flatten)
                                                          (("
2"
                                                            (hide-all-but
                                                             (1 2))
                                                            (("
2"
                                                              (grind)
                                                              nil
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil (("
1java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
                                                     (                                                         
                                                      (skosimp*)
                                                      (("2"
                                                        (assert)
                                                        nil
                                                        nil))
                                                      nil)
                                                     ("3"
                                                      (skosimp*)
                                                      (("3"
                                                        (assert)
                                                        (("3"
                                                          (typepred
                                                           "xis!1")
                                                          (("3"
                                                            (assert)
                                                            nil
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil)
                                                     (""
                                                      (hide-all-but
                                                       (1 2))
                                                      (("4"
                                                        (expand "abs")
                                                        (("4"
                                                          (lift-if)
                                                          (("4"
                                                            (ground)
                                                            nil
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil)
                                                   ("2"
                                                    (hide 3)
                                                    (("2"
                                                      (expand
                                                       "Riemann_sum?")
                                                      ((2
                                                        (assert)
                                                  ))
                                                          (inst
                                                           +
                                                           "xis!1")
                                                          nil)
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil)
                                                                                           nil))
                                                    (skosimp*)
                                                    (("3"
                                                      (assert)
                                                      nil
                                                      nil))
                                                    nil)
                                                   niljava.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
                                                    (skosimp*)
                                                    ((4"
                                                      (assert)
                                                                                      nil))
                                                        (typepred
                                                         "
xis!1")
                                                        (("
4"
                                                          (assert)
                                                          nil
                                                          nil))
                                                        nil)                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil)
                                         ("
2"
                                          (hide 2)
                                          (("
2"
                                            (hide 2)
                                            (("
2"
                                              (expand "
Rie_sum")
                                              (("
2"
                                                (assert)
                                                (("
2"
                                                  (lemma
                                                   "
sigma_scal[below(length(P!1) - 1)]")
                                                  (("
1"
                                                    (inst?)
                                                    (integral_def formula-decl nil rs_integral_def nil)
                                                      (assert)
                                                      (("
1"
                                                        (expand "
*")
                                                        (("
1"
                                                          (assert)
                                                          nil
                                                          nil))
                                                        nil))
                                                      nil)
                                                     ("
2"
                                       (ide 2
                                                      (("
2"
                                                        (skosimp*)
                                                        (("
2"
                                                          (assert)
                                                          (("
2"
                                                            (typepred
                                                             "
xis!1")
                                                            (("
2"
                                                              (assert)
                                                              nil
                                                              nil))
                                                            nil))
                                                          nil))
                                                        )
                                                      nil))
                                                    nil)
                                                   ("
2"
                                                    (skosimp*)
                                                    (("
2"
                                                      (assert)
                                                      nil
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil)
                 ("
2" (hide 3)
                  (("
2" (assert)
                    (("
2" (case "epsi!1 / abs(D!1) > 0")
                      (("
1" (assert) nil nil)
                       ("
2" (hide 2)
                        (("
2" (hide -2)
                          (("
2" (cross-mult 1)
                            (("
1" (grind) nil nil)
                             ("
2" (assert)
                              (("
2"
                                (hide 2)
                                (("
2" (grind) nil nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil)
                       ("
3" (hide 2) (("3" (grind) nil nil)) nil))
                      nil))
                    nil))
                  nil)
                 ("
3" (hide -2 3) (("3" (grind) nil nil)) nil))
                nil))
              nil))
            nil)
           ("
2" (propax) nil nil) ("3" (propax) nil nil))
          nil))
        nil))
      nil))
    nil)
   ((const_fun const-decl "
[T -> real]" real_fun_ops "reals/")
    (sigma_scal formula-decl nil sigma "
reals/")
    (sigma def-decl "
real" sigma "reals/"))
   nil))
 (integral_scal_g 0
  (integral_scal_g-1 nil 3488722885
   ("
" (skosimp*)
    (("
" (case-replace "D!1 = 0")
      (("
1" (assert)
        (("
1"
          (case "
integral?(a!1, b!1, LAMBDA (x: T): 0 * g!1(x), f!1, 0)")
          (("
1" (expand "integrable?")
            (("
1" (split +)
              (("
1" (inst + "0")
                (("
1" (assert)
                  (("
1" (expand "*") ((    (barray type-- ""
                  nil))
                nil)
               ("
2" (typepred "integral(a!1, b!1, 0 * g!1, f!1)")
                (("
2" (lemma "integral_unique")
                  (("
2"
                    (inst - "
0" "integral(a!1, b!1, 0 * g!1, f!1)"
                     "
a!1" "b!1" "f!1" "0*g!1")
                    (("
2" (assert)
                      (("
2" (expand "*") (("2" (propax) nil nil)) nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil)java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
            nil)
           ("
2"(ide 2java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
            ((    ( name-udgement
              (("
2" (skosimp*)
                (("
2" (inst + "1")
                   (nreal_plus_nnreal_is_nnreal -udgement nnreal
                    (("
2" (typepred "R!1")
                      (("
2" (expand "Riemann_sum(osint_plus_nnint_is_posint application-judgement "posint"
                        (("2" (skosimp*)
                          (("2"
                            (case "java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 18
                            (("
1" (lemma "abs_0")
                              (("
1" (assert) nil nil)) nil)
                             ("
2" (hide 2)
                              (("
2"
                                (hide     (* constdecl [numfield,numfield >"
number_fields)
                                (("2"
                                  (expand    (eal_times_real_is_realapplicationjudgement"eal"realsnil
                                  (("2"
                                    (lemma
                                     "igma_zero[below(!1`length-1])
                                    (("
1"
                      )
                                      (("
1" (assert) nil nil))
                                      nil)
                                     ("
2"
                                      (skosimp*)
                                      (("
2" (assert) nil    (osreal onempty-type-decl nil real_types nil)
                                      
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil
              ))
            nil))
          nil))
        nil)
       ("
          ( (
        (("2" (typepred "integral(a!1, b!1, g!1,f!1)")
          (("2" (nil
            "2 skosimp*
             ("
 inst-"psi!1/abs(D!1)")
                tjava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 52
(1 +"java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 42
                         java.lang.StringIndexOutOfBoundsException: Range [30, 25) out of bounds for length 30
                      (("
1" (inst     java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
              "
1"(ssert)
                          ("
1"( R1)
                                                    (1"
e"Riemann_sum"java.lang.StringIndexOutOfBoundsException: Range [57, 58) out of bounds for length 57
                              (("1"
                                (rewriteRie_sum"
                                (("
1"
                                  (assert)
                                  (("
1"
                                    (skosimp*)
                                    (("
1"
                                      (replace -1)
                                      (("
1"
                                        (hide -1)
                                        (("
1"
                                          (case-replace
                                           "
Rie_sum(a!1, b!1,g!1, P!1, xis!1, D!1 * f!1) = D      (("(nst)
                                         
                                            (expand "
Rie_sum")
                                            (("
1"
(
                                              
                                                ("
 [:java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 71
                                            ("java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
("
 typepred1 %"(  ) (!1 )
                                                   
                                                   "
sigma[below(P!1`java.lang.StringIndexOutOfBoundsException: Range [0, 74) out of bounds for length 8
                                                 (0, P!1`lengthnil
LAMBDA !1-)java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
                                                    g    --":(,java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 49
  g!1P`seq(n              ("
"asertjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
                                                  (("
1"
                                                    (cross-mult -1)
                                                    java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
                                                      (assert)
                                                      (( java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 55
                                                        s -
                                                       "
1
                                                          (     java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
                             ("1"
                                                            java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 67
                         sigma_scal(1length- 1))
(("1"
                                                               constdecl {:(S  ( ,<}  nil
                                                              ""
                                                 
                                                                 -
                                                                 "D!1")
                                                                (("1"
                           
                                                                   "*")
                                                                  (("1"
                                                                    (java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 26
                   ((1java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
                                                                      (replace
                                                                       -1)
                                                                      
                                                                        (java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 9
                                                            
                                                                        (("1"
                                 inst
                                                                           -
                                                                           11 !1,1 
                                                           sigma[java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 47
                                                               (0, P!1`java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 64
                                                                LAMBDA    integer_preddecl"rational >] nil)
                                                              !(11+n)*f!(is1seq(n))-
                                                                    ( decl"
ool minmax_orders
                                                              )
                            (""
(assert                  "" (assert)
                                                                            nil
                                                                            nil)
("
2"
                                                                            (skosimp*)
                                                                            (("
2"
                                                                              (assert)
                                                                              nil
                                                                              nil))
                                                                 nil))
                                        )java.lang.StringIndexOutOfBoundsException: Range [79, 80) out of bounds for length 79
                                                                        nil                                                                        nil))
                                                                      nil)    real_lt_is_strict_total_ordername-
                                                                    nil))
                                                               
nil)java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
                                                              nil)
                                                            "
"
                                                              )
                                                              java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
                                                                )java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
                                                                nil
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil)
                                                         ("
2"
                                                          (flatten)
                                                          (("
2"
                                                            (hide-all-but
                                                             (1 2))
                                                            (("
2"
                                                              (grind)
                                                              nil
                                                              nil))
                                                            nil))
    nil))
nil)
 nil)
                                                     ("
2"
                                                      (skosimp*)
                                                      (("
2"
                                                        (assert)
                                                        nil
                                                        nil))
                                                      nil))
                                                    nil)
                                                   ("
2"
                                                    (      java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
                                                    (("
2"
                                                      (expand
                                                       "
Riemann_sum?")(java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 70
                                                      (("
2"
                                                        (inst
+
                                                         "
xis!1")
(("
2"
                                             
                                                           "
Rie_sum"     nil (emma "on_empty_bounded_above_has_greatest)
                                        2"
                                                            (assert)
    
nil)java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil)
                                                   ("
3"
                                                    (skosimp*)
                                                    (("
3"
                                                      (assert)
                                                      nil
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
              nil))
                                            nil)
                                           ("
2"
                                            (hide -1)
                                            (("
2"
                                              (hide 3)
                                              (("
2"
                                                (expand "
Rie_sum")
                                                (("
2"
                                                  (expand "
*")
                                                  (("
2"
                                                    (lemma
                                                     "
sigma_scal[below(P!1`length - 1)]")
                                                    (("
1"
                                                      (inst
                                                       -
                                                       "
LAMBDA (n: below(P!1`length - 1)):
                                           f!1(xis!1`seq(n)) * g!1(P!1`seq(1 + n)) -
                                            f!1(xis!1`seq(n)) * g!1(P!1`seq(n))"
                                                       ((1"

                                                       "P!1`length-                                      
                                                       "
0")
                                                      "
Su2"
                                                        (assert)
                                                        nil
                                                        nil))
niljava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
                                                     ("
2"
                                                      (skosimp*)
                                                      (2"

                                                        (assert)
                                                        nil
                                                        nil))
                                                      )
niljava.lang.StringIndexOutOfBoundsException: Range [57, 58) out of bounds for length 57
                                                  nil)("(
                                                nil))
                                              
n)java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  )
                                nil))
          nil))
                            nil))
java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 31
                        nil))
                      nil))
                    nil))
                  nil)
                 ("
2" (case "epsi!1/abs(D!1)>0")
                  (("
1" (assert) nil nil)
                   ("
2" (cross-mult 1) (("2" (assert) nil nil)) nil)
                   ("
3" (assert) nil nil))
                  nil)
                 ("
3" (assert) nil nil))
                nil))
java.lang.StringIndexOutOfBoundsException: Range [17, 14) out of bounds for length 19
            nil))
          nil))
        nil))
      nil))
    nil)
   ((number nonempty-type-decl nil numbers nil)
    (boolean nonempty-type-decl nil booleans nil)
    (= const-decl "
[T, T -> boolean]" equalities nil)
    (number_field_pred const-decl "
[number ->boolean"number_fields
     nil(const-ecl "
bool -bool"booleansnil)
    (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)
    (* const-rat_max application"
{s |s>  AND > r"
    (numfield nonempty    ( - [java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 61
    (integral? const-decl "
bool" rs_integral_def nil)
    ( onst- "
bool"reals il)
   b nonempty--eq-decl nil booleans nil)
T --decl   java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
    (T_pred const-decl "
[real -> boolean(-niljava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
    ()
*- [ >"java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 54
    (integral_unique formula-decl     (LAMBDA (S: set[T]): bounded_above?S ) bounded_integers nil)
    (   (memberconst- "
ool setsniljava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
     rs_integral_def nil)
    (NOT const-decl "[bool -> bool]" booleans nil)
    (integrable? const-decl "bool" rs_integral_def nil)
    (java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
lniljava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
    >const- bool"realsnil)
(nonempty-ype-eq
     "
ool reals niljava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
       java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
    (partition (number_field nonempty-decl)
   type- nilt-[> 
    (int nonempty-type-     nil)
    (integer_pred const-                  ("
    rationalnonemptytypefrom-ecl nil rationals)
    rational_pred -decl [ ->boolean] rationals )
    (increasing? const-decl "
bool" sort_fseq "structures/")
    (<= const-decl "
bool" reals nil)
    (restrict const-decl "
R"                                1
    ( -ecl"
numfield -numfield"number_fields )
( const-decl "
[ java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 56
    (fseq type-  (integral_ge_0-  
    (barray type-eq-decl nil                                   2
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (T_low type-eq-decl nil sigma "reals/")
    (T_high type-eq-decl nil sigma "reals                            )
    (OR const-declnil)
    sigma_nat -"
 "java.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 64
    (real_le_is_total_order name-judgement "
(total_order"Sl2!""1)
     real_props nil)
    (integer nonempty-type-from-decl nil integers nil)
    (IMPLIES const-decl "
[bool, bool -> bool]" booleans nil)
    (sigma_zero formula-decl nil sigma "
reals/")
    (abs_0 formula-decl nil abs_lems "
reals/"                              )
    (                     (2java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
     real_defs nil)
    (real_ge_is_total_order name-judgement "
(total_order(""ijava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 61
     real_props nil)
    (abs_nat formula-decl nil abs_lems "reals/")
    (Rie_sum const-decl "real" rs_integral_def nil)
    (xis? type-eq-decl nil rs_integral_def nil)
    (+ const-decl "[                               !1 "1)
    (int_minus_int_is_int application-judgement                              (""
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (div_mult_pos_gt1 formula-                            (2
   posint_plus_nnint_is_posintapplication-p"
     ntegers nil)
    (a!1 skolem-const-decl "
T" rs_integral_prep nil)
    (b!1 skolem-- "
 nil
    (P!1 skolem-const-decl "partition[T](anil)
     nil)
    (g!1 skolem- nil)
    (f! )
    (sigma def-decl "
real" sigma "reals/")
    (xis!1 skolem-const-decl "
    intjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 48
     - [ >boolean"nil)
    (nnreal_times_nnreal_is_nnreal application-judgement "
nnreal"
     real_types nil)
    (abs_mult formula-decl nil real_props nil)
    (sigma_scal formula-decl nil sigma "
reals/")
    (nonzero_real nonempty-type-eq-decl nil reals nil)
    (div_mult_pos_neg_lt2 formula-decl nil extra_real_props nil)
     java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 61
    (/  ((1java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    (nznum nonempty-type-eq-decl nil number_fields nil)
    (D!1 skolem-const-decl "
real" rs_integral_prep nil)
( const- { |n>   =-"

         nil)
    (- const-decl "[numfield -> numfield]" number_fields nil)
    (/= const-decl "boolean" notequal nil)
    (nzreal_div_nzreal_is_nzreal application-judgement "nzreal"
     real_types nil)
    (real_gt_is_strict_total_order name-judgement
     "(java.lang.StringIndexOutOfBoundsException: Range [36, 12) out of bounds for length 41
    (integral_def formula-decl nil rs_integral_def nil))
   nil))
 (integral_sum 0
  (integral_sum-1 nil 3253532115
   ("
" (skosimp*)
                                 (1  )
      (("
" (typepred "integral(a!1, b!1, g!1, f!1)")
        (("
" (typepred "integral(                                  )java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
          (("" (name-replace                                     (2"nil)
("
(java.lang.StringIndexOutOfBoundsException: Range [67, 30) out of bounds for length 67
             ("(xpand integral?)
                (("
" (skosimp*)
("
 (
                    (("    real_gt_is_strict_total_order name-
                      (("
" (skosimp (!1skolem-onst-ecl (intersection(Sl1!,Sl2!))
                        ("
( +"(delta!,delta!))
                          (("
" (skosimp*)
                   ( ( -"
!"
                              (                                          (2java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
                                (inst - "
P!1")
                                (("
"
                                  (split -    < -ecl b"
realsnil
                                  (("1"
                                    (-java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
(java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
                                      (hide -4 -5 -6)
                    1java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
(typepred"R!"java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
                                        (("1"
    (expand "Riemann_sum?")

                                            (
                                            (("1"
                                              (replace -1)
                                              (
                                                (hide -1)
                                                (("1"
                                                  (case-replace
"(a1,b!, g!,P!1 xis!1  x: f!(x)+1x)=                      (a1 ! !,!,1 !)+a1 !,g1,P!1, xis!1, h1"java.lang.StringIndexOutOfBoundsException: Index 219 out of bounds for length 219
                                                  (("1"
                                                    (hide -1)
                                                    (("1"
                                                      (inst
                                                       -
                                                       "Rie_sum(a!1, b!1, g!1, P!1, xis!1, f!1)")
                                                      (("1"
                                                        (inst
                                                         
                                                         "Rie_sum(a!1, b!1, g!1, P!1, xis!1, h!1)")
                                                        (("1"
                                                          (lemma
                                                          )
                                                          (("1"
                                                            (inst
                                                             -1
                                                             "I1 - Rie_sum(a!1, b!1,g!1, P!1, xis!1, f!1)"
                                                             "I2 - Rie_sum(a!1, b!1, g!1,P!1, xis!1, h!1)")
                                                            (("1"
                                                              (assert)
                                                              nil
                                                              nil))
                                                            java.lang.StringIndexOutOfBoundsException: Range [65, 66) out of bounds for length 65
                                                          (("2"
                                                         ("2"
                                                          -but
                                                           1)
                                                          (("2"
                                                            (expand
                                                             "Riemann_sum?")
                                                            (("2"
                                                              java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
                                                              nil
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil)
                                                       ""
                                                        (hide-all-but
                                                         1)
                                                        (("2"
                                                          (expand
                                                           "Riemann_sum?")
                                                          (("2"
                                                            (inst?)
                                                            nil
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil)
                                                   ("2"
                                                    (hide 2)
                                                    (                                                         
                                                      (                                                                  )
(("2"
                                                        (expand
                                                         "Rie_sum")
                                                        (("2"
                                                          (assert)
                                                          (("2"
                                                            (lemma
                                                             "sigma_sum[below(length(P!1) - 1)]")
                                                            "1
                                                              (inst?)
                                                              (("
1"
                                                                (assert)
                                                                nil
                                                                nil))
                                                              nil)
                                                             ("
2"
                                                              (hide 2)
                                                              (("
2"
                                                                (skosimp*)
                                                                (("
2"
                                                                  (assert)
nil
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  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)
   ((real_plus_real_is_real application-judgement "
real" reals nil)
    (integral_def formula-decl nil rs_integral_def nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (+ const-decl "
[numfield, numfield -> numfield]" number_fields nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (< const-decl "
bool" reals nil)
    (integrable? const-decl "
bool" rs_integral_def nil)
    (integral? const-decl "
bool" rs_integral_def nil)
    (integral const-decl "
{S: real | integral?(a, b, gg, ff, S)}"
     rs_integral_def 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)
    (T_pred const-decl "
[real -> boolean]" rs_integral_prep nil)
    (T formal-nonempty-subtype-decl nil rs_integral_prep nil)
    (posreal_min application-judgement
     "
{z:                                                "
    (min const-decl "
{p: real | p <= m AND((2"
    (<= const-decl "
bool" reals nil)
    (AND const-decl "
[bool, bool -> bool]" java.lang.StringIndexOutOfBoundsException: Range [60, 45) out of bounds for length 60
    (partition type-eq-decl nil rs_partition nil)
    (below type-eq-decl nil naturalnumbers nil)
    (int nonempty-type-eq-decl nil integers nil)
nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (rational_pred const-decl "
[real -> boolean]"                                    nil)
    (java.lang.StringIndexOutOfBoundsException: Range [37, 7) out of bounds for length 37
    (restrict const-decl "
R" restrict nil)
    (- const-decl "
[numfield, numfield -> numfield]" number_fields nil)
    (fseq type-eq-decl nil fseqs "
structures/")
    (barray type-eq-decl nil fseqs "
structures/")
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (int_minus_int_is_int application-judgement "
int" integers nil)
    (Rie_sum const-decl "
real" rs_integral_def nil)
    (xis? type-eq-decl nil rs_integral_def nil)
    (a!1 skolem-const-decl "
T" rs_integral_prep nil)
    (b!1 skolem-const-decl "
T" rs_integral_prep nil)
    (P!1                                      split -
     nil)
    (g!1 skolem-const-decl "
[T -> real]" rs_integral_prep nil)
    (f!1 skolem-const-decl "
[T ->                                 "java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
    (xis!1 skolem-const-decl "
xis?[T](a!1, b!1, P!1)" rs_integral_prep
     nil)
    (triangle formula-decl nil real_props nil)
    (real_lt_is_strict_total_order name-judgement
     "
(strict_total_order?[real])" real_props nil)
    (nnreal_plus_nnreal_is_nnreal application                               ("
"
     real_types nil)
    (real_ge_is_total_order name-judgement "
(total_order?[real])"
     real_props nil)
    (real_le_is_total_order name-judgement "
(total_order?[real])"
     real_props nil)
    (h!1 skolem-const-decl "
[T -> real]" rs_integral_prep nil)
    (real_gt_is_strict_total_order name-judgement
     "
(strict_total_order?[real])" real_props nil)
    (posint_plus_nnint_is_posint application-judgement "
posint"
     integers nil)
    (T_low type-eq-decl nil sigma "
reals/")
    T_igh type--decl  sigma "
reals"
    (OR const-decl                                          hide 3
    (* const-decl "
[numfield, numfield -> numfield]" number_fields nil)
java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 54
    (IMPLIES (mult
    (sigma_sum formula-decl nil sigma "
reals/")
    (real_times_real_is_real application-judgement "
real" reals nil)
    (Riemann_sum? const-decl "
bool" rs_integral_def nil)
    (>= const-decl "
bool" reals nil)
    (nonneg_realnonempty-type--nil java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
    (> const-decl "
bool" reals nil)
    (posreal nonempty-type-eq-decl nil real_types nil)
    (/= const-decl "
boolean" notequal nil)
    (nznum nonempty-type    (("
"
    (/ const-decl "
[numfield, nznum -> numfield]" number_fields nil)
    (posreal_div_posreal_is_posreal application-judgement "
posreal"
     real_types nil)
    java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 68
    (= const-decl "
[T, T -> boolean]" equalities nil)
    (NOT const-decl "
[bool -> bool]" booleans nil))
   nil))
 (integral_sum_g 0
  (integral_sum_g-1 nil 3488732672
   ("
" (skosimp*)
    (("
" (rewrite "integral_def")
      (("
" (typepred "integral(a!1, b!1, g!1, f!1)")
       "
 ti(!,b,h!,f!"java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
          (("
" (name-replace "I1" "integral(a!1, b!1, g!1, f!1)")
            (("
" (name-replace "I2" "integral(a!1, b!1, h!1, f!1 -1
              (("" (expand"delta!1"java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
                (("" (skosimp*)
                  (("" (inst -1 "epsi!1/2")
                    (("" (inst - "epsi!1/2")
                      (("" (skosimp*)
                        (("" (inst + "min(delta!1,delta!2)")
                          (("" (skosimp*)
                            ("2"
                              ((""
                                (inst - "P!1")
                                                                    (assert)
                                  (split -1)
(1"
                                    (split -2)
                                    (("
1"
                                      (hide -4 -5 -                                                     )
                                      (("
1"
                                        (ypepred "
!1)
                                        (("1"
                                          (expand "Riemann_sum?")
                                          (("1"
                                            (skosimp*)
                                            (("1"
                                              (replace -1)
                                              (("1"
                                                (hide -1)
                                                (("1"
                                                  (case-replace
                                                   "Rie_sum(a!1, b!1, LAMBDA x: g!1(x) + h!1(x), P!1, xis!1, f!1) =                       Rie_sum(a!1, b!1, g!1,P!1, xis!1, f!1) + Rie_sum(a!1, b!1, h!1,P!1, xis!1, f!1)")
                                                  (("1"
                                                    (hide -1)
                                                    (("1"
                                                      (inst
                                                       -
                                                       "Rie_sum(a!1, b!1, g!1, P!1, xis!1, f!1)")
                                                      (                            )java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
                                                        (inst
                                                         -
                                                         "Rie_sum(a!1, b!1, h!1, P!1, xis!1, f!1)")
                                                        (("1"
                                                          (lemma
                                                           "triangle")
                                                          (("1"
                                                            (inst
                                                             -1
                                                             "I1 - Rie_sum(a!1, b!1,g!1, P!1, xis!1, f!1)"
                                                             "I2 - Rie_sum(a!1, b!1, h!1,P!1, xis!1, f!1)")
                                                            ( nil
                                                              (assert)
                                                              nil
                                                              nil))
                                                            nil))
                                                          nil)
                                                         ("
                                                          (hide-all-but
                                                           1)
                                                          (("
2"
                                                            (expand
                                                             "
Riemann_sum?")
                                                            (("
2"
                                                              (inst?)
                                                              nil
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil)
                                                       ("
2"
                                                        (hide-all-but
                                                         1)
                                                        (("
2"
                                                          (expand
                                                   ?"
java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
                       (2"
                                                            (inst?)
                                                            nil
                                                            nil))
                                                          nil))
                                                        nil))
nil))
                                                    nil)
                                                   ("
2"
                                                    (hide 2)
                                                    (("
2"
                                                      (hide -1 -2)
                                                      2"

                                                        (expand
                                                         "Rie_sum")
                                                        (("2"
               (
                                                          (("2"
                                                            (lemma
                                                             "sigma_sum[below(length(P!1) - 1)]")
                                                            (("1"
                                                              (inst?)
                                                              (("1"
(assert)
                                                                nil
                                                                java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
                                                              nil)
                                                             ("2"
                                                               )
                                                              (("2"
                                                               (
                                                                (("2"
                                                                  (assert)
                                                                  nil
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil)
                                     ("2" (assert) nil     (eq_partitionconst-ecl"partition(a, b) rs_partition nil)
                                    nil)
                                   ("
2" (assert) nil nil))
                                  )
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            mma  "
integral_restrict_eq)
          nil))
        nil))
      nil))
    nil)
      
    (integral_def formula-    
    (numfield nonempty-type-   (formal--java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 61
    (+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
    --decljava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 49
    (< const-decl "bool" reals nil)
    ?-eclb  nil
    (integral? const-decl "bool" rs_integral_def nil)
    (integral const-decl "{S: real | integral?(dnil  )
     rs_integral_def 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)
    (T_pred const-decl "
[real -> boolean]" rs_integral_prep nil)
    (T formal-nonempty-subtype-decl nil rs_integral_prep nil)
(application-judgement
     "
{z: posreal | z <= x AND z <= y}" real_defs nil)
- "
p | =AND< }  java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
    (<= const-decl "bool" reals nil)
    (AND const-decl "[bool, bool -> bool]" booleans nil)
    (partition type-eq-decl nil rs_partition nil)
            ("ljava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 36
    (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)
    (increasing? const-decl "
bool" sort_fseq "structures/")
    (restrict const-decl "
R" restrict nil)
    (- const-decl "
[numfield, numfield -> numfield]" number_fields nil)
    (fseq type-eq-decl nil fseqs "
structures/")
    (barray type-eq-decl nil fseqs "
structures/")
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (int_minus_int_is_int application-judgement "
int" integers nil)
(- "
"rs_integral_def nil)
    (xis? type-eq-decl nil rs_integral_def nil)
    (a!1 skolem-const-decl "
T" rs_integral_prep nil)
    (b!1 skolem-const-decl "
T" rs_integral_prep nil)
    (P!1 skolem-const(split -2)
     nil)
    (g!1 skolem-const-decl "
[T -> real]" rs_integral_prep nil)
    (f!1 skolem-const-decl "
[T -> real]" rs_integral_prep nil)
    ( -5)
     nil)
    (triangle formula-decl nil real_props nil)
    (real_lt_is_strict_total_order name-judgement
     "
(strict_total_order?[real])" real_props nil)
    (nnreal_plus_nnreal_is_nnreal application-judgement "
nnreal"
     
    (real_ge_is_total_order name-judgement "
(total_order?[real])"
     real_props nil)
    (real_le_is_total_order name-judgement "
(total_order?[real])"
     real_props nil)
    (h!1 skolem-const-decl "
[T -> real]" rs_integral_prep nil)
    (real_gt_is_strict_total_order name-judgement
     "
(strict_total_order?[real])" real_props nil)
    (posint_plus_nnint_is_posint application-judgement "
posint"
     integers nil)
    (T_low type-eq-decl nil sigma "
reals/")
    (T_high type-eq-decl nil sigma "
reals/")
    (OR const-decl "
[bool, bool -> bool]" booleans nil)
    (* const-decl "
[numfield, numfield -> numfield]" number_fields nil)
    (integer nonempty-type-from-decl nil integers nil)
    (IMPLIES const-decl "
[bool, bool -> bool]" booleans nil)
    (sigma_sum formula-decl nil sigma "
reals/")
    (real_times_real_is_real application-judgement "
real" reals nil)
    (Riemann_sum? const-decl "
bool" rs_integral_def 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)
    (/ const--decl "
boolean"notequal nil)
    (nznum nonempty-type-eq-decl nil number_fields nil)
    (/ const-decl "
[numfield, nznum -> numfield]" number_fields nil)
    (posreal_div_posreal_is_posreal application-judgement "
posreal"
     real_types nil)
    (real_minus_real_is_real application-judgement "
real" reals nil)
    (= const-decl "
[T, T -> boolean]" equalities nil)
    (NOT const-decl "
[bool -> bool]" booleans nil))
   nil))
 (integral?_sum 0
  (integral?_sum-1 nil 3278177576
   ("
" (skosimp*)
    (("
" (lemma "integral_sum")
      (("
" (inst?)
        (("
" (inst?)
          (("
")
            (("
" (lemma "integral_def")
              (("
" (inst - "a!1" "b!1" "f!1" "g!1" "v1!1")
                (("
" (assert)
                  ((nil)
                    (("
" (inst - "a!1" "b!1" "h!1" "g!1          nil
                      (("" (assert)
                        (("" (flatten)
                          (("
                            ( (nst- "
!1)
                              ((""
                                (assert)
                                ((""
                                  (flatten)
                                  (("" (assert) nil nil))
                                  
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          )
        nil))
      nil))
    nil)
   ((         ("
    (integral_def formula-decl nil rs_integral_def nil)
    (real_lt_is_strict_total_order name-judgement
     "
(strict_total_order?[real])" real_props nil)
    (real_plus_real_is_real application-judgement "
real" reals nil)
    (T formal-nonempty-subtype-decl nil rs_integral_prep nil)
    (T_pred const-decl "
[real -> boolean]" rs_integral_prep 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 java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 40
    (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))
 (integral?_sum_g 0
  (integral?_sum_g-1 nil 3489152310
   ("
" (skosimp*)
    (("
" (lemma "integral_sum_g")
      (("
" (inst?)
        (("
" (inst?)
          (("
" (inst - "f!1")
            (("
" (assert)
              (("
" (lemma "integral_def")
                (("
" (inst - "a!1" "b!1" "f!1" "g!1" "v1!1")
                  (("
" (assert)
                    (("
" (lemma "integral_def")
                      (("
" (inst - "a!1" "b!1" "f!1" "h!1" "v2!1")
                        (("
" (assert)
                          (("
" (flatten)
                            (("
" (assert)
                              (("
"
                                (replace -2)
                                (("
"
                                  (replace -4)
                                  (("
"
                                    (flatten)
                                    (("
" (assert) nil nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((integral_sum_g formula-decl nil rs_integral_prep nil)
    (real_plus_real_is_real application-judgement "
real" reals nil)
    (real_lt_is_strict_total_order name-judgement
     "
(strict_total_order?[real])" real_props nil)
    (integral_def formula-decl nil rs_integral_def nil)
    (T formal-nonempty-subtype-decl nil rs_integral_prep nil)
    (T_pred const-decl "
[real -> boolean]" rs_integral_prep 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))
 (integral_diff 0
  (integral_diff-1 nil 3253532115
   ("
" (skosimp*)
    (("
" (lemma "integral_sum")
      (("
" (inst -1 "a!1" "b!1" "f!1" "g!1" "-h!1")
        (("
" (assert)
          (("
" (split -1)
            (("
1" (flatten)
              (("
1" (assert)
                (("
1" (expand "-")
                  (("
1" (assert)
                    (("
1" (assert)
                      (("
1" (replace -2)
                        (("
1" (assert)
                          (("
1" (lemma "integral_scal")
                            (("
1" (inst?)
                              (("
1"
                                (assert)
                                (("
1"
                                  (flatten)
                                  (("
1"
                                    (case-replace
                                     "
(LAMBDA (x: T): -h!1(x)) = -1 * h!1")
                                    (("
1" (assert) nil nil)
                                     ("
2"
                                      (apply-extensionality 1 :hide? java.lang.StringIndexOutOfBoundsException: Range [0, 70) out of bounds for length 43
(1 (- f1 (1"

                                        (expand "*")
                                        (("2" (assert) nil nil))
        nil)
                                      nil))
                                    nil))
                                  nil))
                                nil))
nil)
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil)
             ("2" (hide 2)
              (("2" (lemma "integral_scal")
                (("2" (inst -1 "-1" "a!1" "b!1" "h!1" "g!1")
                 
                    (("2" (flatten)
                      (("2" (assert)
                        (("2" (case-replace "-h!1 = -1*h!1")
                          (("2" (apply-extensionality 1 :hide? t)
                            (("2" (expand "*")
                              (("2"
                                (assert)
                                (("2"
                                  (expand "-")
                                  (                                            ""( )
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil                                      nil)
                      nil))
                    nil))
                  nil))
                nil))
                            nil)
            nil))
          nil))
        nil))
      nil))
    nil)
  (-nilnil)
    (real_minus_real_is_real application-judgement "real" reals nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
-java.lang.StringIndexOutOfBoundsException: Range [47, 45) out of bounds for length 63
    (minus_odd_is_odd application-judgement "java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 31
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (= const-decl "
[T, T -> boolean]" equalities nil)
    (- const-decl "
[numfield -> numfield]" number_fields nil)
    (* const-decl "
[T -> real]" real_fun_ops "reals/")
    (real_times_real_is_real application-judgement "
real" reals nil)
    (integral_scal formula-decl nil rs_integral_prep nil)
    (real_plus_real_is_real application-judgement "
real" reals nil)
    (- const-decl "
[T -> real]" real_fun_ops "reals/")
    (T formal-nonempty-subtype-decl nil rs_integral_prep nil)
    (T_pred const-decl "
[real -> boolean]" rs_integral_prep 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)
n] 
     nil)
    (boolean nonempty-type-decl nil booleans nil)
    (number nonempty-type-decl nil numbers nil))
   nil))
 (integral_diff_g 0
  (integral_diff_g-1 nil 3489152523
   ("
" (skosimp*)
    (("
" (lemma "integral_sum_g")
      ("
 inst - "1 b! f1 "!""h!"
        (("
" (assert)
          (("
" (split -1)
            (("
1" (flatten)
              (("
1" (assert)
                (("
1"
                  (case "
(LAMBDA nil)
                  (("1" (assert)
                    (("1" (replace -1)
                      (("1" (lemma "integral_scal_g")
                        (("1" (inst - "-1" "a!1" "b!1" "f!1" "h!1")
                          (("1" (assert)
                            (("1" (flatten)
                (1"
                                (case "
-1*h!1 = -h!1")    integrable?  b" java.lang.StringIndexOutOfBoundsException: Range [55, 56) out of bounds for length 55
                                (("1" (assert) nil nil)
                                 ("2"
                                  (hide-all-but 1)
                                  (("2"
                    (*)
                                    (("2"
                                      (decompose-equality)
                                      (("2"
                                        (expand "-")
                                        (("2" (assert) 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)
             ("2" (lemma "integral_scal_g")
              (("2" (inst - "-1" "a!1" "b!1" "f!1" "h!1")
                (("2" (assert)
                  (("2" (flatten)
(2"( "1*!  h"
                      (("
1" (assert) nil nil)
                       ("
2" (hide-all-but 1)
                        (("
2" (decompose-equality)
                          (("
2" (grind) nil nil)) nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((integral_sum_g formula-decl nil rs_integral_prep nil)
    (real_minus_real_is_real application-judgement "
real" reals nil)
    (real_lt_is_strict_total_order name-judgement
     "
(java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 18
    (- const-decl                 "!"
    (+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(  [T T- boolean"equalities nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (minus_odd_is_odd application-judgement "
odd_int" integers nil)
    (- const-decl "
[numfield -> numfield]" number_fields nil)
    (* const-decl "
[numfield,                    (" assert)
    (minus_real_is_real application-judgement "
real" reals nil)
    (real_times_real_is_real application-judgement "
real" reals nil)
    (* const-decl "
[T -> real]" real_fun_ops "reals/")
    (integral_scal_g formula-decl nil rs_integral_prep nil)
(real_plus_real_is_real application-udgement "
real" reals nil)
    (- const-decl "
[T -> real]" real_fun_ops "reals/")
    (T formal-nonempty-subtype-decl nil java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 35
    (T_pred const-decl "
[real -> boolean]" rs_integral_prep 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))
 (integral_ge_0 0
  (integral_ge_0-1 nil 3253532115
   ("
" (skosimp*)
    (("
" (typepred "integral(a!1, b!1,g!1, f!1)")
      (("
" (expand "integral?")
        (("
"
          (case "
FORALL (eps: posreal): integral(a!1, b!1, g!1, f!1) >= -eps")
          (("
1" (hide -2 -3 -5)
            (("
1" (inst -1 "-integral(a!1, b!1, g!1, f!1)/2")
              (("
1" (assert) nil nil)
               ("
2" (prop)
("
()java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 69
              nil))
            nil)
           ("2" (skosimp*)
            (("2" (assert)
              (("2" (inst -1 "eps!1")
                (("2" (skosimp*)
java.lang.StringIndexOutOfBoundsException: Range [30, 18) out of bounds for length 53
                    (("2" (inst -1 "(b!1-a!1)/delta!1+2")
                      (("2" (skosimp*)
                        ((" nil)
                          (("
2" (inst - "eq_partition(a!1,b!1,NM)")
                            (("
1" (split -3)
                     "
"inst2"! const_fun1"java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
                                (inst
                                 -
                                 "
Rie_sum(a!1, b!1, g!1, eq_partition(a!1, b!1, NM), gen_xis(a!1, b!1, eq_partition(a!1, b!1, NM)), f!1)")
                                (("
1"
                                  (name-replace
                                   "
II"
                                   "
integral(a!1, b!1, g!1, f!1)")
                                  (("
1"
                                    (case
                                     "
Rie_sum(a!1, b!1, g!1, eq_partition(a!1, b!1, NM), gen_xis(a!1,b!1,eq_partition(a!1, b!1, NM)), f!1) >= 0")
                                    (("
1"
                                      (expand "
abs")
                                      (("
1"
                                        (lift-if)
                                        (("
1" (ground) nil nil))
                                        nil))
                                      nil)
                                     ("
2"
                                      nil)
                                     "
"
                                        (name
                                         "
NN"
                                         "
eq_partition(a!1, b!1, NM)")
                                        (("
2"
     nil)
                                          (("
2"
                                            (expand "
Rie_sum")
                                            (("
2"
                                              (lemma
                                               "
sigma_nonneg[below(length(NN) - 1)]")
                                              (("
1"
                                                (assert)
                                                (("
1"
                                                  (inst?)
                             "
"
                                                    (assert)
                                                    (("
1"
                                                      case"
(a1 1 java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 78
                                                      (("1"
                                                        (skosimp*)                (2 lemma"
                                                        (("
1"
                                                          (factor  java.lang.StringIndexOutOfBoundsException: Range [70, 71) out of bounds for length 70
                                                          (("
1"
                                                            (inst?)
                                                            (("
1"
                                                              (case
                                                               "
g!1(NN`seq(1 + i!2)) - g!1(NN`seq(i!2)) >= 0")
                                                              (("
1"
                                                                (mult-by
                                                                 -1
                                                                 "
f!1(gen_xis(a!1, b!1, NN)`seq(i!2))")
                                                                      nil)
                                                                  (assert)
                                                                  (( formula- nilrs_integral_prepjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
                                                                  nil))
                                                                nil)
                                                              "

                                                            (java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
2)
                                                                )
                                                                      (ntegral decl "bool" rs_integral_def)
                                                                   "NN")
                                                     (2
                                                                    java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
                                                                     -
                                                                     "i!2")
                                                                    (("2"
                                                                      (assert)
                                                                      (("2"
                                                                        (expand
                                                                         "increasing?")
                                                                        (("2"
                                                                          (assert)
                                                                          (("2"
                                                                            (inst
                                                                             -9
                                                                             "seq(NN)(i!2)"
                                                                             "seq(NN)(1+i!2)")
                                                                            (("2"
                                                                              (assert)
                                                                              (("2   " 
                                                                                )
                                                                                (("2"
                                                                                  (assert)
                                                                                  nil
                                                                                  nil))
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil)
                                                             ("2"
                                                              (assert)
                                                              (("2"
                                                                (hide
                                                                 2)
                                                                (("2"
                                                                  (typepred
                                                                   "gen_xis(a!1, b!1, NN)")
                                                                  (("2"
                                                                    (inst
                                                                     -
                                                                     "i!2")
                                                                    (("2"
                                                                      (flatten)
                                                                      (("2"
                                                                        (typepred
                                                                         "NN")
                                                                        (("2"
                                                                          (inst-cp
                                                                           -
                                                                           "i!2")
                                                                          (("2"
                                                                            (inst
                                                                             -
                                                                             "i!2+1")
                                                                            (("2"
                                                                              (ground)
                                                                              nil
                                                                              nil))
                                                                            nil))
                                                                          java.lang.StringIndexOutOfBoundsException: Range [0, 77) out of bounds for length 45
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil)
                                                 ("2"
                                                  (assert)
                                                  nil
                                                  nil))
                                                nil)
                                               ("2"
                                                (hide 2)
                                                (("2"
                                                  (skosimp*)
                                                  (("2"
                                                    (assert)
                                                    nil
                                                    nil))
                                                  nil))
                                                nil))
java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
                                            nil))
                                          nil))
niljava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
                                      nil))
                                    nil))
                                  nil)
                                 ("2"
                                  (lemma "Riemann?_Rie")
                                  ((2
                                    (inst -1 "a!1" "b!1" "f!1" "g!1")
                                    (("2"
                                      (split -)
                                      (("1" (inst?) nil nil)
                                       ("2" (propax) nil nil))
                                      nil))
                                    nil))
                                  nil)
                                 ("3"
                                  (expand "max" -1)
                                  (("3"
                                    (lift-if)
                                    (("3" (ground) nil nil))
                                    nil))
                                  nil))
                                nil)
                               ("2"
                                (rewrite "width_eq_part")
                                (("2"
                                  (hide -3 -4 -5 2 3)
                                  (("2"
                                    (name-replace ba "b!1-a!1")
                                    (("2"
                                      (move-terms -2 l 2)
                                     2
                                        (case "ba / delta!1 < i!1 - 1")
                                        (("1"
                                          (hide -3)
                                          (("1"
                                            (mult-by -1 "delta!1")
                                            (("1"
                                              (mult                                                                nil))
                                              (("1"
                                                ( nil)java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
                                                (("1"
                                                  (lift-if)
                                                  (("1"
                                                    (ground)
                                                    (("1"
                                                      (replace -2 * rl)
                                                      (("1"
                                                        (hide -2)
                                                        (("1"
                                                          (assert)
                                                          (("1"
                                                            (typepred
                                                             " (("2"
                                                            (("1"
                                                              (factor
                                                               -3
                                                               r)
                                                              (("1"
                                                                (case (inst
                                                                 "i!1-1 < 1
                                                                (("1"
                                                                  (mult-by
                                                                   -1
                                                                   "delta!1")
                                                                  (("1"
                                                                    (assert)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("2"
                                                                  (assert)
                                                                  nil
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil)
                                         ("2" (assert) nil nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("2" (assert) nil nil))
                            nil))
                          nil                                                      (hideallbut )
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((integral const-decl "{S: real | integral?(a, b, gg, ff, S)}"
     rs_integral_def nil)
    (integrable? const-decl "bool" rs_integral_def nil)
    (integral? const-decl "bool" rs_integral_def nil)
    (< const
                                                nil)
    (T_pred const-decl "[rea 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)
    (number nonempty-type-decl nil numbers nil) nil))
    (NOT const-decl "[bool -> bool]" booleans nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (boolean nonempty-type-decl nil booleans nil)
    (- const-decl "[numfield -> numfield]" number_fields nil)
    (numfield nonempty-type-eq-decl nil number_fields 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)
    (>= const-decl "bool" reals nil)
    (minus_nzreal_is_nzreal application-judgement "nzreal" real_types
     nil)
    (real_gt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (minus_real_is_real application-judgement "real" reals nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (real_div_nzreal_is_real application-judgement "real" reals nil)
    (AND const-decl "[bool, bool -> bool]" booleans nil)
    (/= const-decl "boolean" notequal nil)
    (nznum nonempty-type-eq-decl nil number_fields nil)
    (/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
    ((integral? const-decl ""java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 53
    (b!1 skolem-const-decl "T" rs_integral_prep nil)
    (!1skolem-const-ecl[ - l rs_integral_prep nil)
    (f!1 skolem-const-decl "[T -> real]" rs_integral_prep nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (real_plus_real_is_real application-judgement "real" reals nil)
    (- const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
    int_maxapplication-judgement "{k: int | i <= k AND j <= k}"
     real_defs nil)
    (rat_max application-judgement "{s: rat | s >= q AND s >= r}"
     real_defs nil)
    (= const-decl "[T, T -> boolean]" equalities nil)
    (max const-decl "{p: real | p >= m AND p >= n}" real_defs 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)
    (Riemann?_Rie formula-decl nil rs_integral_def nil)
    (minus_odd_is_odd application-judgement "odd_int" integers nil)
    (sigma_nonneg formula-decl nil sigma "reals/")
    (IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
    (integer nonempty-type-from-decl nil integers nil)
    (posint_plus_nnint_is_posint application-judgement "posint"
     integers nil)
    (T_low type-eq-decl nil sigma "reals/")
    (T_high type-eq-decl nil sigma "reals/")
    (OR const-decl "[bool, bool -> bool]" booleans nil)
    (* const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (nnint_plus_posint_is_posint application-judgement "posint"
     integers nil)
    (both_sides_times_pos_ge1_imp formula-decl nil extra_real_props
     nil)
    (increasing? const-decl "bool" real_fun_preds "reals/")
    (closed_interval type-eq-decl nil intervals_real "reals/")
    (i!2 skolem-const-decl "below(length(NN) - 1)" rs_integral_prep
     nil)
    (NN skolem-const-decl "partition[T](a!1, b!1)" rs_integral_prep
     nil)
    (int_minus_int_is_int application-judgement "int" integers nil)
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (real_times_real_is_real application-judgement "real" reals nil)
    (abs const-decl "{n: nonneg_real | n >= m AND n >= -m}" real_defs
         nil)
    (gen_xis const-decl "xis?(a, b, P)" rs_integral_def nil)
    (Rie_sum const-decl "real" rs_integral_def nil)
    (xis? type-eq-decl nil rs_integral_def nil)
    (Riemann_sum? const-decl "bool" rs_integral_def nil)
    (IFF const-decl "[bool, bool -> bool]" booleans nil)
    (posreal_times_posreal_is_posreal application-judgement "posreal"
     real_types nil)
    (nonzero_real nonempty-type-eq-decl nil reals nil)
    (div_cancel2 formula-decl nil real_props nil)
    (both_sides_times_pos_lt1 formula-decl nil real_props nil)
    (width_eq_part formula-decl nil rs_partition nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (barray type-eq-decl nil fseqs "structures/")
    (fseq type-eq-decl nil fseqs "structures/")
    (restrict const-decl "R" restrict nil)
    (increasing? const-decl "bool" sort_fseq "structures/")
    (below type-eq-decl nil naturalnumbers nil)
    (partition type-eq-decl nil rs_partition nil)
    (above nonempty-type-eq-decl nil integers nil)
    (eq_partition const-decl "partition(a, b)" rs_partition nil)
    (NM skolem-const-decl "{k: int | i!1 <= k AND 2 <= k}"
     rs_integral_prep nil)
    (i!1 skolem-const-decl "int" rs_integral_prep nil)
    (axiom_of_archimedes formula-decl nil real_props nil)
    (real_minus_real_is_real application-judgement "real" reals nil))
   nil))
 (integral_restr_eq 0
  (integral_restr_eq-1 nil 3281700217
   ("" (skosimp*)

    (("" (lemma "integral_restrict_eq")
      (("" (inst?) (("" (assert) (("" (ground) nil nil)) nil)) nil))
      nil))
    nil)
   ((T formal-nonempty-subtype-decl nil rs_integral_prep nil)
    (T_pred const-decl "[real -> boolean]" rs_integral_prep 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)
    (integral_restrict_eq formula-decl nil rs_integral_def nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil))
   nil))
 (integral_bound_above 0
  (integral_bound_above-2 nil 3494858073
   ("" (skosimp*)
    (("" (lemma "integral_const_fun")
      (("" (inst -1 "_" "a!1" "b!1" "g!1")
        (("" (lemma "integral_diff")
          (("" (inst -1 "a!1" "b!1" "_" "g!1" "_")
            (("" (lemma "integral_ge_0")
              ((""
                (inst -1 "a!1" "b!1" "(LAMBDA (t:T): M!1 - f!1(t))"
                 "g!1")
                (("" (assert)
                  ((""
                    (case "integrable?(a!1, b!1, g!1,(LAMBDA (t: T): M!1 - f!1(t)))")
                    (("1" (assert)
                      (("1" (inst -4 "M!1")
                        (("1" (flatten)
                          (("1" (expand "const_fun")
                            (("1"
                              (inst -3 "(LAMBDA (x: T): M!1)" "f!1")
                              (("1"
                                (assert)
                                (("1"
                                  (split -2)
                                  (("1"
                                    (replace -5)
                                    (("1"
                                      (hide -5)
                                      (("1"
                                        (replace -3)
                                        (("1"
                                          (hide -3)
                                          (("1" (assert) nil nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil)
                                   ("2"
                                    (hide -1 -2 -3 -4 -6 2)
                                    (("2"
                                      (skosimp*)
                                      (("2"
                                        (inst?)
                                        (("2" (assert) nil nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil)
                     ("2" (inst -2 "(LAMBDA (x: T): M!1)" "f!1")
                      (("2" (assert)
                        (("2" (inst -2 "M!1")
                          (("2" (flatten)
                            (("2" (assert)
                              (("2"
                                (expand "const_fun")
                                (("2" (propax) nil nil))
                                nil))
                              nil))
                            nil))
                          nil)
                        nil))
                     java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
                    nil))
                  java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((integral_const_fun formula-decl partition type-eq-decl nil rs_partition
    (integral_diff formula-decl nil rs_integral_prep nil)
    (integral_ge_0 formula-decl nil rs_integral_prep nil)
    (real_times_real_is_real application-judgement "real" reals nil)
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (const_fun_continuous application-judgement "continuous_fun"
     continuous_functions nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (minus_odd_is_odd application-judgement "odd_int" integers nil)
    (AND const-decl "[bool, bool -> bool]" booleans nil)
    (<= 
rvals_real)
    (const_fun const-decl "[T -> real]" real_fun_ops "reals/")
    (integrable? const-decl "bool" rs_integral_def nil)
    (< constnumber nonempty-typedecl nil numbers nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (- const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (real_minus_real_is_real application-judgement "real" reals nil)
    (T formal-nonempty-subtype-decl nil rs_integral_prep nil)
    (T_pred const-decl "[real -> boolean]" rs_integral_prep 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)
  (integral_bound_above-1 nil 3489155712
   ("" (skosimp*)
    (("" (lemma "integral_const_fun")
      (("" (inst -1 "_" "a!1" "b!1" "g!1")
        (("" (lemma "integral_diff")
          (("" (inst -1 "a!1" "b!1" "_" "g!1" "_")
            (("" (lemma "integral_ge_0")
              ((""
                (inst -1 "a!1" "b!1" "(LAMBDA (t:real): M!1 - f!1(t))"
                 "g!1")
                (("" (assert)
                  ((""
                    (case "integrable?(a!1, b!1, g!1,(LAMBDA (t: real): M!1 - f!1(t)))")
                    (("1" (assert)
                      (("1" (inst -4 "M!1")
                        (("1" (flatten)
                          (("1" (expand                                     "S!1-R2 R11-S)- R2 S!1)")
                            (("1"
                              (inst -3 "(LAMBDA (x: real): M!1)" "f!1")
                              (("1"
                                (assert)
                                (("1"
                                  (split -2)
                                  (("1"
                                    (replace -5)
                                    (("1"
                                      (hide -5)
                                      (("1"
                                        "abs(RS1!1 !1 b(S1 S11"
                                        (("1"
                                          (hide -3)
                                          (("1" (assert) nil nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil)
                                   ("2"
                                    (hide -1 -2 -3 -4 -6 2)
                                    (("2"
                                      (skosimp*)
                                      (("2"
                                        (inst?)
                                        (("2" (assert) nil nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
                        nil))
                      nil)
                     ("2" (inst -2 "(LAMBDA (x: real): M!1)" "f!1")
                      ( (assert)
                        (("2" (inst -2 "M!1")
                          (("2" (flatten)
                            (("2" (assert)
                              (("2"
                                (expand "const_fun")
                                (("2" (propax) nil nil))
                                )
                              )
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((const_fun_continuous application-judgement "continuous_fun"
     continuous_functions nil)
    (closed_interval type-eq-decl nil intervals_real "reals/")
    (const_fun const-decl "[T -> real]" real_fun_ops "reals/"))
   nil))
 (integral_bound_below 
  java.lang.StringIndexOutOfBoundsException: Range [28, 23) out of bounds for length 40
   ("" (skosimp*)
    (("" (lemma "integral_const_fun")
      (("" (inst -1 "_" "a!1" "b!1" "g!1")
        (("" (lemma "integral_diff")
          (("" (inst -1 "a!1" "b!1" "_" "g!1" "_")
            (("" (lemma "i (("" n
              ((""
                (inst -1 "a!1" "b!1" "(LAMBDA (t:T): f!1(t) - m!1)"
                 "g!1")
                (("" (assert)
                  ((""
                    (case "integrable?(a!1, b!1, g!1,(LAMBDA (t: T): f!1(t) - m!1))")
                    (("1" (assert)
                      (("1" (inst -4 "m!1")
                        (("1" (flatten)
                          (("1" (inst -3 "f!1" "const_fun(m!1)")
                            (("1" (assert)
                              (("1"
                                (expand "const_fun")
                                (("1"
                                  (replace -5)
                                  (("1"
                                    (hide -5)
                                    (("1"
                                      (split -2)
                                      (("1" (assert) nil nil)
                                       ("2"
                                        (hide -1 -2 -3 -5 2)
                                        (("2"
                                          (skosimp*)
                                          (("2"
                                            (inst?)
                                            (("2" (assert) nil nil))
                                            nil (inst
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil)
                     ("2" (inst -2 "f!1" "const_fun(m!1)")
                      (("2" (assert)
                        (("2" (inst -3 "m!1")
                          (("2" (expand-8
                            (("2" (assert) nil nil)) nil))
                          nil))
                        nil))
                      nil))
                    nil))
nil)
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
p nil)
    (integral_diff formula-decl nil rs_integral_prep nil)
    (integral_ge_0 formula-decl nil rs_integral_prep nil)
    (real_times_real_is_real application-judgement "real" reals nil)
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)

     continuous_functions nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (AND const-decl "[bool, bool -> bool]" booleans nil)
    (<= const-decl "bool" reals nil)
    (closed_interval type-eq-decl nil intervals_real "reals/")
    (const_fun const-decl "[T -> real]"                                                               -13
    (integrable? const-decl "bool" rs_integral_def nil)
    (< const-decl "bool" reals nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (- const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (real_minus_real_is_real application-judgement "real" reals nil)
    (T formal-nonempty-subtype-decl nil rs_integral_prep nil)
    (T_pred const-decl "[real -> boolean]" rs_integral_prep 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)
  (integral_bound_below-1 nil 3489155718
   ("" (skosimp*)
    (("" (lemma "integral_const_fun")
      (("" (inst -1 "_" "a!1" "b!1" "g!1")
        (("" (lemma "integral_diff")
          (("" (inst -1 "a!1" "b!1" "_" "g!1" "_")
            (("" (lemma "integral_ge_0")
              ((""
                (inst -1 "a!1" "b!1" "(LAMBDA (t:real): f!1(t                                                                      ""
                 "g!1")
                (("" (java.lang.StringIndexOutOfBoundsException: Range [104, 28) out of bounds for length 107
                  ((""
                    (case "integrable?(a!1, b!1, g!1,(LAMBDA (t: real): f!1(t) - m!1))")
                    (("1" (assert)
                      (("1" (inst -4 "m!1")
                        (("1" (flatten)
                          (("1" (inst -3 "f!1" "const_fun(m!1)")
                            (("1" (assert)
                              (("1"
                                (expand "const_fun")
                                (("1"
                                  (replace -5)
                                  (("1"
                                    (hide -5)
                                    "
                                      (split -2)
                                      (("1" (assert) nil nil)
                                       ("2"
                                        (hide -1 -2 -3 -5 2)
                                        (("2"
                                          (assert)
                                          (("2"
                                            (inst?)
                                            (("2" (assert) nil nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil)                                                                                           
                              nil))
                            nil))
                          nil))
                        nil))
                      nil)
                     ("2" (inst -2 "f!1" "const_fun(m!1)")
                      (("2" (assert)
                        (("2" (inst -3 "m!1")
                          (("2" (expand "const_fun")
                            (("2" (assert) nil nil)) nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((const_fun_continuous application-judgement "continuous_fun"
     continuous_functions nil)
    (closed_interval type-eq-decl nil intervals_real "reals/")
    (const_fun const-decl "[T -> real]" real_fun_ops "reals/"))
   nil))
 (integral_le 0
  (integral_le-1 nil 3297781017
   ("" (skosimp*)
    (("" (lemma "integral_diff")
      (("" (inst - "a!1" "b!1" "h!1" "g!1" "f!1")
        (("" (assert)
          (("" (flatten)
            ((""
              (case "integral(a!1, b!1, g!1, LAMBDA x: h!1(x) - f!1(x)) >= 0")
              (("1" (assert) nil nil)
               ("2" (hide 2)
                (("2" (lemma "integral_bound_below")
                  (("2"
                    (inst - "a!1" "b!1" "LAMBDA x: h!1(x) - f!1(x)"
                     "g!1" "0")
                    (("2" (assert) nil nil)) nil))
                  nil))
                nil)
               ("3" (propax) nil nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((integral_diff formula-decl nil rs_integral_prep nil)
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (- const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (integral const-decl "{S: real | integral?(a, b, gg, ff, S)}"
     rs_integral_def nil)
    (integral? const-decl "bool" rs_integral_def nil)
    (integrable? const-decl "bool" rs_integral_def nil)
    (< const-decl "bool" reals nil) (>= const-decl "bool" reals nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (real_minus_real_is_real application-judgement "real" reals nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (integral_bound_below formula-decl nil rs_integral_prep nil)
    (T formal-nonempty-subtype-decl nil rs_integral_prep nil)
    (T_pred const-decl "[real -> boolean]" rs_integral_prep 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))
 (Lemma_1 0
  (Lemma_1-2 nil 3282496507
   ("" (skosimp*)
    (("" (expand "integrable?")
      (("" (skosimp*)
        (("" (expand "integral?")
          (("" (inst - "eps!1/2")
            (("" (skosimp*)
              (("" (inst + "delta!1")
                (("" (skosimp*)
                  (("" (copy -2)
                    (("" (inst - "P1!1")
                      (("" (inst - "P2!1")
                        (("" (assert)
                          (("" (flatten)
                            (("" (assert)
                              ((""
                                (name
                                 "R1"
                                  nil))
                                "
                                  (replace -1)
                                  ((""
                                    (name
                                     "R2"
                                     "Rie_sum(a!1, b!1, g!1,P2!1, xis2!1, f!1)")
                                    ((""
                                      (replace -1)
                                      ((""
                                         nil)
                                         "R1 - R2 = (R1 - S!1) - (R2 - S!1)")
                                        (("1"
                                          (lemma "triangle")
                                          (("1"
                                            (inst
                                             -
                                             "R1-S!1"
                                             "-(R2 - S!1)")
                                            (("1"
                                              (assert)
                                              (("1"
                                                (assert)
                                                (("1"
                                                  (case-replace
                                                   "abs(S!1 - R2) = abs(R2 - S!1)")
                                                  (("1"
                                                    (case-replace
                                                     "abs(S!1 - R1) = abs(R1 - S!1)")
                                                    (("1"
                                                      (assert)
                                                      (("1"
                                                        (inst - "R1")
                                                        (("1"
                                                          (inst - "R2")
                                                          (("1"
                                                            (assert)
                                                            nil
                                                            nil)
                                                           ("2"
                                                            (lemma
                                                             "Riemann?_Rie")
                                                            (("2"
                                                              (inst
                                                               -
                                                               "a!1"
                                                               
                                                               "f!1"
                                                               "g!1")
                                                              (("2"
                                                                (split
                                                                 -1)
                                                                (("1"
                                                                  (inst
                                                                   -
                                                                   "P2!1"
                                                                   "xis2!1")
                                                                  (("1"
                                                                    (assert)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("2"
                                                                  (propax)
                                                                  nil
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil)
                                                         ("2"
                                                          (lemma
                                                           "Riemann?_Rie")
                                                          (("2"
                                                            (inst
                                                             -
                                                             "a!1"
                                                             "b!1"
                                                             "f!1"
                                                             "g!1")
                                                            (("2"
                                                              (split
                                                               -1)
                                                              (("1"
                                                                (inst
                                                                 -

                                                                 "xis1!1")
                                                                (("1"
                                                                  (assert)
                                                                  nil
                                                                  nil))
                                                                nil)
                                                               ("2"
                                                                (propax)
                                                                nil
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil)
                                                     ("2"
                                                      (hide-all-but 1)
                                                      (("2"
                                                        (grind)
                                                        nil
                                                        nil))
                                                      nil))
                                                    nil)
                                                   ("2"
                                                    (hide-all-but 1)
                                                    (("2"
                                                      (grind)
                                                      nil
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil) m*
                                         ("2" (assert) nil nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((integrable? const-decl "bool" rs_integral_def nil)
    (real_minus_real_is_real application-judgement "real" reals nil)
    (integral? const-decl "bool" rs_integral_def nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (T_pred const-decl "[real -> boolean]" rs_integral_prep nil)
    (T formal-nonempty-subtype-decl nil rs_integral_prep nil)
    (barray type-eq-decl nil fseqs "structures/" ("1"
    (fseq type-eq-decl nil fseqs "structures/")
    (AND const-decl "[bool, bool -> bool]" booleans nil)
    (= const-decl "[T, T -> boolean]" equalities nil)
    (- const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (restrict const-decl "R" restrict nil)
    (<= const-decl "bool" reals nil)
    (increasing? const-decl "bool" sort_fseq "structures/")
    (rational_pred const-decl "[real -> bool ist)
    (rational nonempty-type-from-decl nil rationals nil)
    (integer_pred const-decl "[rational -> boolean]" integers nil)
    (("1"
    ( (replace
    (below type-eq-decl nil naturalnumbers nil)
    (partition type-eq-decl nil rs_partition nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (minus_odd_is_odd application-judgement "odd_int" integers nil)
    (triangle formula-decl nil real_props nil)
    (nnreal_plus_nnreal_is_nnreal application-judgement "nnreal"
     real_types nil)
    (rea (("1"
     real_props nil)
    (abs const-decl "{n: nonneg_real | n >= m AND n >= -m}" real_defs
         nil)
    (P2!1 skolem-const-dec (expand
     nil)
    (R2 skolem-const-decl "real" rs_integral_prep nil)
    (Riemann?_Rie formula-decl nil rs_integral_def nil)
    (R1 skolem-const-decl "real" rs_integral_prep nil)
    (f!1 skolem-const-decl "[T -> real]" rs_integral_prep nil)
    (g!1 skolem-const-decl "[T -> real]" rs_integral_prep nil)
    (P1!1 skolem-const-decl "partition[T](a!1, b!1)" rs_integral_prep
     nil)
    (b!1 skolem-const-decl "T" rs_integral_prep nil)
    (a!1 skolem-const-decl "T" rs_integral_prep nil)
    (Riemann_sum? const-decl "bool" rs_integral_def nil)
    (- const-decl "[numfield -> numfield]" number_fields nil)
    (minus_real_is_real application-judgement "real" reals nil)
    (real_plus_real_is_real application-judgement "real" reals nil)
    (Rie_sum const-decl "real" rs_integral_def nil)
    (xis? type-eq-decl nil rs_integral_def 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)
    (numfield nonempty-type-eq-decl nil number_fields 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)
    (>= 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)
    (posreal_div_posreal_is_posreal application-judgement "posreal"
     real_types nil))
   nil)
  (Lemma_1-1 nil 3282496495 ("" (postpone) nil nil) nil shostak))
 (integrable_lem 0
  (integrable_lem-3 "DEbugging PVS 3.2" 3495206489
   ("" (auto-rewrite + "member")
    (("" (skosimp*)
      (("" (prop)
        (("1" (skosimp*)
          ("1"(xad"itgrbe"
            (("1" (skosimp*)
              (("1" (expand "integral?")
                (("1" (inst -1 "epsi!1/2")
                  (("1" (skosimp*)
                    (("1" (inst + "delta!1")
                      (("1" (skosimp*)
                        (("1" (inst-cp -1 "P1!1")
                          (("1" (inst -1 "P2!1")
                            (("1" (assert)
                              (("1"
                                (inst -1 "RS2!1")
                                (("1"
                                  (inst -2 "RS1!1")
                                  (("1"
                                    (case-replace
                                     "RS1!1 - RS2!1 = (RS1!1 - S!1) - (RS2!1 - S!1)")
                                    (("1"
                                      (lemma "triangle")
                                      (("1"
                                        (inst
                                         -1
                                         "RS1!1-S!1"
                                         "-(RS2!1-S!1)")
                                        (("1"
                                          (case-replace
                                           "abs(-(RS2!1 - S!1)) = abs(S!1 - RS2!1)")
                                          (("1"
                                            (case-replace
                                             "abs(RS1!1 - S!1) = abs(S!1 - RS1!1)")
                                            (("1" (assert) nil nil)
                                             ("2"
                                              (hide-all-but 1)
                                              (("2"
                                                (expand "abs")
                                                (("2"
                                                  (lift-if)
                                                  (("2"
                                                    (lift-if)
                                                    (("2"
                                                      (lift-if)
                                                      (("2"
                                                        (ground)
                                                        nil
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil)
                                           ("2"
                                            (hide-all-but 1)
                                            (("2"
                                              (expand "abs")
                                              (("2"
                                                
                                                (("2"
                                                  (lift-if)
                                                  (("2"
                                                    
                                                    (("2"
                                                      (ground)
                                                      nil
                                                      nil))
                                                    nil))
                                                  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)
         ("2"
          (case " FORALL (n: nat): nonempty?({S: real | EXISTS (P: partition(a!1, b!1),xis:xis?(a!1,b!1,P)): width(a!1, b!1, P) < 1 / (1 l
          (("1"
            (name "SS"
                  "(LAMBDA (n: nat): choose({S:real| EXISTS (P: partition(a!1,b!1),
                                                                                                                                                                xis: xis?(a!1, b!1, P)):
                                                                                                                             width(a!1,b!1,P) < 1/(n+1) AND
                                                                                                                                    S = Rie_sum(a!1, b!1, g!1,P, xis, f!1)}) )")
            (("1" (case "cauchy(SS)")
              (("1" (lemma "convergence_cauchy2")
                (("1" (inst?)
                  (("1" (assert)
                    (("1" (expand "convergent?")
                      (("1" (skosimp*)
                        (("1" (expand "integrable?")
                          (("1" (inst + "l!1")
                            (("1" (expand "integral?")
                              (("1"
                                (skosimp*)
                                (("1"
                                  (inst -5 "epsi!1/2")
                                  (("1"
                                    (skosimp*)
                                    (("1"
                                      (inst + "delta!1")
                                      (("1"
                                        (skosimp*)
                                        (("1"
                                          (typepred "R!1")
                                          (("1"
                                            (expand "Riemann_sum?")
                                            (("1"
                                              (skosimp*)
                                              (("1"
                                                (replace -1)
                                                (("1"
                                                  (hide -1)
                                                  (("1"
                                                    (expand
                                                    "
                                                    (("1"
                                                      (inst
                                                       -
                                                       "epsi!1/2")
                                                      (("1"
                                                        (skosimp*)
                                                        (("1"
                                                          (name
                                                           "NN"
                                                           "choose({nn: nat | nn > n!1 AND nn > 1/delta!1})")
                                                          (("1"
                                                          st
                                                             -
                                                             "NN")
                                                            (("1"
                                                              (assert)
                                                              (("1"
                                                                (typepred
                                                                 "choose({S: real | EXISTS (P: partition(a!1, b!1),
                                                                                                                                                       xis: xis?(a!1, b!1, P)):
                                                                                                                                                  width(a!1, b!1, P) < 1 / (NN+1) AND S = Rie_sum(a!1, b!1, g!1,P, xis, f!1)})")
                                                                (("1"
                                                                  (skosimp*)
                                                                  (("1"
                                                                    (inst
                                                                     -8
                                                                     "P!1"
                                                                     "P!2")
                                                                    (("1"
                                                                      (assert)
                                                                      (("1"
                                                                        (case
                                                                         "width(a!1, b!1, P!2) < delta!1")
                                                                        (("1"
                                                                          (assert)
                                                                          (("1"
                                                                            (name
                                                                             )
                                                                             "Rie_sum(a!1, b!1,g!1, P!1, xis!1, f!1)")
                                                                            (("1"
                                                                              (replace
                                                                               -1)
                                                                              (("1"
                                                                                (case-replace
                                                                                 "abs(l!1 - ST) = abs(ST - l!1)")
                                                                                (("1"
                                                                                  (case-replace
                                                                                   "ST- l!1 = (ST - SS(NN)) + (SS(NN) - l!1)")
                                                                                  (("1"
                                                                                    (lemma
                                                                                     "triangle")
                                                                                    (("1"
                                                                                      (inst
                                                                                       -
                                                                                       "ST- SS(NN)"
                                                                                       
                                                                                      neBM"1!"
                                                                                        (inst
                                                                                         -13
                                                                                         "ST"
                                                                                         "SS(NN)")
                                                                                        (("1"
                                                                                          (assert)
                                                                                          nil
                                                                                          nil)
                                                                                         ("2"
                                                                                          (hide
                                                                                           2)
                                                                                          (("2"
                                                                                            (case
                                                                                             "SS(NN) = Rie_sum(a!1, b!1, g!1,P!2, xis!2, f!1)")
                                                                                            (("1"
                                                                                              (replace
                                                                                               -1)
                                                                                              (("1"
                                                                                                (hide-all-but
                                                                                                 1)
                                                                                                (("1"
                                                                                                  (lemma
                                                                                                   
                                                                                                  "
java.lang.StringIndexOutOfBoundsException: Range [40, 38) out of bounds for length 41
                                                                                                     sh (("java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
                                                                                                     "a!1"
                                                                                                     java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
                                                                                                     "f!1"
                                                                                                     "g!1"    and:\ java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 96
                                                                                                    (("1"
                                                                                                      ("
                                                                                                       -1)
                                                                                                      (("1"
                                                                                                        (inst?)
                                                                                                        nil
                                                                                                        nil)
                                                                                                       ("2"
                                                                                                        (assert)
                                                                                                        
                                                                                                        nil))
                                                                                                      nil))
                                                                                                    nil))
                                                                                                  nil))
                                                                                                nil))
                                                                                              nil)
                                                                                             ("2"
                                                                                              (assert)
                                                                                              (("2"
                                                                                                (hide
                                                                                                 2)
                                                                                                (("2"
                                                                                                  (replace
                                                                                                   -11
                                                                                                   +
                                                                                                   rl)
                                                                                                  (("2"
                                                                                                    (assert)
                                                                                                    nil
                                                                                                    nil))
                                                                                                  nil))
                                                                                                nil))
                                                                                              nil))
                                                                                            nil))
                                                                                          )
                                                                                         ("3"
                                                                                          (hide
                                                                                           
                                                                                          (("3"
                                                                                            (replace
                            
                                                                                             +
                                                                                             rl)
                                                                                            (("3"
                                                                                              (hide-all-but
                                                                                               1)
                                                                                              (("3"
                                                                                                (lemma
                                                                                                 "Riemann?_Rie")
                                                                                                (("3"
                                                                                                  (inst
                                                                                                   -
                                                                                                   "a!1"
                                                                                                   "b!1"
                                                                                                   "f!1"
                                                                                                   "g!1")
                                                                                                  (("3"
                                                                                                    (split
                                                                                                     nil)
                                                                                                    
                                                                                                      (inst?)
                                                                                                      nil
                                                                                                      nil)
                                                                                                    2"
                                                                                                      (assert)
                                                                                                      nil
                                                                                                      nil))
                                                                                                    nil))
                                                                                                  nil))
                                                                                                nil))
                                                                                              nil))
                                                                                            nil))
                                                                                          nil))
                                                                                        nil))
                                                                                      nil))
                                                                                    nil)
                                                                                   ("2"
                                                                                    (assert)
                                                                                    nil
                                                                                    nil))
                                                                                  nil)
                                                                                 ("2"
                                                                                  (hide-all-but
                                                                                   1)
                                                                                  (("2"
                                                                                    (grind)
                                                                                    nil
                                                                                    nil))
                                                                                  nil))
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil)
                                                                         ("2"
                                                                          (assert)
                                                                          (("2"
                                                                            (hide
                                                                             2)
                                                                            (("2"
                                                                              (case
                                                                               "1 / (1 + NN) < delta!1")
                                                                              (("1"
                                                                                (assert)
                                                                                nil
                                                                                nil)
                                                                               ("2"
                                                                                (hide
                                                                                 2)
                                                                                (("2"
                                                                                  (cross-mult
                                                                                   1)
                                                                                  (("2"
                                                                                    (typepred
                                                                                     "NN")
                                                                                    (("2"
                                                                                      (cross-mult
                                                                                       -2)
                                                                                      nil
                                                                                      nil))
                                                                                    nil))
                                                                                  nil))
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil)
                                                                 ("2"
                                                                  (inst
                                                                   -5
                                                                   ""java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
                                                                  nil
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil)
                                                           ("2"
               (
                                                            (("2"
                                                              (hide-all-but
                                                               1)
                                                              ((2java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
                                                                (expand
                                                                 "nonempty?")
                                                                (("2"
                                                                  (expand
                                                                   "empty?")
                                                                  (("2"
                                                                    (expand
                                                                     "member")
                                                                    (("2"
                                                                      (lemma
                                                                       "axiom_of_archimedes")
                                                                      (("2"
                                                                        
                                                                         "n!1 > 1/delta!1")
                                                                        (("1"
                                                                          (inst
                                                                           -2
                                                                           "n!1")
    (member bool" java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
                                                                            (skosimp*)
                                                                            
java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 68
                                                                               -3
                                                                               "
i!1")
                                                                              (("
1"
                                                                                (assert)
                                                                                nil
                                                                                nil)
                                                                               nonzero_real -ype-q-declnil nil
                                                                                (assert)
                                                                                nil
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil)
                                                                         ("
2"
    posint nonempty-type-q- nil integers nil)
                                                                          (("
2"
                                                                            (inst
                                                                             -1
                                                                             "
1/delta!1")
                                                                            (("
2"
                                                                              (skosimp*)
                                                                              (("
2"
                                                                                (inst
                                                                                 -2
                                                                                 "
i!1")
                                                                                (("
1"
                                                                                  (assert)
                                                                                  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))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        )
                      )java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
                    )java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
                  ))
     )
               ("
2" (hide                (,,  (q)
("
"( "auchy
                   c "
                   (" -3 epsilon!"
                      (("2(ssumption  letrecT pairT splitT assms)+
"

                          (name   \lbrakk> xA yyB<xy,p,>:wf().(x):(x,y);
choose{ posnat| 1/n < delta1))
                          (("1" (inst + "NN")
                   " skosimp*java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
                              (("
1"
                                (typepred
                                 
                                                                                                                                                               
                                                                                                                                               width(a!java.lang.StringIndexOutOfBoundsException: Range [0, 152) out of bounds for length 9
                                                                                                                                        (RS1-RS2)<epsi))
                  (1"

                                  thm}
                                  (("1"
                          (typepred
                                     "choose({S: real |  EXISTS (P: partition(a!1, b!1),
                                                                                                                                     1,)java.lang.StringIndexOutOfBoundsException: Index 205 out of bounds for length 205
                                                                                                                                                   raw_step_tac (1"

                                                                                                                                            ,!,,xis, f!1)})")
                                    (("
1"
                                      (skosimp*)
                                      (("
1"
                                        (assert)
                                        (("
1"
                                     -"
1 P)
                                          (("1"
                                            (split -10)
                                            (("1"
                     (
                                              (("1"
                                              h -- -)
                                                java.lang.StringIndexOutOfBoundsException: Range [53, 54) out of bounds for length 53
                                                 java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
                                                  (("1"
                                                    (hide 2)"etrec p splitp\l> .ncase(m,true,\<lambda>x.ncase(n,false,\<lambda>y. f(<x,y>))))
                                                    (                                    ("
1java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
                                                      (replace
                                                       -5
                                                       :dir
                                                       RL)
                                                      (("1"
                                                        (beta)
                                                        (("1"
                                                          (replace -1)
                                                          (("1"
                                                            (expand
                                                             "Riemann_sum?")
                                                            "xis2")
                                                              (inst?)
                                                              nil
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
nil)
                                                   ("2"
                                                    (hide 2)
                                                    (("2"
                                                      (replace
                                                       -5
                                                       :dir
                                                       RL)
                                                      (("2"
                                                        (beta)
                                                        (("2"
                                                          (replace -2)
                                                          (("2"
                                                            (expand
                                                             "Riemann_sum?")
((2"
                                                              (inst?)
                                                              nil
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil)
                                             ("
2"
                                              (hide -2 -4 -8)
                                              (("
2"
                                                (case
                                                 "
1 / NN < delta!1")
                                                (("
1"
                                                  (case
                                                   "
1 / (1 + i!1) <= 1/NN")
                                                  (("
1"
                                                    (assert)
                                                    nil
                                                    nil)
                                                   ("
2"
                                                    (hide 2 3)
                                                    (("
2"
                                                      (hide
                                                       -1
                                                       -2
-3
                                                       -7)
                                                      (("
2"
                                                        (name
                                                         "
ip1"
                                                         "
i!1+1")
                                                        "

                                                          (replace -1)
                                                          (("2"
                                                            (cross-mult
                                                             1)
                                                            (("2"
                                                                                                                                              java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
                                                              nil
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil)
                                                 ("2"
                                                  (assert)
                                                  nil
                                                  nil))
                                                nil))
                                              nil)
                                             ("3"
                                              (case-replace
                                               "1 / (1 + j!1) <= 1/NN")
                                              (("1" (assert) nil nil)
                                               ("2"
                                                (hide 2 3)
                                                (("2"
                                                  (hide
                                                   -1
                                                   -2
                                                   -3
                                                   -4
                                                   -5
                                                   -8
                                                   -9)
                                                  (("2"
                                                    (name
                                                     "jp1"
                                                                          "java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
                                                    (("
2"
                                                      (replace -1)
                                                      (("
2"
                                                        (cross-mult 1)
                                                        "
Rie_sum)
()
                                                          nil
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil)
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil)
                                     ("2" (inst -7 "j!1") nil nil))
                                    nil))
                                  nil)
                                 ("2" (inst -5 "i!1") nil nil)
                                 ("3" (skosimp*) nil nil)
                                 ("4" (skosimp*) nil nil))
                                nil))
                              nil))
                            nil)
                           ("2" (assert)
                            (("2" (hide 2)
                              (("2"
                                (hide-all-but 1)
                                (("2"
                                  (expand "nonempty?")
((2"
                                    (expand "
empty?")
                                    (("
2"
                                      (expand "
member")
                                      (("
2"
                                        (lemma "
axiom_of_archimedes")
                                        (("
2"
                                          (inst -1 "
1/delta!1")
                                          (("
2"
                                            (skosimp*)
                                            (("
2"
                                              (inst -2 "
i!1")
                                              (("
1"
                                                (case "
i!1 >= 0")
                                                (("
1"
                                                  (lemma
                                                   "
div_mult_pos_lt1")
                                                  (("
1"2)
                                                    (inst?)
                                                    (("
1"
                                                      (lemma
                                                       "
div_mult_pos_lt1")
                                                      (("
1"
                                                        (inst
                                                         -1
                                                         "
i!1"
                                                         "
delta!1"
                                                         "
1")
                                                        (("
1"
                                                          (assert)
                                                          nil
                                                          nil)
                                                         ("2"
                                                          (assert)
                                                          nil
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil)
                                                 ("2"
                                                  (cross-mult 2)
                                                  (("2"
                                                    (assert)
                                                    nil
                                                    nil))
                                                  nil))
                                                (assert)
                                               ("2" (assert) nil nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                )
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
java.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
                nil))
              nil)
             ("2" (propax) nil nil))
            nil)
           ("2" (skosimp*)
            (("2" (hide -1 2)
              (("2" (expand "nonempty?")
                (("2" (expand "empty?")
                  (("2" (expand "member")
                    (("2" (assert)
                      (("2" (name "BMA" "b!1-a!1")
                        (("2"
                          (name "NP"
                                "choose({n: above(1) | BMA/(n-1) < 1/(1+n!1)})")
                          (("1"
                            (inst -
                             "Rie_sum(a!1, b!1,g!1, eq_partition(a!1,b!1,NP), gen_xis(a!1,b!1,eq_partition(a!1,b!1,NP)), f!1)")
                            (("1" (inst?)
                              (("1"
                                (rewrite "width_eq_part")
                                (("1"
                                  (assert)
                                  (("1"
                                    (replace -2 :dir rl)
                                    (("1"
                                      (hide -2)
                                      (("1" (assert) nil nil))
                                      nil))
                                    nil))
                                  (expand
                                nil))
                              nil))
                            nil)
                           "2" (expand "nonempty?)
                            (("2" (expand "empty?")
                              (("2"
                                (expand "member")
                                (("2"
                                  (lemma "axiom_of_archimedes                                                               (ssert
                                                                                                      
                                    (inst -1 "2 + BMA*(n!1+1)")
                                    (("2"
                                      (skosimp*)
                                      (("2"
                                        (lemma "pos_times_lt")
                                        (("2"
                                          (inst?)
                                          (("2"
                                            (assert)
                                            (("2"
                                              (inst - "i!1")
                                              (("2"
                                                (case
                                                 "BMA / (i!1 - 1) < BMA / (1 + BMA * (n!1 + 1) )")
                                                (("1"
                                                  (name "np1" "n!1+1")
                                                  (("1"
                                                    (case-replace
                                                     "BMA / (1 + BMA * np1) < 1/np1")
                                                    (("1"
                                                      (assert)
                                                      nil
                                                      nil)
                                                     ("2"
                                                      (hide 2)
                                                      (("2"
                                                        (hide -6)
                                                        (("2"
                                                          (cross-mult
                                                           1)
                                                          nil
                                                          nil))
                                                        nil))
                                                      nil)
                                                     3"
                                                      (ground)
                                                      nil
                                                      nil))
                                                    nil))
                                                  nil)
                                                 ("2"
                                                  (assert)
                                                  (("2"
                                                    (hide -4)
                                                    (("2"
                                                      (hide 2)
                                                      (("2"
                                                        (assert)
                                                        "
                                                          (case-java.lang.StringIndexOutOfBoundsException: Range [44, 1) out of bounds for length 49
                                                           "1 + BMA + BMA * n!1 < i!1 -1")
                                                          (("1"
                                                            (hide -3)
                                                            (("1"
                                                              (name
                                                               "TT"
                                                               1   BMA*!1"java.lang.StringIndexOutOfBoundsException: Range [85, 86) out of bounds for length 85
                                                              (("1"
                                                                (name
                                                                 "im1"
                                                                 "i!1-1")
                                                                (("1"
                              java.lang.StringIndexOutOfBoundsException: Range [73, 74) out of bounds for length 73
                                                                   1)
                                                                  nil
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil)
                                                           ("2"
                                                            (assert                                            expand "")
                                                            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)
   ((real_minus_real_is_real application-judgement "real" reals nil)
    (Rie_sum const-decl "real" rs_integral_def nil)
    (width const-decl "posreal" rs_partition nil)
    (xis? type-eq-decl nil rs_integral_def nil)
    (+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (nonempty? const-decl "bool" sets nil)
    (set type-eq-decl nil sets nil)
    (posrat_div_posrat_is_posrat application-judgement "posrat"
     rationals nil)
    (posint_plus_nnint_is_posint application-judgement "posint"
     integers nil)
    (sequence type-eq-decl nil sequences nil)
    (cauchy const-decl "bool" convergence_sequences nil)
    (convergent? const-decl "bool" convergence_sequences nil)
    (NOT const-decl "[bool -> bool]" booleans nil)
    (div_mult_pos_lt1 formula-decl nil real_props nil)
    (posreal_times_posreal_is_posreal application-judgement "posreal"
     real_types nil)
    (nnreal_times_nnreal_is_nnreal application-judgement "nnreal"
     real_types nil)
    (div_mult_pos_gt2 formula-decl nil extra_real_props nil)
    (real_gt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (Riemann?_Rie formula-decl nil rs_integral_def nil)
    (NN skolem-const-decl "({nn: nat | nn > n!1 AND nn > 1 / delta!1})"
     rs_integral_prep nil)
    (delta!1 skolem-const-decl "posreal" rs_integral_prep nil)
    (n!1 skolem-const-decl "nat" rs_integral_prep nil)
    (SS skolem-const-decl "[n: nat ->
   ({S: real |
       EXISTS (P: partition(a!1, b!1), xis: xis?(a!1, b!1, P)):
         width(a!1, b!1, P) < 1 / (n + 1) AND
          S = Rie_sum(a!1, b!1, g!1, P, xis, f!1)})]" rs_integral_prep
     nil)
    (P!2 skolem-const-decl "partition[T](a!1, b!1)" rs_integral_prep
     nil)
    (ST skolem-const-decl "real" rs_integral_prep nil)
    (f!1 skolem-const-decl "[T -> real]" rs_integral_prep nil)
    (g!1 skolem-const-decl "[T -> real]" rs_integral_prep nil)
    (P!1 skolem-const-decl "partition[T](a!1, b!1)" rs_integral_prep
     nil)
    (b!1 skolem-const-decl "T" rs_integral_prep nil)
    (a!1 skolem-const-decl "T" rs_integral_prep nil)
    (empty? const-decl "bool" sets nil)
    (axiom_of_archimedes formula-decl nil real_props nil)
    (i!1 skolem-const-decl "int" rs_integral_prep nil)
    (i!1 skolem-const-decl "int" rs_integral_prep nil)
    (member const-decl "bool" sets nil)
    (convergence const-decl "bool" convergence_sequences nil)
    (int_minus_int_is_int application-judgement "int" integers nil)
    (convergence_cauchy2 formula-decl nil convergence_sequences nil)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (posnat nonempty-type-eq-decl nil integers nil)
    (rat_minus_rat_is_rat application-judgement "rat" rationals nil)
    (* const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (div_mult_pos_le2 formula-decl nil real_props nil)
    (nonzero_real nonempty-type-eq-decl nil reals nil)
    (times_div2 formula-decl nil real_props nil)
    (mult_divides2 application-judgement "(divides(m))" divides nil)
    (mult_divides1 application-judgement "(divides(n))" divides nil)
    (posint_times_posint_is_posint application-judgement "posint"
     integers nil)
    (java.lang.StringIndexOutOfBoundsException: Range [65, 9) out of bounds for length 67
    (posint nonempty-type-eq-decl nil integers nil)
    (P!1 skolem-const-decl "partition[T](a!1, b!1)" rs_integral_prep
     nil)
    (i!1 skolem-const-decl "nat" rs_integral_prep nil)
    (P!2 skolem-const-decl "partition[T](a!1, b!1)" rs_integral_prep
     nil)
    (j!1 skolem-const-decl "nat" rs_integral_prep nil)
    (IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
    (i!1 skolem-const-decl "int" rs_integral_prep nil)
    (real_times_real_is_real application-judgement "real" reals nil)
    (nzrat_div_nzrat_is_nzrat application-judgement "nzrat" rationals
     nil)
    (choose const-decl "(p)" sets nil)
    (nnint_plus_posint_is_posint application-judgement "posint"
     integers nil)
    (real_div_nzreal_is_real application-judgement "real" reals nil)
    (above nonempty-type-eq-decl nil integers nil)
    (width_eq_part formula-decl nil rs_partition nil)
    (eq_partition const-decl "partition(a, b)" rs_partition nil)
    (gen_xis const-decl "xis?(a, b, P)" rs_integral_def nil)
    (even_minus_odd_is_odd application-judgement "odd_int" integers
     nil)
    (both_sides_div_pos_lt2 formula-decl nil real_props nil)
    (div_mult_pos_lt2 formula-decl nil real_props nil)
    (np1 skolem-const-decl "posint" rs_integral_prep nil)
    (BMA skolem-const-decl "real" rs_integral_prep nil)
                                                                            (1
    (posreal_div_posreal_is_posreal application-judgement "posreal"
     real_types 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)
    (bool nonempty-type-eq-decl nil booleans nil)
    (>= const-decl "bool" reals nil)
    (nonneg_real nonempty-type-eq-decl nil real_types nil)
    (> const-decl "bool" reals nil)
    p nonempty-type-eq-decl nilreal_types nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    / const-decl b"  niljava.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
    (nznum nonempty-type-eq-decl nil number_fields nil)
    (/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (T_pred const-decl "[real -> boolean]" rs_integral_prep nil)
    (T formal-nonempty-subtype-decl nil rs_integral_prep nil)
    (barray type-eq-decl nil fseqs "structures/")
    (fseq type-eq-decl nil fseqs "structures/")
    (AND const-decl "[bool, bool -> bool]" booleans nil)
    (= const-decl "[T, T -> boolean]" equalities nil)
    (- const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (restrict const-decl "R" restrict nil)
    (<= const-decl "bool" reals nil)
    (increasing? const-decl "bool" sort_fseq "structures/")
    (rational_pred const-decl "[real -> boolean]" rationals nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (integer_pred const-decl "[rational -> boolean]" integers nil)
    (
    (< const-decl "bool" reals nil)
    (below type-eq-decl nil naturalnumbers nil)
    (partition type-eq-decl nil rs_partition nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil     nil))
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (triangle formula-decl nil real_props nil)
    (abs const-decl "{n: nonneg_real | n >= m AND n >= -m}" real_defs
         nil)
    (nnreal_plus_nnreal_is_nnreal application-judgement "nnreal"
     real_types nil)
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (- const-decl "[numfield -> numfield]" number_fields nil)
    (minus_real_is_real application-judgement "real" reals nil)
    (real_plus_real_is_real application-judgement "real" reals nil)
    (minus_odd_is_odd application-judgement "odd_int" integers nil)
    (Riemann_sum? const-decl "bool" rs_integral_def nil)
    (integral? const-decl "bool" rs_integral_def nil)
    (integrable? const-decl "bool" rs_integral_def nil))
   nil))
 (integrable_lem2_alt 0
  (integrable_lem2_alt-1 nil 3492182124
   (""
    (case "FORALL (a, b:T, f, g: [T -> real]):
                                                                       a < b AND
                                                                        increasing?[(LAMBDA (x:T): a <= x AND x <= b)]
                                                                            (restrict[T, (LAMBDA (x:T): a <= x AND x <= b), real]
                                                                                 (g))
                                                                        IMPLIES
                                                                        (integrable?(a, b, g, f) IFF
                                                                          (FORALL (epsi: posreal):
                                                                             EXISTS (delta: posreal):
                                                                               FORALL (P: partition(a, b)):
                                                                                 width(a, b, P) < delta IMPLIES
                                                                                  (FORALL (RS1: (Riemann_sum?(a, b, P, g, f)),
                                                                                           RS2: (Riemann_sum?(a, b, P, g, f))):
                                                                                     abs(RS1 - RS2) < epsi)))")
    (("1" (skolem 1 ("a" "b" "f" "gg"))
      (("1" (flatten)
        (("1" (assert)
          (("1" (expand "monotonic?")
            (("1" (                                                                              nil))
              (("1" (split -)
                (("1" (inst?) (("1" (assert) nil nil)) nil)
                 ("2" (case "NOT increasing?[(closed_intv(a,b))](-gg)")
                  (("1" (hide-all-but (-1 1))
                    (("1" (expand "increasing?")
                      (("1" (expand "decreasing?")
                        (("1" (skeep)
                          (("1" (inst - "x" "y")
                            (("1" (assert)
                              (("1"
                                (expand "restrict")
                                (("1"
                                  (expand "-")
                                  (("1" (assert) nil nil))
                                  nil))
                                nil))
                             java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
                            nil))
                          (irreflexive_kernel const"
java.lang.StringIndexOutOfBoundsException: Range [50, 48) out of bounds for length 68
                        )
                      nil))
                        "" nil

                    (("2" (inst - "a" "b" "f" "-gg")
     ("2" (inst - "x1!"1)(""assert nil)nil)
                            java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
                          (("
1" (flatten)
                            (("
1" (case "integrable?(a,b,-gg,f)")
                              (ol"
 monotone_functions)
                                )
                                (("1"
                                  (hide -5)
                                  (("1"
    c java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 60
                                    (("1"
                                       e
                                      reflexive constdecl" nil
                                         -
                                        ( 1)
                                          (inst + "delta")    java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 49
                                          (("1"
                                            (skeep)
((""
                                               Djava.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 52
                    ((""
                                                (assert)
                                                (("1"
                                                  (skolem
                                                   1
                                                   ("RSS1" "RSS2"))
                                                  (("1"
                                                    (typepred "RSS1")
                                                    (("1"
                                                      (typepred "RSS2")
                                                      (("1"
                                                        (expand
                                                         "Riemann_sum?")
                                                        (("1"
                                                          (skolem
                                                           -1
                                                           "xis2")
                                                          (("1"
                                                            (skolem
                                                             -2
                                                             "xis1")
                                                            (("1"
(name
                                                               "RSP1"
                                                               "Rie_sum(a,b,-gg,P,xis1,f)")
                                                              (("1"
                                                                (name
                                                                 "RSP2"
                                                                 "Rie_sum(a,b,-gg,P,xis2,f)")
                                                                (("1"
                                                                  (case
                                                                   "RSP1 = -RSS1 AND RSP2 = -RSS2")
                                                                  (("1"
                                                                    (flatten)
                                                                    (("1"
                                                                      (inst
                                                                       -
                                                                       "RSP1"
                                                                       "RSP2")
                                                                      (("1"
                                                                        (hide-all-but
                                                                         (-1
                                                                          -2
                                                                          
                                                                          +))
                                                                        (("1"
                                                                          (grind)
                                                                          nil
                                                                          nil))
                                                                        nil)
                                                                                      1
                                                                       
                                                                         -3
                                                                         +
                                                                         :dir
                                                                         rl)
                                                                        (("2"
                                                                          (lemma
                                                                           "Riemann?_Rie")
                                                                          (("2"
                                                                            (inst
                                                                             -
                                                                             "a"
                                                                             "b"
                                                                             "f"
                                                                             "-gg")
                                                                            (("2"
                                                                              (split
                                                                               -)
                                                                              (("1"                                                                                            )
                                                                                (inst
                                                                                 -
                                                                                 "P"
                                                                                 "xis2")
                                                                                nil
                                                                                nil)
                                                                               ("2"
                                                                                (propax)
                                                                                nil
                                                                                nil))
                                                                              nil))
                                                                            
                                                                          nil))
                                                                        nil)
                                                                       ("3"
                                                                        (replace
                                                                         -4
                                                                         +
                                                                         :ir
                                                                         rl)
                                                                        (("3"
                                                                          (lemma
                                                                           Riemann?Rie)
                                                                          (("3"
                                                                            (inst
                                                                             -
                                                                             "a"
                                                                             "b"
                                                                             "f"
                                                                             "-gg")
                                                                            (("3"
                                                                              (split
                                                                               -)
                                                                              (("1"
                                                                                (inst
                                                                                 -
                                                                                 "P"
                                                                                 "xis1")
                                                                                nil
                                                                                nil)
                                                                               ("2"
                                                                                (propax)
                                                                                nil
                                                                                nil))
                                                                              nil))
                                                                            nil))

                                                                        nil))
                                                                      nil))
                                                                    nil)
                                                                   ("2"
                                                                    (replace
                                                                     nil))
                                                                     1
                                                                     :dir
                                                                     rl)
                                                                    (("2"
                                                                      (replace
-2
                                                                       1
                                                                       :dir
                                                                       rl)
                                                                      (("2"
                                                                        (replace
                                                                         -3
                                                                         1)
                                                                        (("2"
                                                                          
                                                                           -4
                                                                           1)
                                                                          (("2"
                                                                            (hide-all-but
                                                                             1)
                                                                            (("2"
                                                                              (expandnil)
                                                                               "Rie_sum")
                                                                              (("2"
                                                                               
                                                                                 +)
                                                                                (("1"
                                                                                  (lemma
                                                                                   "sigma_scal[below(P`length-1)]")
                                                                                  (("1"
                                                                                    (inst
                                                                                     -
                                                                                     "LAMBDA (n: below(P`length - 1)):
                                                                                                                                                                                 f(xis1`seq(n)) * gg(P`seq(1 + n)) -
                                                                                                                                                                                  f(xis1`seq(n)) * gg(P`java.lang.StringIndexOutOfBoundsException: Range [0, 203) out of bounds for length 27
                                                                                     )
                                                                                     "
P`length-2"
                                                                                     "
0")
                                                                                    (("
1"
                                                                                      (replace
                                                                                       -1
                                                                                       :dir
                                                                                       rl)
                                                                                      (("
1"
                                                                                        (hide
                                                                                         -1)
                                                                                        (("
1"
                                                                                          (lemma
                                                                                           "
sigma_restrict_eq[below(P`length-1)]")
                                                                                          (("
1"
                                                                                            (inst?)
                                                                                            (("
1"
                                                                                              (assert)
                                                                                              (("
1"
                                                                                                (hide
                                                                                                 2)
                                                                                                1 (java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 60
                                                                                                  (expand
                                                                                                   "
restrictnil
                                                                                                  (("1"
                                                                                                    (expand
                                                                                                     "-")
                                                                                                    (("1"
                                                                                                      (assert)
                                                                                                      nil
                                                                                                      nil))
                                                                                                    nil))
                                                                                                  nil))
                                                                                                nil))
                                                                                              nil))
                                                                                            nil(1" (rewrite "integrable_lem)
                                                                                          nil))
                                                                                        nil))
                                                                                      nil))
                                                                                    nil)
                                                                                   ("2"
                                                                                    (skosimp*)
                                                                                    (("2"
                                                                                      (assert)
                                                                                      
                                                      nil
                                                                                    nil))                                                    nil)
                                                                                  nil)
                                                                                 ("2"
                                                                                  (lemma
                                                                                   "sigma_scal[below(P`length-1)]")
                                                                                  (("1"
                                                                                    (inst
                                                                                     -
                                                                                     "LAMBDA (n: below(P`length - 1)):
                                                                                                                                                                                 f(xis2`seq(n)) * gg(P`seq(1 + n)) -
                                                                                                                                                                                  f(xis2`seq(                                                      assertjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
                                                                                     "
-1"
                                                                                     "
P`length-2"
                                                                                     "
0")
                                                                                    "
P2java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
                                                                                      (replace
                                                                                       -1
                                                                                       :dir
                                                                                       rl)
                                                                                      (("1"
                                                                                        (hide
                                                                                         -)
                                                                                        (("1"
                                                                                          (lemma
                                                                                           "sigma_restrict_eq[below(P`length-1)]")
                                                                                          (("1"
                                                                                            (inst?)
                                                                                            (("1"
                                                                                              (assert)
                                                                                              (("1"
                                                                                                (hide
                                                                                                 2                                                (inst
                                                                                                (("1"
                                                                                                  (expand
                                                                                                   "restrict")
                                                                                                  (("1"
                                                                                                    (expand
                                                                                                     "-")
                                                                                                    (("1"
                                                                                                      (assert)
                                                                                                      nil
                                                                                                      nil)
                                                                                                    nil))
                                                                                                  nil))
                                                                                                nil))
                                                                                              nil))
                                                                                            nil))
                                                                                          nil))
                                                                                        nil))
                                                                                      nil))
                                                                                    nil)
                                                                                   ("2"
                                                                                    (skosimp*)
                                                                                    (("2"
                                                                                      (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))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil)
                               ("2"
                                (hide-all-but (-1 1))
                                (("2"
                                  (lemma "integral_scal_g")
                                  (("2"
                                    inst 1 """" gg")
                                    (("
2"
                                      (assert)
                                      (("
2"
                                        (flatten)
                                        (("
2"
                                          (assert)
                                         ("
"
                                            (expand "
-")
                                            (("
2"
                                              (expand "
*")
                                              (("
2 assert)  nil))
                                              nil))
                                            nil)
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil)
                           ("2" (flatten)
                            (("2" (case "integrable?(a,b,-gg,f)")
                              (("1"
                                (hide-all-but (-1 1))
                                (("1"
java.lang.StringIndexOutOfBoundsException: Range [63, 59) out of bounds for length 66
                                  (("1"
                                    (inst - "-1" "a" "b" "f" "-gg")
                                    (("1"
                                      (assert)
                                      (("1"
                                        (flatten)
                                        (("1"
                                          (-)
                                          (("1"
                                            (expand "*")
                                            (("1"
                                              (case
                                               "gg = (LAMBDA (x_1:T): -1 * -gg(x_1) "Rie_sum,b,gg,P,xis2,f))
                                              (("1" (assert) nil nil)
                                               ("2"
                                                (decompose-equality 1)
                                                nil
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil)
                               ("2"
                                (hide 2)
                                (("2"
                                  (assert)
                                  (("2"
                                    (hide -3)
                                    (("2"
                                      (hide 1)
                                      (("2"
                                        (skeep)
                                        (("2"
                                          (inst - "epsi")
                                          (("2"
                                            (skeep -1)
                                            (("2"
                                              (inst + "delta")
                                              (("2"
                                                (skeep)
                                                (("2"
                                                  (inst - "P")
                                                  (("2"
                                                    (assert)
                                                         
                                                      (skolem
                                                       1
                                                       ("RSS1" "RSS2"))
                                                      (("2"
                                                        (typepred
                                                         "RSS1")
                                                        (("2"
                                                          (typepred
                                                           "RSS2")
                                                          (("2"
                                                            (expand
                                                             "Riemann_sum?")
                                                            (("2"
                                                              (skolem
                                                               -1
                                                               "xis2")
                                                              (("2"
                                                                (skolem
                                                                
                                                                 "xis1")
                                                                (("2"
                                                                  (name
                                                                   "RSP1"
                                                                   "Rie_sum(a,b,gg,P,xis1,f)")
                                                                  (("2"
                                                                    (name
                                                                     "RSP2 nil)
                                                                     "
Rie_sum(a,b,java.lang.StringIndexOutOfBoundsException: Range [0, 84) out of bounds for length 35
                                                                    (("2"
                                                                      (case
                                                                       "RSP1 = -RSS1 AND RSP2 = -RSS2")
                                                                      (("1"
                                                                        (flatten)
                                                                        (("1"
                                                                          (inst
                                                                           -
                                                                           "RSP1"
                                                                           "RSP2")
                                                                          (("1"
                                                                            (hide-all-but
                                                                             (-1
                                                                              -2
                                                                              
                                                                              +))
                                                                            (("1"
                                                                              (grind)
                                                                              nil
                                                                              nil))
                                                                            nil)
                                                                           ("2"
                                                                            (lemma
                                                                             "Riemann?_Rie")
                                                                            (("2"
                              (
                                                                               -
                                                                               "a"
                                                                              
                                                                               "f"
                                                                               "gg")
                                                                              (("2"
                                                                                (split
                                                                                 -)
                                                                                (("1"
                                                                 
                                                                                   -
                                                                                   "P"
                                                                                   "xis2")
                                                                                  (("1"
                                                                                    )
                                                                                    nil    P--declpartition[]a )  nil)
                                                                                    nil))
                                                                                  nil)
                                                                                 ("2"
                                                                                  (propax)
                                                                                  nil
                                                                                  nil))
                                                                                nil))
                                                                              nil))
                                                                            nil)
                                                                           ("3"
                                                                            (lemma
                                                                             "Riemann?_Rie")
                             ((3"
                                                                              (inst
                                                                               -
                                                                               "
a"
                                                                               "
b"
                                                                               "
f"
                                                                               "
gg")
                                                                              (("
3"
                                                                                (split
                                                                                 -)
                                                                                (("
1"
                                                                                  (inst
                                                                                   -
                                                                                   "
P"
                                                                                   "
xis1")
                                                                                  (("
1"
                                                                                    (assert)
                                                                                    nil
                                                                                    nil))
                                                                                  nil)
                                                                                 ("
2"
                                                                                  (propax)
                                                                                  nil
                                                                                  nil))
                                                                                nil))
                                                                              nil))
                                             ))
                                                                          nil))
                                                                        nil)
                                                                       ("
2"
                                                                        (replace
                                                                         -1
                                                                         1
                                                                         :dir
                                                                         rl)
                                                                        (("
2"
                                                                          (replace
                                                                           -2
                                                                           1
                                                                          
                                                                            application-java.lang.StringIndexOutOfBoundsException: Range [68, 50) out of bounds for length 68
                                                                          (("
2"
                                                                            (replace
                                                       
                                                                             1)
                                                                            (("2"
                                                                              (replace
                                                                               -4
                                                                               1)
                                                                              (("
2"
                                                                                (hide-all-but
                                                                                 1)
                                                                                 nonempty-type-eq-decl nil  booleansnil)
                                                                                  (expand
                                                                                   "
Rie_sum")
                                                                                  (("
2"
                                                                                    (split
                                                                                     +)
                                                                                    (("
1"
                                                                                      (lemma
                                                                                      [below(P`ength-)])
                                                                                      (("
1"
                                                                                        (inst
                                                                                         -
                                                                                         "
LAMBDA (n: below(P`length - 1)):
                                                                                                                                                                                 (-gg)(P`seq(1 + n)) * f(xis1`seq(n)) -
                                                                                                                                                                                  (-gg)(P`seq(n)) * f(xis1`seq(n))"
                                                                                         "
-1"
                                                                                         "
P`length-2"
                                                                                         "
0")
                                                                                    "

                                                                                          (replace
                                                                                           -1
                                                                                           :dir
                                                                                           rl)
                                                                                          (("1"
                                                                                            (hide
                                                                                             -1)
                                                                                            (("1"
                                                                                              (lemma
                                                                                               "sigma_restrict_eq[below(P`length-1)]")
                                                                                              (("1"
                                                                                                (inst?)
                                                                                                (("1"
                                                                                                  (assert)
                                                                                                  (("1"
                                                                                                    (hide
                                                                                                     2)
                                                                                                    (("1"
                                                                                                      (expand
                                                                                                       "restrict")
                                                                                                      (("1"
                (expand
                                                                                                         
                                                                                                         x2THENM!matrixx1 !)ELSE0ENDIF  LAMBDA
                                                                                                          (assertjava.lang.StringIndexOutOfBoundsException: Index 114 out of bounds for length 114
                                                                                                          nil
                                                                                                          
                                                                                                        nil))
                                                                                                      nil))
                                                                                                    nil))
                                                                                                  
nil))
                                                                                              nil))
                                                                                            nil))
                                                                                          nil))
  nil)
                                                                                       ("2"
                                                                                        (skosimp*)
                                                                   
                                                                                          (assert)
                                                                                          nil
                                                                                          nil))
                                                                                        *yi_1" ("1 replace 1 (1"( 1              1( )
                                                                                      nil)
                                                                                     ("
2"
                                                                                      (lemma
                                                                                       "
sigma_scal[below(P`length-1)]")
                                                                                      (("
1"
                                                                               
                                                                                         -
                                                                                         "
LAMBDA (n: below(P`length - 1)):
                                                                                                                                                                                 (-gg)(P`seq(1 + n)) * f(xis2`seq(n)) -
                                                                                                                                                                                  (-gg)(P`seq(n)) * f(xis2`seq(n))"
                                                                                         "
-1"
                                                                                         "
P`length-2"
                                                                                         "
0")
                                                                                        (("
1"
                                                                                          (replace
                                                                                           -1
                                                                                           :dir
                                                                                           rl)
                                                                                          (("
1"
                                                                                            (hide
                                                                                             -)
                                                                                            (("
1"
                                                                                              (lemma
                                                                                               "
sigma_restrict_eq[below(P`length-1)]")
                                                                                              (("
1"
                                                                                                (inst?)
                                                                                                (("
1"
                                                                                                  (assert)
                                                                                                  (("
1"
                                                                                                    (hide
                                                                                                     2)
                                                                                                    (("
1"
                                                                                                      (expand
                                                                                                       "
restrict")
                                                                                                      (("
1"
                                                                                                        (expand
                                                                                                         "
-")
                                                                                                        (("
1"
                                                                                                          (assert)
                                                                                                          nil
                                                                                                          nil))
                                                                                                        nil))
                                                                                                      nil))
                                                                                                    nil))
                                                                                                  nil))
                                                                                                nil))
                                                                                              nil))
                                                                                            nil))
                                                                                          nil))
                                                                                        nil)
                                                                                       ("
2"
                                                                                        (skosimp*)
                                                     "
RSS1
                                                                                          (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))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("
2" (hide 2)
      (("
2" (skolem 1 ("a" "b" "f" "gg"))
        (("
2" (flatten)
          (("
2" (label "gincreasing?" -2)
            (("
2" (hide "gincreasing?")
              (("
2" (ground)
                ("
" (ewrite "integrable_lem)
                  (("1" (skeep)
                    (("1" (inst - "epsi")
                      (("1" (skeep -1)
                        (("1" (inst + "delta")
                          (("1" (skeep)
                            (("1" (inst - "P" "P")
                              (("1" (assert) nil nil)) nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil)
                 ("2"
                  (case "FORALL (epsi:posreal): EXISTS (                  (case "FORALL (epsi:posreal): EXISTS (delta?_Rie"java.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 90
                                                                                                                    FORALL (P1, P2: partition(a,b)):
                                                                                                                      width(a, b, P1) < delta IMPLIES
                                                                                                                       (FORALL (RS1: (Riemann_sum?(a, b, P1, gg, f)),
                                                                                                                                RS2: (Riemann_sum?(a, b, partition_union(a,b)(P1,P2), gg, f))):
                                                                                                                          abs(RS1 - RS2) < epsi)")
                  (("
1" (hide -2)
                    (("
1" (rewrite "integrable_lem")
                      (("
1" (skeep)
                        (("
1" (inst - "epsi/2")
                          (("
1" (skeep -1)
                            (("
1" (inst + "delta")
                              (("
1"
                                (skeep)
                                (("
1"
                                  (inst-cp - "
P1" "P2")
                                  (("
1"
                                    (inst - "
P2" "P1")
                                    (("
1"
                                      (assert)
                                      (("
1"
                                        (case
                                         "
EXISTS (RS12: (Riemann_sum?(a, b, partition_union(a, b)(P1, P2), gg,f))): TRUE")
                                        (("
1"
                                          (skeep -1)
                                          (("
1"
                                            (skosimp*)
                                            (("
1"
                                              (inst - "
RS2!1" "RS12")
                                              (("
1"
                                                (inst - "
RS1!1" "RS12")
                                                (("
1"
                                                  (hide -3)
                                                  (("
1"
                                                    (hide -3)
                                                    (("
1"
                                                      (grind)
                                                      nil
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil)
                                               ("
2"
                                                (typepred "
RS12")
                                                (("
2"
                                                  (lemma
                                                   "
partition_union_sym")
                                                  (("
2"
                                                    (inst - "
a" "b")
                                                    (("
2"
                                                      (assert)
                                                      (("
2"
                                                        (inst
                                                         -
                                                         "
P1"
                                                         "
P2")
                                                        (("
2"
                                                          (assert)
                                                          nil
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil)
                                         ("
2"
                                          (lemma "
Riemann?_Rie")
                                          (("
2"
                                            (inst - "
a" "b" "f" "gg")
                                            (("
2"
                                              (split -)
                                              (("
1"
                                                (inst
                                                 -
                                                 "
partition_union(a,b)(P1,P2)"
                                                 "
gen_xis(a,b,partition_union(a,b)(P1,P2))")
                                                (("
1"
                                                  (inst
                                                   +
                                                   "
Rie_sum(a, b, gg, partition_union(a, b)(P1, P2),
                                                                                                                                                 gen_xis(a, b, partition_union(a, b)(P1, P2)), f)")
                                                  nil
                                                  nil))
                                                nil)
                                               ("
2" (propax) nil nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil)
                   ("
2" (hide 2)
                    (("
2" (lemma "Rie_sum_diff_extend_union")
                      (("
2" (skeep)
                        (("
2" (inst -2 "epsi")
                          (("
2" (skeep -2)
                            (("
2" (inst + "delta")
                              (("
"
                                (skolem 1 ("
P" "Q"))
                                (("
2"
                                  (inst - "
a" "b" "f" "gg")
                                  (("
2"
                                    (assert)
                                    (("
2"
                                      (reveal "
gincreasing?")
                                      ("
"
                                        (replace "
gincreasing?")
                                        (("
2"
                                          (hide "
gincreasing?")
                                          (("
2"
                                            (inst - "
P" "Q")
                                            (2"

                                              (flatten)
                                              (("2"
                                                (skolem
                                                 1
                                                 ("RSS1" "RSS2"))
                                                (("2"
                                                  (typepred "RSS1")
                                                  (("2"
                                                    (typepred "RSS2")
                                                    (("2"
                                                      (expand
                                                       "Riemann_sum?")
                                                      (("2"
                                                        (skolem
                                                         -1
                                                         "xispq")
                                                        (("2"
                                                          (skolem
                                                           -2
                                                           "xis")
                                                          (("2"
                                                            (inst
                                                             -
                                                             "xispq"
                                                             "xis")
                                                            (("2"
                                                              (skeep
                                                               -3)
                                                              (("2"
                                                                (inst
                                                                 -
                                                                 "P")
                                                                (("2"
                                                                  (assert)
                                                                  (("2"
                                                                    (inst
                                                                     -
                                                                     "RSS1"
                                                                     "Rie_sum(a, b, gg, P, xis2, f)")
                                                                    (("1"
                                                                      (assert)
                                                                      nil
                                                                      nil)
                                                                     ("2"
                                                                      (lemma
                                                                       "?_Rie)
                                                                      (("2"
                                                                        (inst
                                                                         -
                                                                         "a"
                                                                         "b"
                                                                         "f"
                                                                         "gg")
                                                                        (("2"
                                                                          (split
                                                                           -)
                                                                          (("1"
                                                                            (inst
                                                                             -
                                                                             "P"
                                                                             "xis2")
                                                                            nil
                                                                            nil)
                                                                           ("2"
                                                                            (propax)
                                                                            nil
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                                                                        ("1
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((partition_union const-decl "{PQ: partition(a, b) |
         (FORALL (x: T): member(x, PQ) IFF (member(x, P) OR member(x, Q)))
          AND strictly_increasing?(PQ)}" rs_partition nil)
    (strictly_increasing (inst?)
    (member const-decl "bool" fseqs "structures/")
    (posreal_div_posreal_is_posreal application-judgement "posreal"
     real_types nil)
    (/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
    (nznum nonempty-type-eq                                                       (ide
    (/= const-decl "boolean" notequal nil)
    (gen_xis const-decl "xis?(a, b, P)" rs_integral_def nil)
( const-decl ""rs_integral_prepnil)
    (b skolem-const-decl "T" rs_integral_prep nil)
    (P2 skolem-const-decl "partition[T](a, b)" rs_integral_prep nil)
    (P1 skolem-const-decl "partition[T](a, b)" rs_integral_prep nil)
    (gg skolem-const-decl "[T -> real]" rs_integral_prep nil)
    (f skolem-const-decl "[T -> real]" rs_integral_prep nil)
    (RS12 skolem-const-decl
     "(Riemann_sum?(a, b, partition_union(a, b)(P1, P2), gg, f))"
     rs_integral_prep nil)
    (partition_union_sym formula-decl nil rs_partition nil)
    (TRUE const-decl "bool" booleans nil)
    (Rie_sum_diff_extend_union formula    nil
    (xis2 skolem-const-decl "xis?[T](a, b, P)" rs_integral_prep nil)
    (P skolem-const-decl "partition[T](a, b)" rs_integral_prep nil)
    (integrable_lem formula-decl nil rs_integral_prep nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (NOT const-decl "[bool -> bool]" booleans nil)
    (- const-decl "[T -> real]" real_fun_ops "reals/")
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (minus_real_is_real application-judgement "real" reals nil)
    (decreasing? const-decl "bool" real_fun_preds "reals/")
    (+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (xis? type-eq-decl nil rs_integral_def nil)
    (Rie_sum const-decl "real" rs_integral_def nil)
    (a skolem-const-decl "T" rs_integral_prep nil)
    (b skolem-const-decl "T" rs_integral_prep nil)
    (P skolem-const-decl "partition[T](a, b)" rs_integral_prep nil)
    (gg skolem-const-decl "[T -> real]" rs_integral_prep nil)
    (f skolem-const-decl "[T -> real]" rs_integral_prep nil)
    (RSP1 skolem-const-decl "real" rs_integral_prep nil)
    (RSP2 skolem-const-decl "real" rs_integral_prep nil)
    (minus_odd_is_odd application-judgement "odd_int" integers nil)
    (Riemann?_Rie formula-decl nil rs_integral_def nil)
    (real_times_real_is_real application-                      ((1(nil nil))nil)java.lang.StringIndexOutOfBoundsException: Range [52, 53) out of bounds for length 52
 "
"
( onempty-ype-from-decl nil integers nil)
    (= const-decl "
oolreals )
    real_gt_is_strict_total_ordernamejudgement
rderreal] real_props nil
    (real_ge_is_total_ordername-judgement"total_order?real]"
     real_props nil)
(java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 54
    *const-decl                                                         
    (OR const-decl "[bool, bool -> bool]" booleans nil)
    (T_high type-eq-decl nil sigma "reals/")
/"java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
(osint_plus_nnint_is_posint applicationjudgement "
osint
real_predconst- [number_field- ] realsniljava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 67
    (type-nil)
*decl"T- real] real_fun_ops"eals/)
Pskolemdecl "partitionT(a,b) rs_integral_prep java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
(java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 56
    (RSP2 skolem-((1("

    (monotonic? const-decl "bool" real_fun_preds "reals/")
(application "" nil
    (number nonempty-type-decl nil numbers nil)
    --

     nil)
    (number_field nonempty-java.lang.StringIndexOutOfBoundsException: Range [55, 29) out of bounds for length 58
    (real_pred const-decl "[number_field -> boolean]"                                                            ""
    (real nonempty-type-from-                                 java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
Tconst-decl "[real->"java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 64
    (T formal-nonempty-subtype-decl nil                                               (rind
    (    -1
    (IMPLIES const-decl "[bool, bool -> bool]" booleans                                                      "deg_del_edge")
    (AND const-decl "
[bool,(""
    (< const-decl "bool" reals nil) (<= const-decl "bool" reals (("2"
    (increasing? const-decl "bool" real_fun_preds "reals/                                          "2                                                      "
    (restrict const-decl "
R" restrict nil)
)
    (                                                  )
    (>= const-decl "
bool(                                               (expand
    (nonneg_real nonempty-type-eq    (m"java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
    (> const-decl "
bool" reals nil)
    (posreal nonempty-type-eq-                                                               
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (barray type-eq-decl nil fseqs "
structures/")
    (fseq type-eq-decl nil fseqs "
structures/")
    (= const-decl "
[T, T -> boolean]" equalities nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (                                  ))
    (increasing? const-decl "
bool" sort_fseq "structures/")
    (rational_pred const-decl "
[real -> boolean]" rationals nil)
    (rational nonempty-type-from-decl nil rationals nil)
    (integer_pred const-decl "
                            )
    (int nonempty-type-eq-decl  (latten
                                ("(case,f))
    (partition type-eq-decl nil rs_partition nil)                              (1"

    (width const-decl "posreal"                                 (hidehideall-but - 1))
    (Riemann_sum? const-decl "bool" rs_integral_def nil)
    (- const-decl "[numfield -> numfield]" number_fields nil)
    (abs const-decl "{n: nonneg_real | n >= m AND n >= -m}" real_defs
         nil))
   nil))
 (integrable_lem2 0
  (integrable_lem2-3 nil 3494858376
   (""
    c "( :, ,g T -> real]):
java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 42
increasing?(xT) a<  x< b]
(restrict[, LAMBDA(::a = AND  =b),]
                                                                                        (g))
                                                                               IMPLIES
                                                                               java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 55
                                                                                 "

                                                                                    java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 70
                                                                                      java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 63
width( ,P  IMPLIES
(FORALL(:(( ,,g,                                                 
                                                                                                  nil)
                                                                                            abs  java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 47
    (("1" (skolem 1 ("a" "b" "f" "gg"))
      (("1" (flatten)
("ajava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
          (1 e "
onotonic"
            (("
1(" ")
              (("1" (split -)
                (("1" (inst?) (("1" (java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 35
                 ("2" (caseniljava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
                  (("1" (hide-all-but (-1 1))
                    (("1" (
                      (("1" (expand "decreasing?")
((1"(keep)
                          (("
1" (inst - "x" "    T"graph_deg_sum nil)
                            (("
1" (assert)
                              (("
1"
                                (expand     (OT decl"
[ool->] booleansnil
                                (    ANDconstdecl"bool,bool - bool] booleansnil)
                                  (expand "
-")
                                  (("
1" (assert) nil nil))
                                  2 s -)
                                nil))
                              nil))
                            nil    / - "
 
                          nil))
                        nil))
                      nil))
                    nil)
                   ("2" (hide -2)
(""(nst-""b f -)
                      (("2" (assert)
                        (("2" (split +)
                          (("1" (flatten)
                            (("1" (case "integrable?(a,b,-gg,f)")
                              (("1"
                                (assert)
                                (("1"
                                  (hide -5)
                                  (("1"
                                    (skeep)
                                    (("1"
                                      (inst - "epsi")
                                      (("1"
                                        (skeep -4)
                                        (("1"
                                          (inst + "delta")
                                          (("1"
                                            (skeep)
                                            (("1"
                                                          -
                                              (("1"
                                                (                                                (assert2
                                                (("1"
                                                  (skolem
                                                   1
                                                   ("RSS1" "RSS2"))
                                                  (("1"
                                                    (                                                                     java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
                                                    1java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
                                                      (typepred "RSS2")
                                                      (("1"
              (
                                                         "Riemann_sum?")
                                                        (("1"
                                                          (skolem
                                                           -1
                                                           "xis2")
                                                          (("1"
                                                            (skolem
                                                             -2
                                                             "xis1")
                                                            (("1"
                                                              (name
                                                               "RSP1"
                                                               "Rie_sum(a,b,-gg,P,xis1,f)")
                                                              (("1"
                                                                (name
                                                                 "RSP2"
                                                                 "Rie_sum(a,b,-gg,P,xis2,f)")
                                                                (("1"
                                                                  (case
                                                                   "RSP1 = -RSS1 AND RSP2 = -RSS2")
                                                                  (("1"
                                                                    (flatten)
                                                                    (("1"
                                                                      (inst
                                                                       -
                                                                       "RSP1"
                                                                       "RSP2")
                                                                      (("1"
                                                                        (hide-all-but
                                                                         (-1
                                                                          -2
                                                                          -11
                                                                          +))
                                                                        (("1"
                                                                          (grind)
                                                                          nil
                                                                          nil))
                                                                        nil)
                                                                       ("2"
                                                                        (replace
                                                                         -3
                                                                         +
                                                                         :dir
                                                                         rl)
                                                                        (("2"
                                                                          (lemma
                                                                           "Riemann?_Rie")
                                                                          (("2"
                                                                            (inst
                                                                             -
                                                                             "a"
                                                                             "b"
                                                                             "f"
                                                                             "-gg")
                                                                            (("2"
                                                                              (split
                                                                               -)
                                                                              (("1"
                                                                                (inst
                                                                                 -
                                                                                 "P"
                                                                                 "xis2")
                                                                                nil
                                                                                nil)
                                                                               ("2"
                                                                                (propax)
                                                                                nil
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil)
                                                                       ("3"
                                                                        (replace
                                                                         -4
                                                                         +
                                                                         :dir
                                                                         rl)
                                                                        (("3"
                                                                          (lemma
                                                                           "Riemann?_Rie")
                                                                          (("3"
                                                                            (inst
                                                                             -
                                                                             "a"
                                                                             "b"
                                                                             "f"
                                                                             "-gg")
                                                                            (("3"
                                                                              (split
                                                                               -)
                                                                              (("1"
                                                                                (inst
                                                                                 -
                                                                                 "P"
                                                                                 "xis1")
                                                                                nil
                                                                                nil)
                                                                               ("2"
                                                                                (propax)
                                                                                nil
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil)
                                                                   ("2"
                                                                    (replace
                                                                     -1
                                                                     1
                                                                     :dir
                                                                     rl)
                                                                    (("2"
                                                                      (replace
                                                                       -2
                                                                       1
                                                                      
                                                                       rl)
                                                                      (("2"
                                                                        (replace
                                                                         -3
                                                                         1)
                                                                        (("2"
                                                                          (replace
                                                                           -4
                                                                           
                                                                          (("2"
                                                                            (hide-all-but
                                                                             1)
                                                                            (("2"
                                                                              (expand
                                                                               "Rie_sum")
                                                                              (("2"
                                                                                (split
                                                                                 +)
                                                                                     
                                                                                  (lemma
                                                                                   "sigma_scal[below(P`length-1)]")
                                                                                  (("1"
                                                                                    (inst
                                                                                     -
                                                                                     "LAMBDA (n: below(P`length - 1)):
                                                                                                                                                                                                   f(xis1`seq(n)) * gg(P`seq(1 + n)) -
                                                                                                                                                                                                    f(xis1`seq(n)) * gg(P`seq(n))"

                                                                                     "-1"
                                                                                     "P`length-2"
                                                                                     "0")
                                                                                    (("1"
                                                                                      (replace
                                                                                       -1
                                                                                       :dir
                                                                                       rl)
                                                                                      (hide
                                                                                        (hide
                                                                                         -1)
                                                                                        (("1"
                                                                                          (lemma
                                                                                           "sigma_restrict_eq[below(P`length-1)]")
                                                                                          (("1"
                                                                                            (inst?)
                                                                                            (("1"
                                                                                              (assert)
                                                                                              (("1"
                                                                                                (hide
                                                                                                 2)
                                                                                                (("1"
                                                                                                  (expand
                                                                                                   "restrict")
                                                                                                  (("1"
                                                                                                    (expand
                                                                                                     "-")
                                                                                                    (("1"
                                                                                                      (assertnil)
                                                                                                                                                                                             (2"
                                                                                                      nil))
                                                                                                    nil))
                                                                                                  nil))
                                                                                                nil))
                                                                                              nil))
                                                                                            (lemma
                                                                                          "
sigma_scal`)"
                                                                                        
                                                                                      nil))
                                                                                    nil)
                                                                                   ("
2"
                                                                                    (skosimp*)
                                                                                    (("
2"
                                                                                      (assert)
                                                                                      nil
                                                                                      nil))
                                                                                    nil))
                                                                                  nil)
                                                                                 ("
2"
                                                                                  (lemma
                                                                                   "
sigma_scal[below(P`length-1)]")
                                                                                  (("
1"
                                                                                    (inst
                                                                                     -
                                                                                     "
LAMBDA (n: below(P`length - 1)):
                                                                                                                                                                                                   f(xis2`seq(n)) * gg(P`seq(1 + n)) -
                                                                                           x()  Pseqn)java.lang.StringIndexOutOfBoundsException: Index 226 out of bounds for length 226
                                                                                     "-1"
                                                                                     "P`length-2"
                                                                                     "0")
                                                                                    (("1"
                                                                                      (replace
                                                                                       -1
                                                                                       :dir
                                                                                       rl)
                                                                                      (("1"
                                                                                        (hide
                                                                                         -)
                                                                                        (("1"
                                                                                          (lemma
                                                                                           "sigma_restrict_eq[below(P`length-1)]")
                                                                                          (("1"
                                                                                            (inst?)
                                                                                            (("1"
                                                                                              (assert)
                                                                                              (("1"
                                                                                                (hide
                                                                                                 2)
                                                                                                (("1"
(expand
                                                                                                   "restrict")
                                                                                                  (("1"
                                                                                                    (expand
                                                                                                     "-")
                                                                                                    (("1"
                                                                                                      (assert)
                                                                                                      nil
                                                                                                      nil))
                                                                                                    nil))
                                                                                                  nil))
                                                                                                nil))
                                                                                              nil))
                                                                                            nil))
                                                                                          nil))
                                                                                        nil))
                 nil)
                                                                                    nil)
                                                                                   ("2"
                                                                                    (skosimp*)
                                                                                    (("2"
                                                                                      (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))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil)
                               ("2"
                                but- )
                                (("2"
                                  (lemma "integral_scal_g")
                                  (("2"
                                    (inst - "-1" "a" "b" "f" "gg")
                                    (("2"
                                      (assert)
                                      (("2"
                                        (flatten)
                                        (                                        (typepredRS12")
                                          (assert)
                                          (("
2"
                                            (expand "
-")
                                            (("
2"
                                              ("
"
                                              (("
2" (assert) nil nil))
                                              
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil)
                           ("
2                      nil
                            (("2" (case "integrable?(a,b,-gg,f)")
                              (("1"
                                (hide-all-but (-1 1))
                                (("1"
                                  (lemma "integral_scal_g")
                                  (("1"
                                    (inst - "-1" "a" "b" "f" "-gg")
                                    (("1"
                                      (assert)
                                      (("1"
                                        (flatten)
                                        (("1"
                                          "java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 92
                                          (("
1"
                                            (expand                                                 (1java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
                                            (("
1"
                                              "
( ,,a )P1P)
                                               "gg = (LAMBDA (x_1:T): -1 * -gg(x_1))")
                                              (("1" (assert) nil nil)
                                               ("2"
                                                (decompose-equality 1)
                                                nil
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil)
                               ("2"
                                (hide 2)
                                (("2"
                                  (assert)
                                  (("2"
                                    (hide -3)
                                    (("2"
                                      (hide 1)
                                      (("2"
                                        (skeep)
                                        (("2"
                                          (inst - "epsi")
                                          (("2"
                                            (skeep -1)
                                            (("2"
                                               
                                             
                                                
                                                (("2"
                                                  (inst - "P")
                                                  (("2"
                                                    
                                                    (("2"
                                                      java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 41
                                                        decl(?"nil)
                                                       
                                                      (("
2"
                                                        (typepred
                                                         "
RSS1")
                                                        (("
2"
                                                          (typepred
                                            RSS2"
java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
                                                          (("2 ( java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 43
                                                            
gjava.lang.StringIndexOutOfBoundsException: Range [19, 17) out of bounds for length 19
                  ("
"
(skolem
                                                               
                                                               "
xis2")
                                                              2 (java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 71
                (
                                                                 -2java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
                                                                 java.lang.StringIndexOutOfBoundsException: Range [72, 73) out of bounds for length 72
                                                                
                                                                  (name
                                                                   "
RSP1"
                 Rjava.lang.StringIndexOutOfBoundsException: Range [76, 75) out of bounds for length 94
((2"

                                                                                                                                    
                                                                     
                                                                     "Rie_sum(a,b,gg,right_identity formula-decl nil monad nil)
                                                                    (("
2"
                                                                      ajava.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 68
                                                                       declmonadnil
                             ("
"
                                                                        (java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
                                                                        (("
1"
                                                                         
                                                                           -
                                                                           "

                                                                           "RSP2")
                                                                          
                                                                            (hide-all-but
                                                                             (-1
                                                                              -2
                                                                              -7
                                                                              +))
                                                                            (""
                                                                              (grind)
                                                                              nil
                                                                              nil))
                                                                            nil)
                                                                           ("2"
                                                                            
                                                                             "Riemann?_Rie")
                                                                            ((                )
                                                                               decl"bool,bool- bool] booleans niljava.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
                                                                               -
                                                                               "
a"
                                            
                                                                               "
f"
                                        java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
                                                                              (("
2"
                                                                                 -  groupnil)
                                                                                 -)
                                                                                (("
1"
                                                                                  (inst
                                                                                   -
                                                                                   "
P"
                                            "
is2")
                                                                                  
                                                                                    java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 42
                                                                                    nil
                                                                                    nil))
                                                                                  "
(!)
                                                                                 ("2"
                                                                                  
                                                                                  nil
                                                          niljava.lang.StringIndexOutOfBoundsException: Index 87 out of bounds for length 87
                                                                                nil))
                                                                              nil))
                                                                            nil)
                                                                           ("3"
                                                                            (lemma
                                                                             "Riemann?_Rie")
                                                                            (("3"
                                                                              (inst
                                                                               -
                                                                               "a"
                                                                               )
                                                         java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
                                                                               "java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 9
                                                                              (("
3"
                                                                                (split
                                                                                 -)
                                                                                (("
1"
                                                                                  (inst
                                                                                   -
                          "
"
                                                       "java.lang.StringIndexOutOfBoundsException: Range [90, 91) out of bounds for length 90
                                                                                  (( nil)
                                 (assert)
                                                                                    nil
                                                                                    "
()
                                                                                  nil((" (expand "monad?")
                                                                                 ("
2"
                                                                                  (propax)
                                                                                  nil
                                        nil)
                                                                                nil))
                                                                              nil))
                                                                            nil (member const-ecl "
ool sets nil
                                                                          nil))
                                                                        nil)
                                                                       
                                                                        (replace
                                                                         -1
                                                                         group_is_subgroupnil
                                d
                                                                         rl)
                                                                        "
                                                                          (replace
                                                                           -2
                                                                           1
                                                                           :dir
                                                                           ("
 (
                                                                          )
                                                                            (3 (skosimp
                                                                             
                                                                             1)
                                                                            (("2"
                                                                              (replace
                                                                               
                                                                               1)
                                                                              (("2"
                                                                                (hide-all-but
                                                                                 1)
                                                                                (("2"
                                                                                  (expand
                                                                                   
                                                                                  (("2"
                                                                                    (split
                                                                                     +)
                                                                                    5 expand"nv_exists?"
                                                                                      (lemma
                                                                                       "sigma_scal[below(P`length-1)]")
                                                                                      (("1"
                                                                                        2
                                                                                         -
                        "LAMBDA(:below(P`length - 1)):
                                                                                                                                                                                                   
                                                                                                                                                                                                    (-gg)(P`seq(n)) * f(xis1`seq(n))"

                                                                                         "-1"
                                                                                         "P`length-2"
                                                                                         "0")
                                                                                        (("1"
                                                                                          (replace
                                                                                           -1
                                                                                           :dir
                                                                                           rl)
                                                                                           (inst  "1"
                                                                                            (hide
                                                                                             -1)
                                                                                            (("1"
                                                                                              (lemma
                                                                                               "(onempty?const--ecl bool" sets nil)
(("1"
i booljava.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 51
                                                                                                (("1"
                                                                               
                                                                                                  (("1"
                                                                                                    (hide
                                                    )
                                                                                                    (("1"
                                                                                                      (expand
                                                                                                       "restrict")
                                                                                                      (("1"
                                                                                                        (expand
                                                                                                         "-")
                                                                                                        (("1"
                                                         assert    (nonempty-  java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
                                                                                                          formalnonemptytypedeclniljava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 47
                                     java.lang.StringIndexOutOfBoundsException: Index 109 out of bounds for length 109
                                                                       
                                                                                                    " nil)
                                                                                                  nil))
                                                                                                -decl )
                                                                                              d nil
                                                                
                                                                                          nil))
                                                                                        java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
   )
                                                                                        (skosimp*)
                                                                                        typeeq-nilbooleansniljava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
                                                                                          
                                                                          
                                                                                         )
                                                                                       java.lang.StringIndexOutOfBoundsException: Index 93 out of bounds for length 93
                                                                                      o formal-- T"
java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 20
                                                                                     
                                                                                      typeeq  defined_types nil)
                "sigma_scalbelow(P`1))]
                                    (1"

                                                                                        oneconstdecl" )
                                                                                         
                                                                                         (length-1)):
                                                                                                                                                                                                   
                                                                                                                                                                                                    -nil           IMPLIES
                                                                                         "
-1"
                                                                                         "
P`length-    java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 49
                                                                                         
java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 36
                                                                                           associative-: rl
                                                                                           -1
                                                                                           :dir
                                                                                           
                                                                                          (("1"
(hide
                                                                                             -)
                            (1"
                                                                                              const-decl"
[eal(2(n niljava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
                                                                                               "sigma_restrict_eq[below(P`length-1)]")
                                                                                               -nil
                                                                                                (inst niljava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
                                                                          
                                                                                                  real_propsnil)
                                                                                                  (("1"
                                                                                                    (hide
                                                                                                     2)
                                                                                                    (("1"
                                                                                                      (expand
                                                                                                       "restrict")
                                                                                                      (("1"
                                                                                                        (expand
( associative
                                                                                                        )java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
                                                                                                          (assert)
                                                                                                          
nil
                                                                                                        " (skolem!)
                                                                                              
                                                                  
                                                                                                  nil))
                                                                                                nil)(1nil 
                                                                
                                                        
                                                                                               (integer_pred const-de decl "
[>boolean"integers java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
                                                                                        java.lang.StringIndexOutOfBoundsException: Range [92, 93) out of bounds for length 92
                                                                                       2
                                                                                        (skosimp*)
                                                                                        (("
2"
                                                                                          (assert)
                                                                                          nil
                                                                                          subgroup?const-"
ool group_def 
                                                                                        nil))
                                                                                      java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 21
                                                                                    ( "?)
                                                                                  nil))
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil    (nt_minus_int_is_int                                              (4
                                                                      
                                                                    expand
                                                                  )
                                                                nil))
                                                              nil))
    AND -decl [bool,bool-> bool] booleans nil)
                                                          nil))
                                                        nil))
                                                     ))
                                                    nil))
(("

                                                nil))
                                              nil))
                                            (-const-decl "numfield -> numfield] number_fields nil)
                                          nil))
                                        nil))
                                      nil)java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
                                    nil))
                                  nil)
                                nil))
                              )
    right_identity formuladecl nil monad java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
nil)
              nil))
            nil))
          nil))
        nil)il)
      nil)
     ("
2" (hide 2    (""( "!)
      (2 (skolem 1 ("a"    set-"TT-T roup nil
        "
2"(atten)

("("java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 39
              (("2" (ground)
(""(java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 48
                  (("1" (    (unique_inv formula-decl nunique_inv formula-ecl nilgroup java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
("1 (inst -""
                      (("1" (skeep -1)
                        (("1" (java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 19
                          (("1" (skeep)
("1" (inst-nil
                              ("1" (ssert) nil nil) nil))
                            nil))
nil)java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
                        nil))
                      nil))
                    nil))
                  nil)
                 (""a^( + j!2))
                  (case "FORALL (epsi:posreal): EXISTS (delta: posreal):
    (umber -- nilnumbers nil)java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
                                                                                                                                 a, b, P1) <delta IMPLIES
                                                                                                                  (a,b,P1, gg,f)java.lang.StringIndexOutOfBoundsException: Index 176 out of bounds for length 176
                                                                                                                                            nil)
                                                                                                                                     abs(RS1    (                              nil))
                  (("
1" (hide -2)
                   "
)
                       (("1"()
                        (("1" (    (rational_pred const-decl "[real const-" -b]  niljava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
                          (("
1" ((nat nonempty-type-eq-decl nil naturalnil)
                            (("
1" (inst + "delta")
                              (("
1"
                                (skeep)
                                (("
- "rationals )
                                  (inst-cp - (real_ge_is_total_ordernamejudgement "
total_order[])"
                                 
                                   -"
P2 ")
                                    (1"

                                     
                                      (("      (("" (expand "?"
                                java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
                                         "
EXISTS(2"(  (trict_total_order[real]"eal_props 
                                        (("1"
                                          (skeep                                          (skeep    shostak (("2java.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77
                                          (("
1"
                                            
                                            (("
java.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 46
(inst - "RS2(formal-onst-decl  "T,  ))
                                              (                ("(expand "empty?")
                                                (inst -    (memberconst application-iintegers nil)
(1("
inv_one"
                                                  (hide -3)
                                                  (((one -decl T"
 nil
                                                    (java.lang.StringIndexOutOfBoundsException: Range [15, 10) out of bounds for length 12
                                                    (("1"
                                                      (grind)
                                                      inst+ "    (xpt_expt 
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil)
     (2
(typepred RS12"
java.lang.StringIndexOutOfBoundsException: Range [65, 66) out of bounds for length 65
                                                (("2"
                                                  umber_field_pred-"[umber - boolean 
"
"
                                                  (("
2"
                                                    (inst - "
a" "b")
                                                    "
xis2)
                                             assert
                                                      (("2"
                                                         applicationjudgement "" integersnil
                                                         -
                                                         "P1"
                                                         "P2")
                                                        (("2"
                                                          (assert)
                                                          nil
                                                          nil))
                                                        nil))
                                                       - "" setsnil)
                                                    nil))
                                                  nil))
                             )java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
                                              nil))
                                            nil))
                                                       ("2" (assert) (("2" (rewrite "po) (2 p nil
                                         ("2"
                                          (         )
("
                                            (inst - "
a"            (1             application-udgement "posint"
                                            2"

                                              (
                                             1
                                                (inst
                                                 "a"
                                                 "partition_union(a,b)(P1,P2)"
                                                 gen_xis(,b,partition_union(a,b)(P1,P2))"
                                                (("
1"
                                                                                                    (inst))
                                                   
         "
 java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
                                                                                                                                                             gen_xis(a, b, partition_union(a, b)(P1, P2)), f)")
                                                 
                                                  nil))
                                                nilcancel_right formula-decl nil group nil)
                                               ("
2" (propax) nil nil))
                                              nil))
                                            ))
                                          nil))
nil
                                      nil))
                                    nil))
                                  nil))
                                nil))
                                  (inv const-decl "{y | x * y =java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 41
    (inv_right formula            ("
 rewrite"
                          niljava.lang.StringIndexOutOfBoundsException: Range [80, 67) out of bounds for length 85
                        nil))
              nil))
                    nil)
                   ("
2" (hide 2)
                    (("
2" (lemma "java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 37
                      (("2" (skeep)
                        ("" (inst -2 "epsi")
                          (("2" (skeepniljava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
                            (("2" (inst + "delta")
                              (("2"
(oolean-type-decl nilbooleans java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
                                (("2"
                                  (inst - "a" "b" "f" "gg")
                                  (assert java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
                                    java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
                                    (("2"
                                      ")("2"() nil nil)
                                      (("
2"
                                        (replace "
gincreasing?")
                                        (("
2"
                                          "
java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
                                          (((""a^ j")
                                            real_props niljava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
                                            (("
2"
                                              (java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 39
                                              (2java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
                                                (roup?const-decl"
ool group_def java.lang.StringIndexOutOfBoundsException: Range [0, 43) out of bounds for length 39
                                                 1
                                                 ("RSS1" "RSS2"))
                                                (("2"
                                                  (                              nil
                                                  (("2"
                                                    (typepred RSS2)
                                                    (("2"
                                                      (expandbool"reals nil)
                                                       "
Riemann_sum?")
                                                      (("
2"
                                                        (java.lang.StringIndexOutOfBoundsException: Range [0, 63) out of bounds for length 21
                                                         -
                                                         "
xispq")
                                                        "
e
                                                           0
                                                           -2
                                                           "xis")
                                                          (("2"
                                                            (inst
java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 18
                                                                             ""
                                                             (bool nonempty-type-eq-decl nil booleans nil)
                                                             (constdecl{ *y=AND    one}"    nat_induction  formula nil naturalnumbers il
(nv_right formula-decl nil group nil))
                                                               -3)
                                                              2"

                                                                (inst
                                                                 -
                                                                 "( const-decl "bool sets
                                                                (("2"
                                                                  java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 26
                                                                    (inst
                                                                     -
                                                                     "RSS1"
                                                                     "Rie_sum(a, b, gg, P, xis2, f)")
                                                                    (("1"
                                                                      assert)    (e"
                                                                      nil
                              nil)
                                                                     ("
2"
                                                                      
                                                                       "
Riemann?_Rie")
                                                                      (("
2"
              
                                                                         -
                                                                         "
a"
java.lang.StringIndexOutOfBoundsException: Range [49, 43) out of bounds for length 53
                                                                         "

                                                                         "gg"(expandjava.lang.StringIndexOutOfBoundsException: Range [69, 67) out of bounds for length 69
expt_0-edecln)
                                                                          left_identityformulajava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 46
                                                                           (java.lang.StringIndexOutOfBoundsException: Range [24, 18) out of bounds for length 64
                                                                          (("1"
         inst
-
                                                                                                             java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 59
")
                                                                            (expand
)
                                                                           ("
2"
                                                                             [      (("" (rewrite "finite_group_surj
                                                                            nil
((1 expand"
     " ("
                                )
                                         - x1)
nil)
                                                                    nil))
                                                                  nil)                                                                       ))
                                                               
nil))
                                                            
                                                          nil))
                                                        )
                                                      nil))
                                                    nil))
)
niljava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
                                              nil(       (("2" (expand "power"
                                            (("1" (typepred "y"l"r
                                          nil))
                                        
                                      ("r  )
                                    java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 35
                                  nil))
                                nil))
                              (one formal-const-decl "T" grou)
                            nil))
)
                        nil))
                      nil))
                    nil))
                                          2()
                nil))
              )java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
            nil))
          nil))
        nil))
      nil))
    nil)
   ((partition_union const-decl "
    real("a1i -!""1)
        F (  (("1"
          AND (""
    (niljava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
    (member (     )
    java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 67
     real_types nil)
    (/ const-decl "[numfield,    a!0
(znum-nil
    (/= java.lang.StringIndexOutOfBoundsException: Range [34, 1) out of bounds for length 46
    (java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 58
-java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 50
     (formal-const-cl    njava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 64
    (P2 skolem-const-decl "
partition[T](a,(judgement"dd_int" )java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
    (P1 skolem-const-decl "partition[T](a, b)" rs_integral_prep nil)
    (gg skolem-const- nil)
    (f skolem"  )
(
"
(,b a ) eal--nil
    java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 26
    (partition_union_sym    (  shostak)
    (TRUE const-decl "bool    ((" skolem)
    (Rie_sum_diff_extend_union formula-decl nil rs_integral_def nil)
    xjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
    (P skolem-const-decl "partition[T](a, b)" rs_integral_prep nil(real_gt_is_strict_total_order -udgement
    (integrable_lem formula-decl nil     Tformalnonemptytypenilnil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (                                                          
    (- (1
    (real_le_is_total_order name-judgement "(total_order?[real])"
     real_props nil)(""
    (minus_real_is_real application-judgement    T formal--nilniljava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
    (decreasing? const-decl "bool" real_fun_preds "reals/   (member const-ecl"  niljava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
" number_fieldsnil)
    (ational_predconst-decl "
real- boolean" )
  java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 51
    (a skolem-const("
a)
    njava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
 java.lang.StringIndexOutOfBoundsException: Range [24, 19) out of bounds for length 67
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 61
    (f skolem-const-decl "[T -> real]" rs_integral_prep(java.lang.StringIndexOutOfBoundsException: Range [18, 16) out of bounds for length 54
SP1- (1skolem-decl"roup roup nil)
rep)
    (minus_odd_is_odd application-judgement "
odd_int" integers nil)
    (Riemann?_Rie    right_identity formula-decl nil monad nil)
    (one_left0
    (sigma_scal formula-decl nil sigma "
reals/")
    (integernonempty-fromdecl nilintegers java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
    (sigma_restrict_eq formula-decl nil sigma "
reals/")
    (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)
    (restrict const-decl "
[T -> real]" sigma "reals/")
    (* const-decl "
[numfield, numfield -> numfield]"          (""(grind)
    (OR const-decl "
[bool, bool -> bool]" booleans nil)
    (                                                          )
    (T_low type-eq-decl nil sigma "
reals/    i nonempty-type-                                                       
pjava.lang.StringIndexOutOfBoundsException: Range [44, 27) out of bounds for length 65
i nil
    (- int"integers     (real])
    (integral_scal_g formula-decl nil rs_integral_prep nil)
    (* const-decl "
[T -> real]" real_fun_ops "reals/")
   P -const-decl "
artition[T](, b"rs_integral_prep nil)
    (RSP1 skolem-const-decl "
real" rs_integral_prep nil)
    (RSP2 skolem-const-decl                "
                        java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
    (monotonic? const-decl "java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 19
    (real_minus_real_is_real application-judgement "
   )
""
     gjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 47
([java.lang.StringIndexOutOfBoundsException: Range [43, 40) out of bounds for length 64
     nil( -t-  ("
     ol"
java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 44
    (real_pred const-decl "[number_field -> boolean]" reals java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 58
    (real nonempty-type-from-decl nil reals nil)
s_integral_prep nil)
 java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
((m"
    (IMPLIES const-decl "
[bool, bool -> bool]" java.lang.StringIndexOutOfBoundsException: Range [35, 33) out of bounds for length 64
    (AND const-decl "
[            (1 rewrite"- d )
    (< const-decl "
bool"         ))
    (increasing? const-decl "
bool"                                                           java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
    (restrict const-decl "
R" restrict nil)
    (IFF const-decl "
[bool, bool -> bool]" booleans nil)
    (integrable?                                                        )
    (>= const-decl "
bool" reals nil)
   --    -java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 56
    (>                                      "
?
    (posreal nonempty-type-eq-decl nil real_types     (number_field nonempty-type-from-decl nil number_java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
    (nat nonempty-type-eq-decl nil naturalnumbers(nt -                      ()
    (barray type-eq("(!java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
    (                                          ))
    (= const-decl "
[T, T -> boolean]" equalities nil)
       ))
    (    ("
"(xpand ""
    (increasing? const-decl "
bool" sort_fseq "structures/                    (("1"(skosimp*)
    (rational_pred const-decl "[real -> boolean]" rationals nil)
    (rational                                 "G1"a y1n -!")
java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 66
    (int nonempty-type-                      il)
   java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 47
    (          (("2 (emma"
"" G(("java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
    (          (("
"
    "
inv*) =q  1"
    (- const-decl "
[numfield -> numfield]" number_fields nil)
    abs - { java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 69
         nil))
   nil)
  (integrable_lem2-2 nil 3492513670
                                                  (ide--but (41)
    (case "
FORALL (a, b: real, f, g: [real -> real
                                   <b    r r]"
                                                                        increasing?    mjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 49
                                                                            ypedeclnilgroup java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
                                                                                 (g))
                                                                        IMPLIES
                                                                         nonempty--fromdecl    nil)
                                                                          (FORALL (epsi: posreal):
                                                                             EXISTS (delta: posreal):
                                                                               FORALL (P: partition(a, b)):
                                                                                 width(a, b, P) < delta IMPLIES
                                                                                  (FORALL (RS1: (Riemann_sum?(a, b, P, g, f)),
                                                  ( -cl   )
                                                                                     )<)))
    (("
1" (skolem 1 ("a" "b" "f" "gg"))
      (("
1" (flatten)
        (("
1" (assert)
          (("
1" (expand "monotonic?")
            (("
1"                                  ("2"
              (("
1"                                      (1java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
                 expand "
fullset")
                 ("
2" (case "NOT increasing?[(closed_intv(a,b))](-gg)")
                 (1 (ide-ll-(1 )java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
                    (("
1" (expandnil)
                      (("
1" (expand "decreasing?")
                        (("
1" (skeep)
                          (("
1" (inst          (                       (a""! i i!""" -!")
                            (("
1" (                                         (2
                              (("
1"
                                (expand "
restrict")
                                (("
1"
              -)
                                  (("
1" (assert) nil nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
))
                       (numfield -eq-decl nil number_fields nil)
nil
                   ("
2" (hide -2)
                    (("
2" (inst - "a" "b
                      (("2" (assert)
                        (("2" (split +)
                          (("1" (flatten)
                            (("1" (case "integrable?(a,b,-gg,f)")
                              (("1"
                                (assert)
                                (("1"
(-5)
                                  (("1"
                                    (skeep)
((""
                                       epsi"
                                      (("
1"
                                        (skeep     ("
()
                                        (("1"
                                          (inst + "delta")
                                          (("1"
()
                                            (("1"
                                              (                                          ((""
                                              (("1"
                                                (name
                                                (("1"
                                                  (skolem
                                                   1
      (RSS1 "SS2")
                                                  nil)
                                                    (typepred "RSS1")
(("1"
                                                      (typepred "RSS2")
                                                      (("1"
                                                        (expand
                                                         "Riemann_sum?")
                            "java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
                                                          (skolem
                                                            -ecl )
  "
xis2)
                                                          (("1"
                                                            (skolem
                                                             -2
                                                             "xis1")
                                                            (("1"
                                                              (name
                                                               "RSP1"
                                                                (("1"
                                                              (("1"
                       name
                                                                 "RSP2    ( decl"monoid_defnil)
                                                                 "Rie_sum(a,b,-gg,P,xis2,f)")
                                                                
                                                                  (case
                                                                   "RSP1 = -RSS1 AND RSP2 = -RSS2")
                                                                  1"
                                                                    (flatten)
                                                                    (("
1"
                                                                      (inst
                                                                       -
                                                                       "
RSP1"
                                                                       "
RSP2")
(("
1
                                                                        (hide-all-but
                                                                         (-1
                                                                          -2
                                                                          -11
                                                                          +))
                                                                        (((("
                                                                          (java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 43
                         
                                                                          nil))
                                                                        nil)
                                                                       ("
2"
                                                                        (replace
                                                                         (("
"
                                                                         +
                                                                         :dir
                                                                         java.lang.StringIndexOutOfBoundsException: Range [0, 75) out of bounds for length 68
                                                                        (("
2"
                                                                                                                                              
                                                                           "
Riemann?_Rie")
                                                                          (("
2"
                                                                            
                                                                             -
("
2"(typepred"!"java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
                                                                             "
b"
                                                                             "
f"
                                                                             "
-gg")
(assert)
                                                                              (inst-"
 y1)
                                                                               -)
                                                                              (("1 nil))
                                                                                (inst
                                                                                 -
                                                                                 "
P"
                                                                                 "
xis2")
                                                                                nil
                                                                                nil)
                                                                               ("
2"
                                                                                ((?java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
                                                                                nil
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil)
                                                                                                                                                  )
                                                                        (replace
                                                                         -4
                                                                         +
                                                                         :dir
                                                                         rl)
                                                                        (("
3"
                                                                          (lemma
                                                                           "
Riemann?_Rie")
                                                                          (("
3"
                                                                            (inst
                                                                             -
                                                                             "
a"
                                                                             "
b"
                                                                             
                                                                                                         nil))
                                                                            "

                                                                              1
                                                                    
                                                                              (("1"
                                                                                (("2"
                                                                                 -
                                                                                 "P"
                                                                                 "xis1")
                                                                                
                                                                                nil)
                                                                               ("2"
                                                                                (propax)
                                                                                nil
                                                                                nil))
nil))
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
*-java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 56
                                                                   ("2"
                                                                    (replace
                                                                     -1
                                                                     1
:dir
                                                                     rl)
                                                                    (("2"
                                                                      (replace
                                                                       -2
                                                                       1
                                                                       :dir
                                                                       rl)
                                                                      (("2"
                                                                        (replace
                                                                         -3
                                                                         1)
                                                                        (("2"
                                                                          (replace
                                                                           -4
                                                                           1)
                                                                          (("2"
                                                                            (hide-all-but
                                                                             1)
                                                                            (("2"
                                                                              (expand
                                                                               "Rie_sum")
                                                                              (("2"
                                                                                (split
                                                                                 +)
                                                                                (("1"
                                                                                  (lemma
                                                                                   "sigma_scal[below(P`length-1)]")
                                                                                  (("1"
                                                                                    (inst
                                                                                     -
                                                                                     "LAMBDA (n: below(P`length - 1)):
                                                                                                                                                                                 f(xis1`seq(n)) * gg(P`seq(1 + n)) -
                                                                                                                                                                                  f(xis1`seq(n)) * gg(P`seq(n))"

                                                                                     "-1"
                                                                                     "P`length-2"
                                                                                     "0")
                                                                                    (("1"
                                                                                      (replace
                                                                                       -1
                                                                                       :dir
                                                                                       rl)
                                                                                      (("1"
                                                                                        (hide
                                                                                         -1)
                                                                                        (("1"
                                                                                          (lemma
                                                                                           "sigma_restrict_eq[below(P`length-1)]")
                                                                                          (("1"
                                                                                            (inst?)
                                                                                            (("1"
                                                                                              (assert)
                                                                                              (("1"
                                                                                                (hide
                                                                                                 2)
                                                                                                (("1"
                                                                                                  (expand
                                                                                                   "restrict")
                                                                                                  (("1"
                                                                                                    (expand
                                                                                                     "-")
                                                                                                    (("1"
                                                                                                      (assert)
                                                                                                      nil
                                                                                                      nil))
                                                                                                    nil))
                                                                                                  nil))
                                                                                                nil))
                                                                                              nil))
                                                                                            nil))
                                                                                          nil))
                                                                                        nil))
                                                                                      nil))
nil
                                                                                   ("2"
                                                                                    (skosimp*)
                                                                                    (("2"
                                                                                      (assert)
                                                                                      nil
                                                                                      nil))
                                                                                    nil))
                                                                                  nil)
                                                                                 ("2"
                                                                                  (lemma
                                                                                   "sigma_scal[below(P`length-1)]")
                                                                                  (("1"
                                                                                    (inst
                                                                                     (("1"
                                                                                     "LAMBDA (n: below(P`length - 1)):
                                                                                                                                                                                 f(xis2`seq(n)) * gg(P`seq(1 + n)) -
                                                                                                                                                                                  f(xis2`seq(assert)
                                                                                     "
-1"
                                                                                     "
P`length-2"
                                                                                     "
0")
                                                                                    (("
1"
                                                                                      (replace
                                                                                       -1
                                                                                       
                                                                                       rl)
                                                                                      (("
1"
                                                                                        (hide
                                                                                         -)
                                                                                        (("
1"
                                                                                          
                                                                                           "
sigma_restrict_eq[below(P`length-1)]")
                                                                                          (("
1"
                                                                                            (inst?)
                                                                                            (("
1"
                                                                                              (assert)
                                                                                              (("
1"
                                                                                                (hide
                                                                                                 2)
                                                                                                (("
1"
                                                                                                  (expand
                                                                                                   "
restrict")
                                                                                                  
                                                                                                    (expand
                                                                                                     "
-")
                                                                                                    (("
1"
                                                                                                      (assert)
                                                                                                      nil
                                                                                                      nil))
                                                                                                    nil))
                                                                                                  nil))
                                                                                                nil))
                                                                                              )
                                                                                            nil))
                                                                                          nil))
                                                                                        nil))
                                                                                      nil))
                                                                                    nil)
                                                                                   ("
2"
                                                                                    (skosimp*)
                                                                                    (("
2nil)
                                                                                      (assert)
                                                                                      nil
                                                                                      nil))
                                                                                    nil))
                                                                                  nil))
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      )
                                                    ijF  big_ops_nati,j,)=big_ops_nat(,,AMBDA (knat) Fk o)
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil)
                               ("2"
                                (hide-all-but (-1 1))
                                (("2"
                                  (lemma "integral_scal_g")
                                  (("2"
                                    (inst - "-1" "a" "b" "f" "gg")
                                    (("2"
                                      (assert)
                                      (("2"
                                        (flatten)
                                        (("2"
                                          (assert)
                                          (("2"
                                            (expand "-")
                                            (("2"
                                              (expand "*")
                                              (("2" (assert) nil nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil)
                           ("2" (flatten)
                            (("2" (case "integrable?(a,b,-gg,f)")
                              (("1"
                                (hide-all-but (-1 1))
                                (("1"
                                  (lemma "integral_scal_g")
                                  (("1"
                                    (inst - "-1" "a" "b" "f" "-gg")
                                    (("1"
                                      (assert)
                                      (("1"
                                        (flatten)
                                        (("1"
                                          (expand "-")
                                          (("1"
                                            (expand "*")
                                            (("1"
                                              (case
                                               "gg = (LAMBDA (x_1: real): -1 * -gg(x_1))")
                                              (("1" (assert) nil nil)
                                               ("2"
                                                (decompose-equality 1)
                                                nil
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil)
(2
                                (hide 2)
                                (("2"
                                  (assert)
                                  (("2"
                                    (hide -3)
                                    (("2"
                                      (hide 1)
                                      (("2"
                                        (skeep)
                                        (("2"
                                          (inst - "epsi")
                                          (("2"
                                            (skeep -1)
                                            (("2"
                                              (inst + "delta")
                                              (("2"
                                                (skeep)
                                                (("2"
                                                  (inst - "P")
                                                  (("2"
                                                    (assert)
                                                    (("2"
                                                      (skolem
                                                       1
                                                       ("RSS1" "RSS2"))
                                                      (("2"
                                                        (typepred
                                                         "RSS1")
                                                        (("2"
                                                          (typepred
                                                           "RSS2")
                                                          (("2"
                                                            (expand
                                                             "Riemann_sum?")
                                                            (("2"
                                                              (skolem
                                                               -1
                                                               "xis2")
                                                              (("2"
                                                                (skolem
                                                                 -2
                                                                 "xis1")
                                                                (("2"
                                                                  (name
                                                                   "RSP1"
                                                                   "Rie_sum(a,b,gg,P,xis1,f)")
                                                                  (("2"
                                                                    (name
                                                                     "RSP2"
                                                                     "Rie_sum(a,b,gg,P,                                                  +
                                                                    (2
                                                                      (case
                                                                       "
RSP1 = -RSS1 AND RSP2 = -RSS2")
                                                                      (("
1"
                                                                        (flatten)
                                                                        (("
1"
                                                                          (inst
                                                                           -
                                                                           "
RSP1"
                                                                           "
RSP2")
                                                                          (("
1"
                                                                            (hide-all-but
                                                                             (-1
                                                                              -2
                                                                              -7
                                                                              +))
                                                                            (("
1"
                                                                              (grind)
                                                                              nil
                                                                              nil))
                                                                            nil)
                                                                           ("
2"
                                                                            (lemma
                                                                             "
Riemann?_Rie")
                                                                            (("
2"
                                                                              (inst
                                                                               -
                                                                               "
a"
                                                                               "
b"
                                                                               "
f"
                                                                               "
gg")
                                                                              (("
2"
                                                                                (split
                                                                                 -)
                                                                                (("
1"
                                                                                  (inst
                                                                                   -
                                                                                   "
P"
                                                                                   "
xis2")
                                                                                  (("
1"
                                                                                    (assert)
                                                                                    nil
java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 50
                                                                                  nil)
                                                                                 ("
2"
                                                                                  (propax)
                                                                                  nil
                                                                                  nil))
                                                                                nil))
                                                                              nil))
                                                                            nil)
                                                                           ("
3"
                                                                            (lemma
                                                                             "
Riemann?_Rie")
                                                                            (("
3"
                                                                              (inst
                                                                               -
                                                                               "
a"
                                                                               "
b"
                                                                               "
f"
                                                                               "
gg")
                                                                              -
                                                                                (split
                                                                                 -)
                                                                                (("
1"
                                                                                  (inst
                                                                                   -
                                                                                   "
P"
                                                                                   "
xis1")
                                                                                  (("
1"
                                                                                    (assert)
                                                                                    nil
                                                                                    nil))
                                                                                  nil)
                                                                                 ("
2"
                                                                                  (propax)
                                                                                  nil
                                                                                  nil))
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil)
                                                                       ("2"
                                                                        (replace
                                                                         -1
                                                                         1
                                                                         :dir
                                                                         rl)
                                                                        (("2"
                                                                          (replace
                                                                           -2
                                                                           1
                                                                           :dir
                                                                           rl-
                                                                          (("2"
                                                                            (replace
                                                                             -3
                                                                             1)
                                                                            (("2"
                                                                              (replace
                                                                               -4
                                                                               1)
                                                                              (("2"
                                                                                (hide-all-but
                                                                                 1)
                                                                                (("2"
                                                                                  (expand
                                                                                   "Rie_sum")
                                                                                  (("2"
                                                                                    (split
                                                                                     +)
                                                                                    (("1"
                                                                                      (lemma
                                                                                       "sigma_scal[below(P`length-1)]")
                                                                                      (("1"
                                                                                        (inst
                                                                                         -
                                                                                         "LAMBDA (n: below(P`length - 1)):
                                                                                                                                                                                 (-gg)(P`seq(1 + n)) * f(xis1`seq(n)) -
                                                                                                                                                                                  (-gg)(P`seq(n)) * f(xis1`seq(n))"
                                                                                         "-1"
                                                                                         "P`length-2"
                                                                                         "0")
                                                                                        (("1"
                                                                                          (replace
                                                                                           -1
                                                                                           :dir
                                                                                           rl)
                                                                                          (("1"
                                                                                            (hide
                                                                                             -1)
                                                                                            (("1"
                                                                                              (lemma
                                                                                               "sigma_restrict_eq[below(P`length-1)]")
                                                                                              (("1"
                                                                                          
                                                                                                (("1"
                                                                                                  (assert)
                                                   ""
                                                                                                    (hide
                                                                                                     2)
                                                                                                    (("1"
                                                                                                      (expand
                                                                                                       "restrict")
                                                                                                      (("1"
                                                                                                        (java.lang.StringIndexOutOfBoundsException: Index 109 out of bounds for length 54
                                                                                                         "-")
                                                                                                        
                                                                                                          (assert)
                                                                                                          nil
                                                                                                          nil))
                                                                                                        nil))
                                                                                                      nil))
                                                                                                    nil))
                                                                                                  nil))
                                                                                                nil))
                                                                                              nil))
                                                                                            
                                                                                          nil))
                                                                                        nil)
                                                                                       ("2"
                                                                                        (skosimp*)
                                                                                        (("2"
                                                                                          (assert)
                                                                                          nil
                                                                                          nil))
                                                     a , 
                                                                                      nil)
                                                                                     ("2"
                                                                                      (lemma
                                                                                       "sigma_scal[below(P`length-1)]")
                                                                                      (("1"
                                                                                        (inst
                                                                                         -
                                                                                         "LAMBDA (n: below(P`length - 1)):
                                                                                                                                                                                 (-gg)(P`seq(1 + n)) * f(xis2`seq(n)) -
                                                                                                                                                                                  (-gg)(P`seq(n)) * f(xis2`seq(n))"
                                                                                         ("1"expand increasing?")
                                                                                         "P`length-2"
                                                                                         "0")
                                                                                        (("1"
                                                                                          (replace
                                                                                           -1
                                                                                           :dir
                                                                                           rl)
                                                                                          (("1"
                                                                                            (hide
                                                                                             -)
                                                                                            (("1"
                                                                                              (lemma
                                                                                               "sigma_restrict_eq[below(P`length-1)]")
                                                                                              (("1"
                                                                                                (inst?)
                                                                                                (("1"
                                                                                                  (assert)
                                                                                                  
                                                                                                    (hide
                                                                                                     2((""(+)
                                                                                                   
                                                                                                      (expand
                                                                                                       "restrict")
                                                                                                      (("1"
                                                                                                        (expand
                                                                                                         "-")
                                                                                                        (("1"
                                                                                                          (assert)
                                                                                                          nil
                                                                                                          nil))
                                                                                                        nil))
                                                                                                      nil))
                                                                                                    nil))
                                                                                                  nil))
                                                                                                nil))
                                                                                              nil))
                                                                                            nil))
                                                                                          nil))
                                                                                        nil)
                                                                                       ("2"
                                                                                        (skosimp*)
                                                                                        (("2"
                                                                                          (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))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("2" (hide 2)
      (("2" (skolem 1 ("a" "b" "f" "gg"))
        (("2" (flatten)
          (("2" (label "gincreasing?" -2)
            ((" ))
              (("2" (ground)
                (("1" (rewrite
                  (("1" (skeep)
                    (("1" (inst - "epsi")
                      (("1" (skeep -1)
                        (("1" (inst + "delta")
                          (("1" (skeep)
                            (("1" (inst - "P" "P")
                              (("1" (assert) nil nil)) nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil)
                 ("2"
                  (case "FORALL (epsi:posreal): EXISTS (delta: posreal):
                                                                                                                    FORALL (P1, P2: partition(a,b)):
                                                                                                                      width(a, b, P1) < delta IMPLIES
                                                                                                                       (FORALL (RS1: (Riemann_sum?(a, b, P1, gg, f)),
                                                                                                                                RS2: (Riemann_sum?(a, b, partition_union(a,b)(P1,P2), gg, f))):
                                                                                                                          abs(RS1 - RS2) < epsi)")
                  (("1" (hide -2)
                    (("1" (rewrite "integrable_lem")
                      (("1" (skeep)
                        (("1" (inst - "epsi/2")
                          (("1" (skeep -1)
                            (("1" (inst + "delta")
                              (("1"
                                (skeep)
                                (("1"
                                  (inst-cp - "P1" "P2")
                                  (("1"
                                    (inst - "P2" "P1")
                                    (("1"
                                      (assert)
                                      (("1"
                                        (case
                                         "EXISTS (RS12: (Riemann_sum?(a, b, partition_union(a, b)(P1, P2), gg,f))): TRUE")
                                        (("1"
                                          (skeep -1)
                                          (("1"
                                            (skosimp*)
                                            (("1"
                                              (inst - "RS2!1" "RS12")
                                              (("1"
                                                (inst - "RS1!1" "RS12")
                                                (("1"
                                                  (hide -3)
                                                  (("1"
                                                    (hide -3)
                                                    (("1"
                                                      (grind)
                                                      nil
                                                      nil))
(("1"
                                                  nil))
                                                nil)
                                               ("2"
                                                (typepred "RS12")
                                                (("2"
                                                  (lemma
                                                   "partition_union_sym")
                                                  (("2"
                                                    (inst - "a" "b")
                                                    (("2"
                                                      (assert)
                                                      (("2"
                                                        (inst
                                                         -
                                                         "P1"
                                                         "P2")
                                                        (("2"
                                                          (assert)
                                                          nil
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil)
                                         ("2"
                                          (lemma "Riemann?_Rie")
                                          (("2"
                                            (inst - "a" "b" "f" "gg")
                                            (("2"
                                              (split -)
                                              (("1"
                                                (inst
                                                 -
                                                 "partition_union(a,b)(P1,P2)"
                                                 "gen_xis(a,b,partition_union(a,b)(P1,P2))")
                                                1
                                                  (inst
                                                   +
                                                   "Rie_sum(a, b, gg, partition_union(a, b)(P1, P2),
                                                                                                                                                 gen_xis(a, b, partition_union(a, b)(P1, P2)), f)")
                                                  nil
                                                  nil))
                                                nil)
                                               ("2" (propax) nil nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil)
                   ("2" (hide 2)
                    (("2" (lemma "Rie_sum_diff_extend_union")
                      (("2" (skeep)
                        (("2" (inst -2 "epsi")
                                                                                                                  1
                            (("2" (inst + "delta")
                              (("2"
                                (skolem 1 ("P" "Q"))
                                (("2"
                                  (inst - "a" "b" "f" "gg")
                                  (("2"
                                    (assert)
                                    (("2"
                                      (reveal "gincreasing?")
                                      (("2"
                                        (replace "gincreasing?")
                                        (("2"
                                          (hide "gincreasing?")
((""
                                            (inst - "P" "Q")
                                            (("2"
                                              flatten)
                                              (("2"
                                                (skolem
                                                 1
                                                 ("RSS1" "RSS2"))
                                                (("2"
                                                  nil))
                                                  (("2"
                                                    (typepred "RSS2")
                                                    (("2"
                                                      (expand
                                                       "Riemann_sum?")
                                                      (("2"
                                                        (skolem
                                                         -1
                                                         "xispq")
                                                        (("2"
                                                          (skolem
                                                           -2
                                                           "xis")
                                                          (("2"
                                                            (inst
                                                             -
                                                             "xispq"
                                                             "xis")
                                                            (("2"
(skeep
                                                               -3)
                                                              (("2"
                                                                (inst
                                                                 -
                                                                 "P")
                                                                (("2"
                                                                  (assert)
                                                                  (("2"
                                                                    (inst
                                                                     -
                                                                     "RSS1"
                                                                     "Rie_sum(a, b, gg, P, xis2, f)")
                                                                    (("1"
                                                                      (assert)
                                                                      nil
                                                                      nil)
                                                                     ("2"
                                                                      (lemma
                                                                       "Riemann?_Rie")
                                                                      (("2"
                                                                        (inst
                                                                         -
                                                                         "a"
                                                                         "b"
                                                                         "f"
                                                                         "gg")
                                                                        (("2"
                                                                          (split
                                                                           java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
                                                                          (("1"
                                                                            (inst
                                                                             -
                                                                             "P"
                                                                             "xis2")
                                                                            nil
                                                                            nil)
                                                                           ("2"
                                                                            (propax)
                                                                            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))
          nil))
        nil))
      nil))
    nil)
   ((increasing? const-decl "bool" sort_fseq "structures/")
    (fseq type-eq-decl nil fseqs "structures/")
    (barray type-eq-decl nil fseqs "structures/")
    (increasing? const-decl "bool" real_fun_preds "reals/")
    (monotonic? const-decl "bool" real_fun_preds "reals/")
    (T_low type-eq-decl nil sigma "reals/")
    (T_high type-eq-decl nil sigma "reals/")
    (restrict const-decl "[T -> real]" sigma "reals/")
    (sigma_restrict_eq formula-decl nil sigma "reals/")
    (sigma_scal formula-decl nil sigma "reals/")
    (decreasing? const-decl "bool" real_fun_preds "reals/")
    (strictly_increasing? const-decl "bool" sort_fseq "structures/")
    (member const-decl "bool" fseqs "structures/"))
   nil)
  (integrable_lem2-1 nil 3491565290
   (""
    (case "FORALL (a, b: real, f, g: [real -> real]):
                                           a < b AND
                                            increasing?[(LAMBDA (x: real): a <= x AND x <= b)]
                                                (restrict[real, (LAMBDA (x: real): a <= x AND x <= b), real]
                                                     (g))
                                            IMPLIES
                                            (integrable?(a, b, g, f) IFF
                                              (FORALL (epsi: posreal):
                                                 EXISTS (delta: posreal):
                                                   FORALL (P: partition(a, b)):
                                                     width(a, b, P) < delta IMPLIES
                                                      (java.lang.StringIndexOutOfBoundsException: Range [40, 1) out of bounds for length 45
                                                               RS2: (Riemann_sum?(a, b, P, g, f))):
                                                         abs(RS1 - RS2) < epsi)))")
    (("1" (skolem 1 ("a" "b" "f" "gg"))
      (("1" (flatten)
        (("1" (expand "monotonic?")
          (("1" (split -)
            (("1" (inst?) (("1" (assert) nil nil)) nil)
             ("2" (case "NOT increasing?[(closed_intv(a,b))](-gg)")
              (("1" (hide-all-but (-1 1))
                (("1" (expand "increasing?")
                  (("1" (expand "decreasing?")
                    (("1" (skeep)
                      (("1" (inst - "x" "y")
                        (("1" (assert)
                          (("1" (expand "restrict")
                            (("1" (expand "-") (("1" (assert) nil nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil)
               ("2" (hide -2)
                (("2" (inst - "a" "b" "f" "-gg")
                  (("2" (assert)
                    (("2" (split +)
                      (("1" (flatten)
                        (("1" (case "integrable?(a,b,-gg,f)")
                          (("1" (assert)
                            (("1" (hide -5)
                              (("1"
                                (skeep)
                                (("1"
                                  (inst - "epsi")
                                  (("1"
                                    (skeep -4)
                                    (("1"
                                      (inst + "delta")
                                      (("1"
                                        (skeep)
                                        (("1"
                                          (inst - "P")
                                          (("1"
                                            (assert)
java.lang.StringIndexOutOfBoundsException: Range [46, 44) out of bounds for length 49
                                              (skolem
                                               1
                                               ("RSS1" "RSS2"))
                                              (("1"
                                                (typepred "RSS1")
                                                (("1"
                                                  (typepred "RSS2")
                                                  (("1"
                                                    
                                                     "Riemann_sum?")
                                                    (("1"
                                                      (skolem
                                                       -1
                                                       "xis2")
                                                      (("1"
                                                        (skolem
                                                         -2
                                                         "xis1")
                                                        (("1"
                                                          (name
                                                           "RSP1"
                                                           "Rie_sum(a,b,-gg,P,xis1,f)")
                                                          (("1"
                                                            (name
                                                             "RSP2"
                                                             "Rie_sum(a,b,-gg,P,xis2,f)")
                                                            (("1"
                                                              (case
                                                               "RSP1 = -RSS1 AND RSP2 = -RSS2")
                                                              (("1"
                                                                (flatten)
                                                                (("1"
                                                                  (inst
                                                                   -
                                                                   "RSP1"
                                                                   "RSP2")
                                                                  (("1"
                                                                    (hide-all-but
                                                                     (-1
                                                                      -2
                                                                      -11
                                                                      +))
                                                                    (("1"
                                                                      (grind)
                                                                      nil
                                                                      nil))
                                                                    nil)
                                                                   ("2"
                                                                    (replace
                                                                     -3
                                                                     +
                                                                     :dir
                                                                     rl)
                                                                    (("2"
                                                                      (lemma
                                                                       "Riemann?_Rie")
                                                                      (("2"
                                                                        (inst
                                                                         -
                                                                         "a"
                                                                         "b"
                                                                         "f"
                                                                         "-gg")
                                                                        (("2"
                                                                          (split
                                                                           -)
                                                                          (("1"
                                                                            (inst
                                                                             -
                                                                             "P"
                                                                             "xis2")
                                                                            nil
                                                                            nil)
                                                                           ("2"
                                                                            (propax)
                                                                            nil
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil)
                                                                   ("3"
                                                                    (replace
                                                                     -4
                                                                     +
                                                                     :dir
                                                                     rl)
                                                                    (("3"
                                                                      (lemma
                                                                       "Riemann?_Rie")
                                                                      (("3"
                                                                        (inst
                                                                         -
                                                                         "a"
                                                                         "b"
                                                                         "f"
                                                                         "-gg")
                                                                        (("3"
                                                                          (split
                                                                           -)
                                                                          (("1"
                                                                            (inst
                                                                             -
                                                                             "P"
                                                                             "xis1")
                                                                            nil
                                                                            nil)
                                                                           ("2"
                                                                            (propax)
                                                                            nil
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil))
                                                                nil)
                                                               ("2"
                                                                (replace
                                                                 -1
                                                                 1
                                                                 :dir
                                                                 rl)
                                                                (("2"
                                                                  (replace
                                                                   -2
                                                                   1
                                                                   :dir
                              rl)
                 ((2
                                                                    (replace
                                                                     -3
                                                                     1)
                                                                    (("
2"
                                                                      (replace
                                                                       -4
                                                                       1)
                                                                      (("
2"
                                                                        (hide-all-but
                                                                         1)
                                                                        (("
2"
                                                                          (expand
                                                                           "
Rie_sum")
                                                                          (("
2"
                                                                            (split
                                                                             +)
                                                                            (("
1"
                                                                              (lemma
                                                                               "
sigma_scal[below(P`length-1)]")
                                                                              (("
1"
                                                                                (inst
                                                                                 -
                                                                                 "
LAMBDA (n: below(P`length - 1)):
                                                                                                         f(xis1`seq(n)) * gg(P`seq(1 + n)) -
                                                                                                          f(xis1`seq(n)) * gg(P`seq(n))"
                                                                                 "
-1"
                                                                                 "
P`length-2"
                                                                                 "
0")
                                                                                (("
1"
                                                                                  (replace
                                                                                   -1
                                                                                   :dir
                                                                                   rl)
                                                                                  (("
1"
                                                                                    (hide
                                                                                     -1)
                                                                                    (("
1"
                                                                                      (lemma
                                                                                       "
sigma_restrict_eq[below(P`length-1)]")
                                                                                      (("
1"
                                                                                        (inst?)
                                                                                        (("
1"
                                                                                          (assert)
                                                                                          (("
1"
                                                                                            (hide
                                                                                             2)
                                                                                            (("
1"
                                                                                              (expand
                                                                                               "
restrict")
                                                                                              (("
1"
                                                                                                (expand
                                                                                                 "
-")
                                                                                                (("
1"
                                                                                                  (assert)
                                                                                                  nil
                                                                                                  nil))
                                                                                                nil))
                                                                                              nil))
                                                                                            nil))
                                                                                          nil))
                                                                                        nil))
                                                                                      nil))
                                                                                    nil))
                                                                                  nil))
                                                                                nil)
                                                                               ("
2"
                                                                                (skosimp*)
                                                                                (("
2"
                                                                                  (assert)
                                                                                  nil
                                                                                  nil))
                                                                                nil))
                                                                              nil)
                                                                             ("
2"
                                                                              (lemma
                                                                               "
sigma_scal[below(P`length-1)]")
                                                                              (("
1"
                                                                                (inst
                                                                                 -
                                                                                 "
LAMBDA (n: below(P`length - 1)):
                                                                                                         f(xis2`seq(n)) * gg(P`seq(1 + n)) -
                                                                                                          f(xis2`seq(n)) * gg(P`seq(n))"
                                                                                 "
-1"
                                                                                 "
P`length-2"
                                                                                 "
0")
                                                                                (("
1"
                                                                                  (replace
                                                                                   -1
                                                                                   :dir
                                                                                   rl)
                                                                                  (("
1"
                                                                                    (hide
                                                                                     -)
                                                                                    (("
1"
                                                                                      (lemma
                                                                                       "
sigma_restrict_eq[below(P`length-1)]")
                                                                                      (("
1"
                                                                                        (inst?)
                                                                                        (("
1"
                                                                                          (assert)
                                                                                          (("
1"
                                                                                            (hide
                                                                                             2)
                                                                                            (("
1"
                                                                                              (expand
                                                                                               "
restrict")
                                                                                              (("
1"
                                                                                                (expand
                                                                                                 "
-")
                                                                                                (("1"
                                                                                                  (assert)
                                                                                                  nil
                                                                                                  nil))
                                                                                                nil))
                                                                                              nil))
                                                                                            nil))
                                                                                          nil))
                                                                                        nil))
                                                                                      nil))
                                                                                    nil))
                                                                                  nil))
                                                                                nil)
                                                                               ("2"
                                                                                (skosimp*)
                                                                                (("2"
                                                                                  (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))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil)
                           ("2" (hide-all-but (-1 1))
                            (("2" (lemma "integral_scal_g")
                              (("2"
                                (inst - "-1" "a" "b" "f" "gg")
                                (("2"
                                  (assert)
                                  (("2"
                                    (flatten)
                                    (("2"
                                      (assert)
                                      (("2"
                                        (expand "-")
                                        (("2"
                                          (expand "*")
                                          (("2" (assert) nil nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil)
                       ("2" (flatten)
                        (("2" (case "integrable?(a,b,-gg,f)")
                          (("1" (hide-all-but (-1 1))
                            (("1" (lemma "integral_scal_g")
                              (("1"
                                (inst - "-1" "a" "b" "f" "-gg")
                                (("1"
                                  (assert)
                                  (("1"
                                    (flatten)
                                    (("1"
                                      (expand "-")
                                      (("1"
                                        (expand "*")
                                        (("1"
                                          (case
                                           "gg = (LAMBDA (x_1: real): -1 * -gg(x_1))")
                                          (("1" (assert) nil nil)
                                           ("2"
                                            (decompose-equality 1)
                                            nil
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil)
                           ("2" (hide 2)
                            (("2" (assert)
                              (("2"
                                (hide -3)
                                (("2"
                                  (hide 1)
                                  (("2"
                                    (skeep)
                                    (("2"
                                      (inst - "epsi")
                                      (("2"
                                        (skeep -1)
                                        (("2"
                                          (inst + "delta")
                                          (("2"
                                            (skeep)
                                            (("2"
                                              (inst - "P")
                                              (("2"
                                                (assert)
                                                (("2"
                                                  (skolem
                                                   1
                                                   ("RSS1" "RSS2"))
--> --------------------

--> maximum size reached

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

Messung
CHZG
8110010093

¤ Dauer der Verarbeitung: 0.998 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*Bot Zugriff