|
|
|
|
Impressum trig_approx.prf
Sprache: Lisp
|
|
(trig_approx
(sin_term_TCC1 0
(sin_term_TCC1-1 nil 3320763259
("" (skosimp) (("" (assert) nil nil)) nil)
((mult_divides2 application-judgement "(divides(m))" divides nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(even_plus_odd_is_odd application-judgement "odd_int" integers nil)
(nnint_plus_posint_is_posint application-judgement "posint"
integers nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil))
shostak))
(sin_term_next 0
(sin_term_next-1 nil 3320769270
("" (skosimp)
(("" (expand "sin_term")
(("" (expand "^")
(("" (expand "expt" 1 2)
(("" (expand "expt" 1 2)
(("" (expand "expt" 1 1)
((""
(name-replace "X"
"expt((-1), n!1) * expt(a!1, 1 + 2 * n!1)")
(("" (rewrite "cross_mult")
(("" (expand "factorial" 1 1)
(("" (expand "factorial" 1 1)
(("" (expand "factorial" 1 5)
(("" (typepred "factorial(1+2*n!1)")
((""
(name-replace "F" "factorial(1 + 2 * n!1)")
(("" (assert) nil nil)) nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(int_exp application-judgement "int" exponentiation nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(real_times_real_is_real application-judgement "real" reals nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(sin_term const-decl "real" trig_approx nil)
(expt def-decl "real" exponentiation nil)
(/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
(nznum nonempty-type-eq-decl nil number_fields nil)
(factorial def-decl "posnat" factorial "ints/")
(posnat nonempty-type-eq-decl nil integers nil)
(> const-decl "bool" reals nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(nonzero_real nonempty-type-eq-decl nil reals nil)
(/= const-decl "boolean" notequal nil)
(cross_mult formula-decl nil real_props nil)
(real_minus_real_is_real application-judgement "real" reals nil)
(NOT const-decl "[bool -> bool]" booleans nil)
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(even_plus_even_is_even application-judgement "even_int" integers
nil)
(nnint_plus_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real 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)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(^ const-decl "real" exponentiation nil)
(nzreal_expt application-judgement "nzreal" exponentiation nil)
(int_expt application-judgement "int" exponentiation nil))
shostak))
(sin_term_neg 0
(sin_term_neg-1 nil 3320922359
("" (skosimp)
(("" (expand "sin_term")
(("" (case-replace "a!1=0")
(("1" (expand "^")
(("1" (name-replace "S" "expt((-1), n!1)")
(("1" (expand "expt") (("1" (assert) nil nil)) nil)) nil))
nil)
("2" (lemma "expt_plus" ("i" "1" "j" "2*n!1"))
(("2" (inst-cp - "a!1")
(("1" (inst - "-a!1")
(("1" (replace -1)
(("1" (replace -2)
(("1" (rewrite "expt_x1")
(("1" (rewrite "expt_x1")
(("1" (lemma "expt_times" ("i" "2" "j" "n!1"))
(("1" (inst-cp - "a!1")
(("1" (inst - "-a!1")
(("1" (case-replace "(-a!1) ^ 2 = a!1 ^ 2")
(("1" (assert) nil nil)
("2"
(hide-all-but (1 2))
(("2" (grind) nil nil))
nil))
nil)
("2" (assert) nil nil))
nil)
("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (assert) nil nil))
nil)
("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil)
((sin_term const-decl "real" trig_approx nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(expt_plus formula-decl nil exponentiation nil)
(minus_real_is_real application-judgement "real" reals nil)
(OR const-decl "[bool, bool -> bool]" booleans nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(expt_times formula-decl nil exponentiation nil)
(expt_x1 formula-decl nil exponentiation nil)
(nzreal nonempty-type-eq-decl nil reals nil)
(a!1 skolem-const-decl "real" trig_approx nil)
(/= const-decl "boolean" notequal nil)
(^ const-decl "real" exponentiation nil)
(int_times_even_is_even application-judgement "even_int" integers
nil)
(minus_even_is_even application-judgement "even_int" integers nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(minus_rat_is_rat application-judgement "rat" rationals nil)
(nnrat_div_posrat_is_nnrat application-judgement "nonneg_rat"
rationals nil)
(nat_expt application-judgement "nat" exponentiation nil)
(rat_div_nzrat_is_rat application-judgement "rat" rationals nil)
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(int_expt application-judgement "int" exponentiation nil)
(nzreal_expt application-judgement "nzreal" exponentiation nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(rational nonempty-type-from-decl nil rationals nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(int nonempty-type-eq-decl nil integers nil)
(bool nonempty-type-eq-decl nil booleans nil)
(>= const-decl "bool" reals nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(expt def-decl "real" exponentiation nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(int_exp application-judgement "int" exponentiation nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(real_times_real_is_real application-judgement "real" reals nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil))
shostak))
(sin_terms_alternate 0
(sin_terms_alternate-1 nil 3320772448
("" (skosimp)
(("" (expand "sin_term")
(("" (rewrite "div_mult_pos_gt1" 2)
(("" (rewrite "div_mult_pos_lt1" 2)
(("" (rewrite "zero_times1")
(("" (rewrite "expt_plus" 2)
(("" (rewrite "expt_x1")
(("" (name-replace "S" "(-1)^n!1")
((""
(lemma "both_sides_times_neg_lt1"
("nz" "-1" "x" "S * a!1 ^ (3 + 2 * n!1)" "y" "0"))
(("" (replace -1 2)
(("" (hide -1)
(("" (expand ">")
(("" (lemma "trichotomy" ("x" "S"))
(("" (split -1)
(("1"
(lemma
"both_sides_times_pos_lt1"
("pz" "S" "x" "0"))
(("1"
(rewrite "zero_times1" -1)
(("1"
(inst-cp - "a!1 ^ (1 + 2 * n!1)")
(("1"
(assert)
(("1"
(replace -2 2)
(("1"
(inst
-
"a!1 ^ (3 + 2 * n!1)")
(("1"
(replace -1 2)
(("1"
(hide -1 -2)
(("1"
(hide -1)
(("1"
(expand "^")
(("1"
(expand "expt" 2 1)
(("1"
(expand
"expt"
2
1)
(("1"
(case-replace
"0 < expt(a!1, (1 + 2 * n!1))")
(("1"
(assert)
(("1"
(lemma
"posreal_times_posreal_is_posreal"
("px"
"a!1*a!1"
"py"
"expt(a!1, 1 + 2 * n!1)"))
(("1"
(assert)
nil
nil)
("2"
(hide
-1
3)
(("2"
(lemma
"trichotomy"
("x"
"a!1"))
(("2"
(split
-1)
(("1"
(lemma
"both_sides_times_pos_lt1"
("pz"
"a!1"
"x"
"0"
"y"
"a!1"))
(("1"
(assert)
nil
nil)
("2"
(assert)
nil
nil))
nil)
("2"
(assert)
nil
nil)
("3"
(lemma
"both_sides_times_neg_lt1"
("nz"
"a!1"
"x"
"0"
"y"
"a!1"))
(("1"
(assert)
nil
nil)
("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(assert)
(("2"
(case
"0 <a!1*a!1")
(("1"
(lemma
"both_sides_times_pos_lt1"
("pz"
"a!1*a!1"
"x"
"0"
"y"
"expt(a!1, 1 + 2 * n!1)"))
(("1"
(assert)
nil
nil))
nil)
("2"
(hide
-1
2)
(("2"
(lemma
"trichotomy"
("x"
"a!1"))
(("2"
(split
-1)
(("1"
(lemma
"both_sides_times_pos_lt1"
("pz"
"a!1"
"x"
"0"
"y"
"a!1"))
(("1"
(assert)
nil
nil)
("2"
(assert)
nil
nil))
nil)
("2"
(assert)
nil
nil)
("3"
(lemma
"both_sides_times_neg_lt1"
("nz"
"a!1"
"x"
"0"
"y"
"a!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)
("2" (assert) nil nil))
nil)
("2"
(expand "S" -1)
(("2"
(lemma
"expt_nonzero"
("n0x" "-1" "i" "n!1"))
(("2" (assert) nil nil))
nil))
nil)
("3"
(lemma
"both_sides_times_neg_lt1"
("nz" "S" "x" "0"))
(("1"
(inst-cp - "a!1 ^ (1 + 2 * n!1)")
(("1"
(inst - "a!1 ^ (3 + 2 * n!1)")
(("1"
(assert)
(("1"
(replace -1)
(("1"
(replace -2)
(("1"
(hide -1 -2 -3)
(("1"
(case "0<a!1*a!1")
(("1"
(expand "^")
(("1"
(expand "expt" 2 1)
(("1"
(expand "expt" 2 1)
(("1"
(lemma
"both_sides_times_pos_lt1"
("pz"
"a!1*a!1"
"x"
"expt(a!1, 1 + 2 * n!1)"
"y"
"0"))
(("1"
(assert)
(("1"
(replace
-1
2
rl)
(("1"
(rewrite
"zero_times1")
(("1"
(hide
-1
-2)
(("1"
(case-replace
"expt(a!1, 1 + 2 * n!1) * (a!1 * a!1) < 0")
(("1"
(assert)
nil
nil)
("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil)
("2"
(hide 3)
(("2"
(lemma
"trichotomy"
("x" "a!1"))
(("2"
(split -1)
(("1"
(lemma
"both_sides_times_pos_lt1"
("pz"
"a!1"
"x"
"0"
"y"
"a!1"))
(("1"
(assert)
nil
nil)
("2"
(assert)
nil
nil))
nil)
("2"
(assert)
nil
nil)
("3"
(lemma
"both_sides_times_neg_lt1"
("nz"
"a!1"
"x"
"0"
"y"
"a!1"))
(("1"
(assert)
nil
nil)
("2"
(assert)
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)
((nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(int_exp application-judgement "int" exponentiation nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(real_times_real_is_real application-judgement "real" reals nil)
(sin_term const-decl "real" trig_approx nil)
(div_mult_pos_lt1 formula-decl nil real_props nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(nzreal nonempty-type-eq-decl nil reals nil)
(expt_plus formula-decl nil exponentiation nil)
(int_minus_int_is_int application-judgement "int" integers nil)
(nzint_times_nzint_is_nzint application-judgement "nzint" integers
nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(real_le_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(posreal_times_posreal_is_posreal judgement-tcc nil real_types nil)
(expt def-decl "real" exponentiation nil)
(AND const-decl "[bool, bool -> bool]" booleans nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(both_sides_times_pos_lt1 formula-decl nil real_props nil)
(expt_nonzero formula-decl nil exponentiation nil)
(S skolem-const-decl "int" trig_approx nil)
(trichotomy formula-decl nil real_axioms nil)
(negreal nonempty-type-eq-decl nil real_types nil)
(< const-decl "bool" reals nil)
(nonpos_real nonempty-type-eq-decl nil real_types nil)
(<= const-decl "bool" reals nil)
(both_sides_times_neg_lt1 formula-decl nil real_props nil)
(expt_x1 formula-decl nil exponentiation nil)
(zero_times1 formula-decl nil real_props nil)
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(^ const-decl "real" exponentiation nil)
(/= const-decl "boolean" notequal nil)
(OR const-decl "[bool, bool -> bool]" booleans nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(factorial def-decl "posnat" factorial "ints/")
(posnat nonempty-type-eq-decl nil integers nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(nat nonempty-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)
(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)
(div_mult_pos_gt1 formula-decl nil extra_real_props nil)
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil))
shostak))
(sin_term_nonzero 0
(sin_term_nonzero-1 nil 3320769218
("" (expand "sin_term")
(("" (skosimp*)
(("" (rewrite "div_cancel3")
(("" (lemma "expt_nonzero" ("n0x" "-1" "i" "n!1"))
(("" (split)
(("1" (flatten)
(("1" (replace -1)
(("1" (expand "^" 1 2)
(("1" (expand "expt") (("1" (assert) nil nil)) nil))
nil))
nil))
nil)
("2" (flatten)
(("2" (rewrite "zero_times1")
(("2" (rewrite "zero_times3")
(("2"
(lemma "expt_nonzero" ("n0x" "a!1" "i" "1+2*n!1"))
(("1" (assert) nil nil) ("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((expt_nonzero formula-decl nil exponentiation nil)
(nzreal nonempty-type-eq-decl nil reals nil)
(zero_times3 formula-decl nil real_props nil)
(zero_times1 formula-decl nil real_props nil)
(expt def-decl "real" exponentiation nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(^ const-decl "real" exponentiation nil)
(OR const-decl "[bool, bool -> bool]" booleans nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(factorial def-decl "posnat" factorial "ints/")
(posnat nonempty-type-eq-decl nil integers nil)
(> const-decl "bool" reals nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(nonzero_real nonempty-type-eq-decl nil reals nil)
(/= const-decl "boolean" notequal 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)
(div_cancel3 formula-decl nil real_props nil)
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(sin_term const-decl "real" trig_approx nil)
(real_times_real_is_real application-judgement "real" reals nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(int_exp application-judgement "int" exponentiation nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil))
shostak))
(sin_term_zero 0
(sin_term_zero-1 nil 3320924247
("" (skosimp)
(("" (lemma "sin_term_nonzero" ("a" "a!1" "n" "n!1"))
(("" (assert)
(("" (split)
(("1" (flatten) (("1" (assert) nil nil)) nil)
("2" (flatten) (("2" (assert) nil nil)) nil))
nil))
nil))
nil))
nil)
((nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil)
(sin_term_nonzero formula-decl nil trig_approx nil))
shostak))
(sin_term_gt0 0
(sin_term_gt0-1 nil 3320931387
("" (expand "sin_term")
(("" (skosimp)
(("" (case-replace "a!1=0")
(("1" (expand "^" 1 2)
(("1" (expand "expt") (("1" (assert) nil nil)) nil)) nil)
("2" (rewrite "expt_plus")
(("2" (rewrite "expt_x1")
(("2" (rewrite "expt_times")
(("2" (lemma "expt_pos" ("px" "a!1^2" "i" "n!1"))
(("1"
(lemma "posreal_div_posreal_is_posreal"
("px" "(a!1 ^ 2) ^ n!1" "py"
"factorial(1 + 2 * n!1)"))
(("1"
(lemma "both_sides_times_pos_gt1"
("pz" "(a!1 ^ 2) ^ n!1 / factorial(1 + 2 * n!1)"
"x" "(-1)^n!1*a!1" "y" "0"))
(("1" (rewrite "zero_times1")
(("1" (replace -1 2)
(("1" (hide-all-but (1 2))
(("1" (case "forall (n:nat): (-1)^(2*n) =1")
(("1" (lemma "trichotomy" ("x" "a!1"))
(("1"
(split -1)
(("1"
(assert)
(("1"
(split 2)
(("1"
(flatten)
(("1"
(lemma "even_or_odd")
(("1"
(inst - "n!1")
(("1"
(assert)
(("1"
(hide 1 2)
(("1"
(expand "odd?")
(("1"
(skosimp)
(("1"
(replace -1)
(("1"
(rewrite
"expt_plus")
(("1"
(rewrite
"expt_x1")
(("1"
(inst
-
"j!1")
(("1"
(assert)
nil
nil)
("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(flatten)
(("2"
(expand "even?")
(("2"
(skosimp)
(("2"
(inst - "j!1")
(("1" (assert) nil nil)
("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (propax) nil nil)
("3"
(assert)
(("3"
(split 2)
(("1"
(flatten)
(("1"
(lemma
"even_or_odd"
("x" "n!1"))
(("1"
(assert)
(("1"
(hide 1)
(("1"
(expand "even?")
(("1"
(skosimp)
(("1"
(inst - "j!1")
(("1"
(assert)
nil
nil)
("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(flatten)
(("2"
(expand "odd?")
(("2"
(skosimp)
(("2"
(replace -1)
(("2"
(rewrite "expt_plus")
(("2"
(rewrite "expt_x1")
(("2"
(inst - "j!1")
(("1"
(assert)
nil
nil)
("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (hide-all-but 1)
(("2"
(skosimp)
(("2"
(rewrite "expt_times")
(("2"
(expand "^" 1 1)
(("2"
(expand "expt")
(("2"
(expand "expt")
(("2"
(expand "expt")
(("2"
(rewrite "expt_1i")
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (assert) nil nil))
nil)
("2" (assert) nil nil))
nil)
("2" (hide-all-but (1 2))
(("2" (lemma "pos_times_lt" ("x" "a!1" "y" "a!1"))
(("2" (grind) nil nil)) nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((expt_plus formula-decl nil exponentiation 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)
(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)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(/= const-decl "boolean" notequal nil)
(nzreal nonempty-type-eq-decl nil reals nil)
(expt_times formula-decl nil exponentiation nil)
(pos_times_lt formula-decl nil real_props nil)
(posreal_div_posreal_is_posreal judgement-tcc nil real_types nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(posnat nonempty-type-eq-decl nil integers nil)
(factorial def-decl "posnat" factorial "ints/")
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(zero_times1 formula-decl nil real_props nil)
(expt_1i formula-decl nil exponentiation nil)
(trichotomy formula-decl nil real_axioms nil)
(j!1 skolem-const-decl "int" trig_approx nil)
(j!1 skolem-const-decl "int" trig_approx nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(j!1 skolem-const-decl "int" trig_approx nil)
(even? const-decl "bool" integers nil)
(rat_exp application-judgement "rat" exponentiation nil)
(nzrat_times_nzrat_is_nzrat application-judgement "nzrat" rationals
nil)
(j!1 skolem-const-decl "int" trig_approx nil)
(odd? const-decl "bool" integers nil)
(even_or_odd formula-decl nil naturalnumbers nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
(nznum nonempty-type-eq-decl nil number_fields nil)
(both_sides_times_pos_gt1 formula-decl nil real_props nil)
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(AND const-decl "[bool, bool -> bool]" booleans nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(OR const-decl "[bool, bool -> bool]" booleans 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)
(expt_pos formula-decl nil exponentiation nil)
(expt_x1 formula-decl nil exponentiation nil)
(nat_expt application-judgement "nat" exponentiation nil)
(^ const-decl "real" exponentiation nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(nnrat_div_posrat_is_nnrat application-judgement "nonneg_rat"
rationals nil)
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(expt def-decl "real" exponentiation 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)
(number_field nonempty-type-from-decl nil number_fields nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(real nonempty-type-from-decl nil reals nil)
(sin_term const-decl "real" trig_approx nil)
(real_times_real_is_real application-judgement "real" reals nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(int_exp application-judgement "int" exponentiation nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil))
shostak))
(sin_term_lt0 0
(sin_term_lt0-1 nil 3320932130
("" (skosimp)
(("" (lemma "trichotomy" ("x" "a!1"))
(("" (split -1)
(("1" (assert)
(("1" (lemma "sin_term_gt0" ("a" "a!1" "n" "n!1"))
(("1" (assert)
(("1" (rewrite "even_or_odd")
(("1" (split 1)
(("1" (flatten) (("1" (assert) nil nil)) nil)
("2" (flatten)
(("2" (assert)
(("2"
(lemma "sin_term_nonzero"
("a" "a!1" "n" "n!1"))
(("2" (assert) nil nil)) nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (replace -1)
(("2" (assert)
(("2" (lemma "sin_term_zero" ("a" "0" "n" "n!1"))
(("2" (assert) nil nil)) nil))
nil))
nil)
("3" (assert)
(("3" (lemma "sin_term_gt0" ("a" "a!1" "n" "n!1"))
(("3" (assert)
(("3" (rewrite "even_or_odd")
(("3" (split 1)
(("1" (flatten) (("1" (assert) nil nil)) nil)
("2" (flatten)
(("2" (assert)
(("2"
(lemma "sin_term_nonzero"
("a" "a!1" "n" "n!1"))
(("2" (assert) nil nil)) nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil)
(trichotomy formula-decl nil real_axioms nil)
(sin_term_zero formula-decl nil trig_approx nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(sin_term_nonzero formula-decl nil trig_approx nil)
(even_or_odd formula-decl nil naturalnumbers nil)
(sin_term_gt0 formula-decl nil trig_approx nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(rational nonempty-type-from-decl nil rationals nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(int nonempty-type-eq-decl nil integers nil)
(bool nonempty-type-eq-decl nil booleans nil)
(>= const-decl "bool" reals nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil))
shostak))
(sin_tends_to_0 0
(sin_tends_to_0-1 nil 3320988819
("" (skosimp)
(("" (case-replace "a!1=0")
(("1" (hide -1)
(("1" (expand "tends_to_0?")
(("1" (skosimp)
(("1" (inst + "0")
(("1" (skosimp)
(("1" (expand "sin_term")
(("1" (expand "^" 1 2)
(("1" (assert)
(("1" (expand "expt" 1)
(("1" (rewrite "abs_div")
(("1" (expand "abs") (("1" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (lemma "exp_tends_to_0" ("n0a" "a!1"))
(("1" (expand "exp_term")
(("1" (expand "sin_term")
(("1" (expand "tends_to_0?")
(("1" (skosimp*)
(("1" (inst - "epsilon!1")
(("1" (skosimp)
(("1" (inst + "1+2*n!1")
(("1" (skosimp)
(("1" (inst - "1+2*i!1")
(("1" (assert)
(("1" (rewrite "abs_div")
(("1"
(rewrite "abs_div")
(("1"
(rewrite "abs_mult")
(("1"
(case-replace
"abs((-1) ^ i!1) = 1")
(("1" (assert) nil nil)
("2"
(hide-all-but 1)
(("2"
(case "(-1)^2 =1")
(("1"
(case "even?(i!1)")
(("1"
(expand "even?")
(("1"
(skosimp)
(("1"
(replace -1)
(("1"
(rewrite
"expt_times")
(("1"
(replace -2)
(("1"
(rewrite
"expt_1i")
(("1"
(expand "abs")
(("1"
(propax)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(rewrite "even_or_odd")
(("2"
(expand "odd?")
(("2"
(skosimp)
(("2"
(replace -1)
(("2"
(rewrite
"expt_plus")
(("2"
(rewrite
"expt_times")
(("2"
(replace -2)
(("2"
(rewrite
"expt_x1")
(("2"
(rewrite
"expt_1i")
(("2"
(expand
"abs")
(("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(hide 2)
(("2" (grind) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (assert) 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)
(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)
(tends_to_0? const-decl "bool" exp_term nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(rational nonempty-type-from-decl nil rationals nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(int nonempty-type-eq-decl nil integers nil)
(bool nonempty-type-eq-decl nil booleans nil)
(>= const-decl "bool" reals nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(rat_exp application-judgement "rat" exponentiation nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(nnrat_exp application-judgement "nnrat" exponentiation nil)
(rat_times_rat_is_rat application-judgement "rat" rationals nil)
(rat_div_nzrat_is_rat application-judgement "rat" rationals nil)
(sin_term const-decl "real" trig_approx nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(nat_expt application-judgement "nat" exponentiation nil)
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(rat_abs_is_nonneg application-judgement "{r: nonneg_rat | r >= q}"
real_defs nil)
(real_lt_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)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(factorial def-decl "posnat" factorial "ints/")
(posnat nonempty-type-eq-decl nil integers nil)
(> const-decl "bool" reals nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(nonzero_real nonempty-type-eq-decl nil reals nil)
(/= const-decl "boolean" notequal nil)
(abs_div formula-decl nil real_props nil)
(nzint_abs_is_pos application-judgement "{j: posint | j >= i}"
real_defs nil)
(int_abs_is_nonneg application-judgement "{j: nonneg_int | j >= i}"
real_defs nil)
(abs const-decl "{n: nonneg_real | n >= m AND n >= -m}" real_defs
nil)
(expt def-decl "real" exponentiation nil)
(nnrat_div_posrat_is_nnrat application-judgement "nonneg_rat"
rationals nil)
(^ const-decl "real" exponentiation nil)
(exp_term const-decl "real" exp_term nil)
(real_times_real_is_real application-judgement "real" reals nil)
(posreal nonempty-type-eq-decl nil real_types nil)
(nonneg_real nonempty-type-eq-decl nil real_types nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(OR const-decl "[bool, bool -> bool]" booleans nil)
(nnreal_div_posreal_is_nnreal application-judgement "nnreal"
real_types nil)
(abs_mult formula-decl nil real_props nil)
(nzrat_abs_is_pos application-judgement "{r: posrat | r >= q}"
real_defs nil)
(nnreal_times_nnreal_is_nnreal application-judgement "nnreal"
real_types nil)
(nzreal_expt application-judgement "nzreal" exponentiation nil)
(int_expt application-judgement "int" exponentiation nil)
(nzrat_div_nzrat_is_nzrat application-judgement "nzrat" rationals
nil)
(nzint_times_nzint_is_nzint application-judgement "nzint" integers
nil)
(even? const-decl "bool" integers nil)
(expt_times formula-decl nil exponentiation nil)
(expt_1i formula-decl nil exponentiation nil)
(posrat_exp application-judgement "posrat" exponentiation nil)
(odd? const-decl "bool" integers nil)
(expt_x1 formula-decl nil exponentiation nil)
(nzrat_times_nzrat_is_nzrat application-judgement "nzrat" rationals
nil)
(expt_plus formula-decl nil exponentiation nil)
(even_or_odd formula-decl nil naturalnumbers nil)
(int_exp application-judgement "int" exponentiation nil)
(AND const-decl "[bool, bool -> bool]" booleans nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(exp_tends_to_0 formula-decl nil exp_term nil)
(nzreal nonempty-type-eq-decl nil reals nil))
shostak))
(cos_term_TCC1 0
(cos_term_TCC1-1 nil 3320763259
("" (skosimp) (("" (assert) nil nil)) nil)
((mult_divides2 application-judgement "(divides(m))" divides nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil))
shostak))
(cos_term_next 0
(cos_term_next-1 nil 3320770358
("" (skosimp*)
(("" (expand "cos_term")
(("" (case-replace "n!1=0")
(("1" (assert)
(("1" (rewrite "expt_x1")
(("1" (expand "factorial")
(("1" (expand "factorial")
(("1" (expand "factorial")
(("1" (expand "^")
(("1" (expand "expt")
(("1" (expand "expt")
(("1" (expand "expt") (("1" (grind) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (assert)
(("2" (rewrite "expt_plus" 2)
(("2" (name-replace "S" "(-1)^n!1")
(("2" (rewrite "expt_x1")
(("2" (expand "factorial" 2 1)
(("2" (expand "factorial" 2 2)
(("2" (expand "factorial" 2 1)
(("2" (case-replace "a!1=0")
(("1" (expand "^")
(("1" (expand "expt")
(("1" (assert) nil nil)) nil))
nil)
("2" (rewrite "expt_plus" 3)
(("2" (typepred "factorial(2*n!1)")
(("2" (name-replace "F" "factorial(2*n!1)")
(("2"
(expand "^" 3 1)
(("2"
(expand "expt")
(("2"
(expand "expt")
(("2"
(expand "expt")
(("2"
(rewrite "cross_mult")
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((int_exp application-judgement "int" exponentiation nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(real_times_real_is_real application-judgement "real" reals nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(cos_term const-decl "real" trig_approx nil)
(OR const-decl "[bool, bool -> bool]" booleans nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(cross_mult formula-decl nil real_props nil)
(nonzero_real nonempty-type-eq-decl nil reals nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(nznum nonempty-type-eq-decl nil number_fields nil)
(/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
(real_minus_real_is_real application-judgement "real" reals nil)
(posnat nonempty-type-eq-decl nil integers nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(> const-decl "bool" reals nil)
(NOT const-decl "[bool -> bool]" booleans nil)
(nnrat_div_posrat_is_nnrat application-judgement "nonneg_rat"
rationals nil)
(posint_times_posint_is_posint application-judgement "posint"
integers nil)
(nzint_times_nzint_is_nzint application-judgement "nzint" integers
nil)
(int_minus_int_is_int application-judgement "int" integers nil)
(expt_plus formula-decl nil exponentiation nil)
(/= const-decl "boolean" notequal nil)
(nzreal nonempty-type-eq-decl nil reals nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(factorial def-decl "posnat" factorial "ints/")
(expt def-decl "real" exponentiation nil)
(^ const-decl "real" exponentiation nil)
(expt_x1 formula-decl nil exponentiation nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(even_plus_even_is_even application-judgement "even_int" integers
nil)
(nnint_plus_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil))
shostak))
(cos_term_neg 0
(cos_term_neg-1 nil 3320922908
("" (expand "cos_term")
(("" (skosimp)
(("" (case-replace "n!1=0")
(("" (assert)
(("" (case-replace "a!1=0")
(("1" (expand "^")
(("1" (expand "expt") (("1" (propax) nil nil)) nil)) nil)
("2" (lemma "expt_times" ("i" "2" "j" "n!1"))
(("2" (inst-cp - "a!1")
(("2" (inst - "-a!1")
(("2" (case-replace "(-a!1) ^ 2 = a!1 ^ 2")
(("1" (assert) nil nil)
("2" (hide-all-but (1 2)) (("2" (grind) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((mult_divides2 application-judgement "(divides(m))" divides nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(minus_real_is_real application-judgement "real" reals nil)
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(int_exp application-judgement "int" exponentiation nil)
(real_times_real_is_real application-judgement "real" reals nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(expt_times formula-decl nil exponentiation nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(OR const-decl "[bool, bool -> bool]" booleans nil)
(/= const-decl "boolean" notequal nil)
(nzreal nonempty-type-eq-decl nil reals nil)
(^ const-decl "real" exponentiation nil)
(expt def-decl "real" exponentiation nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil)
(cos_term const-decl "real" trig_approx nil))
shostak))
(cos_terms_alternate 0
(cos_terms_alternate-1 nil 3320771767
("" (skosimp)
(("" (expand "cos_term")
(("" (case-replace "n!1=0")
(("1" (assert)
(("1" (rewrite "expt_x1")
(("1" (expand "factorial")
(("1" (expand "factorial")
(("1" (expand "factorial")
(("1" (case "a!1^2>0")
(("1" (assert) nil nil)
("2" (hide -1 3)
(("2" (lemma "trichotomy" ("x" "a!1"))
(("2" (split -1)
(("1"
(lemma "both_sides_times_pos_lt1"
("pz" "a!1" "x" "0" "y" "a!1"))
(("1" (grind) nil nil)
("2" (assert) nil nil))
nil)
("2" (assert) nil nil)
("3"
(lemma "both_sides_times_neg_lt1"
("nz" "a!1" "x" "0" "y" "a!1"))
(("1" (grind) nil nil)
("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (assert)
(("2" (expand "^")
(("2" (expand "expt" 3 2)
(("2" (expand "expt" 3 2)
(("2" (expand "expt" 3 1)
(("2"
(name-replace "S"
"expt((-1), n!1) * expt(a!1, (2 * n!1))")
(("2" (case "a!1*a!1>0")
(("1" (assert)
(("1" (rewrite "div_mult_pos_gt1" 3)
(("1" (rewrite "div_mult_pos_lt1" 3)
(("1" (rewrite "zero_times1")
(("1"
(lemma "trichotomy" ("x" "S"))
(("1"
(split -1)
(("1"
(assert)
(("1"
(lemma
"both_sides_times_pos_lt1"
("pz"
"S"
"x"
"-1*(a!1*a!1)"
"y"
"0"))
(("1" (assert) nil nil))
nil))
nil)
("2"
(expand "S" -1)
(("2"
(lemma
"expt_nonzero"
("n0x" "-1" "i" "n!1"))
(("2"
(lemma
"expt_nonzero"
("n0x" "a!1" "i" "2*n!1"))
(("2"
(expand "^")
(("2" (assert) nil nil))
nil))
nil))
nil))
nil)
("3"
(lemma
"both_sides_times_neg_lt1"
("nz"
"S"
"x"
"-1*(a!1*a!1)"
"y"
"0"))
(("1" (assert) nil nil)
("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (hide 2 4)
(("2" (lemma "trichotomy" ("x" "a!1"))
(("2" (split -1)
(("1"
(lemma "both_sides_times_pos_lt1"
("pz" "a!1" "x" "0" "y" "a!1"))
(("1" (assert) nil nil)
("2" (assert) nil nil))
nil)
("2" (assert) nil nil)
("3"
(lemma "both_sides_times_neg_lt1"
("nz" "a!1" "x" "0" "y" "a!1"))
(("1" (assert) nil nil)
("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(int_exp application-judgement "int" exponentiation nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(real_times_real_is_real application-judgement "real" reals nil)
(cos_term const-decl "real" trig_approx nil)
(posnat nonempty-type-eq-decl nil integers nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(div_mult_pos_gt1 formula-decl nil extra_real_props nil)
(zero_times1 formula-decl nil real_props nil)
(expt_nonzero formula-decl nil exponentiation nil)
(nzreal nonempty-type-eq-decl nil reals nil)
(S skolem-const-decl "real" trig_approx nil)
(div_mult_pos_lt1 formula-decl nil real_props nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(nzreal_expt application-judgement "nzreal" exponentiation nil)
(int_expt application-judgement "int" exponentiation nil)
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(even_plus_even_is_even application-judgement "even_int" integers
nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(factorial def-decl "posnat" factorial "ints/")
(expt def-decl "real" exponentiation nil)
(AND const-decl "[bool, bool -> bool]" booleans nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(posreal nonempty-type-eq-decl nil real_types nil)
(nonneg_real nonempty-type-eq-decl nil real_types nil)
(both_sides_times_pos_lt1 formula-decl nil real_props nil)
(real_le_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(negreal nonempty-type-eq-decl nil real_types nil)
(< const-decl "bool" reals nil)
(nonpos_real nonempty-type-eq-decl nil real_types nil)
(<= const-decl "bool" reals nil)
(both_sides_times_neg_lt1 formula-decl nil real_props nil)
(trichotomy formula-decl nil real_axioms nil)
(^ const-decl "real" exponentiation nil)
(/= const-decl "boolean" notequal nil)
(OR const-decl "[bool, bool -> bool]" booleans nil)
(> const-decl "bool" reals nil)
(expt_x1 formula-decl nil exponentiation nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil))
shostak))
(cos_term_nonzero 0
(cos_term_nonzero-1 nil 3320924341
("" (skosimp)
(("" (split)
(("1" (flatten)
(("1" (replace -1)
(("1" (expand "cos_term")
(("1" (assert)
(("1" (expand "^" 1)
(("1" (expand "expt") (("1" (assert) nil nil)) nil))
nil))
nil))
nil))
nil))
nil)
("2" (flatten)
(("2" (split -1)
(("1" (replace -1)
(("1" (expand "cos_term") (("1" (assert) nil nil)) nil))
nil)
("2" (assert)
(("2" (expand "cos_term")
(("2" (case-replace "n!1=0")
(("1" (assert) nil nil)
("2" (assert)
(("2"
(lemma "expt_nonzero" ("n0x" "a!1" "i" "2*n!1"))
(("2" (assert)
(("2"
(lemma "expt_nonzero" ("n0x" "-1" "i" "n!1"))
(("2"
(lemma "div_cancel3"
("x" "(-1) ^ n!1 * a!1 ^ (2 * n!1)" "n0z"
"factorial(2 * n!1)" "y" "0"))
(("2" (replace -1 -5)
(("2" (hide -1)
(("2"
(rewrite "zero_times3" -4)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((even_times_int_is_even application-judgement "even_int" integers
nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(nat_exp application-judgement "nat" exponentiation nil)
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(int_exp application-judgement "int" exponentiation nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(rat_div_nzrat_is_rat application-judgement "rat" rationals nil)
(expt def-decl "real" exponentiation nil)
(nnrat_div_posrat_is_nnrat application-judgement "nonneg_rat"
rationals nil)
(^ const-decl "real" exponentiation nil)
(cos_term const-decl "real" trig_approx nil)
(real_times_real_is_real application-judgement "real" reals nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(div_cancel3 formula-decl nil real_props nil)
(nonzero_real nonempty-type-eq-decl nil reals nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(> const-decl "bool" reals nil)
(posnat nonempty-type-eq-decl nil integers nil)
(factorial def-decl "posnat" factorial "ints/")
(OR const-decl "[bool, bool -> bool]" booleans nil)
(zero_times3 formula-decl nil real_props nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(nzreal nonempty-type-eq-decl nil reals nil)
(/= const-decl "boolean" notequal nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(expt_nonzero formula-decl nil exponentiation nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil))
shostak))
(cos_term_zero 0
(cos_term_zero-1 nil 3320924852
("" (skosimp)
(("" (lemma "cos_term_nonzero" ("a" "a!1" "n" "n!1"))
(("" (split)
(("1" (flatten)
(("1" (assert) (("1" (flatten) (("1" (assert) nil nil)) nil))
nil))
nil)
("2" (flatten) (("2" (assert) nil nil)) nil))
nil))
nil))
nil)
((nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil)
(cos_term_nonzero formula-decl nil trig_approx nil))
shostak))
(cos_term_gt0 0
(cos_term_gt0-1 nil 3320925011
("" (skosimp)
(("" (expand "cos_term")
(("" (case-replace "n!1=0")
(("1" (assert) nil nil)
("2" (assert)
(("2" (rewrite "div_mult_pos_gt1")
(("2" (rewrite "zero_times1")
(("2" (split)
(("1" (flatten)
(("1" (expand ">")
(("1" (rewrite "pos_times_lt" -1)
(("1" (case-replace "a!1=0")
(("1" (expand "^")
(("1" (expand "expt")
(("1" (propax) nil nil)) nil))
nil)
("2" (assert)
(("2" (case "a!1^2 > 0")
(("1"
(lemma "expt_pos"
("px" "a!1^2" "i" "n!1"))
(("1"
(rewrite "expt_times")
(("1"
(assert)
(("1"
(hide -1 -2 1)
(("1"
(rewrite "even_or_odd" 1)
(("1"
(expand "odd?")
(("1"
(skosimp)
(("1"
(replace -2)
(("1"
(hide -2 1)
(("1"
(rewrite "expt_plus")
(("1"
(rewrite
"expt_times")
(("1"
(rewrite "expt_x1")
(("1"
(case-replace
"(-1) ^ 2 = 1")
(("1"
(rewrite
"expt_1i")
(("1"
(assert)
nil
nil))
nil)
("2"
(hide -1)
(("2"
(grind)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (assert) nil nil))
nil)
("2" (hide-all-but (1 2))
(("2"
(expand "^")
(("2"
(expand "expt")
(("2"
(expand "expt")
(("2"
(expand "expt")
(("2"
(lemma
"pos_times_lt"
("x" "a!1" "y" "a!1"))
(("2"
(assert)
(("2"
(flatten)
(("2"
(lemma
"trichotomy"
("x" "a!1"))
(("2"
(split -1)
(("1" (assert) nil nil)
("2" (propax) nil nil)
("3"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (flatten)
(("2" (case-replace "(-1)^n!1=1")
(("1" (rewrite "expt_times")
(("1" (lemma "expt_pos" ("px" "a!1^2" "i" "n!1"))
(("1" (propax) nil nil)
("2" (hide-all-but (1 2))
(("2" (expand "^")
(("2" (expand "expt")
(("2"
(expand "expt")
(("2"
(expand "expt")
(("2"
(lemma
"pos_times_lt"
("x" "a!1" "y" "a!1"))
(("2"
(assert)
(("2"
(flatten)
(("2"
(lemma
"trichotomy"
("x" "a!1"))
(("2"
(split -1)
(("1" (assert) nil nil)
("2" (propax) nil nil)
("3" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (hide-all-but (-1 1))
(("2" (expand "even?")
(("2" (skosimp)
(("2" (replace -1 1)
(("2" (hide -1)
(("2"
(rewrite "expt_times")
(("2"
(case-replace "(-1)^2 =1")
(("1" (rewrite "expt_1i") nil nil)
("2"
(hide 2)
(("2" (grind) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((cos_term const-decl "real" trig_approx nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(int_exp application-judgement "int" exponentiation nil)
(real_times_real_is_real application-judgement "real" reals nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(zero_times1 formula-decl nil real_props nil)
(even? const-decl "bool" integers nil)
(pos_times_lt formula-decl nil real_props nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(trichotomy formula-decl nil real_axioms nil)
(expt_pos formula-decl nil exponentiation nil)
(AND const-decl "[bool, bool -> bool]" booleans nil)
(even_or_odd formula-decl nil naturalnumbers nil)
(odd_times_odd_is_odd application-judgement "odd_int" integers nil)
(posrat_exp application-judgement "posrat" exponentiation nil)
(nnrat_exp application-judgement "nnrat" exponentiation nil)
(expt_1i formula-decl nil exponentiation nil)
(nzint_times_nzint_is_nzint application-judgement "nzint" integers
nil)
(nzrat_div_nzrat_is_nzrat application-judgement "nzrat" rationals
nil)
(expt_x1 formula-decl nil exponentiation nil)
(nzrat_times_nzrat_is_nzrat application-judgement "nzrat" rationals
nil)
(rat_exp application-judgement "rat" exponentiation nil)
(expt_plus formula-decl nil exponentiation nil)
(odd? const-decl "bool" integers nil)
(expt_times formula-decl nil exponentiation nil)
(nzreal nonempty-type-eq-decl nil reals nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(expt def-decl "real" exponentiation nil)
(nat_expt application-judgement "nat" exponentiation nil)
(nzreal_expt application-judgement "nzreal" exponentiation nil)
(int_expt application-judgement "int" exponentiation nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(^ const-decl "real" exponentiation nil)
(/= const-decl "boolean" notequal nil)
(OR const-decl "[bool, bool -> bool]" booleans nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(factorial def-decl "posnat" factorial "ints/")
(posnat nonempty-type-eq-decl nil integers nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(posreal nonempty-type-eq-decl nil real_types nil)
(> const-decl "bool" reals nil)
(nonneg_real nonempty-type-eq-decl nil real_types nil)
(div_mult_pos_gt1 formula-decl nil extra_real_props nil)
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil))
shostak))
(cos_term_lt0 0
(cos_term_lt0-1 nil 3320926707
("" (skosimp)
(("" (expand "cos_term")
(("" (case-replace "n!1=0")
(("1" (assert)
(("1" (expand "odd?") (("1" (propax) nil nil)) nil)) nil)
("2" (assert)
(("2" (case-replace "a!1=0")
(("1" (assert)
(("1" (expand "^")
(("1" (expand "expt") (("1" (assert) nil nil)) nil))
nil))
nil)
("2" (assert)
(("2" (case "(-1) ^ n!1 < 0 IFF odd?(n!1)")
(("1"
(lemma "both_sides_times_pos_lt1"
("x" "(-1) ^ n!1" "pz"
"a!1 ^ (2 * n!1) / factorial(2 * n!1)" "y" "0"))
(("1" (replace -2 -1)
(("1" (rewrite "zero_times1")
(("1" (assert)
(("1" (split 3)
(("1" (flatten) (("1" (assert) nil nil)) nil)
("2" (flatten) (("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil)
("2" (case "a!1^2>0")
(("1" (lemma "expt_pos" ("px" "a!1^2" "i" "n!1"))
(("1" (rewrite "expt_times" 1)
(("1" (assert)
(("1"
(lemma "posreal_div_posreal_is_posreal"
("px" "(a!1 ^ 2) ^ n!1" "py"
"factorial(2 * n!1)"))
(("1" (assert) nil nil)) nil))
nil))
nil)
("2" (assert) nil nil))
nil)
("2" (hide-all-but (1 3))
(("2"
(lemma "pos_times_lt" ("x" "a!1" "y" "a!1"))
(("2" (grind) nil nil)) nil))
nil))
nil))
nil)
("2" (hide-all-but 1)
(("2" (case "forall (n:nat): (-1)^(2*n) = 1")
(("1" (split)
(("1" (flatten)
(("1" (lemma "even_or_odd")
(("1" (inst - "n!1")
(("1" (assert)
(("1"
(hide 1)
(("1"
(expand "even?")
(("1"
(skosimp)
(("1"
(inst - "j!1")
(("1" (assert) nil nil)
("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (flatten)
(("2" (expand "odd?")
(("2" (skosimp)
(("2" (replace -1)
(("2"
(rewrite "expt_plus" 1)
(("2"
(rewrite "expt_x1" 1)
(("2"
(inst - "j!1")
(("1" (assert) nil nil)
("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (hide 2)
(("2" (skosimp)
(("2" (rewrite "expt_times")
(("2" (expand "^" 1 1)
(("2" (expand "expt")
(("2"
(expand "expt")
(("2"
(expand "expt")
(("2" (rewrite "expt_1i") nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((cos_term const-decl "real" trig_approx nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(int_exp application-judgement "int" exponentiation nil)
(real_times_real_is_real application-judgement "real" reals nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(expt_1i formula-decl nil exponentiation nil)
(even_or_odd formula-decl nil naturalnumbers nil)
(even? const-decl "bool" integers nil)
(j!1 skolem-const-decl "int" trig_approx nil)
(rat_exp application-judgement "rat" exponentiation nil)
(expt_x1 formula-decl nil exponentiation nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(j!1 skolem-const-decl "int" trig_approx nil)
(nzrat_times_nzrat_is_nzrat application-judgement "nzrat" rationals
nil)
(expt_plus formula-decl nil exponentiation nil)
(both_sides_times_pos_lt1 formula-decl nil real_props 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)
(nznum nonempty-type-eq-decl nil number_fields nil)
(/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(posnat nonempty-type-eq-decl nil integers nil)
(factorial def-decl "posnat" factorial "ints/")
(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)
(AND const-decl "[bool, bool -> bool]" booleans nil)
(zero_times1 formula-decl nil real_props nil)
(pos_times_lt formula-decl nil real_props nil)
(expt_pos formula-decl nil exponentiation nil)
(posreal_div_posreal_is_posreal judgement-tcc nil real_types nil)
(expt_times formula-decl nil exponentiation nil)
(nzreal nonempty-type-eq-decl nil reals nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(/= const-decl "boolean" notequal nil)
(OR const-decl "[bool, bool -> bool]" booleans nil)
(< const-decl "bool" reals nil)
(IFF const-decl "[bool, bool -> bool]" booleans nil)
(nat_exp application-judgement "nat" exponentiation nil)
(rat_div_nzrat_is_rat application-judgement "rat" rationals nil)
(expt def-decl "real" exponentiation nil)
(nnrat_div_posrat_is_nnrat application-judgement "nonneg_rat"
rationals nil)
(^ const-decl "real" exponentiation nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(odd? const-decl "bool" integers nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil))
shostak))
(cos_tends_to_0 0
(cos_tends_to_0-1 nil 3320988406
("" (skosimp)
(("" (expand "cos_term")
(("" (lemma "exp_tends_to_0" ("n0a" "n0x!1"))
(("" (expand "exp_term")
(("" (expand "tends_to_0?")
(("" (skosimp*)
(("" (inst - "epsilon!1")
(("" (skosimp)
(("" (inst + "2*n!1")
(("" (skosimp)
(("" (inst - "2*i!1")
(("" (assert)
(("" (case-replace "i!1=0")
(("1" (assert) nil nil)
("2" (assert)
(("2"
(rewrite "abs_div")
(("2"
(rewrite "abs_div")
(("2"
(rewrite "abs_mult")
(("2"
(case-replace
"abs((-1) ^ i!1) = 1")
(("1" (assert) nil nil)
("2"
(hide-all-but 1)
(("2"
(case "(-1)^2 = 1")
(("1"
(case "even?(i!1)")
(("1"
(expand "even?")
(("1"
(skosimp)
(("1"
(replace -1)
(("1"
(rewrite
"expt_times")
(("1"
(replace -2)
(("1"
(rewrite
"expt_1i")
(("1"
(expand
"abs")
(("1"
(propax)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(rewrite "even_or_odd")
(("2"
(expand "odd?")
(("2"
(skosimp)
(("2"
(replace -1)
(("2"
(rewrite
"expt_plus")
(("2"
(rewrite
"expt_times")
(("2"
(replace -2)
(("2"
(rewrite
"expt_x1")
(("2"
(rewrite
"expt_1i")
(("2"
(expand
"abs")
(("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(hide 2)
(("2" (grind) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((cos_term const-decl "real" trig_approx nil)
(exp_term const-decl "real" exp_term nil)
(nonzero_abs_is_pos application-judgement "{y: posreal | y >= x}"
real_defs nil)
(nzint_abs_is_pos application-judgement "{j: posint | j >= i}"
real_defs nil)
(int_abs_is_nonneg application-judgement "{j: nonneg_int | j >= i}"
real_defs nil)
(nzrat_abs_is_pos application-judgement "{r: posrat | r >= q}"
real_defs nil)
(real_lt_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)
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(abs const-decl "{n: nonneg_real | n >= m AND n >= -m}" real_defs
nil)
(AND const-decl "[bool, bool -> bool]" booleans nil)
(int_exp application-judgement "int" exponentiation nil)
(even_or_odd formula-decl nil naturalnumbers nil)
(expt_plus formula-decl nil exponentiation nil)
(nzrat_times_nzrat_is_nzrat application-judgement "nzrat" rationals
nil)
(expt_x1 formula-decl nil exponentiation nil)
(odd? const-decl "bool" integers nil)
(nnrat_exp application-judgement "nnrat" exponentiation nil)
(posrat_exp application-judgement "posrat" exponentiation nil)
(expt_1i formula-decl nil exponentiation nil)
(expt_times formula-decl nil exponentiation nil)
(even? const-decl "bool" integers nil)
(expt def-decl "real" exponentiation nil)
(nzint_times_nzint_is_nzint application-judgement "nzint" integers
nil)
(nzrat_div_nzrat_is_nzrat application-judgement "nzrat" rationals
nil)
(int_expt application-judgement "int" exponentiation nil)
(nzreal_expt application-judgement "nzreal" exponentiation nil)
(posreal_times_posreal_is_posreal application-judgement "posreal"
real_types nil)
(abs_mult formula-decl nil real_props nil)
(posreal_div_posreal_is_posreal application-judgement "posreal"
real_types nil)
(abs_div formula-decl nil real_props nil)
(nonzero_real nonempty-type-eq-decl nil reals nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(posnat nonempty-type-eq-decl nil integers nil)
(factorial def-decl "posnat" factorial "ints/")
(OR const-decl "[bool, bool -> bool]" booleans nil)
(^ const-decl "real" exponentiation nil)
(= const-decl "[T, T -> boolean]" equalities 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)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(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)
(posreal nonempty-type-eq-decl nil real_types nil)
(tends_to_0? const-decl "bool" exp_term nil)
(nzreal_times_nzreal_is_nzreal application-judgement "nzreal"
real_types nil)
(rat_exp application-judgement "rat" exponentiation nil)
(nzreal_div_nzreal_is_nzreal application-judgement "nzreal"
real_types nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(exp_tends_to_0 formula-decl nil exp_term 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)
(/= const-decl "boolean" notequal nil)
(nzreal nonempty-type-eq-decl nil reals nil))
shostak))
(sin_term_deriv_TCC1 0
(sin_term_deriv_TCC1-1 nil 3320765601
("" (lemma deriv_domain_real) (("" (propax) nil nil)) nil)
((deriv_domain_real formula-decl nil deriv_domain "analysis/"))
shostak))
(sin_term_deriv_TCC2 0
(sin_term_deriv_TCC2-1 nil 3320765601
("" (expand "not_one_element?")
(("" (skosimp)
(("" (case-replace "x!1=0")
(("1" (inst + "1") (("1" (assert) nil nil)) nil)
("2" (inst + "0") (("2" (assert) nil nil)) nil))
nil))
nil))
nil)
((real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil)
(not_one_element? const-decl "bool" deriv_domain_def "analysis/"))
shostak))
(sin_term_deriv 0
(sin_term_deriv-2 nil 3346173169
("" (skosimp)
(("" (lemma "identity_derivable_fun[real]")
(("" (lemma "deriv_id_fun[real]")
(("" (expand "I")
(("" (expand "const_fun")
(("" (expand "sin_term")
(("" (expand "cos_term")
(("" (case-replace "n!1=0")
(("1" (rewrite "expt_x0")
(("1" (assert)
(("1" (expand "^")
(("1" (expand "expt")
(("1" (expand "expt")
(("1" (propax) nil nil)) nil))
nil))
nil))
nil))
nil)
("2"
(deriv_exp_funreal"
("f" "LAMBDA (x: real): x" "n" "2*n!1+1"))
(("2java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(("2" (expand "^" -1)
(("2" (flatten)
(("2"
(lemma "scal_derivable_fun[real]"
("f" "LAMBDA (t: real): t ^ (1 + 2 * n!1)"
"b"
"(-1) ^ n!1 / factorial(1 + 2 * n!1)"))
(("2" (assert)
(("2"
(lemma
"deriv_scal_fun[real]"
("ff"
"LAMBDA (t: real): t ^ (1 + 2 * n!1)"
"b"
"(-1) ^ n!1 / factorial(1 + 2 * n!1)"))
(("2"
(replace -5)
(("2"
(assert)
(("2"
(expand "*")
(("2"
(replace -4)
(("2"
(assert)
(("2"
(replace -1)
(("2"
(hide-all-but (1 2))
(("2"
(apply-extensionality
2
:hide?
t)
(("2"
(name-replace
"X"
"x!1 ^ (2 * n!1)")
(("2"
(name-replace
"S"
"(-1) ^ n!1")
(("2"
(expand
"factorial"
1
2)
(("2"
(expand
"factorial"
1
3)
(("2"
(assert)
(("2"
(typepred
"factorial(2*n!1)")
(("2"
(name-replace
"F"
"factorial(2 * n!1)")
(("2"
(lemma
"div_cancel1")
(("2"
(inst
-
"2*n!1+1"
"S*X/F")
(("2"
(assert)
(("2"
(assert)
(("2"
(rewrite
"div_div2")
(("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)
((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)
(identity_derivable_fun formula-decl nil derivatives "analysis/")
(I const-decl "(bijective?[T, T])" identity nil)
(cos_term const-decl "real" trig_approx nil)
(nnint_plus_posint_is_posint application-judgement "posint"
integers nil)
(even_plus_odd_is_odd application-judgement "odd_int" integers nil)
(deriv_exp_fun formula-decl nil derivatives "analysis/")
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(^ const-decl "[T -> real]" real_fun_ops "reals/")
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(nzrat_div_nzrat_is_nzrat application-judgement "nzrat" rationals
nil)
(scal_derivable_fun formula-decl nil derivatives "analysis/")
(/= const-decl "boolean" notequal nil)
(nznum nonempty-type-eq-decl nil number_fields nil)
(/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
(OR const-decl "[bool, bool -> bool]" booleans nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(> const-decl "bool" reals nil)
(posnat nonempty-type-eq-decl nil integers nil)
(factorial def-decl "posnat" factorial "ints/")
(deriv_scal_fun formula-decl nil derivatives "analysis/")
(derivable? const-decl "bool" derivatives "analysis/")
(deriv_fun type-eq-decl nil derivatives "analysis/")
(NOT const-decl "[bool -> bool]" booleans nil)
(div_cancel1 formula-decl nil real_props nil)
(nonzero_real nonempty-type-eq-decl nil reals nil)
(real_plus_real_is_real application-judgement "real" reals nil)
(* const-decl "[T -> real]" real_fun_ops "reals/")
(* const-decl "[T -> real]" real_fun_ops "reals/")
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(expt_x0 formula-decl nil exponentiation nil)
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(^ const-decl "real" exponentiation nil)
(expt def-decl "real" exponentiation nil)
(factorial_1 formula-decl nil factorial "ints/")
(= const-decl "[T, T -> boolean]" equalities nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(rational nonempty-type-from-decl nil rationals nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(int nonempty-type-eq-decl nil integers nil)
(bool nonempty-type-eq-decl nil booleans nil)
(>= const-decl "bool" reals nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(sin_term const-decl "real" trig_approx nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(real_times_real_is_real application-judgement "real" reals nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(int_exp application-judgement "int" exponentiation nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(deriv_id_fun formula-decl nil derivatives "analysis/"))
nil)
(sin_term_deriv-1 nil 3320765733
("" (skosimp)
(("" (lemma "identity_derivable_fun[real]")
(("" (lemma "deriv_id_fun[real]")
(("" (expand "I")
(("" (expand "const_fun")
(("" (expand "sin_term")
(("" (expand "cos_term")
(("" (case-replace "n!1=0")
(("1" (rewrite "expt_x0")
(("1" (assert)
(("1" (expand "^")
(("1" (expand "expt")
(("1" (expand "expt")
(("1" (propax) nil nil)) nil))
nil))
nil))
nil))
nil)
("2"
(lemma "deriv_exp_fun"
("f" "LAMBDA (x: real): x" "n" "2*n!1+1"))
(("2" (assert)
(("2" (expand "^" -1)
(("2" (flatten)
(("2"
(lemma "scal_derivable_fun[real]"
("f" "LAMBDA (t: real): t ^ (1 + 2 * n!1)"
"b"
"(-1) ^ n!1 / factorial(1 + 2 * n!1)"))
(("2" (assert)
(("2"
(lemma
"deriv_scal_fun[real]"
("ff"
"LAMBDA (t: real): t ^ (1 + 2 * n!1)"
"b"
"(-1) ^ n!1 / factorial(1 + 2 * n!1)"))
(("2"
(replace -5)
(("2"
(assert)
(("2"
(expand "*")
(("2"
(replace -4)
(("2"
(assert)
(("2"
(replace -1)
(("2"
(hide-all-but (1 2))
(("2"
(apply-extensionality
2
:hide?
t)
(("2"
(name-replace
"X"
"x!1 ^ (2 * n!1)")
(("2"
(name-replace
"S"
"(-1) ^ n!1")
(("2"
(expand
"factorial"
1
2)
(("2"
(expand
"factorial"
1
3)
(("2"
(assert)
(("2"
(typepred
"factorial(2*n!1)")
(("2"
(name-replace
"F"
"factorial(2 * n!1)")
(("2"
(lemma
"div_cancel1")
(("2"
(inst
-
"2*n!1+1"
"S*X/F")
(("2"
(assert)
(("2"
(assert)
(("2"
(rewrite
"div_div2")
(("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)
((identity_derivable_fun formula-decl nil derivatives "analysis/")
(deriv_fun type-eq-decl nil derivatives "analysis/")
(deriv_scal_fun formula-decl nil derivatives "analysis/")
(scal_derivable_fun formula-decl nil derivatives "analysis/")
(deriv_exp_fun formula-decl nil derivatives "analysis/")
(const_fun const-decl "[T -> real]" real_fun_ops "reals/")
(deriv_id_fun formula-decl nil derivatives "analysis/"))
shostak))
(cos_term_deriv_TCC1 0
(cos_term_deriv_TCC1-1 nil 3320765601
("" (skosimp) (("" (assert) nil nil)) nil)
((int_minus_int_is_int application-judgement "int" integers nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil))
shostak))
(cos_term_deriv 0
(cos_term_deriv-1 nil 3320767680
("" (skosimp)
(("" (expand "cos_term")
(("" (expand "sin_term")
(("" (case-replace "n!1=0")
(("1" (lemma "const_derivable_fun[real]" ("b" "1"))
(("1" (lemma "deriv_const_fun[real]" ("b" "1"))
(("1" (expand "const_fun") (("1" (assert) nil nil)) nil))
nil))
nil)
("2" (assert)
(("2" (lemma "identity_derivable_fun[real]")
(("2" (lemma "deriv_id_fun[real]")
(("2" (expand "I")
(("2" (expand "const_fun")
(("2"
(lemma "deriv_exp_fun[real]"
("f" "LAMBDA (x: real): x" "n" "2*n!1"))
(("2" (assert)
(("2" (expand "^" -1)
(("2" (flatten)
(("2"
(lemma "scal_derivable_fun[real]"
("f"
"LAMBDA (t: real): t ^ (2 * n!1)"
"b"
"(-1)^n!1/factorial(2 * n!1)"))
(("2"
(lemma
"deriv_scal_fun[real]"
("ff"
"LAMBDA (t: real): t ^ (2 * n!1)"
"b"
"(-1)^n!1/factorial(2 * n!1)"))
(("1"
(replace -5)
(("1"
(assert)
(("1"
(expand "*")
(("1"
(replace -4)
(("1"
(assert)
(("1"
(replace -1)
(("1"
(hide-all-but (1 2))
(("1"
(apply-extensionality
2
:hide?
t)
(("1"
(name-replace
"X"
"x!1 ^ (2 * n!1 - 1)")
(("1"
(expand "^")
(("1"
(expand
"expt"
1
1)
(("1"
(name-replace
"S"
"expt((-1), n!1 - 1)")
(("1"
(expand
"factorial"
1
1)
(("1"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (propax) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((cos_term const-decl "real" trig_approx 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)
(number_field nonempty-type-from-decl nil number_fields nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(real nonempty-type-from-decl nil reals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(rational nonempty-type-from-decl nil rationals nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(int nonempty-type-eq-decl nil integers nil)
(bool nonempty-type-eq-decl nil booleans nil)
(>= const-decl "bool" reals nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(deriv_const_fun formula-decl nil derivatives "analysis/")
(const_derivable_fun formula-decl nil derivatives "analysis/")
(identity_derivable_fun formula-decl nil derivatives "analysis/")
(I const-decl "(bijective?[T, T])" identity nil)
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(deriv_scal_fun formula-decl nil derivatives "analysis/")
(derivable? const-decl "bool" derivatives "analysis/")
(deriv_fun type-eq-decl nil derivatives "analysis/")
(- const-decl "[numfield, numfield -> numfield]" number_fields nil)
(even_minus_odd_is_odd application-judgement "odd_int" integers
nil)
(int_minus_int_is_int application-judgement "int" integers nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(minus_real_is_real application-judgement "real" reals nil)
(int_expt application-judgement "int" exponentiation nil)
(nzreal_expt application-judgement "nzreal" exponentiation nil)
(expt def-decl "real" exponentiation nil)
(nzint_times_nzint_is_nzint application-judgement "nzint" integers
nil)
(* const-decl "[T -> real]" real_fun_ops "reals/")
(* const-decl "[T -> real]" real_fun_ops "reals/")
(factorial def-decl "posnat" factorial "ints/")
(posnat nonempty-type-eq-decl nil integers nil)
(> const-decl "bool" reals nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(^ const-decl "real" exponentiation nil)
(OR const-decl "[bool, bool -> bool]" booleans nil)
(/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
(nznum nonempty-type-eq-decl nil number_fields nil)
(/= const-decl "boolean" notequal nil)
(scal_derivable_fun formula-decl nil derivatives "analysis/")
(nzrat_div_nzrat_is_nzrat application-judgement "nzrat" rationals
nil)
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(^ const-decl "[T -> real]" real_fun_ops "reals/")
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(deriv_exp_fun formula-decl nil derivatives "analysis/")
(deriv_id_fun formula-decl nil derivatives "analysis/")
(int_exp application-judgement "int" exponentiation nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(real_times_real_is_real application-judgement "real" reals nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(rat_exp application-judgement "rat" exponentiation nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(sin_term const-decl "real" trig_approx nil))
shostak))
(sin_approx_TCC1 0
(sin_approx_TCC1-1 nil 3374498161
("" (skosimp*) (("" (inst?) (("" (assert) nil nil)) nil)) nil)
((number nonempty-type-decl nil numbers nil)
(boolean nonempty-type-decl nil booleans nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(real nonempty-type-from-decl nil reals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(rational nonempty-type-from-decl nil rationals nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(int nonempty-type-eq-decl nil integers nil)
(bool nonempty-type-eq-decl nil booleans nil)
(>= const-decl "bool" reals nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil))
nil))
(sin_approx_a0 0
(sin_approx_a0-1 nil 3321006684
("" (expand "sin_approx")
(("" (expand "sin_term")
(("" (expand "^" 1 2)
(("" (expand "expt")
(("" (induct "n")
(("1" (expand "sigma")
(("1" (assert)
(("1" (expand "sigma") (("1" (assert) nil nil)) nil))
nil))
nil)
("2" (skosimp*)
(("2" (expand "sigma" 1) (("2" (assert) nil nil)) nil))
nil))
nil))
nil))
nil))
nil))
nil)
((nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(int_exp application-judgement "int" exponentiation nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(nat_exp application-judgement "nat" exponentiation nil)
(sin_term const-decl "real" trig_approx nil)
(expt def-decl "real" exponentiation nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(real_le_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(nnreal_plus_nnreal_is_nnreal application-judgement "nnreal"
real_types nil)
(sigma_nnreal application-judgement "nnreal" sigma_nat "reals/")
(factorial_1 formula-decl nil factorial "ints/")
(sigma_0_neg formula-decl nil sigma_nat "reals/")
(nat_induction formula-decl nil naturalnumbers nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(factorial def-decl "posnat" factorial "ints/")
(posnat nonempty-type-eq-decl nil integers nil)
(> const-decl "bool" reals nil)
(nonneg_int nonempty-type-eq-decl nil integers 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)
(sigma def-decl "real" sigma "reals/")
(T_high type-eq-decl nil sigma "reals/")
(T_low type-eq-decl nil sigma "reals/")
(<= const-decl "bool" reals nil)
(OR const-decl "[bool, bool -> bool]" booleans nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(pred type-eq-decl nil defined_types nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(nnrat_div_posrat_is_nnrat application-judgement "nonneg_rat"
rationals nil)
(^ const-decl "real" exponentiation nil)
(nat_expt application-judgement "nat" exponentiation nil)
(sin_approx const-decl "real" trig_approx nil))
shostak))
(sin_approx_neg 0
(sin_approx_neg-1 nil 3320921408
("" (expand "sin_approx")
(("" (induct "n")
(("1" (expand "sigma")
(("1" (expand "sin_term")
(("1" (skosimp)
(("1" (rewrite "expt_x1")
(("1" (rewrite "expt_x1")
(("1" (assert)
(("1" (expand "sigma") (("1" (assert) nil nil)) nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (skosimp*)
(("2" (expand "sigma" 1)
(("2" (inst - "a!1")
(("2" (replace -1)
(("2" (assert)
(("2" (hide -1)
(("2" (expand "sin_term")
(("2" (assert)
(("2"
(case-replace
"(-a!1) ^ (3 + 2 * j!1) = - a!1 ^ (3 + 2 * j!1)")
(("1" (assert) nil nil)
("2" (hide 2)
(("2"
(lemma "expt_plus" ("i" "1" "j" "2*j!1+2"))
(("2" (case-replace "a!1=0")
(("1"
(expand "^" 1)
(("1"
(expand "expt" 1)
(("1" (assert) nil nil))
nil))
nil)
("2"
(inst-cp - "-a!1")
(("1"
(inst - "a!1")
(("1"
(rewrite "expt_x1")
(("1"
(rewrite "expt_x1")
(("1"
(replace -1)
(("1"
(replace -2)
(("1"
(hide -1 -2)
(("1"
(lemma
"expt_times"
("i" "2" "j" "1+j!1"))
(("1"
(inst-cp - "a!1")
(("1"
(inst - "-a!1")
(("1"
(replace -1)
(("1"
(replace -2)
(("1"
(case-replace
"(-a!1) ^ 2 = a!1 ^ 2")
(("1"
(assert)
nil
nil)
("2"
(hide-all-but
(1 2))
(("2"
(expand
"^")
(("2"
(expand
"expt")
(("2"
(expand
"expt")
(("2"
(expand
"expt")
(("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(assert)
nil
nil))
nil)
("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (assert) nil nil))
nil)
("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((minus_real_is_real application-judgement "real" reals nil)
(number nonempty-type-decl nil numbers nil)
(boolean nonempty-type-decl nil booleans nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(real nonempty-type-from-decl nil reals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(rational nonempty-type-from-decl nil rationals nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(int nonempty-type-eq-decl nil integers nil)
(bool nonempty-type-eq-decl nil booleans nil)
(>= const-decl "bool" reals nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(pred type-eq-decl nil defined_types nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(OR const-decl "[bool, bool -> bool]" booleans nil)
(<= const-decl "bool" reals nil)
(T_low type-eq-decl nil sigma "reals/")
(T_high type-eq-decl nil sigma "reals/")
(sigma def-decl "real" sigma "reals/")
(sin_term const-decl "real" trig_approx nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(nat_induction formula-decl nil naturalnumbers nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(int_exp application-judgement "int" exponentiation nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(real_times_real_is_real application-judgement "real" reals nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(expt_x1 formula-decl nil exponentiation nil)
(sigma_0_neg formula-decl nil sigma_nat "reals/")
(factorial_1 formula-decl nil factorial "ints/")
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(real_plus_real_is_real application-judgement "real" reals nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(expt def-decl "real" exponentiation nil)
(minus_even_is_even application-judgement "even_int" integers nil)
(int_expt application-judgement "int" exponentiation nil)
(nat_expt application-judgement "nat" exponentiation nil)
(expt_times formula-decl nil exponentiation nil)
(posint_times_posint_is_posint application-judgement "posint"
integers nil)
(odd_minus_odd_is_even application-judgement "even_int" integers
nil)
(nzreal nonempty-type-eq-decl nil reals nil)
(a!1 skolem-const-decl "real" trig_approx nil)
(expt_plus formula-decl nil exponentiation nil)
(even_plus_even_is_even application-judgement "even_int" integers
nil)
(nnint_plus_posint_is_posint application-judgement "posint"
integers nil)
(/= const-decl "boolean" notequal nil)
(^ const-decl "real" exponentiation nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields 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)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(sin_approx const-decl "real" trig_approx nil))
shostak))
(sin_approx_next 0
(sin_approx_next-1 nil 3320919641
("" (skosimp)
(("" (expand "sin_approx")
(("" (expand "sigma" 1 1)
(("" (expand "sigma" 1 1)
(("" (expand "sin_term")
(("" (expand "^")
(("" (expand "expt" 1 1)
(("" (name-replace "S" "expt((-1), 1 + n!1)")
(("" (expand "expt" 1 1)
(("" (expand "expt" 1 1)
(("" (name-replace "AA" "expt(a!1, 3 + 2 * n!1)")
(("" (rewrite "div_times")
(("" (assert)
(("" (expand "factorial" 1 1)
((""
(expand "factorial" 1 2)
((""
(expand "factorial" 1 1)
((""
(name-replace
"DRL100"
"(20 * factorial(3 + 2 * n!1) +
18 * (factorial(3 + 2 * n!1) * n!1)
+ 4 * (factorial(3 + 2 * n!1) * n!1 * n!1))")
(("" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(even_plus_even_is_even application-judgement "even_int" integers
nil)
(nnint_plus_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(real_times_real_is_real application-judgement "real" reals nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(sin_approx const-decl "real" trig_approx nil)
(^ const-decl "real" exponentiation nil)
(minus_odd_is_odd application-judgement "odd_int" integers 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)
(number_field nonempty-type-from-decl nil number_fields nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(real nonempty-type-from-decl nil reals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(rational nonempty-type-from-decl nil rationals nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(int nonempty-type-eq-decl nil integers nil)
(bool nonempty-type-eq-decl nil booleans nil)
(>= const-decl "bool" reals nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(factorial def-decl "posnat" factorial "ints/")
(posnat nonempty-type-eq-decl nil integers nil)
(> const-decl "bool" reals nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(nonzero_real nonempty-type-eq-decl nil reals nil)
(/= const-decl "boolean" notequal nil)
(div_times formula-decl nil real_props nil)
(int_times_even_is_even application-judgement "even_int" integers
nil)
(posint_times_posint_is_posint application-judgement "posint"
integers nil)
(posint nonempty-type-eq-decl nil integers nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(expt def-decl "real" exponentiation nil)
(nzreal_expt application-judgement "nzreal" exponentiation nil)
(int_expt application-judgement "int" exponentiation nil)
(sin_term const-decl "real" trig_approx nil)
(sigma def-decl "real" sigma "reals/"))
shostak))
(sin_approx_eq 0
(sin_approx_eq-1 nil 3321006162
("" (skosimp)
(("" (lemma "sin_approx_next" ("a" "a!1" "n" "n!1"))
(("" (replace -2)
(("" (lemma "div_simp" ("n0x" "(2 * n!1 + 5) * (2 * n!1 + 4)"))
(("" (replace -1) (("" (assert) nil nil)) nil)) nil))
nil))
nil))
nil)
((nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil)
(sin_approx_next formula-decl nil trig_approx nil)
(div_simp formula-decl nil real_props nil)
(/= const-decl "boolean" notequal nil)
(nonzero_real nonempty-type-eq-decl nil reals nil)
(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)
(odd_minus_odd_is_even application-judgement "even_int" integers
nil)
(nnint_plus_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(rat_minus_rat_is_rat application-judgement "rat" rationals nil)
(posrat_div_posrat_is_posrat application-judgement "posrat"
rationals nil)
(real_minus_real_is_real application-judgement "real" reals nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(int_times_even_is_even application-judgement "even_int" integers
nil)
(posint_times_posint_is_posint application-judgement "posint"
integers nil)
(real_times_real_is_real application-judgement "real" reals nil)
(even_plus_even_is_even application-judgement "even_int" integers
nil)
(even_plus_odd_is_odd application-judgement "odd_int" integers nil)
(nnint_plus_posint_is_posint application-judgement "posint"
integers nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil))
shostak))
(sin_approx_sin 0
(sin_approx_sin-2 nil 3403526502
("" (skosimp)
(("" (lemma "sin_series" ("x" "a!1" "n" "n!1"))
(("" (expand "sin_term")
((""
(case "forall (n:nat): sin_series_n(a!1, n) = sin_approx(a!1, n)")
(("1" (inst - "n!1")
(("1" (replace -1 -2)
(("1" (hide -1)
(("1" (rewrite "abs_div")
(("1" (rewrite "abs_mult")
(("1" (expand "abs" 1 4)
(("1" (case-replace "abs((-1) ^ (1 + n!1)) = 1")
(("1" (assert) nil nil)
("2" (hide-all-but 1)
(("2" (case "(-1)^2 =1")
(("1" (case "even?(1+n!1)")
(("1"
(expand "even?")
(("1"
(skosimp)
(("1"
(replace -1)
(("1"
(rewrite "expt_times")
(("1"
(replace -2)
(("1"
(rewrite "expt_1i")
(("1"
(expand "abs")
(("1" (propax) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(rewrite "even_or_odd")
(("2"
(expand "odd?")
(("2"
(skosimp)
(("2"
(replace -1)
(("2"
(rewrite "expt_plus")
(("2"
(rewrite "expt_times")
(("2"
(replace -2)
(("2"
(rewrite "expt_1i")
(("2"
(rewrite "expt_x1")
(("2"
(expand "abs")
(("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (hide 2)
(("2"
(expand "^")
(("2"
(expand "expt")
(("2"
(expand "expt")
(("2"
(expand "expt")
(("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (hide-all-but 1)
(("2" (expand "sin_series_n")
(("2" (expand "sin_approx")
(("2" (expand "sin_term")
(("2" (expand "sin_series_term")
(("2" (induct "n")
(("1" (expand "sigma")
(("1" (expand "sigma") (("1" (propax) nil nil))
nil))
nil)
("2" (skosimp*)
(("2" (rewrite "sigma_rew" 1)
(("2" (swap-rel 1)
(("2" (rewrite "sigma_rew" 1)
(("2"
(replace -1 1 rl)
(("2"
(hide -1)
(("2"
(lemma
"sigma_eq"
("low"
"0"
"high"
"j!1"
"F"
"LAMBDA (i: nat):
IF i > 1 + j!1 THEN 0
ELSE ((-1) ^ i * a!1 ^ (1 + 2 * i)) / factorial(1 + 2 * i)
ENDIF"
"G"
"LAMBDA (i: nat):
IF i > j!1 THEN 0
ELSE ((-1) ^ i * a!1 ^ (1 + 2 * i)) / factorial(1 + 2 * i)
ENDIF"))
(("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil)
(sin_series formula-decl nil sincos nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(sin_series_n const-decl "real" sincos nil)
(sin_approx const-decl "real" trig_approx nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(^ const-decl "real" exponentiation nil)
(OR const-decl "[bool, bool -> bool]" booleans nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(factorial def-decl "posnat" factorial "ints/")
(posnat nonempty-type-eq-decl nil integers nil)
(> const-decl "bool" reals nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(nonzero_real nonempty-type-eq-decl nil reals nil)
(/= const-decl "boolean" notequal nil)
(abs_div formula-decl nil real_props nil)
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(nzint_abs_is_pos application-judgement "{j: posint | j >= i}"
real_defs nil)
(nnreal_div_posreal_is_nnreal application-judgement "nnreal"
real_types nil)
(abs const-decl "{n: nonneg_real | n >= m AND n >= -m}" real_defs
nil)
(expt def-decl "real" exponentiation nil)
(even? const-decl "bool" integers nil)
(nzreal nonempty-type-eq-decl nil reals nil)
(expt_times formula-decl nil exponentiation nil)
(expt_1i formula-decl nil exponentiation nil)
(posrat_exp application-judgement "posrat" exponentiation nil)
(nnrat_exp application-judgement "nnrat" exponentiation nil)
(rat_exp application-judgement "rat" exponentiation nil)
(odd_minus_odd_is_even application-judgement "even_int" integers
nil)
(int_minus_int_is_int application-judgement "int" integers nil)
(odd? const-decl "bool" integers nil)
(expt_x1 formula-decl nil exponentiation nil)
(nzrat_times_nzrat_is_nzrat application-judgement "nzrat" rationals
nil)
(expt_plus formula-decl nil exponentiation nil)
(even_or_odd formula-decl nil naturalnumbers nil)
(even_plus_odd_is_odd application-judgement "odd_int" integers nil)
(nnint_plus_posint_is_posint application-judgement "posint"
integers nil)
(real_le_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(nonneg_real nonempty-type-eq-decl nil real_types nil)
(AND const-decl "[bool, bool -> bool]" booleans nil)
(nnreal_times_nnreal_is_nnreal application-judgement "nnreal"
real_types nil)
(abs_mult formula-decl nil real_props nil)
(pred type-eq-decl nil defined_types nil)
(<= const-decl "bool" reals nil)
(T_low type-eq-decl nil sigma "reals/")
(T_high type-eq-decl nil sigma "reals/")
(sigma def-decl "real" sigma "reals/")
(IF const-decl "[boolean, T, T -> T]" if_def nil)
(nznum nonempty-type-eq-decl nil number_fields nil)
(/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
(nat_induction formula-decl nil naturalnumbers nil)
(IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
(NOT const-decl "[bool -> bool]" booleans nil)
(sigma_rew formula-decl nil sigma "reals/")
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(posint_times_posint_is_posint application-judgement "posint"
integers nil)
(real_plus_real_is_real application-judgement "real" reals nil)
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(sigma_eq formula-decl nil sigma "reals/")
(IFF const-decl "[bool, bool -> bool]" booleans nil)
(sin_series_term const-decl "[nat -> real]" sincos nil)
(sin_term const-decl "real" trig_approx nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(real_times_real_is_real application-judgement "real" reals nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(int_exp application-judgement "int" exponentiation nil)
(real_minus_real_is_real application-judgement "real" reals nil)
(sin_range application-judgement "trig_range" sincos_def nil))
nil)
(sin_approx_sin-1 nil 3320991568
("" (skosimp)
(("" (lemma "sin_series" ("x" "a!1" "n" "n!1"))
(("" (expand "sin_term")
((""
(case "forall (n:nat): sin_series_n(a!1, n) = sin_approx(a!1, n)")
(("1" (inst - "n!1")
(("1" (replace -1 -2)
(("1" (hide -1)
(("1" (rewrite "abs_div")
(("1" (rewrite "abs_mult")
(("1" (expand "abs" 1 4)
(("1" (case-replace "abs((-1) ^ (1 + n!1)) = 1")
(("1" (assert) nil nil)
("2" (hide-all-but 1)
(("2" (case "(-1)^2 =1")
(("1" (case "even?(1+n!1)")
(("1"
(expand "even?")
(("1"
(skosimp)
(("1"
(replace -1)
(("1"
(rewrite "expt_times")
(("1"
(replace -2)
(("1"
(rewrite "expt_1i")
(("1"
(expand "abs")
(("1" (propax) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(rewrite "even_or_odd")
(("2"
(expand "odd?")
(("2"
(skosimp)
(("2"
(replace -1)
(("2"
(rewrite "expt_plus")
(("2"
(rewrite "expt_times")
(("2"
(replace -2)
(("2"
(rewrite "expt_1i")
(("2"
(rewrite "expt_x1")
(("2"
(expand "abs")
(("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (hide 2)
(("2"
(expand "^")
(("2"
(expand "expt")
(("2"
(expand "expt")
(("2"
(expand "expt")
(("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (hide-all-but 1)
(("2" (expand "sin_series_n")
(("2" (expand "sin_approx")
(("2" (expand "sin_term")
(("2" (expand "sin_series_term")
(("2" (induct "n")
(("1" (expand "sigma") (("1" (propax) nil nil))
nil)
("2" (skosimp*)
(("2" (expand "sigma" 1)
(("2" (replace -1 1 rl)
(("2" (hide -1)
(("2"
(lemma
"sigma_eq"
("low"
"0"
"high"
"j!1"
"F"
"LAMBDA (i: nat):
IF i > 1 + j!1 THEN 0
ELSE ((-1) ^ i * a!1 ^ (1 + 2 * i)) / factorial(1 + 2 * i)
ENDIF"
"G"
"LAMBDA (i: nat):
IF i > j!1 THEN 0
ELSE ((-1) ^ i * a!1 ^ (1 + 2 * i)) / factorial(1 + 2 * i)
ENDIF"))
(("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((sin_series formula-decl nil sincos nil)
(sin_series_n const-decl "real" sincos nil)
(sigma def-decl "real" sigma "reals/")
(sigma_eq formula-decl nil sigma "reals/")
(sin_series_term const-decl "[nat -> real]" sincos nil))
shostak))
(cos_approx_a0 0
(cos_approx_a0-1 nil 3321006785
("" (expand "cos_approx")
(("" (expand "cos_term")
(("" (induct "n")
(("1" (expand "sigma")
(("1" (expand "sigma") (("1" (propax) nil nil)) nil)) nil)
("2" (skosimp*)
(("2" (expand "sigma" 1)
(("2" (expand "^" 1 4)
(("2" (expand "expt") (("2" (assert) nil nil)) nil))
nil))
nil))
nil))
nil))
nil))
nil)
((cos_term const-decl "real" trig_approx nil)
(nat_expt application-judgement "nat" exponentiation nil)
(even_plus_even_is_even application-judgement "even_int" integers
nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(nnrat_div_posrat_is_nnrat application-judgement "nonneg_rat"
rationals 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)
(real_le_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(expt def-decl "real" exponentiation nil)
(nat_exp application-judgement "nat" exponentiation nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(int_exp application-judgement "int" exponentiation nil)
(nat_induction formula-decl nil naturalnumbers nil)
(factorial def-decl "posnat" factorial "ints/")
(posnat nonempty-type-eq-decl nil integers nil)
(> const-decl "bool" reals nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(^ const-decl "real" exponentiation nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
((empty_seq_fseq -udgement "fseq[eal] fseqs_aux_2Dnil)
(nznum nonempty-type-eq-decl nil number_fields nil)
(=const-ecl"ooleannotequalnil)
IF const- [,T T ->T"if_def nil)
(type-eq-eclfseqs "tructures"
(sigma def-decl "real int nonemptytype-q-ecl niljava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
(T_high type-eq- (real_ge_is_total_orjudgement"?[eal]"
ealsnil)
(R const-ecl "bool nil)
(= const-(?const-" fseqs_aux_2D)
(redtypeeqdefined_typesniljava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
(nat nonempty-type-(("
(>= const-decl (latten)
(bool nonempty--q- booleans nil)
(intnil)java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
-decl"rational-] integersniljava.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
rnonemptytypefrom-eclnil java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
( constdecl" >boolean] ationalsniljava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
(real nonempty-type-from-decl nil java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 30
(eal_pred const-ecl "number_field- boolean"r )
(umber_field -ype-- number_fields )
(umber_field_pred - [ >boolean"number_fields
nil)
lnil )
( number_field-ype-romdecl nilnumber_fields nil)
(minus_odd_is_odd application-judgement(booln-type-qdeclnilbooleans nil)
( application-udgement"onneg_int"
integer_pred constdecl [ ] nil)
(ven_times_int_is_even application-udgement"ven_int"integers
nil)
"(()"dividesniljava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
(mult_divides2 application-java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 22
bnonemptytype nilniljava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
( -decl""trig_approxnil)
("(emma ""java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
(cos_approx_neg 0
( assert)
( replace -)
(("" (induct "n")
)
((1 expand "os_termjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
(("1" (skosimp*)
("" ( s"1) (" p)nil)) nil)
)
nil inonemptyeqnilniljava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
":fseq permutation?T,<]( ss)AND increasing?ss)
java.lang.StringIndexOutOfBoundsException: Range [14, 8) out of bounds for length 32
(("2" (inst - "a! natnonemptytypeeqjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 55
(("2" (replace -1)
(("2" (assert)
(("2" (hide -1)
(("2" (expand "cos_term")
(("2" (case-replace "a!1=0")
(("1" (expand "^")
(("1" (expand "expt") (("1" (propax) nil nil))
nil))
nil)
("2" (lemma "expt_times" ("i" "2" "j" "1+j!1"))
(("2" (inst-cp - "a!1")
(("2" (inst - "-a!1")
(("2" (case-replace "(-a!1) ^ 2 = a!1 ^ 2")
(("1" (assert) nil nil)
("2"
(hide-all-but (1 2))
(("2" (grind) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((minus_real_is_real application-judgement "real" reals nil)
(number nonempty-type-decl nil numbers nil)
(boolean nonempty-type-decl nil booleans nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(real nonempty-type-from-decl nil reals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(rational nonempty-type-from-decl nil rationals nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(int nonempty-type-eq-decl nil integers nil)
(bool nonempty-type-eq-decl nil booleans nil)
(>= const-decl "bool" reals nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(pred type-eq-decl nil defined_types nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(OR const-decl "[bool, bool -> bool]" booleans nil)
(<= const-decl "bool" reals nil)
(T_low type-eq-decl nil sigma "reals/")
(T_high type-eq-decl nil sigma "reals/")
(sigma def-decl "real" sigma "reals/")
(cos_term const-decl "real" trig_approx nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(nat_induction formula-decl nil naturalnumbers nil)
(real_times_real_is_real application-judgement "real" reals nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(int_exp application-judgement "int" exponentiation nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(expt def-decl "real" exponentiation nil)
(^ const-decl "real" exponentiation nil)
(nzreal nonempty-type-eq-decl nil reals nil)
(/= const-decl "boolean" notequal nil)
(posint_times_posint_is_posint application-judgement "posint"
integers nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(even_plus_even_is_even application-judgement "even_int" integers
nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(expt_times formula-decl nil exponentiation 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)
(real_plus_real_is_real application-judgement "real" reals nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(cos_approx const-decl "real" trig_approx nil))
shostak))
(cos_approx_cos 0
(cos_approx_cos-1 nil 3320992237
("" (skosimp)
(("" (lemma "cos_series" ("x" "a!1" "n" "n!1"))
(("" (expand "cos_term")
(("" (rewrite "abs_div")
(("" (expand "abs" 1 3)
(("" (rewrite "abs_mult")
(("" (case-replace "abs((-1)^(1+n!1))=1")
(("1"
(case "forall (n:nat): cos_series_n(a!1, n) = cos_approx(a!1, n)")
(("1" (inst - "n!1") (("1" (assert) nil nil)) nil)
("2" (hide-all-but 1)
(("2" (expand "cos_approx")
(("2" (expand "cos_series_n")
(("2" (expand "cos_series_term")
(("2" (expand "cos_term")
(("2" (induct "n")
(("1"
(expand "sigma")
(("1"
(expand "sigma")
(("1" (propax) nil nil))
nil))
nil)
("2"
(skosimp*)
(("2"
(expand "sigma" 1)
(("2"
(replace -1 1 rl)
(("2"
(hide -1)
(("2"
(lemma
"sigma_eq"
("low"
"0"
"high"
"j!1"
"F"
"LAMBDA (i: nat):
IF i > 1 + j!1 THEN 0
ELSE IF i = 0 THEN 1
ELSE (-1) ^ i * a!1 ^ (2 * i) / factorial(2 * i)
ENDIF
ENDIF"
"G"
"LAMBDA (i: nat):
IF i > j!1 THEN 0
ELSE IF i = 0 THEN 1
ELSE (-1) ^ i * a!1 ^ (2 * i) / factorial(2 * i)
ENDIF
ENDIF"))
(("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (hide-all-but 1)
(("2" (case "(-1)^2=1")
(("1" (case "even?(1+n!1)")
(("1" (expand "even?")
(("1" (skosimp)
(("1" (replace -1)
(("1" (rewrite "expt_times")
(("1"
(replace -2)
(("1"
(rewrite "expt_1i")
(("1"
(expand "abs")
(("1" (propax) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (rewrite "even_or_odd")
(("2" (expand "odd?")
(("2" (skosimp*)
(("2" (replace -1)
(("2"
(rewrite "expt_plus")
(("2"
(rewrite "expt_times")
(("2"
(rewrite "expt_x1")
(("2"
(replace -2)
(("2"
(rewrite "expt_1i")
(("2"
(expand "abs")
(("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (hide 2)
(("2" (expand "^")
(("2" (expand "expt")
(("2" (expand "expt")
(("2" (expand "expt")
(("2" (assert) nil nil)) nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil)
(cos_series formula-decl nil sincos nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(^ const-decl "real" exponentiation nil)
(OR const-decl "[bool, bool -> bool]" booleans nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(factorial def-decl "posnat" factorial "ints/")
(posnat nonempty-type-eq-decl nil integers nil)
(> const-decl "bool" reals nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(nonzero_real nonempty-type-eq-decl nil reals nil)
(/= const-decl "boolean" notequal nil)
(abs_div formula-decl nil real_props nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(int_exp application-judgement "int" exponentiation nil)
(real_times_real_is_real application-judgement "real" reals nil)
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(even_plus_even_is_even application-judgement "even_int" integers
nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(nzint_abs_is_pos application-judgement "{j: posint | j >= i}"
real_defs nil)
(nnreal_div_posreal_is_nnreal application-judgement "nnreal"
real_types nil)
(abs_mult formula-decl nil real_props nil)
(nnreal_times_nnreal_is_nnreal application-judgement "nnreal"
real_types nil)
(expt def-decl "real" exponentiation nil)
(even? const-decl "bool" integers nil)
(nzreal nonempty-type-eq-decl nil reals nil)
(expt_times formula-decl nil exponentiation nil)
(expt_1i formula-decl nil exponentiation nil)
(posrat_exp application-judgement "posrat" exponentiation nil)
(nnrat_exp application-judgement "nnrat" exponentiation nil)
(rat_exp application-judgement "rat" exponentiation nil)
(odd_minus_odd_is_even application-judgement "even_int" integers
nil)
(int_minus_int_is_int application-judgement "int" integers nil)
(odd? const-decl "bool" integers nil)
(expt_x1 formula-decl nil exponentiation nil)
(nzrat_times_nzrat_is_nzrat application-judgement "nzrat" rationals
nil)
(expt_plus formula-decl nil exponentiation nil)
(even_or_odd formula-decl nil naturalnumbers nil)
(cos_series_n const-decl "real" sincos nil)
(cos_approx const-decl "real" trig_approx nil)
(nnint_plus_posint_is_posint application-judgement "posint"
integers nil)
(real_le_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(cos_series_term const-decl "[nat -> real]" sincos nil)
(/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
(nznum nonempty-type-eq-decl nil number_fields nil)
(IF const-decl "[boolean, T, T -> T]" if_def nil)
(sigma def-decl "real" sigma "reals/")
(T_high type-eq-decl nil sigma "reals/")
(T_low type-eq-decl nil sigma "reals/")
(<= const-decl "bool" reals nil)
(pred type-eq-decl nil defined_types nil)
(nat_induction formula-decl nil naturalnumbers nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
(NOT const-decl "[bool -> bool]" booleans nil)
(sigma_eq formula-decl nil sigma "reals/")
(= const-decl "[T, T -> boolean]" equalities nil)
(nonneg_real nonempty-type-eq-decl nil real_types nil)
(AND const-decl "[bool, bool -> bool]" booleans nil)
(abs const-decl "{n: nonneg_real | n >= m AND n >= -m}" real_defs
nil)
(cos_term const-decl "real" trig_approx nil)
(real_minus_real_is_real application-judgement "real" reals nil)
(cos_range application-judgement "trig_range" sincos_def nil))
shostak))
(cos_approx_next 0
(cos_approx_next-1 nil 3320919986
("" (skosimp)
(("" (expand "cos_approx")
(("" (expand "sigma" 1 1)
(("" (expand "sigma" 1 1)
(("" (expand "cos_term")
(("" (expand "^")
(("" (expand "expt" 1 1)
(("" (name-replace "S" "expt((-1), 1 + n!1)")
(("" (expand "expt" 1 1)
(("" (expand "expt" 1 1)
(("" (name-replace "AA" "expt(a!1, 2 + 2 * n!1)")
(("" (expand "factorial" 1 1)
(("" (expand "factorial" 1 2)
(("" (expand "factorial" 1 1)
((""
(rewrite "div_times")
(("" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(even_plus_even_is_even application-judgement "even_int" integers
nil)
(nnint_plus_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(real_times_real_is_real application-judgement "real" reals nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(cos_approx const-decl "real" trig_approx nil)
(^ const-decl "real" exponentiation nil)
(minus_odd_is_odd application-judgement "odd_int" integers 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)
(number_field nonempty-type-from-decl nil number_fields nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(real nonempty-type-from-decl nil reals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(rational nonempty-type-from-decl nil rationals nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(int nonempty-type-eq-decl nil integers nil)
(bool nonempty-type-eq-decl nil booleans nil)
(>= const-decl "bool" reals nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(factorial def-decl "posnat" factorial "ints/")
(posint_times_posint_is_posint application-judgement "posint"
integers nil)
(int_times_even_is_even application-judgement "even_int" integers
nil)
(div_times formula-decl nil real_props nil)
(/= const-decl "boolean" notequal nil)
(nonzero_real nonempty-type-eq-decl nil reals nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(> const-decl "bool" reals nil)
(posnat nonempty-type-eq-decl nil integers nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(expt def-decl "real" exponentiation nil)
(nzreal_expt application-judgement "nzreal" exponentiation nil)
(int_expt application-judgement "int" exponentiation nil)
(cos_term const-decl "real" trig_approx nil)
(sigma def-decl "real" sigma "reals/"))
shostak))
(cos_approx_eq 0
(cos_approx_eq-1 nil 3321006042
("" (skosimp*)
(("" (lemma "cos_approx_next" ("a" "a!1" "n" "n!1"))
(("" (replace -2 -1)
(("" (lemma "div_simp" ("n0x" "(2 * n!1 + 4) * (2 * n!1 + 3)"))
(("" (replace -1) (("" (assert) nil nil)) nil)) nil))
nil))
nil))
nil)
((nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil)
(cos_approx_next formula-decl nil trig_approx nil)
(div_simp formula-decl nil real_props nil)
(/= const-decl "boolean" notequal nil)
(nonzero_real nonempty-type-eq-decl nil reals nil)
(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)
(odd_minus_odd_is_even application-judgement "even_int" integers
nil)
(nnint_plus_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(rat_minus_rat_is_rat application-judgement "rat" rationals nil)
(posrat_div_posrat_is_posrat application-judgement "posrat"
rationals nil)
(real_minus_real_is_real application-judgement "real" reals nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(posint_times_posint_is_posint application-judgement "posint"
integers nil)
(real_times_real_is_real application-judgement "real" reals nil)
(even_plus_odd_is_odd application-judgement "odd_int" integers nil)
(even_plus_even_is_even application-judgement "even_int" integers
nil)
(nnint_plus_posint_is_posint application-judgement "posint"
integers nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil))
shostak))
(sin_approx_deriv 0
(sin_approx_deriv-1 nil 3320763896
("" (expand "sin_approx")
(("" (expand "cos_approx")
(("" (induct "n")
(("1" (expand "sigma")
(("1" (lemma "sin_term_deriv" ("n" "0"))
(("1" (flatten)
(("1" (lemma "sin_term_deriv" ("n" "0"))
(("1" (flatten)
(("1" (expand "sigma") (("1" (propax) nil nil)) nil))
nil))
nil))
nil))
nil))
nil)
("2" (lemma "sin_term_deriv" ("n" "0"))
(("2" (flatten)
(("2" (expand "sigma")
(("2" (expand "sigma") (("2" (propax) nil nil)) nil))
nil))
nil))
nil)
("3" (skosimp)
(("3" (expand "sigma" 1)
(("3" (lemma "sin_term_deriv" ("n" "1+j!1"))
(("3" (flatten)
(("3"
(lemma "sum_derivable_fun[real]"
("f1" "LAMBDA a: sin_term(a)(1 + j!1)" "f2"
"LAMBDA a: sigma(0, j!1, sin_term(a))"))
(("3" (assert)
(("3"
(lemma "deriv_sum_fun[real]"
("ff1" "LAMBDA a: sin_term(a)(1 + j!1)" "ff2"
"LAMBDA a: sigma(0, j!1, sin_term(a))"))
(("3" (replace -4)
(("3" (replace -6)
(("3" (expand "+") (("3" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((cos_approx const-decl "real" trig_approx nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(sum_derivable_fun formula-decl nil derivatives "analysis/")
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(deriv_sum_fun formula-decl nil derivatives "analysis/")
(real_plus_real_is_real application-judgement "real" reals nil)
(+ const-decl "[T -> real]" real_fun_ops "reals/")
(sin_term_deriv formula-decl nil trig_approx nil)
(nat_induction formula-decl nil naturalnumbers nil)
(cos_term const-decl "real" trig_approx nil)
(deriv const-decl "[T -> real]" derivatives "analysis/")
(deriv_fun type-eq-decl nil derivatives "analysis/")
(= const-decl "[T, T -> boolean]" equalities nil)
(sin_term const-decl "real" trig_approx nil)
(sigma def-decl "real" sigma "reals/")
(T_high type-eq-decl nil sigma "reals/")
(T_low type-eq-decl nil sigma "reals/")
(<= const-decl "bool" reals nil)
(OR const-decl "[bool, bool -> bool]" booleans nil)
(derivable? const-decl "bool" derivatives "analysis/")
(AND const-decl "[bool, bool -> bool]" booleans nil)
(pred type-eq-decl nil defined_types nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil)
(sin_approx const-decl "real" trig_approx nil))
shostak))
(cos_approx_deriv_TCC1 0
(cos_approx_deriv_TCC1-1 nil 3320763874
("" (skosimp) (("" (assert) nil nil)) nil)
((int_minus_int_is_int application-judgement "int" integers nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil))
shostak))
(cos_approx_deriv 0
(cos_approx_deriv-1 nil 3320768203
("" (expand "cos_approx")
(("" (expand "sin_approx")
(("" (induct "n")
(("1" (expand "sigma")
(("1" (expand "cos_term")
(("1" (lemma "const_derivable_fun[real]" ("b" "1"))
(("1" (expand "sigma") (("1" (propax) nil nil)) nil))
nil))
nil))
nil)
("2" (lemma "deriv_const_fun[real]" ("b" "1"))
(("2" (expand "sigma")
(("2" (expand "cos_term")
(("2" (expand "sigma") (("2" (propax) nil nil)) nil))
nil))
nil))
nil)
("3" (skosimp*)
(("3" (case-replace "j!1=0")
(("1" (assert)
(("1" (expand "sigma" 1)
(("1" (lemma "cos_term_deriv" ("n" "1"))
(("1" (flatten)
(("1"
(lemma "sum_derivable_fun[real]"
("f1" "LAMBDA a: cos_term(a)(1)" "f2"
"LAMBDA a: sigma(0, 0, cos_term(a))"))
(("1" (assert)
(("1" (expand "+")
(("1" (assert)
(("1"
(lemma "deriv_sum_fun[real]"
("ff1"
"LAMBDA a: cos_term(a)(1)"
"ff2"
"LAMBDA a: sigma(0, 0, cos_term(a))"))
(("1"
(replace -7)
(("1"
(replace -4)
(("1"
(expand "+")
(("1" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (assert)
(("2" (expand "sigma" 2)
(("2" (lemma "cos_term_deriv" ("n" "1+j!1"))
(("2" (flatten)
(("2" (assert)
(("2"
(lemma "sum_derivable_fun[real]"
("f1" "LAMBDA a: cos_term(a)(1 + j!1)" "f2"
"LAMBDA a: sigma(0, j!1, cos_term(a))"))
(("2" (assert)
(("2" (expand "+")
(("2" (assert)
(("2"
(lemma
"deriv_sum_fun[real]"
("ff1"
"LAMBDA a: cos_term(a)(1+j!1)"
"ff2"
"LAMBDA a: sigma(0, j!1, cos_term(a))"))
(("2"
(replace -4)
(("2"
(replace -6)
(("2"
(expand "+")
(("2"
(replace -1)
(("2"
(hide-all-but (1 2))
(("2"
(apply-extensionality
2
:hide?
t)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("4" (skosimp) (("4" (assert) nil nil)) nil)
("5" (skosimp) (("5" (assert) nil nil)) nil))
nil))
nil))
nil)
((sin_approx const-decl "real" trig_approx nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(real_le_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(minus_real_is_real application-judgement "real" reals nil)
(cos_term_deriv formula-decl nil trig_approx nil)
(sum_derivable_fun formula-decl nil derivatives "analysis/")
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(+ const-decl "[T -> real]" real_fun_ops "reals/")
(deriv_sum_fun formula-decl nil derivatives "analysis/")
(sigma_0_neg formula-decl nil sigma_nat "reals/")
(nnint_plus_posint_is_posint application-judgement "posint"
integers nil)
(deriv_const_fun formula-decl nil derivatives "analysis/")
(const_derivable_fun formula-decl nil derivatives "analysis/")
(real_plus_real_is_real application-judgement "real" reals nil)
(nat_induction formula-decl nil naturalnumbers nil)
(sin_term const-decl "real" trig_approx nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(IF const-decl "[boolean, T, T -> T]" if_def nil)
(deriv const-decl "[T -> real]" derivatives "analysis/")
(deriv_fun type-eq-decl nil derivatives "analysis/")
(AND const-decl "[bool, bool -> bool]" booleans nil)
(pred type-eq-decl nil defined_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)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(rational nonempty-type-from-decl nil rationals nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(int nonempty-type-eq-decl nil integers nil)
(bool nonempty-type-eq-decl nil booleans nil)
(>= const-decl "bool" reals nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
(derivable? const-decl "bool" derivatives "analysis/")
(OR const-decl "[bool, bool -> bool]" booleans nil)
(<= const-decl "bool" reals nil)
(T_low type-eq-decl nil sigma "reals/")
(T_high type-eq-decl nil sigma "reals/")
(sigma def-decl "real" sigma "reals/")
(cos_term const-decl "real" trig_approx nil)
(NOT const-decl "[bool -> bool]" booleans nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(- const-decl "[numfield, numfield -> numfield]" number_fields nil)
(int_minus_int_is_int application-judgement "int" integers nil)
(cos_approx const-decl "real" trig_approx nil))
shostak))
(sin_lb_neg 0
(sin_lb_neg-1 nil 3321098562
("" (expand "sin_lb")
(("" (expand "sin_ub")
(("" (skosimp)
(("" (lemma "trichotomy" ("x" "a!1"))
(("" (split -1)
(("1" (assert) (("1" (rewrite "sin_approx_neg") nil nil))
nil)
("2" (replace -1)
(("2" (assert)
(("2" (rewrite "sin_approx_a0")
(("2" (rewrite "sin_approx_a0")
(("2" (assert) nil nil)) nil))
nil))
nil))
nil)
("3" (assert) (("3" (rewrite "sin_approx_neg") nil nil))
nil))
nil))
nil))
nil))
nil))
nil)
((sin_ub const-decl "real" trig_approx 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)
(trichotomy formula-decl nil real_axioms nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(sin_approx_a0 formula-decl nil trig_approx nil)
(minus_even_is_even application-judgement "even_int" integers nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(minus_real_is_real application-judgement "real" reals nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(sin_approx_neg formula-decl nil trig_approx nil)
(sin_lb const-decl "real" trig_approx nil))
shostak))
(sin_ub_neg 0
(sin_ub_neg-1 nil 3321098748
("" (skosimp)
(("" (lemma "sin_lb_neg" ("a" "-a!1" "n" "n!1"))
(("" (assert) nil nil)) nil))
nil)
((nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields 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)
(sin_lb_neg formula-decl nil trig_approx nil)
(minus_real_is_real application-judgement "real" reals nil))
shostak))
(sin_lb_a0 0
(sin_lb_a0-1 nil 3321123319
("" (expand "sin_lb")
(("" (skosimp) (("" (rewrite "sin_approx_a0") nil nil)) nil)) nil)
((* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil)
(sin_approx_a0 formula-decl nil trig_approx nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(sin_lb const-decl "real" trig_approx nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil))
shostak))
(sin_ub_a0 0
(sin_ub_a0-1 nil 3321123338
("" (expand "sin_ub")
(("" (skosimp) (("" (rewrite "sin_approx_a0") nil nil)) nil)) nil)
((* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real 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)
(sin_approx_a0 formula-decl nil trig_approx nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(sin_ub const-decl "real" trig_approx nil))
shostak))
(sin_lb_ub 0
(sin_lb_ub-2 nil 3321626202
("" (skosimp)
(("" (expand "sin_lb")
(("" (expand "sin_ub")
(("" (lift-if)
(("" (case-replace "n0x!1 < 0")
(("1" (expand "sin_approx")
(("1" (expand "sigma" 1 2)
(("1"
(lemma "sin_term_gt0" ("a" "n0x!1" "n" "1+2*n!1"))
(("1" (assert) nil nil)) nil))
nil))
nil)
("2" (assert)
(("2" (expand "sin_approx")
(("2" (expand "sigma" 2 1)
(("2"
(lemma "sin_term_lt0" ("a" "n0x!1" "n" "1+2*n!1"))
(("2" (assert) nil nil)) nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((sin_lb const-decl "real" trig_approx nil)
(sin_term_lt0 formula-decl nil trig_approx nil)
(sin_approx const-decl "real" trig_approx nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(sin_term_gt0 formula-decl nil trig_approx nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(rational nonempty-type-from-decl nil rationals nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(int nonempty-type-eq-decl nil integers nil)
(>= const-decl "bool" reals nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(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)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(real_le_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(real_plus_real_is_real application-judgement "real" reals nil)
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(sigma def-decl "real" sigma "reals/")
(mult_divides2 application-judgement "(divides(m))" divides nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(nzreal nonempty-type-eq-decl nil reals nil)
(/= const-decl "boolean" notequal 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)
(sin_ub const-decl "real" trig_approx nil))
nil))
(sin_lb_inc 0
(sin_lb_inc-1 nil 3321007393
(""
(case "FORALL (n: nat, px: posreal):
px * px < (4 * n + 7) * (4 * n + 6) =>
sin_lb(px, n) < sin_lb(px, n + 1)")
(("1" (induct "pm" 1)
(("1" (assert) nil nil) ("2" (assert) nil nil)
("3" (skosimp*)
(("3" (case-replace "j!1=0")
(("1" (inst - "n!1" "px!1") (("1" (assert) nil nil)) nil)
("2" (inst - "n!1" "px!1")
(("2" (assert)
(("2" (inst - "1+n!1" "px!1") (("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (hide 2)
(("2" (skosimp)
(("2" (expand "sin_lb")
(("2" (lemma "sin_approx_next" ("a" "px!1" "n" "1+2*n!1"))
(("2"
(lemma "div_mult_pos_lt1"
("z" "px!1 * px!1" "py" "(4 * n!1 + 7) * (4 * n!1 + 6)"
"x" "1"))
(("2" (replace -1 -3 rl)
(("2" (hide -1)
(("2"
(name-replace "TT"
"px!1 * px!1 / ((4 * n!1 + 7) * (4 * n!1 + 6))")
(("2"
(lemma "sin_term_gt0"
("a" "px!1" "n" "2*(1+n!1)"))
(("2" (assert)
(("2"
(name-replace "ST"
"sin_term(px!1)(2 + 2 * n!1)")
(("2"
(lemma "both_sides_times_pos_lt1"
("pz" "ST" "x" "0" "y" "1-TT"))
(("1" (assert) nil nil)
("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((div_mult_pos_lt1 formula-decl nil real_props nil)
(sin_term_gt0 formula-decl nil trig_approx nil)
(sin_term const-decl "real" trig_approx nil)
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(AND const-decl "[bool, bool -> bool]" booleans nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
("numfield - ] niljava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
( formula-declnilreal_props nil)
(real_times_real_is_real application-judgement "real" reals nil)
()
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 68
- p"
(- i" java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
(/= constjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
(nznum nonempty- (2 replace -)
(/ (("2 flatten
( java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 71
(("java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
integers )
(red type--
(nat_induction - nil)
(nonneg_int -type-- niljava.lang.StringIndexOutOfBoundsException: Range [55, 56) out of bounds for length 55
niljava.lang.StringIndexOutOfBoundsException: Range [51, 52) out of bounds for length 51
(real_gt_is_strict_total_order [ > boolean]" rationals
java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
application ""
sigma_nnrealjudgement""euclidean)
("(-xtensionality h )
nil)
p application-judgement posint"
integers niljava.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
(even_plus_even_is_even
(= const- nil)
l s
(real_lt_is_strict_total_order namenil)
sjava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 50
java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 69
sb(n)(,n1 java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 78
( (""(-java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
i
(int_times_even_is_even application- sq_eq_0)
nil)
mult_divides1applicationj"divides()"dividesniljava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
(mult_divides2 application-judgement "(divides((1 a)nil ) ))
nil))
integers nil)
(number "lambda (:(n)) (!()-x(i)")
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 49
("s)
(" e*)
( nonemptytypefrom- number_fields niljava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
real_pred const [java.lang.StringIndexOutOfBoundsException: Range [42, 40) out of bounds for length 64
(real nonempty-type-from-decl nil ((LAMBDA (i: Index[n]))-y1i)+
(rational_pred const java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
rationalnonemptytype-declnilnil
(2"
(int nil)java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
-type--declnil booleansniljava.lang.StringIndexOutOfBoundsException: Range [49, 50) out of bounds for length 49
(>= ( namejudgement
(nat comp_zero formuladecl nil "vectors)
_)
( constdecl""reals nil)
(posreal-eqnil real_typesnil)
(IMPLIES const(> decl""reals )
(< const-decl "bool" reals nil)
(numfield nonempty-type-eq-decl nil number_fields<const-decl"" realsnil)
ield>numfield"number_fields nil)
-"numfield -numfield"number_fieldsnil)
(sin_lb const-decl "real" trig_approx nil) (elow typeeq-decl nil nat_typesniljava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
shostak))
=constdecl [T,T- boolean]"equalitiesnil
(sin_ub_dec-2 nil (metric_triangle? const-decl "bool" metric_def nil)
(z java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 62
* 4 +) 4*+ 4)>
sin_ub (-replace""
(("1" (induct "pm")
(("1" (assert) nil nil) ("2" (assert) nil nil)
("3" (skosimp*)
(("3" ( (xpand "pper_bound)
(("1" (inst - "n!1" "px!1") (("1" "java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 57
("2" (inst - "n!1nil)
( )
((" java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
nil))
nil))
nil))
nil))
nil))
nil)
("" inst+"(!(!1)- !(!1))
(("2" (skosimp)
)
(2 ""(a" px1"n 2n1)java.lang.StringIndexOutOfBoundsException: Range [66, 67) out of bounds for length 66
(("2"
(lemma "div_mult_pos_lt1"
("z" "px ("java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
"x"((1 typepred n"java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
(("2"
( "TT"
"px!1 * px!1 / ((4 * n!1 + 5) * (4 * n!1 + 4))")
(2 assert
)
(("2"
(lemma "sin_term_lt0" ("a" "px!1" (Vector --declnil v/)
( - "[numfield ->]number_fieldsniljava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
("
( ST
"sin_term(px!1)(1 + 2 * n!1)")
(("2"
e?const-ecl bool"sets nil)
("nz" "ST" "y" "0" "x" "1"
((1"(ssert) nil )
("2" (assert) nil nil))
nil)
nil))
)
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
((""
((div_mult_pos_lt1 formula-decl nil ((div_mult_pos_lt1 formula-decl nil -"bs(x1x!)y!(!)"java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
(real_times_real_is_real application-judgement "real" reals nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
nil)
(sin_term const-decl "real" trig_approx nil)(2 ( "upper_bound"java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
(minus_odd_is_odd application-judgement " skosimp)
(AND const-decl "[bool((""
(real_le_is_total_order name-judgement "(total_order?[real])"
real_props nil)
""
( inst -"!-1"
( (""
(<= const-decl "bool" "sigma_nonnegjava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
(both_sides_times_neg_lt1 formula-decl nil real_props nil)
(real_minus_real_is_real application-judgement "real" reals nil)
java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 67
real_types nil)
(/= const-decl "boolean" notequal nil)
(nznum nonempty-type-eq-decl nil number_fields nil)
(/ const- (/ const-decl1java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
(sin_approx_next formula- sigma_nonneg"
(nnint_plus_nnint_is_nnint application-judgement "
integers nil)
(pred type-eq-decl nil defined_types nil)
(nat_induction formula-decl nil naturalnumbers nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(posnat nonempty- (assert)
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(even_plus_even_is_even application-judgement "even_int" integers
nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(even_plus_odd_is_odd application-judgement "odd_int" integers nil)
name-
"(strict_total_order?[real])" real_props nil)
(posreal_times_posreal_is_posreal application-judgement "posreal"
real_types nil)
(posint_times_posint_is_posint application-judgement "posint"
" )
(int_times_even_is_even application-judgement "even_int" integers
(mult_divides1 application-judgement "( (1java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
mult_divides2 application-judgement "dividesm) divides nil
nnint_plus_posint_is_posint- posintjava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
integers nil)
(number nonempty-typenil)
( (nst +0)
nil)
nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(real nonempty-type-from-decl nil reals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(rational nonempty-type-from-decl nil rationals nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(int)
(bool nonempty-type-eq-decl nil booleans nil)
>= const-ecl "" reals
(nat nonempty-type-eq-decl nil java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 21
(nonneg_real nonempty-type-eq-decl nil real_types (lemma"extensionality"
>const-decl "ool"reals nil)
(posreal nonempty-type-eq-decl nil real_types nil)
(IMPLIES const-decl (2 s*
(< const-decl "bool" reals nil)
(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)
(sin_ub const-decl "real" trig_approx nil))
(sin_lb_lt 0
s1nil
("" (skosimp)
(("" (name "EPS" "sin_ub(px!1,n!1+1) - sin_lb(px!1,n!1)")
("" (ase"sin_term(px!)2(n!+1) =EPS)
(("1"(lemma "sin_term_gt0"(a px1 n" 2*n11")
(("1" (replace -2)
("1"( 1
(("1" (lemma "java.lang.StringIndexOutOfBoundsException: Range [36, 31) out of bounds for length 41
(( SXZ"
(("1 expand)
(("1"
(name-replace "SN"
"sin_approx(px!1, 1 + 2 * n!1)")
(("1" (inst - "2*(n!1+1)")
(("1"
(name-replace "SN2"
"sin_approx(px!1, 2 * (n!1 + 1))")
(("1" (rewrite "sin_term_next" -1
(("1" (replace -3)
(("1"
(name-replace
"M"
"(4 * n!1 + 7) * (4 * n!1 + 6)")
"abs(!(!)-y(!)")
(rewrite "abs_div")
(("1"
(rewrite "abs_mult")
(("1"
assert
(("1"
(rewrite "
(("1"
(expand "abs" -1)
(("1"
"i!"
(("1"
(lemma
"div_mult_pos_lt1"
("z"
1"
"py"
"M"
"x"
"1"))
(("1"
(assert)
(("1"
(lemma
both_sides_times_pos_lt1"
("pz"
" "sigma_split[below(n
"x"
"px!1 * px!1 / M"
"y"
"1"))
(("1"
(assert)
nil
)
nil))
nil))
sigma_first[below(n)]"
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2(hide -)
(2"(xpand "sin_ub)
(("2" (expand "sin_lb")
(("2" (expand "sin_approx")
((" )
nil))
nil))
nil))
nil))
nil))
nil))
nil((2 (expand"nonempty?)
nil)
((sin_lb const-decl "real" trig_approx (("2 (inst -"x20-20))
(+ const-decl "[numfield, numfield -> numfield]" 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)
(sin_ub const-decl "real"trig_approx nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
nil)
(bool nonempty-type-eq-(sup_settype-eqdecl bounded_reals"eals")
(int nonempty-type-eq-decl nil integerspred typeeq nil defined_typesnil
(integer_pred const-decl "[rational -> boolean]" integers nil)
r nonempty-type-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
tytype--n number_fieldsnil)
(- const-decl "[(sigma_nnreal applicationjudgement "nnreal"euclidean nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
)
(= const-decl (T_low type-eq-decl nil sigma "reals/")
boolean nonemptytype-declnil booleans
(number nonempty- (nt_minus_int_is_intapplication-udgementint"integersnil)
java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 68
(nnint_plus_posint_is_posint application-judgement "posint"
integers nil)
(sigma def-decl "real" sigma(et --declsets java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
(sin_term_gt0 formula-decl nil trig_approx nil)
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
((posnat nonempty-decl nil ntegers java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(sin_approx const-decl "real" trig_approx nil)
(odd_plus_even_is_odd (Vector type-eq-decl nil vectorstypeeqnilvectors"")
nonzero_real nonempty-type-eq-decl nil reals nil)
(/= const-decl "boolean(minus_odd_is_odd application-judgement "odd_int" integers nil)
(abs_div formula-decl nil real_props nil)
(nzint_abs_is_pos -udgement {:posint j>=i}"
real_defs nil)
(nnreal_div_posreal_is_nnreal application-judgement "nnreal"
real_types nil)
(nonzero_abs_is_pos application-judgement "{y: posreal | y >= x}"
real_defs nil)
(abs const-decl "{n: (("1" (skosimp) (("1 inst -"!""y!" nil))
nil)
(div_mult_pos_lt1 formula-decl nil real_props nil)
(both_sides_times_pos_lt1 formula-decl nil real_props nil)
(nznum nonempty-type-eq-decl nil number_fields nil)
(/ const-decl "[numfield, nznum
(real_ge_is_total_order name-judgement " nil)
real_props nil)
ANDconst-decl "[bool, bool -> bool]" booleans nil)
(posreal_div_posreal_is_posreal application-judgement "posreal"
real_types nil)
(posreal_times_posreal_is_posreal application-judgement "posreal"
real_typesnil)
(real_le_is_total_order name-judgement "(total_order?[real])"
nil)
(minus_real_is_real application-judgement "real" reals nil)
(minus_nzint_is_nzint application-judgement "nzint" integers nil)
(nnreal_times_nnreal_is_nnreal application-judgement "nnreal"
nil)
(abs_mult formula-decl nil real_props nil)
(nonempty--decl nil integers il
nonempty-ype-q- nil integers nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
real_is_real application-judgement "real" reals nil)
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(int_times_even_is_even application-judgement "even_int" integers
nil)
(nnint_plus_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
xtformula-decl nil trig_approx nil)
(sin_approx_sin formula-decl nil trig_approx nil)
(sin_range application-judgement "trig_range" nil)java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
(even_plus_even_is_even application-judgement "even_int" integers
nil)
(even_plus_odd_is_odd application-judgement "odd_int" (metric_zero? const-decl "bool" metric_def nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(sin_term const-decl "real" trig_approx nil)
(number_field_preddecl"java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 69
(mult_divides1 application-judgement "(divides(n))" divides nil rational_predconst-decl "real- boolean]" rationals nil)
e -judgement"even_int"
nil)
(posint_times_posint_is_posint application-judgement "posint"
integers nil))
I typeeq-ecl nil vectors "ectors"
(sin_ub_lt 0
(sin_ub_lt-1 nil 3321016985
("" (skosimp)
(("" (lemma "sin_ub_dec" ("px" "px!1" (""( ""
(""(-2)
(("" (lemma "sin_lb_ub" ("n0x" "px!1" "n" "n!1+1"))
(("" (expand "sin_lb")
(("" (lemma "sin_approx_sin" ("a" "px!1" "n" "3+2*n!1"))
(("" (lemma "sin_term_neg" ("a" "px!1" "n" "3+2*n!1"))
(("" (simplify -1)
(("" (name-replace "S" "sin(px!1) expand "
((""
(case "sin_ub(px!1, 1 + n!1) - sin_approx(px!1, 3 + 2 * n!1) = -sin_term(px!1)(3+2*n!1)")
(("1" (name-replace "SN" "sin_ub(px!1, n!1)")
(("1"
(name-replace "SN1" "sin_ub(px!1, n!1+1)")
(("1"
(name-replace "SN3"
"sin_approx(px!1, 2*n!1+3)")
(("1" (rewrite "sin_term_next" -3)
(("1"
(name-replace
"ST"
"in_term(!)3+2 * n!))
(("1"
(rewrite "abs_div")
(("1"
(rewrite "abs_mult")
(("1"
(rewrite "abs_mult")
(("1"
expand "abs)
(("1"
(expand "abs" -3)
(("1"
(assert)
(("1"
(lemma
"div_mult_pos_lt1"
("z"
"px!*px!"
(2 anil))
"72 + 36 * n!1 + (16 * (n!1 * n!1) + 32 * n!1)"
"x"
((2 (nst+"(x,!1)
(("1"
(typepred "z1)
"both_sides_times_pos_lt1"
("pz"
"-ST"
"x"
"px!1 * px!1 / (72 + 36 * n!1 + (16 * (n!1 * n!1) + 32 * n!1))"
"y"
"1"))
(("1
)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
)
nil))
))
nil))
nil))
)
)
("2" (hide-all-but 1)
(("2" (expand "sin_ub")
(("2" (expand "sin_approx")
(2 (expand "sigma 1 )
(("2" (assert) nil nil)) nil))
)
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
nil))
nil)
((posreal nonempty-type-eq-decl nil real_types nil)
(nonneg_real nonempty-type-eq-decl nil real_types nil)
(posnat nonempty-type-eq-decl nil integers nil)
(> const-decl "bool" reals nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type((1
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
rational nonemptytype- rationals
rational_predconst- "[eal -> ]rationals niljava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
r nonempty-type-fromdecl 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)
(oolean nonempty
(number nonempty-type-decl nil numbers nil)
(("3"
(nzreal nonempty-type-eq-decl nil reals nil)
(/= const-decl "boolean" notequal nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(sin_lb_ub formula-decl nil trig_approx nil)
(nnint_plus_posint_is_posint application-judgement "posint"
integers nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(sin_range application-judgement "trig_range" sincos_def nil)
(real_minus_real_is_real application-judgement "real" reals nil)
)
(* const-decl "[numfield, numfield -> numfield] inst
(java.lang.StringIndexOutOfBoundsException: Range [66, 7) out of bounds for length 69
nil)
(minus_real_is_real application-judgement "real" reals nil)
(- java.lang.StringIndexOutOfBoundsException: Range [52, 9) out of bounds for length 57
(sin_ub const-decl "real" trig_approx nil)
(sin_approx const-decl "real" trig_approx nil)
(sin_term const-decl "real" trig_approx nil)
(sin_term_next formula-decl nil trig_approx nil)
(odd_minus_odd_is_even application-judgement "even_int" integers
nil)
(java.lang.StringIndexOutOfBoundsException: Range [42, 30) out of bounds for length 47
integers nil)
(int_times_even_is_even application-judgement "even_int" integers
nil)
(posint_times_posint_is_posint application-judgement "posint"
integers nil)
(real_times_real_is_real application-judgement "real" reals nil)
nil)
(nonzero_real nonempty-type-eq-decl nil reals nil)
(abs_div formula-decl nil real_props nil)
(nzint_abs_is_pos application- ((""
real_defs nil)
nnreal_div_posreal_is_nnreal application-udgement "nnreal"
real_types nil)
(nonzero_abs_is_pos application-judgement "{y: posreal | y >= x}"
real_defs nil)
(abs const-decl "{n: nonneg_real | n >= m AND n >= -m}" (expand ""
nil)
(div_mult_pos_lt1 formula-decl nil real_props nil)
(java.lang.StringIndexOutOfBoundsException: Range [57, 23) out of bounds for length 62
"(strict_total_order?[real])" real_props nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
(nznum nonempty-type-eq-decl nil number_fields nil)
(both_sides_times_pos_lt1 formula-decl nil real_props nilnil)
(posreal_div_posreal_is_posreal application-judgement "posreal"
real_types nil)
(eal_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
posreal_times_posreal_is_posreal application-judgement "posreal"
real_types nil)
(real_le_is_total_order (("1"
real_props nil)
(minus_nzint_is_nzint application-judgement "nzint" integers nil)
(nnreal_times_nnreal_is_nnreal application-judgement "nnreal"
real_types nil)
(abs_mult formula-decl nil real_props nil)
(sigma def-decl "real" sigma "reals/")
(minus_odd_is_odd application-judgement "("2 (nil nil)
(even_plus_odd_is_odd application-judgement "odd_int" integers nil)
(even_plus_even_is_even application-judgement "even_int" integers
nil)(expand "bove_bounded")
(= const-decl "[T, T -> boolean]" equalities nil)
(sin const-decl "real" (expand "upper_bound")
(AND const-decl "[bool, bool -> bool]" booleans nil)
(<= const-decl "bool" reals nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(trig_range type-eq-decl nil sincos_def nil)
(sin_term_neg formula-decl nil trig_approx nil)
(sin_lb const-decl "real" trig_approx nil) "low"
shostak))
(sin_lb_gt 0
(sin_lb_gt-1 nil 3321010974
("( n)
(("1" (skosimp)
(("1" (expand "sin_lb")
(("1" (expand "sin_approx")
(("1" (expand "sigma")
(("1" (expand "sin_term")
(("1" (expand "sigma")
(("1" (rewrite "expt_x0")
(("1" (rewrite "expt_x1")
(("1" (rewrite "expt_x1")
(("1" (expand "(expand "nonempt"
(("1" (expand "factorial")
(("1" (expand "factorial")
(("1" (expand "factorial")
(("1"
(assert)
(("1"
(case "px!1<=6")
(("1"
(lemma
"le_times_le_pos"
("nnx"
"1"
"y"
"6"
"nnz"
"px!1"
"w"
"6"))
(("1" (assert) nil nil "0"
nil)
("2"
(case "6<px!1")
(("1"
(hide 1)
(("1"
(case "1-px!1*px!1/6 < -6")
(("1"
()
("pz"
)
"x"
"1 - px!1 * px!1 / 6"
"y"
"-6"))
(("1"
(assert)
(("1"
expand "^)
(1
(expand "expt")
(("1"
"expt)
(expand NOT const-decl"bool >bool] booleansnil
niljava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
(expand "expt")
(("1"
(assert)
nil
nil)
( java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 48
nil)
nil))
nil))
nil))
nil))
nil)
("2"
(hide 2)
(("2"
(lemma
"both_sides_div_pos_lt1"
("pz"
"6"
"
"42"
"y"
"px!1*px!1"))
(("2" (assert) (XZS skolem-const-decl "[nnreal -> boolean]" euclidean nilXZS skolem-const- [nreal - ] euclideannil)
nil))
nil))
nil (! skolem-const-decl "below[n]" euclidean nil)
nil)
(2 (assert)nil il)
nil))
nil)
nil))
nil))
nil))
nil) (nt nonempty-type-eq- java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 48
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
)
nil)
("2" (skosimp*)
(("2 ("1" lemma"nat_rational")
(2"(ssert)
(("2" (expand "sin_lb")
("2" (lemma sin_approx_next" (" "px1 n "1+*j!"))
(("2"
(lemma "div_mult_pos_gt1"
("z" "px!1*px!1" "py"
"110 + 44 * j!1 + (16 * (j!1 * j!1)
1")
(("2" (assert)
(("2"
(name-replace "SN" "sin_approx(px!1, 1 + 2 * j!1)")
(("2"
(name-replace "SN2"
"sin_approx(px!1, 3 + 2 * j!1)")
(""
(lemma "sin_term_gt0"
("a" "px!1" "n" "2*(1+j!1)"))
(("2" (assert)
(((""
name- ST
"sin_term(px!1)(2 + 2 * j!1)")
(("2"
case"-px! * px! (42 + 28 * j +(* (!* j!1) + *j!)<0")
(("1"
(lemma
"both_sides_times_pos_lt1"
("pz"
"ST"
"x"
"1 - px!1 * px!1 / (42 + 28 * j!1 + (16 * (j!1 * j!1) + 24 * j!1))"
"y"
"0"))
(("1"
(assert)
(("1"
rt
xpand cross_product"
(name-replace
"TT"
"(px! *px! / (42 +16*(j! * j!) 52 *j!1)"
(("1" (assert) nil nil))
nil)) (expand "restrict"
nil)
("2" (assert) nil nil))
nil)
("2"
(hide 2 -1 -3 -4)
(("2"
(hide -1)
(("2"
(lemma
"div_mult_pos_gt1"
("z" "1java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
"px!1*px!1"
"py"
"(42 + 28 * j!1 + (16 * (j!1 * j!1) + 24 * j!1))"
"x"
nil)
(("2" (assert) nil nil))
)
nil))
nil))
nil))
nil))
nil))
nil))
nil)
nil))
nil)
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((nnint_plus_nnint_is_nnintnil)
integers nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(sin_approx_next formula-decl nil trig_approx nil)
odd_plus_odd_is_even application-judgement "even_int" integers
nil)
(AND const-nil)java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(formulaniltrig_approx nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(div_mult_pos_gt1 formula-decl nil extra_real_props nil)
(sin_approx const-decl "real" trig_approx nil)
cationjudgement"java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 66
integers nil)
"(strict_total_order?[real])" real_props nil
nil)
(int_exp (restrict const "R nil
(RUE const-ecl "bool" booleansnil
(posreal_exp application-judgement "-eqdecl il nil)
(nzreal_times_nzreal_is_nzreal application-judgement "nzreal"
real_types nil)
( (NOT constdecl [bool - bool]" booleans nil
(expt_x0 formula-java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 17
"(trict_total_order[real]"real_propsniljava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
integers nil)
(even_plus_odd_is_odd application-judgement "odd_int" java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 48
even_plus_even_is_evenjudgement even_int" ntegers
nil)
(nzreal_div_nzreal_is_nzreal(real_pred const-decl "[number_field >boolean]"realsnil
real_types nil)
(real_plus_real_is_real application-judgement "real" reals nil)
nt "even_int" integers
nil)
(<= const-decl "bool" reals nil)
(real_le_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(le_times_le_pos formula-decl nil real_props nil)
(oth_sides_div_pos_lt1 formula-decl nil real_props nil)
(both_sides_times_pos_lt1 formula-decl nil real_props nil)
(nzreal_expt application-judgement "nzreal" exponentiation balls_TCC1-1 nil 3391058802 ("" (subtype-tcc) nil nil)
(posreal_expt application-judgement "posreal" exponentiation nil)
(^ const-decl "real" exponentiation nil)
(expt def-decl "real" exponentiation nil)
(osnat nonempty-ype-decl nil integersjava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
(/ const-decl "[numfield, (<decl"" reals )
(nznum nonempty-type-eq-decl nil number_fields nil)
(/= const-decl "boolean" notequal nil)
- [numfield,numfield - numfield]"number_fields il
(minus_even_is_even application-judgement "even_int" integers nil)
(minus_nzint_is_nzint application-judgement "nzint" integers nil)
(real_minus_real_is_real application-judgement "real" reals nil)
(sigma_0_neg formula-decl nil sigma_nat "reals/")
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(factorial def-decl "posnat" (Qn nonempty-type-eq-decl nil euclidean
(posint_plus_nnint_is_posint application-judgement "posint"
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 18
(osreal_div_posreal_is_posreal application-judgement "posreal"
real_types nil)
(expt_x1 formula-decl nil exponentiation nil)
(sigma def-decl "real" sigma "reals/")
(nat_induction formula-decl nil naturalnumbers nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(int nonempty-type-eq-decl nil integers nil)
(< const-decl "bool" reals nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(*const-decl "[numfield numfield -> numfield]" number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
(posreal nonempty-type-eq-decl nil real_types nil)
(> const-decl "bool" reals nil)
java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 58
-- defined_types nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type-from-decl nil reals nil)
real_pred constdecl"number_field- "realsnil
(number_field nonempty-type-from-decl nil number_fields nil niljava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(boolean nonempty-type-decl nil booleans nil)
n nonempty-ype- nil)
(posreal_times_posreal_is_posreal application-judgement "posreal"
real_types nil)
(posint_times_posint_is_posint application-judgement "posint"
((""()
( applicationjudgement e"integers
nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(minus_odd_is_odd application-judgement "odd_int"
shostak))
(sin_ub_gt0
(sin_ub_gt-2 nil 3321626316
("" (induct "n")
(" (skosimp))
(("1" (expand "sin_ub")
(("1" (expand "sin_approx")
(""( "sigma")
(("1" (expand "sin_term")
(("1" (rewrite nil))
(("1" (rewrite "expt_x1")
(("1" (expand "factorial")
(("1" ( ("TRUE" "BCONST(TRUE)" BF"java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
("java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 44
(""
(java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 0
( px1"" "4""""!"w" "4" ((1
(""()nil) ((1
("2" ( (let* ((rel (car (is-relation)))
)
nil))
flatten)
nil))
nil))
nil(num extra--number(
nil))
)
(et (v (remove-if-not
nil)
(2 (skosimp*java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
("2"i px1)
((2 (assert)
(2"nil
(( ))ierrorormat
(( ia-format"t know how to translate java.lang.StringIndexOutOfBoundsException: Range [0, 67) out of bounds for length 43
format thow variable )))
(-java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 68
(""
( "sin_term_lt0" ("a" "px!1" "n""+*j(("
(("2" (simplify (m( (("
(("2"
(name-replace " (ia-error "LET-IN construct ~a is un )(2" assert)nil)
" java.lang.StringIndexOutOfBoundsException: Range [0, 45) out of bounds for length 26
(("2"
( (hen r-expr?val)
"nx ST nyjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
assert)
t
(2"(--23)
(("2"
"
iavars (-get--rangesfms vars))
*px1
"yjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
(metric_open_ballformula-decl nil metric_space nil)
x"
njava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 47
nil nil)
niljava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
(branch
nil (java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
nil))
>hiddenjava.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 74
nil)
nil))
nil))
nil)guaranteedwhen MAXDEPTH reached.Thestrategy lso
VARS is list eeqdeclvectorsvectors/
nil))
nil))
nil))
nil(("\ "4\) ("\" (\"\"1))(\sin\ ("SIN_n\ 1))
((nnint_plus_nnint_is_nnint application-judgement p-defined . If none is provided, a choice is made base on the
integers nil)
(sin_approx_next formula-decl java.lang.StringIndexOutOfBoundsException: Range [0, 37) out of bounds for length 0
t fact trivial from point view "urjectives]set)"sets_lemmas )
"strict_total_order[eal])"real_props nil)
(
(nonempty-typeeq- nil real_typesnil)
( const-decl "bool" reals nil)
(all_centredecl metric_space nil)
( const-decl [numfield, numfield -> numfield]" number_fields nil)
cdr(hypotheses (xpressionqexpr)))
(nznum (java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 73
/const-decl "numfield,nznum (" xpand""java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
AND?ullavars
(java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 68
)
sdecl iltrig_approx java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
(odd_plus_even_is_oddapplication-udgement" integers java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
((hen
(java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 53
(sin_approx const-decl "real" trig_approx nil)
( java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 66
integers "[;~ @a~~java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 72
( ((and cex findcexisjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
n
e sound iainst
applicationjudgement n"n)
( (instp(ons'inst cons !ia instvs))))
(java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 23
real_types (# (xjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
(sin_term const java.lang.StringIndexOutOfBoundsException: Range [46, 29) out of bounds for length 75
(expt_x1 (eval-formula
(posreal_div_posreal_is_posreal java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 17
niljava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
(le_times_le_pos (("2"
real_le_is_total_order name-judgement "([real]"
real_props nil)
(real_gt_is_strict_total_order name-judgement
[real]"nil
(real_plus_real_is_real application-judgement "real" reals nil)
sjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 53
(
(unfolding of several definitions which is time consuming in PVS.
integers nil)
(nzreal_div_nzreal_is_nzreal application-judgement "nzreal"
real_types nil
(even_plus_even_is_even application-judgement "even_int" integers
java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 71
(nnint_plus_posint_is_posint application-judgement "posint"
integers nil-(unless ""
minus_odd_is_odd- odd_int
(expt_x0 formula-decl nil exponentiation (evalexpr -eval safe?nil)
(- const-decl "[numfield ((spread (expand "mpty?java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
( -real" sigma "reals/")
(nat_induction formula-decl
const-decl real"trig_approxnil
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(* const-
( nil)
(IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
(posreal nonempty-type-eq-decl nil real_types nil)
(> const-decl "bool" reals nil)
(""
(pred type-eq-decl nil defined_types nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type (java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
(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_times_posreal_is_posreal application-judgement "posreal"
real_types nil)
2"
integers nil)
(int_times_even_is_even application-judgement "even_int" integers
nil)
(mult_divides1 application- nil)
( )java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
nil))
(sin_lb 0
(sin_lb-1 nil 3321098107
("" (skosimp)
(""(lemma"richotomy"(x n0x1))
(("" (split -1)
(("1"
(lemma "trich_lt"
("x" "n0x!1*n0x!1" "y" "(4*n!1+7)*(4*n!1+6)"))
(("1" (split -1)
(("1" (lemma "sin_lb_lt" ("px" "n0x!1" "n" "n!1"))
(""(assert) nil "" (ssert) nil)
nil)
(posreal nonempty-type-qdeclnil real_types nil
(case-replace
"sin_lb(n0x!1,n!1)=sin_lb(n0x!1,n!1+1)")
(("1"
(lemma "sin_lb_lt" ("px" "n0x!1" "n" "n!1+1"))
(("1" (assert) nil nil) ("2" (assert) nil nil))
nil)
("2" (hide 2)
(("2" (expand "sin_lb")
(("2" (assert)
(("2"
(lemma "sin_approx_eq"
java.lang.StringIndexOutOfBoundsException: Range [35, 30) out of bounds for length 58
(("2" (assert) nil nil)) nil))
nil))
nil))
nil))
nil)
("3" (lemma "sin_lb_gt" ("px" "n0x!1" "n" "
(("1" (typepred "sin(n0x!1)")
(("1" (assert) nil nil)) nil)
("2" (assert) nil nil))
nil))
nil))
nil)
("2" (assert) nil nil)
("3" (lemma "sin_neg" ("a" "n0x!1"))
(("3"
(lemma "both_sides_times_neg_lt1"
"nz" -1" "y" sin_lb(n0x!1 1"""
"sin(n0x!1)"))
(("3" (replace -1 1 rl)
(("3" (replace -2 1 rl)
(("3"
( sin_ub_neg("a""!1 n n"))
(("3" (replace -1 1 rl)
(("3" (hide -1 -2 -3)
(""
(lemma
(namejudgement
("x"
"-n0x!1*-n0x!1"
"y"
"(4*n!1+5)*(4*n!1+4)"))
(("3"
(split -1)
(("1"
a
"sin_ub_lt"
("px" "-n0x!1" "n" "n!1"))
(("1" (assert) nil nil)
("2" (assert) nil nil))
nil)
("2"
(lemma
""
("px" "-n0x!1" "n" "n!1+java.lang.StringIndexOutOfBoundsException: Range [0, 61) out of bounds for length 39
(("1"
(assert)
(("1"
(case-replace
"sin_ub(-n0x!1, 1 + n!1) = sin_ub(-n0x!1, n!1)")
(("1"
(hide -1 2)
(("1"
(expand "sin_ub")
"
(lemma
"sin_approx_eq"
("a"
"-n0x!1"
"n"
"2*n!1"))
(("1" (assert) nil nil))
nil))
nil))
nil))
nil))
nil)
("2" (assert) nil nil))
nil)
("3"
(lemma
"sin_ub_gt"
( )
(("1 ))
("2" (assert) nil nil))
nil))
nil))
nil)
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((nzreal nonempty-nil)
(/= const-decl "boolean" notequal nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl " nil
(number_field nonempty-type-from-decl nil number_fields nil)
(const-ecl "number -> boolean"
number_fields nil)
( ((1"(expand subset?)
(number nonempty-type-decl nil numbers nil)
(trichotomy formula-decl nil real_axioms nil)
(sin_neg formula-decl nil trig_basic nil)
(sin_ub_neg formula-decl nil trig_approx nil)
(sin_ub_lt formula-decl nil trig_approx nil)
(minus_nzreal_is_nzreal application-judgement "nzreal"
real_types nil)
(int_minus_int_is_int application-judgement "int" integers
nil)
(sin_ub const-decl "real" trig_approx nil)
(sin_ub_gt formula-decl nil trig_approx nil)
(both_sides_times_neg_lt1 formula-decl nil real_props nil)
(nonpos_real nonempty-type-eq-decl nil real_types nil)
(<("x"" y""r1)
(negreal nonempty-type-eq-decl nil real_types nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred ""
nil)
rational nonempty-type-from-decl nil rationals nil)
(const-"real - boolean"rationals
(+ const-decl "[numfield, numfield -> numfield]"
number_fields nil)
(* const-decl "[numfield, numfield
number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
t- nil)
(mult_divides2 application-judgement "(divides(m))" divides
nil)
(mult_divides1 application-judgement "(divides(n))" divides
nil)
(int_times_even_is_even application-judgement "even_int"
integers nil)
(posint_times_posint_is_posint application-judgement
"posint" integers nil)
(nzreal_times_nzreal_is_nzreal application-judgement
"nzreal" real_types nil)
(sin_lb_gt formula-decl nil trig_approx nil)
(minus_odd_is_odd application-judgement "odd_int" integers
nil)
(real_le_is_total_order name-judgement
"(total_order?[real])" real_props nil)
(sin const-decl "real" sincos_def nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(= const--decl "bool"reals )
(NOT const-decl "[bool -> bool]" booleans nil)
(sin_lb const-decl "real" trig_approx nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(sin_approx_eq formula-decl nil trig_approx nil)
(odd_plus_even_is_odd application-judgement "odd_int"
integers nil)
(sin_lb_lt formula-decl nil trig_approx nil)
(nonneg_real nonempty-type-eq-decl nil real_types nil)
(> const- (hide 2)
(posreal nonempty-type-eq-decl nil 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)
(AND const-decl "[bool, bool -> bool]" booleans nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(nnint_plus_posint_is_posint application-judgement "posint"
integers nil)
(even_plus_odd_is_odd application-judgement "odd_int subset?)
integers nil)
(nnint_times_nnint_is_nnint application-judgement
"nonneg_int )
(even_times_int_is_even application-judgement "even_int"
integers nil)
(even_plus_even_is_even application-judgement "even_int"
integers nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(nnint_plus_nnint_is_nnint application-judgement
"nonneg_int" integers nil)
(sin_range application ((1
nil))
shostak))
(sin_ub 0
(sin_ub-1 nil 3321099757
(" (
(("" (lemma "trichotomy" ("x" "n0x!1"))
(("" (split -1)
(("1" (lemma "sin_lb" ("n0x" "-n0x!1" "n" "n!1"))
(("1" (rewrite "sin_lb_neg")
(("1" (rewrite "sin_neg")
(("1"
(lemma "both_sides_times_neg_lt1"
("nz" "-1" "y" "sin(n0x!1)" "x" "sin_ub(n0x!1, n!1)"))
(("1" (assert) nil nil)) nil))
nil))
nil))
nil)
("2" (assert) nil nil)
("3" (lemma "sin_lb" ("n0x" "-n0x!1" "n" "n!1"))
(("3" (rewrite "sin_neg")
(("3" (rewrite "sin_lb_neg")
(("3"
(lemma "both_sides_times_neg_lt1"
("nz" "-1" "y" "sin(n0x!1)" "x" "sin_ub(n0x!1, n!1)"))
(("3" (assert) nil nil)) nil))
nil))
nil))
nil))
nil))
nil nil)java.lang.StringIndexOutOfBoundsException: Range [53, 54) out of bounds for length 53
nil)
((nzreal nonempty-type-eq-decl nil reals nil)
(/= const-decl "boolean" notequal nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field ->"exists: forall (()-x!1(i)) < sq(r!2/4)
(number_field nonempty-type-from-decl nil number_fields nil)
(umber_field_pred const-decl "[number -> boolean]" number_fields
nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil)
(trichotomy formula-decl nil real_axioms nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int((""
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -"sigma_const
(sin_lb formula-decl nil trig_approx nil)
(minus_nzreal_is_nzreal application-judgement "nzreal" real_types
nil)
(sin_neg formula-decl nil trig_basic nil)
(sin_range application-judgement "trig_range" sincos_def nil)
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(sin const-decl "real" sincos_def nil)
(sin_ub const-decl "real" trig_approx nil)
(negreal nonempty-type-eq-decl nil real_types nil)
(< const-decl "bool" reals nil)
-- real_typesjava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
(<= const-decl "bool" reals nil)
(java.lang.StringIndexOutOfBoundsException: Range [37, 29) out of bounds for length 62
)
(minus_real_is_real("2"
(sin_lb_neg formula-decl nil trig_approx nil))
shostak))
(sin_bounds 0
(in_bounds1
("" (skosimp)
(("" (case-replace "a!1=0")
(("1" (rewrite "sin_0")
(("1" (expand "sin_lb")
(("1" (expand "sin_ub")
(("1" (rewrite "sin_approx_a0")
java.lang.StringIndexOutOfBoundsException: Range [64, 14) out of bounds for length 70
nil))
nil))
nil))
nil))
nil)
("2" (lemma "sin_lb" ("n0x" "a!1" "n" "n!1"))
(("1" (lemma "sin_ub" ("n0x" "a!1" "n" "n!1"))
(""assertnil)nil)
("2" (assert) 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)
(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)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(even_times_int_is_even application- (case
nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(sin_lb const-decl "real" trig_approx nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(sin_approx_a0 -
(rational_pred const-decl "[real -> boolean]" rationals nil)
(rational nonempty-type-from-decl nil rationals nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(int nonempty-type-eq-decl nil integers nil)
(bool nonempty-type-eq-decl nil booleans nil)
(>= const-decl "bool" reals nil)
(nat nonempty-type-eq-decl nil naturalnumbers
(numfield nonempty-type-eq-decl nil number_fields nil)(("1"
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(real_le_is_total_order name-judgement "(total_order?[real])"
real_props "LHS"
(sin_ub const-decl "real" trig_approx nil)
(sin_0 formula-decl nil trig_basic nil)
(sin_ub formula-decl nil trig_approx nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 65
(sin_lb formula-decl nil trig_approx nil)
(/= const-decl "boolean" notequal nil)
(nzreal nonempty-type-eq-decl nil reals nil))
shostak))
(sin_lb_gt0 0
(sin_lb_gt0-1 nil 3321123536
("" (skosimp*)
(" assert
(("" (case "sin_lb(px!1,0) > )
(("1" (case-replace "n!1=0")
(("1" (lemma "sin_lb_inc" ("px" java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
(("1" (assert) nil nil) ("2" (assert) nil nil)) nil))
nil)
("2" (assert)
(("2" (hide 2)
"q(r!))
(("2" (expand "sin_approx")
(("2" (expand "sigma")
(("2" (expand "sigma")
(("2" (expand "sin_term")
(("2" (expand "^")
(("2" (expand "expt")
(("2" (expand "expt")
(("2"
(expand "expt")
(("2"
(expand "expt")
(("2"
(expand "factorial")
("2java.lang.StringIndexOutOfBoundsException: Range [95, 96) out of bounds for length 95
nil)
(("2"
(expand "factorial"java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
(("2"
(expand "factorial")
("2"
(assert)
(("2"
(lemma
"posreal_times_posreal_is_posreal"
("px"
"px!1/6"
"py"
"6-px!1*px!1"))
(("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)
((real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
"nonempty?)
real_types nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(sin_approx const-decl "real" trig_approx nil)
(int_expt application-judgement "int" (int_expt application-judgement "int" exponentiationmember")
(nzreal_expt application-judgement "nzreal" exponentiation nil)
(posreal_expt application-judgement "posreal" exponentiation nil)
(^ "
eapplication-udgement "ven_int"
nil)
(real_minus_real_is_real application-judgement "real" reals nil)
(posreal_times_posreal_is_posreal judgement-tcc nil real_types nil)
(numfield nonempty-type ("
(/= const-decl "boolean" notequal nil)
(nznum nonempty-type-eq-decl nil number_fields nil)
(/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
(- const-decl "[numfield, numfield -> numfield]" number_fields nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(AND const-decl nil))
(real_times_real_is_real application-judgement "real" reals nil)
(sigma_0_neg formula-decl nil sigma_nat "reals/")
(real_plus_real_is_real application-judgement "real" reals nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(osreal_div_posreal_is_posreal application-judgement "posreal"
real_types nil)
(zreal_div_nzreal_is_nzreal application-udgement "nzreal"
real_types nil)
(factorial def-decl "posnat" factorial "ints/")
(expt def-decl "real" exponentiation nil)
(sin_term const-decl "real" trig_approx nil)
(nzreal_times_nzreal_is_nzreal application-judgement "nzreal"
real_types nil)
(posreal_exp ))
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(int_exp application-judgement "int" exponentiation nil)
(sigma def-decl "real" sigma "reals/")
(= const-decl "[T, T -> boolean]" equalities nil)
( )
nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(even_plus_odd_is_odd application-judgement "odd_int" integers nil)
(nnint_plus_posint_is_posint application-judgement "posint"
integers nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(int_times_even_is_even application-judgement "even_int" integers
nil)
(posint_times_posint_is_posint application-judgement "posint"
integers nil)
(posnat nonempty-type-eq-decl nil integers nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(sin_lb_inc formula-decl nil trig_approx nil)
(number nonempty-type-decl nil numbers nil)
(boolean nonempty-type-decl nil booleans nil)
(number_field_pred const-decl "nil)
nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(real nonemptynil)
(bool nonempty-type-eq-decl nil booleans nil)
(> const-decl "bool" reals nil)
(rational_pred const-decl "[real -> boolean]" (ubset const-decl ""sets nil)
(rational nonempty-type-from-decl nil rationals nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(int nonempty- nil)
(>= const-decl "bool" reals nil)
(nat nonempty-type-eq- (nrealtype-eq-decl nil real_types nil)
"real" trig_approxnil)
(nonneg_real nonempty-type-eq-decl nil real_types nil)
(posreal nonempty-type-eq-decl nil real_types nil))
shostak) (Qn nonempty-ype-eq-nil euclidean nil)
(cos_lb_neg 0
(cos_lb_neg-1 nil 3321100129
("" (skosimp)
(("" (expand "cos_lb") (("" (rewrite "cos_approx_neg") nil nil))
nil
nil)
((cos_lb const-decl "real" trig_approx nil)
(* const-decl "[numfield, xskolem-constdecl"Vectorn"euclidean
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
s nil
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
bool--java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 49
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 64
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(boolean nonempty-type-decl nil booleans nil)
(-type-eq-decl nilbooleansnil)
(cos_approx_neg formula-decl nil trig_approx nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers (nonemptyfromdeclniljava.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 56
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil))
(cos_ub_neg 0
(cos_ub_neg-1 nil 3321100152
"()
(("" (expand "cos_ub") (("" (rewrite "cos_approx_neg") nil nil))
)
nil)
((cos_ub const-decl "real" trig_approx nil)
nonempty--- nil nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
]" integers)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil)
(cos_approx_neg formula-decl nil trig_approx nil)
(mult_divides2 application(nt_minus_int_is_intjava.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 67
(mult_divides1 application-judgement "(divides(n))" divides nil)
( nil)
nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil))
shostak))
(cos_lb_a0 0
(cos_lb_a0-1 nil 3321123502
("" (expand "cos_lb")
(("" (skosimp) (("" (rewrite " (("" (skosimp) (("" (rewrite "cos_approx_a0java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
((* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
nat nonempty-eq- nilnaturalnumbersjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
( nonempty-type-from-decl nil number_fieldsnil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil)
(cos_approx_a0 formula-decl nil trig_approx nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(mult_divides1 application-judgement "(java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 12
"ven_int" integers
nil)
(nnint_times_nnint_is_nnint application (""
integers nil))
shostak))
(cos_ub_a0 0
(cos_ub_a0-1 nil 3321123407
"expand")
(("" (skosimp) (("" (rewrite "cos_approx_a0") nil nil)) nil)) nil)
(*const- "[ >]number_fieldsjava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
(numfield nonempty-type-eq-decl nil number_fields nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq nil )
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const- (integer_pred const-decl(1
(rational nonempty-type-from-decl nil rationals nil)
( skosimp)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(number_fieldnonempty--from-declnilnumber_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 27
(cos_approx_a0 formula-decl nil trig_approx nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(applicationjudgement"(ivides()"divides )
(even_times_int_is_even application-judgement "even_int" integers
nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(cos_ub const-decl "real" trig_approx nil))
shostak))
(os_lb_ub0
(cos_lb_ub-2 nil 3321626381
("" (skosimp)
(("" (expand "cos_lb")
(("" (expand "cos_ub")
((("" (assert)
(("" (expand "sigma" 1 1)
(("" (lemma "cos_term_lt0" ("a" "n0x!1" "n" "1+2*n!1"))
(("" (assert) nil nil)) (1 (expand "image"
nil))
nil))
nil)java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
nil))
nil)
((cos_lb const-decl "real" trig_approx nil)
(cos_approx const-decl "real" trig_approx nil)
name
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(nzreal nonempty-type-eq-decl nil reals nil)
(/= const-decl (-1java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
(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)
l[number >"number_fields
nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil)
nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(real_lt_is_strict_total_order name-judgement
"( )
(real_plus_real_is_real application-judgement "real" reals nil)
"
real_props nil)
(sigma def-decl "real" sigma "reals/")
(mult_divides2 application-judgement "( "2java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
(mult_divides1 application-judgement "(divides(n nil))
(even_times_int_is_even application-judgement "even_int" integers
nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(- "real"trig_approx )
nil))
(cos_lb_inc 0
nil)
(""
(case "FORALL (n: nat, n0x: nzreal):
n0x * n0x < nil)
cos_lb(n0x, n) < cos_lb(n0x, n + 1)")
(("1" (induct "pm")
(("1" (assert) nil nil) ("2" (assert) nil nil)
("3" (skosimp*)
(("3" (inst - "n!1" "n0x!1")
(("3" (replace -3)
(("3" (case-replace "j!1=0")
(("1" (nil)
("2" (assert)
(("2" (inst - "n!1+1" "n0x!1") (("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
("2" (hide 2)
(("2" (skosimp)
(("2" (expand "cos_lb")
(("2" (lemma "cos_approx_next" ("a" "n0x!1" "n" "1+2*n!1"))
(("2" (lemma "cos_term_gt0" ("a" "n0x!1" "n" "2*(1+n!1)"))
(("2" (simplify -1)
(("2"
(name-replace "CT" "cos_term(n0x!1)(2 + 2 * n!1)")
(("2"
(name-replace "CN"
"cos_approx(n0x!1, 1 + 2 * n!1)")
(("2"
(name-replace "CN2"
"cos_approx(n0x!1, 3 + 2 * n!1)")
(("2"
(java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 49
("z" "n0x!1*n0x!1" "py"
"4 n1+6 4* n!1 5) x""")java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
(("2"
(name-replace "TT"
"n0x!1 * n0x!1 / ((4 * n!1 + 6) * (4 * n!1 + 5))")
(("2" (assert)
(("2"
(lemma "posreal_times_posreal_is_posreal"
("px" "CT" "py" "1- (2 (ide--but1
(("2" (assert) nil nil)) nil))
nil))
nil))
nil))
)
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((cos_term_gt0 formula-decl nil trig_approx nil)
(cos_term const-decl "real" trig_approx nil)
(odd_plus_odd_is_even application-judgement "even_int" integers
)
(real_minus_real_is_real application-judgement "real" reals nil)
(nzreal_div_nzreal_is_nzreal application-judgement "nzreal"
real_types nil)
/decl "[, ->numfield] number_fieldsnil
(nznum nonempty-type-eq-decl nil number_fields nil)
(posreal_times_posreal_is_posreal judgement-tcc nil real_types nil)
(- const-decl "[numfield, numfield -> numfield]" number_fields nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(AND const-decl "[bool, bool -> bool]" booleans nil)
(real_times_real_is_real application-judgement "real" reals nil)
(int_times_even_is_even application-judgement "even_int" integers
nil)
--java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 54
(nonneg_real nonempty-type-eq-decl nil real_types nil)
(div_mult_pos_lt1 formula-decl nil real_props nil)
(cos_approx const-decl "real" trig_approx nil)
(cos_approx_next formula-decl nil trig_approx nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(nnint_plus_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(2const-metric" euclidean nil)
(pred type-eq-decl nil defined_types nil)
(nat_induction formula-decl nil naturalnumbers nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(posnat nonempty- (nt nonempty-type-eq-decl nil integers nil)
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
n - p" euclideannil
integers nil)
(even_plus_even_is_even application-judgement"even_int"integers
nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(even_plus_odd_is_odd application-judgement "odd_int" integers nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(nzreal_times_nzreal_is_nzreal(member const-decl "bool"sets il
real_types nil)
(posint_times_posint_is_posint application-judgement "posint"
integers nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(nnint_plus_posint_is_posint application-judgement "posint"
integers nil)
(number nonempty-type-decl nil numbers nil)
boolean nonempty-type-decl nil booleansnil)
(number_field_pred const (< const-ecl"ool"nil
nil)
(number_field nonempty-type-from-decl nil number_fields nil)
( const-ecl"[umber_field - boolean]" reals nil)
(real nonempty-type-from-decl nil reals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(rational nonempty-type-from-decl nil rationals nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(int nonempty-type-eq-decl nil integers nil (znumnonempty-type-- nil nil)
(bool nonempty-type-eq-decl nil booleans nil)
(>= const-decl "bool" reals nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(/= const-decl "boolean" notequal nil)
(nzreal nonempty-type-eq-decl nil ("(xpand "?"
(IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
(< const-decl "bool" reals nil)
(numfield nonempty-type-eq-decl nil java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 23
("(
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(cos_lb const-decl "((""(expand "fullset")
shostak))
(cos_ub_dec 0
(cos_ub_dec-2 nil 3321626426
(""
(case "FORALL (n: nat, n0x: nzreal):
n0x * n0x < (4 * n + 4) * (4 * n + 3) =>
cos_ub(n0x, n + 1) < cos_ub(n0x, n)")
(
(("1" (assert) nil nil) ("2" (assert) nil nil)
("3" (skosimp*)
(("3" (inst - "n!1" "n0x!1")
(("3" (case-replace "j!1=0")
(("1" (assert) nil nil(("" (assert) ) nil nil))
("2" (assert)
(("2" (inst - "n!1+1" "n0x!1") (("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (hide 2)
(("2" (skosimp)
(("2" (expand "cos_ub")
(("2" (lemma "cos_approx_next" ("a" "n0x!1" "n" "2*n!1"))
(("2"
(lemma "div_mult_pos_lt1"
("z" "n0x!1 * n0x!1" "py"
"(4 * n!1 + 4) * (4 * n!1 + 3)" "x" "1"))
(("2" (lemma "cos_term_lt0" ("a" "n0x!1" "n" "1+2*n!1"))
(("2"
(name-replace "TT"
"n0x!1 * n0x!1 / ((4 * n!1 + 4) * (4 * n!1 + 3))")
(("2"
(name-replace "CT" "cos_term(n0x!1)(1 + 2 * n!1)")
(2 a
(("2"
(lemma "both_sides_times_pos_lt1"
("pz" "1-(expandsynthetic_generated_topology_set)
(("2" (assert) nil nil)) nil))
nil))
nil))
nil))
nil)
nil))
nil))
nil))
nil))
nil))
nil)
((div_mult_pos_lt1 formula-decl nil real_props nil)
(nonneg_real nonempty-type-eq-decl nil real_types nil)
(posreal nonempty-type-eq-decl nil real_types nil)
(/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
(nznum nonempty-type-eq-decl nil number_fields nil)
(nzreal_div_nzreal_is_nzreal application-judgement "nzreal"
nil)
(real_minus_real_is_real application-judgement "real" reals nil)
(int_times_even_is_even application-judgement "even_int" integers
("?"
(real_times_real_is_real application-judgement "real" reals nil)
(AND const-decl "[ (1
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(- const-decl "[numfield, numfield -> numfield]" number_fields nil)
formula-ecl nil real_props niljava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
(cos_term const-decl "real" trig_approx nil)
(cos_term_lt0 formula-decl nil trig_approx nil)
(
(cos_approx_next formula-decl nil trig_approx nil)
(nnint_plus_nnint_is_nnint application-judgement "nonneg_int(prop
integers nil)
(> const-decl "bool" reals nil)
(pred type-eq-decl nil defined_types nil)
(nat_induction formula-decl nil "
(nonneg_int nonempty-type-eq-decl nil integers nil)
(posnat nonempty-type-eq-decl nil integers nil)
(real_gt_is_strict_total_order name-judgement
"( (1
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(even_plus_even_is_even application-judgement "even_int" integers
nil)
( -
"(strict_total_order?[real])" real_props nil)
(even_plus_odd_is_odd application-judgement "odd_int" integers nil)
(= constnil)
(nzreal_times_nzreal_is_nzreal application-judgement "nzreal"
real_types nil)
( )
integers nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(nnint_plus_posint_is_posint application-judgement "posint"
integers nil)
(number nonempty-type-decl nil numbers nil)
(boolean nonempty-type-decl nil booleans nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(real nonempty-type-from-decl nil reals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(rational nonempty-type-from-decl nil rationals nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(int nonempty-type-eq-decl nil integers nil)
(bool nonempty-type-eq-decl nil booleans nil)
(>= const-decl "bool" reals nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(/= const-decl "boolean" notequal nil)
(nzreal nonempty-type-eq-decl nil reals nil)
(IMPLIES const-decl "[bool, bool -> bool]" booleans nil name
(< const-decl "bool" reals nil)
(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)
(cos_ub const-decl "real" trig_approx nil))
nil))
(cos_lb_lt 0
(cos_lb_lt-1 nil 3321023357
("" (skosimp)
(("" (lemma "cos_lb_inc("1java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
(("" (replace -2 -1)
(("" (lemma "cos_lb_ub" ("n0x" "n0x!1" "n" "n!1+1"))
(("" (expand "cos_lb")
(("
((""
(lemma "cos_approx_next"
("a" "n0x!1" "n" "1 + 2 * n!1"))
((""
(lemma "cos_term_gt0" ("a" "n0x!1" "n" "2*(1+n!1)"))
(("" (simplify -1)
((""
(lemma "cos_approx_cos"
("a" "n0x!1" "n" "2*(1+n!1)"))
(("" (name-replace "CC" "cos(n0x!1)")
(("" (rewrite "cos_term_next" -1)
((""
(case "cos_approx(n0x!1, 2 + 2 * assert
(("1"
(name- "CN1java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
"cos_approx(n0x!1, 1 + 2 * n!1)")
(("1"
(name-replace
"cos_approx(n0x!1, 2 + 2 * n!1)")
(("1"
(name-replace
"CN3"
"cos_approx(n0x!1, 3 + 2 * n!1)")
(("1"
(rewrite "cos_term_next" -1)
(("1"
(name-replace
"CT"
"cos_term((("1"
(("1"
(lemma
"div_mult_pos_lt1"
("z"
"n0x!1 * n0x!1"
pyjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
"(4 * n!1 + 6) * (4 * n!1 + 5)"
"x"
"1"))
(("1"
(replace -8 -1)
(("1"
(simplify -1)
(""
(name-replace
"M"
"(4 * n!1 + 6) * (4 * n!1 + 5)")
(""
"-1 * (CT * n0x!1 * n0x!1) / M = -CT*((n0x!1 * n0x!1) / M)")
(("1"
(lemma
"posreal_div_posreal_is_posreal"
("px"
"n0x!1*n0x!1"
"py"
"M"))
(("1"
(name-replace
"TT"
"n0x!1 * n0x!1 / M")
(("1"
(rewrite
"abs_mult"
-5)
(("1"
(expand
"abs"
-5)
(("1"
(case-replace
"CC - CN2 < 0")
(("1"
(assert)
nil
nil)
("2"
(assert)
nil
nil))
(("2"
nil))
nil))
nil))
nil)
("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"(rewrite
(("2"
(expand "cos_approx")
(("2"
(expand "sigma" 1 2)
(("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((posnat nonempty-type-eq-decl nil integers nil)
(> const-decl "bool" reals nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(nzreal nonempty-type-eq-decl nil reals (nzreal nonempty-type-eq-decl nil reals nil1
(/= const-decl "boolean" notequal nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type-from-decl nil reals nil nil))
(real_pred const-decl "[number_field -> boolean]" reals nil)
(number_field nonempty-type-from-decl 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)
( (""
(nnint_plus_posint_is_posint application-judgement "posint"
l
(cos_lb_ub formula-decl nil trig_approx nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(+ const-decl "[numfield, numfield -> numfield]" "2"
(cos_ub const-decl "real" trig_approx nil)
(posint_times_posint_is_posint application-judgement "posint"
integers(expand
(even_times_int_is_even application-judgement "even_int" integers
nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(cos_term_gt0 formula-decl nil trig_approx nil)
(cos_range application-judgement " "!(1)+2(sqrtn")
(real_minus_real_is_real application-judgement "real" reals nil)
(cos_approx_cos formula-decl nil trig_approx nil)
(cos_term_next formula-decl nil trig_approx nil)
(nnint_plus_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(odd_plus_odd_is_even application-judgement "even_int" integers
nil)
(real_times_real_is_real application-judgement "real" reals nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(sigma def-decl "real" sigma "reals/")
(posint nonempty-type-eq-decl nil integers nil)
(posreal_div_posreal_is_posreal judgement-tcc nil real_types nil)
(abs_mult formula-decl nil real_props nil)
(nonzero_abs_is_pos application-judgement "{y: posreal | y >= x}"
real_defs nil)
(nnreal_times_nnreal_is_nnreal application-judgement "nnreal"
real_types nil)
(< const-decl "" reals nil)
(real_le_is_total_order name-judgement "(total_order?[ "sqrt_lt"
real_props nil)
(minus_nzreal_is_nzreal application-judgement "nzreal" real_types
nil)
(abs const-decl "{n: nonneg_real | n >= m AND n >= -m}" real_defs
nil)
(nznum nonempty-type-eq-decl nil number_fields nil)
(/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(posreal nonempty-type-eq-decl nil real_types nil)
(nonneg_real nonempty-type-eq-decl nil real_types nil)
(div_mult_pos_lt1 formula-decl nil real_props nil)
(even_minus_odd_is_odd application-judgement " ((2"
nil)
(odd_minus_odd_is_even application-judgement "even_int" integers
nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(cos_term const-decl "real" trig_approx nil)
(cos_approx const-decl "real" trig_approx nil)
(- const-decl "[numfield, numfield -> numfield]" number_fields nil)
(minus_real_is_real - real"reals nil)
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(even_plus_odd_is_odd application-judgement "odd_int" integers nil)
(nzreal_times_nzreal_is_nzreal application-judgement "nzreal"
real_types
( njava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
real_types nil)
(= const-decl "[T, T -> boolean]" equalities nilnil
(cos const-decl "real" sincos_def nil)
(AND const-decl "[bool, bool -> bool]" booleans nil)
(<= const-decl "bool" reals nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(trig_range type-eq-decl nil sincos_def nil)
(even_plus_even_is_even application-judgement "even_int" integers
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(real_gt_is_strict_total_order name-judgement
"(strict_total_orderjava.lang.StringIndexOutOfBoundsException: Range [116, 50) out of bounds for length 121
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(cos_approx_next formula-decl nil trig_approx nil)
-udgement"
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
nil))
shostak))
(cos_ub_lt 0
(cos_ub_lt-1 nil 3321030211
("" (skosimp)
(("" (lemma "cos_ub_dec" ("n0x" "n0x!1" "n" "n!1" "pm" "1"))
(("" (replace -2 -1)
(("" (lemma "cos_lb_ub" ("n0x" "n0x!1" "n" "n!1+1"))
((""
( (casenil))
(("1" (lemma "cos_approx_cos" ("a" "n0x!1" "n" "2*n!1+3"))
(("1" (expand "cos_lb")
(("1" (name-replace "CC" "cos(n0x!1)")
(("1"
(name-replace "CN3"
"cos_approx(n0x!1, 2 * n!1 + 3)")
("(" -java.lang.StringIndexOutOfBoundsException: Range [54, 55) out of bounds for length 54
(("1"
(lemma "cos_term_neg"
("a" "n0x!1" "n" "3+2*n!1"))
(("1" (simplify -1)
(("1"
(name-replace "CT"
"cos_term(n0x!1)(3 + 2 * n!1)")
(("1"
(lemma "div_mult_pos_lt1"
("z"
"n0x!1 * n0x!1"
"py"
"(56 + 32 * n!1 + (16 * (n!1 * n!1) + 28 * n!1))"
"x"
"1"))
(assert)
(("1"
(lemma
"posreal_div_posreal_is_posreal"
("px"
!* java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 51
"py"
"(56 + 16 * (n!1 * n!1) + 60 * n!1)"))
(("1"
(case-replace
"(-1 * (CT * n0x!1 * n0x!1) /
(56 + 32 * n!1 + (16 * (n!1 * n!1) + 28 * n!1))) = -CT*((n0x!1 * n0x!1) /
(56 + 32 * n!1 + (16 * (n!1 * n!1) + 28 * n!1)))")
(("1"
(name-replace
"TT"
"((n0x!1 * n0x!1) / (56 + 32 * n!1 + (16 * (n!1 * n!1) + 28 * n!1)))")
(("1"
(hide -1)
(("1"
(rewrite "abs_mult" -4)
(("1"
(expand "abs" -4)
(("1"
(assert)
(("1"
(lemma
"both_sides_times_pos_lt1"
("pz"
"-CT"
"x"
"TT"
"y"
"1"))
(("1"
(assert)
nil
)
"!"
)
nil
nil)
nil))
nil
(2"assert)nil)java.lang.StringIndexOutOfBoundsException: Range [60, 61) out of bounds for length 60
nil)
nil))
nil))
roots_closed_int_def_truefalse FORALL(:Eq_computed_remainder?(,)) a(n)=ANDxy IMPLIES
rootnum roots_closed_int(axy,false,false,sl
nil)
nil))
Aset {z:real|contains?(I() AND polynomial(a,n)(z=0}
)
nil))
nil))
niljava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
( hide-all-but 1
" expand"cos_ub")
""( (eplace
""expand " -)
(("2" (expand sl = sturm_chain(newa,n)
nil))
nil))
nil))
nil))
nil)java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
nil))
nil)java.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
nil))
nil))
nil)
((posnat nonempty-type-eq-decl nil integers nil)
(> const-decl "bool" reals nil)
( nonempty-type--decl nil integers nil)
(nzreal nonempty-type-eq-decl nil reals nil)
(/= const-decl "boolean" notequal nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(java.lang.StringIndexOutOfBoundsException: Range [28, 8) out of bounds for length 33
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 17
(number_field nonempty-type-from-decl nil )
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(et type-eq-ecl il etsnil)
(number nonempty-type-decl nil numbers nil)
(cos_ub_dec formula-decl nil trig_approx nil)
(nnint_plus_posint_is_posint application-judgement "posint"
integers nil)
(cos_lb_ub formula-decl nil trig_approx nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(+decl "numfield numfield -]number_fieldsnil)
(sigma def-decl "real" sigma "reals/")
(even_plus_odd_is_odd application-judgement "odd_int" java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 38
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
-judgement "dividesn)"dividesnil
(mult_divides2 application-judgement "(divides(m))" divides nil)
(cos_range application-judgement (1skolemconstdecl ""euclideannil)
(cos_approx_cos formula-decl nil trig_approx nil)
(trig_range type-eq-decl nil sincos_def nil)
(<= const-decl "bool" reals nil)
(AND const-decl "[bool, bool -> bool]" booleans nil)
(cos const-decl "real" sincos_def nil)
(even_plus_even_is_even application-judgement "even_int" integers
nil)
(minus_odd_is_odd (""nil
(cos_term_next formula-decl nil trig_approx nil)
(nnint_plus_nnint_is_nnint application-judgement "nonneg_int"
nil
(odd_minus_odd_is_even application-judgement "even_int" integers
nil)
(posint_times_posint_is_posint application-judgement "posint"
integers nil)
(real_times_real_is_real application-judgement "real" reals nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(minus_nzreal_is_nzreal application-judgement "nzreal" real_types
)
(nzreal_times_nzreal_is_nzreal application-judgement "nzreal"
real_types nil)
(div_mult_pos_lt1 formula-decl nil real_props nil)
(nonneg_real nonempty-type-eq-decl nil real_types nil)
--q nil)
- java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 69
(sigma_nnreal pplication-judgement""euclidean nil)
real_props nil)
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(abs_mult formula-decl nil real_props nil)
(nonzero_abs_is_pos application-judgement "{y: posreal | y >= x}"
(nnreal_times_nnreal_is_nnreal application-judgement "nnreal"
real_types nil)
(both_sides_times_pos_lt1 formula-decl nil real_props nil)
(abs const-decl "{n: nonneg_real | n >= m AND n >= -m}" real_defs
nil)
(nznum nonempty-type-eq-decl nil number_fields nil)
(/ const-decl "[numfield, nznum -> numfield]" number_fields 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)
(java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 63
(int_times_even_is_even application-judgement "even_int" integers
nil)
(cos_term_neg formula-decl nil trig_approx nil)
(cos_approx const-decl "real" trig_approx nil)
( [, >"number_fields nil)
(cos_term const-decl "real" trig_approx nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(cos_lb const-decl "real" trig_approx nil)
(cos_ub const-decl "real" trig_approx nil)
(- const-decl "[numfield, numfield -> numfield]" number_fields nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(minus_real_is_real application-judgement "real" reals (ountable_rational_ballsformula-decl euclidean nil)
(real_minus_real_is_real application-judgement "real" reals nil))
shostak))
(cos_lb_gt 0
(cos_lb_gt-1 nil 3321027181
("" (induct "n")
(("1" (skosimp)
(
(("1" (expand "cos_approx")
(oolean nonempty-type-decl nil booleans nil)
(("1" (expand "sigma")
(("1" (expand "cos_term")
(("1" (rewrite "expt_x1")
(("1" (expand "factorial")
(("1" (expand "factorial")
(("1" (expand "factorial")
(("1" (expand "^")
(("1" (expand "expt")
(("1" (expand "expt")
(("1"
(expand "expt")
(("1" (assert) nil nil))
(nonneg_int nonempty-type-eq-decl integers )
nil))
n const posnat )
nil))
nil))
nil))
nil))
nil))
nil))
nil)
nil))
nil))
nil))
nil)
("2" (skosimp*)
(("2" (expand "cos_lb")
(-
(("2" (lemma "cos_approx_next" ("a" "n0x!1" "n" "1+2*j!1"))
((" (" java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
(("2"
(name-replace "CN3" "cos_approx(n0x!1, 3 + 2 * j!1)")
(("2"
(lemma "cos_term_gt0" ("a" "n0x!1" "n" "2*(1+j!1)"))
(("2" (simplify -1)
(("2"
(name-replace "CT"
"cos_term(n0x!1)(1 + 2 * j!1 + 1)")
(("2" (assert)
(("2"
(lemma "div_mult_pos_gt1"
("z" "((1"
"(30 + 24 * j!1 + (16 * (j!1 * j!1) + 20 * j!1))"
"x" "1"))
(("2" (assert)
(("2"
(name-replace "TT"
1*n0x1/(30 +16*(! !) 44* j1"java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
(("2"
(lemma
"both_sides_times_pos_lt1"
("pz" "CT" "x" "1-TT" "y" "0"))
(("2" (assert) nil nil))
)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((= const-decl "[T, )java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
(real_minus_real_is_real application-judgement "real" reals nil)
(cos_term_gt0 formula-decl nil trig_approx nil)
(odd_plus_odd_is_even application-judgement "even_int" integers
nil)
(even_minus_odd_is_odd application-judgement java.lang.StringIndexOutOfBoundsException: Range [49, 50) out of bounds for length 39
il
(div_mult_pos_gt1 formula-decl nil extra_real_props nil)
(nonneg_real nonempty-type-eq-decl nil real_types nil)
(posreal nonempty-type-eq-decl nil real_types nil)
(/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
(nznum nonempty- (kosimp)
(AND const-decl "[bool, bool -> bool]" booleans nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(- const-decl "[numfield, numfield -> numfield]" number_fields nil)
java.lang.StringIndexOutOfBoundsException: Range [37, 29) out of bounds for length 62
(int_times_even_is_even application-judgement "even_int" integers
nil)
(real_times_real_is_real application-judgement "real" reals nil)
(cos_approx_next formula-decl nil trig_approx nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(nnint_plus_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(cos_approx const-decl "real" trig_approx nil)
(expt_x1 formula-decl nil exponentiation nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(nnint_plus_posint_is_posint application-judgement "posint"
integers nil)
(even_plus_even_is_even application-judgement "even_int" integers
nil)
(even_plus_odd_is_odd application-judgement "odd_int" integers nil)
(real_plus_real_is_real application-judgement "real" reals nil)
(nzreal_div_nzreal_is_nzreal application-judgement "nzreal"
)
(nzreal_expt application-judgement "nzreal" exponentiation nil)
(^ const-decl "real" exponentiation nil)
(sigma_0_neg formula-decl nil sigma_nat "reals/")
(("" (skosimp
"(strict_total_order?[real])" real_props nil)
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(nzint_times_nzint_is_nzint application-judgement "nzint" integers
nil)
(expt def-decl "real" exponentiation nil)
(int_expt application-judgement "int" exponentiation nil)
(even_minus_even_is_even application-judgement "even_int" integers
nil)
(factorial def-decl "posnat" factorial "ints/")
(cos_term const-decl "real" trig_approx nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(int_exp application-judgement "int" exponentiation nil)
(sigma def-decl "real" sigma "reals/")
(nat_induction formula-decl nil (inst -"1)
(- const-decl "[numfield -> numfield]" number_fields nil)
(cos_lb const-decl "real" trig_approx nil)
(< const-decl "bool" reals nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
""
(> const-decl "bool" reals nil)
(IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
(nzreal nonempty-type-eq-decl nil reals nil)
(/= const-decl (expand
(pred type-eq-decl nil defined_types nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real (1
(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)
(nzreal_times_nzreal_is_nzreal application-judgement "nzreal"
real_types nil)
(posint_times_posint_is_posint application-judgement "posint"
integers nil)
(java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 69
nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(minus_odd_is_odd application-judgement "odd_int" integers nil))
shostak))
(cos_ub_gt 0
(cos_ub_gt-4 nil 3321626563
(""
(case "FORALL (n: nat, px: posreal):
px * px > (4 * n + 4) * (4 * n + 3) & n >= 1 => cos_ub(px, n) > 1")
(("1" (skosimp)
(("1" (lemma "trichotomy" ("x" "n0x!1"))
(("1" (split -1)
(("1" (inst - "n!1" "n0x!1")
(("1" (assert) nil nil) ("2" (assert) nil nil)) nil)
(2 (assert)nil
("3" (inst - "n!1" "-n0x!1")
(("1" (assert)
(assert)
(("1" (rewrite "cos_approx_neg") nil nil)) nil))
nil)
("2" (assert) nil nil))
nil))
nil))
nil))
nil)
("2" (hide 2)
(("2" (induct "n")
(("1" (skosimp) (("1" (assert) nil nil)) nil)
("2" (skosimp*)
(("2" (case-replace "j!1=0")
(("1" (assert)
(("1" (hide -1 -2 -4)
(("1" (expand "cos_ub")
(("1" (expand "cos_approx")
(("1" (expand "sigma")
(("1" (expand "sigma")
(("1" (expand "sigma")
(("1" (expand "cos_term")
(("1" (expand "factorial")
(( nil))
(expand "factorial")
(("1"
(expand "factorial")
(("1"
(expand "factorial")
(("1"
(nil)
(("1"
(rewrite "expt_x1")
(("1"
(lemma
"java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
("n0x"
"px!1"
"i"
"2"
j"
"2"))
(("1"
(case-replace
"!^=!1px!1)
(("1"
(replace -2)
(("1"
(name-replace
"X"
"px!1 * px!1")
((1java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
(hide -1 -2)
(("1"
(expand "^")
(("1"
(expand "expt")
(("1"
(expand "expt")
(("1"
(expand
expt"
(("1"
(lemma
"posreal_times_posreal_is_posreal"
("px"
"X"
"py"
"X/24-1/2"))
(assert)
nil
nil)
("2 inst
(hide 2)
(("2"
(lemma
"both_sides_times_pos_lt1"
("pz"
"24"
"x"
"0"
"y"
"X / 24 - 1 / 2"))
(("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
u1i!1)()))")
nil))
nil))
nil)
("2"
(hide-all-but 1)
(("2" (grind) nil nil nil
nil))
nil))
)
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (inst - "px!1")
(("2" (expand "cos_ub")
(("2"
(lemma "cos_approx_next" ("a" "px!1" "n" "2*j!1"))
(("2"
(lemma "cos_term_lt0" ("a" "px!1" "n" "2*j!1+1"))
(("2" (simplify -1)
(("2"
(name-replace "CT"
"cos_term(px!1)(1 assert)
(("2"
(lemma "div_mult_pos_gt1"
("z" "px!1*px!1" "py" "(4*j!1+4)*(4*j!1+3)"
"x" "1"))
(("2"
(name-replace "TT"
"px!1 * px!1 / ((4 * j!1 + 4) * (4 * j!1 + 3))")
(("2" (assert)
(("2"
(lemma
"negreal_times_negreal_is_posreal"
("nx" "CT" "ny" "1-TT"))
(("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((cos_approx_next formula-decl nil trig_approx nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(div_mult_pos_gt1 formula-decl nil extra_real_props nil)
(int_times_even_is_even application-judgement "even_int" integers
nil)
(real_le_is_total_order )
real_props nil)
(negreal java.lang.StringIndexOutOfBoundsException: Range [84, 15) out of bounds for length 88
(< const-decl "bool" reals nil)
(nonpos_real nonempty-type-eq-decl nil real_types nil)
(assert)
( judgement- nil real_types nil)
(cos_term_lt0 formula-decl nil trig_approx nil)
(sigma def-decl "real" sigma "reals/")
(factorial def-decl "posnat" nil))
(even_minus_even_is_even application-judgement "even_int" integers
nil)
(expt_times formula-decl nil exponentiation nil)
(expt def-decl "real" exponentiation nil)
(nzint_times_nzint_is_nzint application-judgement "nzint"integers
nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(both_sides_times_pos_lt1 formula-decl nil real_props nil)
(sigma_0_neg formula-decl nil sigma_nat "reals/")
(posrat_div_posrat_is_posrat application-judgement "posrat"
rationals nil)
(real_times_real_is_real application-judgement "real" reals nil)
(posreal_div_posreal_is_posreal application-judgement "posreal"
real_types nil)
(/ const-decl "[numfield, nznum -> numfield]" number_fields nil)
(nznum nonempty-type-eq-decl nil number_fields nil)
(- const-decl "[numfield, numfield -> numfield]" number_fields nil)
(posreal_times_posreal_is_posreal judgement-tcc nil real_types nil)
(real_minus_real_is_real application-judgement "real" reals nil)
(posreal_expt application-judgement "posreal" exponentiation nil)
(nzreal_expt application-judgement "nzreal" exponentiation(("5java.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
(int_expt application-judgement "int" exponentiation nil)
(OR const-decl "[bool, bool -> bool]" booleans nil)
(^ const-decl "real ("6"
(nzreal_div_nzreal_is_nzreal application-judgement "nzreal"
nil
(real_plus_real_is_real application-judgement "real" reals nil)
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(expt_x1 formula-decl nil exponentiation nil)
(cos_term const-decl "real" trig_approx nil)
(posreal_exp application-judgement "posreal" exponentiation nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(int_exp application-judgement "int" exponentiation nil)
(cos_approx const-decl "real" trig_approx nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(nat_induction ))
(pred type-eq-decl nil defined_types nil)
(nnint_plus_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(even_plus_odd_is_odd application-judgement "odd_int" integers nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(java.lang.StringIndexOutOfBoundsException: Range [58, 11) out of bounds for length 63
nil)
(nnint_plus_posint_is_posint application-judgement "posint"
integers nil)
(nzreal_times_nzreal_is_nzreal application-judgement "nzreal"
real_types nil)
(n0x!1 skolem-const-decl "nzreal" trig_approx 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)
(cos_approx_neg formula-decl nil trig_approx nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
( (("2
nil?"java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
(nzreal nonempty-type-eq-decl nil reals nil)
(/= const-decl "boolean" notequal nil)
(trichotomy formula-decl nil real_axioms nil)
(posreal_times_posreal_is_posreal application-judgement "posreal"
real_types nil)
(posint_times_posint_is_posint application-judgement "posint"
integers nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(number nonempty-type-decl nil numbers nil)
(boolean nonempty-type-decl nil booleans nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(real nonempty-type-from-decl nil reals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(rational nonempty-type-(expand
(integer_pred const-decl "[rational -> boolean]" integers nil)
(int nonempty-type-eq-decl nil integers nil)
(bool nonempty-type-eq-decl nil booleans nil)
(>= const-decl "bool" reals nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(nonneg_real nonempty-type-eq-decl nil real_types nil)
(> const-decl "bool" reals nil)
(posreal nonempty-type-eq-decl nil real_types nil)
(IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
(AND const-decl "[bool, bool -> bool]" booleans nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
*constd " java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 71
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(cos_ub const-decl "real" trig_approx nil))
nil))
(cos_lb 0
(cos_lb-1 nil 3321021268
("" (skosimp)
((""
(lemma "trich_lt"
("x" "n0x!1*n0x!1" "y" "(4*n!1+6)*(4*n!1+5)"))
(("" (split -1)
(("1" (lemma "cos_lb_lt" ("n0x" "n0x!1" "n" "n!1"))
(("1" (assert) nil nil)) nil)
("2" (lemma "cos_lb_lt" ("n0x" "n0x!1" "n" "n!1+1"))
(("2"
(case-replace
"cos_lb(n0x!1, n!1 + 1) = cos_lb(n0x!1, n!1)")
(1 assert)nil java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
("2" (hide 2 -1)
(("2" (expand "cos_lb")
(("2"
(lemma "cos_approx_eq"
("a" "n0x!1" "n" "1+2*n!1"))
(("2" (assert) nil nil)) nil))
nil))
nil))
nil))
nil)
("3" (lemma "cos_lb_gt" ("n0x" "n0x!1" "n" "n!1"))
((assertjava.lang.StringIndexOutOfBoundsException: Index 88 out of bounds for length 88
nil))
nil))
nil)
((nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers
nil)
(rational nonempty-type-from-decl nil rationals nil)
rconst-decl [ >boolean] rationalsnil
(expand
number_fields nil)
(nzreal nonempty-type-eq-decl nil reals nil)
(/= const-decl "boolean" notequal nil)
(* const-decl "[numfield, numfield -> numfield]"
number_fields nil)
(numfield nonempty-type-eqdeclnil 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)
(trich_lt formula-decl nil real_props nil)
(mult_divides2 application-judgement "(divides(m))" divides
)
(mult_divides1 application-judgement "
nil)
even_times_int_is_even application-judgement "ven_int
integersnil)
posint_times_posint_is_posintjudgement
"posint" integers nil)
( (skosimp
"nzreal" real_types nil)
(cos_lb_gt formula-decl nil trig_approx nil)
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(odd_plus_even_is_odd application-judgement "odd_int"
integers nil)
(cos_approx_eq formula-decl nil trig_approx nil)
(int_minus_int_is_int application-judgement "int" integers
nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(cos_lb const-decl "real" trig_approx nil)
(cos_lb_lt formula-decl nil trig_approx nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(nnint_plus_posint_is_posint application-judgement "posint"
integers nil)
(even_plus_even_is_even application-judgement "even_int"
integers nil)
(nnint_times_nnint_is_nnint application-judgement
"nonneg_int" integers nil)
(even_plus_odd_is_odd application-judgement "odd_int"
integers nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(nnint_plus_nnint_is_nnint application-judgement
"nonneg_int" integers nil)
(cos_range application-judgement "trig_range" sincos_def
nil))
shostak))
(cos_ub 0
(cos_ub-1 nil 3321029937
("" (skosimp)
((""
(lemma "trich_lt"
("x" "n0x!1*n0x!1" "y" "(4*pm!1+4)*(4*pm!1+3)"))
(("" (split -1)
(("1" (lemma "cos_ub_lt" ("n0x" "n0x!1" "n" "pm!1"))
(("1" (assert) nil nil)) nil)
("2" (lemma "cos_ub_lt" ("n0x" "n0x!1" "n" "pm!1+1"))
(("2"
(case-replace
"cos_ub(n0x!1, pm!1 + 1) = cos_ub(n0x!1, pm!1)")
(("1" (assert) nil nil)
("2" (hide -1 2)
(("2" (expand "cos_ub")
(("2"
(lemma "cos_approx_eq"
("a" "n0x!1" "n" "2*pm!1"))
(("2" (assert) nil nil)) nil))
nil))
nil))
nil))
nil)
("3" (lemma "cos_ub_gt" ("n0x" "n0x!1" "n" "pm!1"))
(("3" (typepred "cos(n0x!1)") (("3" (assert) nil nil))
nil))
nil))
nil))
nil))
nil)
((posnat nonempty-type-eq-decl nil integers nil)
(> const-decl "bool" reals nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(>= const-decl "bool"(skosimp)
bool nonempty-ype-q-eclnilbooleansnil)
(int(assert)
(integer_pred const
nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(+ const-decl "[numfield, numfield -> numfield]"
number_fields nil)
(nzreal nonempty-type-eq-decl nil reals nil)
(/= const-decl "boolean" notequal nil)
(* const-decl "[numfield, numfield -> numfield]"
number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields 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)
(trich_lt formula-decl nil real_props nil)
(mult_divides2 application-judgement "(divides(m))" divides
nil)
(mult_divides1 application-judgement "(divides(n))" divides
nil)
(even_times_int_is_even application-judgement "even_int"
integers nil)
(posint_times_posint_is_posint application-judgement
"posint" integers nil)
(nzreal_times_nzreal_is_nzreal application-judgement
"nzreal" real_types nil)
(cos_ub_gt formula-decl nil trig_approx 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)
(minus_odd_is_odd application-judgement "odd_int" integers
nil)
(real_le_is_total_order name-judgement
"(total_order?[real])" real_props nil)
(cos const-decl "real" sincos_def nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(<= const-decl "bool" reals nil)
(NOT const-decl "[bool -> bool]" booleans nil)
(cos_approx_eq formula-decl nil trig_approx nil)
(int_minus_int_is_int application-judgement "int" integers
nil)
(= const-decl "[T, T -> boolean]" equalities nil)
cos_ubjava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 53
(cos_ub_lt formula-decl nil trig_approx nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 62
integers nil)
(even_plus_odd_is_odd application-judgement "odd_int"
integers nil)
(cos_range application-judgement "trig_range" sincos_def
nil))
shostak)
(cos_bounds 0
(cos_bounds-1 nil 3321021088
("" (skosimp)
(("" (case-replace "a!1=0")
(("1" (rewrite "cos_0")
(("1" (expand "cos_lb")
(("1" (expand "cos_ub")
(("1" (rewrite "cos_approx_a0")
(("1" (rewrite "cos_approx_a0") (("1" (assert) nil nil))
nil))
nil))
)
nil))
nil)
("2" (lemma "cos_lb" ("n0x" "a!1" "n" "n!1"))
(("1" (assert)
(("1" (hide -1)
(("1" (case "n!1=0")
(("1" (expand "cos_ub")
(("1" (expand "cos_approx")
(
(("1" (expand "sigma")
(("1" (expand "cos_term")
(("1" (typepred "cos(a!1)")
(("1" (expand "sigma")
(("1" (propax) nil nil)) nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (lemma "cos_ub" ("n0x" "a!1" "pm" "n!1"))
(("1" (assert) nil nil) ("2" (assert) nil nil)) nil))
nil))
nil))
nil)
("2" (assert) nil nil))
nil))
nil))
nil)
((number nonempty-type-decl nil numbers nil)
(booleannil))
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)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(even_times_int_is_even application-judgement "even_int" integers
nil(lemma
( java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 68
(mult_divides2 application-judgement "(divides(m))" divides nil)
(cos_lb const-decl "real" trig_approx nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(cos_approx_a0 formula-decl nil trig_approx nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(rational nonempty-type-from-decl nil rationals nil)
(integer_pred const-decl "[rational -> java.lang.StringIndexOutOfBoundsException: Range [54, 45) out of bounds for length 59
(int nonempty-type-eq-decl nil integers nil)
(bool nonempty-type-eq-decl nil booleans nil)
(>= const-decl "bool" reals nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(real_le_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(cos_ub const-decl "real" trig_approx nil)
(cos_0 formula-decl nil trig_basic nil)
(cos_range application-judgement "trig_range" sincos_def nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(cos_approx const-decl "real" trig_approx nil)
(sigma def-decl "real" sigma "reals/")
(NOT const-decl "[bool -> bool]" booleans nil)
(<= const-decl "bool" reals nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(cos const-decl "real" sincos_def nil)
(cos_term const-decl "real" trig_approx nil)
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(posnat nonempty-type-eq-decl nil integers nil)
(> const-decl "bool" reals nil)
(nonneg_int nonempty-type-eq-decl nil integers nil)
(cos_ub formula-decl nil trig_approx nil)
(cos_lb formula-decl nil trig_approx nil)
(/= const-decl "boolean" notequal nil)
(nzreal nonempty-type-eq-decl nil reals nil))
shostak))
(sin_lb_deriv_TCC1 0
(sin_lb_deriv_TCC1-1 nil 3551784317
("" (lemma "deriv_domain_nnreal") (("" (propax) nil nil)) nil)
((deriv_domain_nnreal formula-decl nil deriv_domain "analysis/"))
nil))
(sin_lb_deriv_TCC2 0
(sin_lb_deriv_TCC2-1 nil 3551784317
("" (lemma "not_one_element_nnreal") (("" (propax) nil nil)) nil)
((not_one_element_nnreal formula-decl nil deriv_domain "analysis/"))
nil))
(sin_lb_deriv 0
(sin_lb_deriv-1 nil 3321116669
("" (skosimp*)
(("" (expand "sin_lb")
(("" (lemma "sin_approx_deriv" ("n" "1+2*n!1"))
(("" (flatten)
((""
(lemma "restrict2_derivable(hide2
("f" "LAMBDA a: sin_approx(a, 1+2*n!1)"))
(skosimp)
(lemma "restrict2_deriv[nnreal,real]"
("f" "LAMBDA a: sin_approx(a, 1+2*n!1)"))
(("1" (expand "restrict2")
(("1" (assert)
(("1" (replace -4)
(("1" (assert)
(("1" (expand "cos_lb")
(("1" (apply-extensionality 1 :hide? t)
(("1" (inst - "x!1")
(("1" (replace -1 1 rl)
(("1" (propax) nil nil)) nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (propax) nil nil)
("3" (hide-all-but 1) (("3" (grind) nil nil)) nil)
4 h-1)
(("4" (skosimp)
(("4" (inst 1 "x!1+1") (("4" (assert) nil nil)) nil))
nil))
nil)
("5" (hide-all-but 1)
(("5" (skosimp)
(("5(split -1)
nil))
nil)
(("1"
(("6" ( (propax)
nil))
nil)
("7" (hide-all-but 1)
(("7" (lemma deriv_domain_nnreal)
(("7" (propax) nil (hide )
)
nil))
nil))
nil))
nil))
nil)
((nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(mult_divides1 application-judgement "(dividesnil))
(mult_divides2 application-judgement "(divides(m))" divides nil)
(sin_lb const-decl "real" trig_approx nil)
(NOT const-decl "[bool -> bool]" booleans nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(restrict2_deriv formula-decl nil restrict2_deriv "analysis/")
(deriv const-decl "[T -> real]" derivatives "analysis/")
(cos_approx const-decl "real" lemma
(cos_lb const-decl "real" trig_approx nil)
(restrict2 const-decl "[T1 -> real]" restrict2_deriv("u"
=const-decl "[, T -> boolean]" equalitiesnil
(
(deriv_domain? const-decl "bool" deriv_domain_def "analysis/")
(nnreal type-eq-decl nil real_types nil)
(sin_approx const-decl "real" trig_approx nil)
(deriv_fun type-eq-decl nil derivatives "analysis/")
(derivable? const-decl "bool" derivatives "analysis/")
(restrict2_derivable formula-decl nil restrict2_deriv "analysis/")
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(sin_approx_deriv formula-decl nil trig_approx nil)
(number nonempty-type-decl nil numbers nil)
(boolean nonempty-type-decl nil booleans nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(real nonempty-type-from-decl nil reals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(rational nonempty-type-from-decl nil rationals nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(int nonempty-type-eq-decl nil integers hide -1
b nonempty-ype-declnil booleans nil)
(>= const-decl "bool" reals nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields
nil))
shostak))
(sin_ub_deriv 0
sin_ub_deriv-1 nil 3321118579
("" (skosimp*)
(("" (expand "sin_ub")
(("" (xpand"cos_ub")
(("" (lemma "sin_approx_deriv" ("n" "2*n!1"))
(("" (flatten)
((""
(lemma "restrict2_derivable[nnreal,real]"
("f" "LAMBDA a: sin_approx(a, 2*n!1)"))
(("1"
(lemma "restrict2_deriv[nnreal,real]"
("f" "LAMBDA a: sin_approx(a, 2*n!1)"))
(("1" (expand "restrict2") sqrt(sigma[elowj!]
(""(-)
(("1" (simplify -1)
(("1" (assert)
(("1" (apply-extensionality 1 :hide? t)
("1"(inst-"!1")(1 a) nil )
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (propax) nil nil))
("3" (hide-all-but 1) (("3" (grind) nil nil)) nil)
("4" (hide-all-but 1)
(("4" (skosimp)
(("4" (inst 1 "x!1+1") (("4" (assert) nil nil)) nil))
nil))
nil)
("5" (hide-all-but 1)
(("5" (skosimp)
(("5" (inst 1 "x!1+1") (("5" (assert) nil nil)) nil))
nil))
nil)
("6" (hide-all-but 1)
(("6" (assert)
(("6" (lemma deriv_domain_real)
(("6" (propax) nil nil)) nil))
nil))
nil)
("7" (hide-all-but 1)
(("7" (lemma deriv_domain_nnreal)
(("7" (propax) nil nil)) nil))
nil))
nil))
nil))
nil))
nil))
)java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
nil)
((sin_ub const-decl "real" trig_approx nil)
(* const-decl "[numfield, numfield -> (("
(numfield nonempty-type-eq-decl nil number_fields nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
rationalnonempty-fromdeclnil rationalsnil)
(
(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)
(sin_approx_deriv formula-decl nil trig_approx nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(restrict2_derivable formula-decl nil restrict2_deriv "analysis/")
(derivable? const-decl "bool" derivatives "analysis"LAMBDAi:below[!]:
( -java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 56
(sin_approx const-decl "real" trig_approx nil)
(nnreal type-eq-decl nil real_types nil)
(deriv_domain? const-decl "bool" deriv_domain_def "analysis/")
(not_one_element? const-decl "bool" deriv_domain_def "analysis/")
(= const-decl "[T, T -> boolean]" equalities nil)
(restrict2 const-decl "[T1 -> real]" restrict2_deriv "analysis/")
(deriv const-decl "[T -> real]" derivatives "analysis/")
(cos_approx const-decl "real" trig_approx nil)
(restrict2_deriv formula-decl nil restrict2_deriv "analysis/")
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(NOT const 2"
(cos_ub const-decl "real" trig_approx nil))
shostak))
(cos_lb_deriv 0
(cos_lb_deriv-1 nil 3321109593
("" (skosimp)
(("" (expand "cos_lb")
(("" (lemma "cos_approx_deriv" ("n" "1+2*n!1"))
(("" (flatten)
(("" (assert)
(("" (replace -2)
(("" (hide-all-but 1)
(("" (apply-extensionality :hide? t)
(("" (expand "sin_lb")
(("" (expand "sin_ub") (("" (propax) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(cos_lb const-decl "real" java.lang.StringIndexOutOfBoundsException: Range [71, 35) out of bounds for length 71
(- const-decl "[numfield -> numfield]" number_fields nil)
(sin_approx const-decl "real" trig_approx nil)
(IF const-decl "[boolean, T, T -> T]" if_def nil)
(< const-decl "bool" reals nil)
(sin_lb const-decl "real" trig_approx nil)
(sin_ub const-decl "real" trig_approx nil)
(minus_real_is_real application-judgement "real" reals nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(cos_approx_deriv formula-decl nil trig_approx 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]" java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 41
(real nonempty-type-from-decl nil reals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(rational nonempty-type-from-decl nil rationals nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(int nonempty-type-eq-decl nil integers nil)
(bool nonempty-type-eq-decl nil booleans nil)
(>= const-decl "bool" reals nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields
nil))
shostak))
(cos_ub_deriv_TCC1 0
(cos_ub_deriv_TCC1-1 nil 3321116581
("" (skosimp*) (("" (assert) nil nil)) nil)
((int_minus_int_is_int application-judgement "int" integers 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))
shostak))
(cos_ub_deriv_TCC2 0
(cos_ub_deriv_TCC2-1 nil 3321116581
("" (skosimp*) (("" (assert) nil nil)) 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))
shostak))
(cos_ub_deriv 0
(cos_ub_deriv-1 nil 3321109867
("" (skosimp)
(("" (expand "cos_ub")
(("" (lemma "cos_approx_deriv" ("n" "2*n!1"))
(("" (flatten)
(("" (assert)
(("" ((sq const-decl "nonneg_real ")
(("" (apply-extensionality 1 :hide? t)
(("1" (case-replace "n!1=0")
(("1" (assert) nil nil)
("2" (assert)
(("2" (expand "sin_ub")
(("2" (expand "sin_lb") (("2" (propax) nil nil))
nil))
nil))
nil))
nil)
("2" (skosimp) (("2" (assert) nil nil)) nil)
("3" (skosimp) (("3" (assert) nil nil)) nil)
("4" (skosimp) (("4" (assert) nil nil)) nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((cos_ub const-decl "real" trig_approx nil)
(real_lt_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)
(int_minus_int_is_int application-judgement "int" integers nil)
(minus_real_is_real application-judgement "real" reals nil)
(even_minus_odd_is_odd application-judgement "odd_int" integers
nil)
(IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
(NOT const-decl "[bool -> bool]" booleans nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(n!1 skolem-const-decl "nat" trig_approx nil)
(- const-decl "[numfield, numfield -> numfield]" number_fields nil)
(AND const-decl "[bool, bool -> bool]" booleans nil)
(< const-decl "bool" reals nil)
(sin_lb const-decl "real" trig_approx nil)
(sin_ub const-decl "real" trig_approx nil)
(sin_approx const-decl "real" trig_approx nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(IF const-decl "[boolean, T, T -> T]" if_def nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(mult_divides1 application-judgement "(divides(n))" divides nil)
(mult_divides2 application-judgement "(divides(m))" divides nil)
(cos_approx_deriv formula-decl nil trig_approx nil)
(number nonempty-type-decl nil numbers nil)
(boolean nonempty-type-decl nil booleans nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(real nonempty-type-from-decl nil reals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(rational nonempty-type-from-decl nil rationals nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(int nonempty-type-eq-decl nil integers nil)
(bool nonempty-type-eq-decl nil booleans nil)
(>= const-decl "bool" reals nil)
(-type-q- nilnaturalnumbersnil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields
nil))
shostak))
(cos_lb_nn_strict_decreasing 0
(cos_lb_nn_strict_decreasing-1 nil 3321105839
("" (expand "strict_decreasing?")
(("" (skosimp*)
(("" (typepred "x!1")
("(typepred y1)
(("" (expand ">=")
(("" (expand "<=" -3)
(("" (split -3)
(("1"(emma "os_lb_deriv """!1))
(("1" (flatten)
(("1"
(lemma
"restrict2_derivable[{x: posreal | x <= pi},real]"
("f" "LAMBDA a: cos_lb(a, n!1)"))
(("1"
(lemma
"restrict2_deriv[{x: posreal | x <= pi},real]"
("f" "LAMBDA a: cos_lb(a, n!1)"))
(("1" (expand "restrict2")
(("1" (replace -4)
(("1" (simplify -1)
(("1"
(lemma
"negative_derivative[{x:posreal | x <= pi}]"
("g"
"LAMBDA (a:{x:posreal | x <= pi}): cos_lb(a, n!1)"))
(("1"
(split -1)
(("1"
(expand "strict_decreasing?")
(("1"
(inst - "x!1" "y!1")
(("1" (assert) nil nil)
("2" (assert) nil nil)
("3" (assert) nil nil))
nil))
nil)
("2"
(skosimp)
(("2"
")
(("2"
(xpandderiv" -)
2"
(-1 java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
(-all-but 1)
2
t"x!2"java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
(("(c-"oolsets
(lemma
"java.lang.StringIndexOutOfBoundsException: Range [57, 58) out of bounds for length 57
niljava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
"x"
"java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
"n!1"))
(("2"
(lemma0
t []:
("a" "x
((""
nil)java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
(""
nil))
nil))
)
nil)
nil))
))
)
nil))
nil))
niljava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
()nil nil)
(3
(hide-all-but 1)
(("3"
ert
((""
(expand "connected?((2 skosimp
(("3"
(skosimp*)
(("3" (assert) nil nil))
)
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 19
)
nil) )
nil Sformal--decl sigma_algebrameasure_space_def java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
nil))
nil)
java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
" * (3 inst 1 "x!2")nil )java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
nil
(""(hide-all-but 1)
(("4" (assert)
((" ""(java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 52
(("4" (skosimp*)
(("4"
)
java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 56
)
nil))
nil))
nil)
("5" (hide-all-but 1)
( java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 35
(("5decl[ bool->bool] java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
(("5" measure_space_defnil)
(("5dexed_sets)
(expand "deriv_domain?")
(("5"
(skosimp*)
((5"
(inst - "e!1"n)
("
(boolean nilbooleans java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
inst "y!" nilnil)
nil))
nil))
nil)
nil)nil)
nil))
nil))
nil))
java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 29
nil))
nil
nil)
""r*
(("2" (lemma "cos_lb"(case"!a1"java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
(("1" (("1" ))
(("1"
(("1" (rewrite "cos_approx_a0")
1assertnil nil)nil)
nil))
nil
("2" (assert) nil nil(-typenil java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
nil))
nil)
("1"expandmember"java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
nil))
)
nil))
nil))
nil))
nil)
((cos_range application- )
(- const-decl "nil
c decl "" nil
(* const-decl "[numfield, numfield -> numfield lemma
((split -)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
((2 e"java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
nil
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(even_times_int_is_even application-judgement "even_int" integers
nil)
(mult_divides1 application-judgement "(divides(n))" divides nil(("3" (skosimp)
(mult_divides2 application-judgement "(divides {:T x:X!):W= (!,x)"java.lang.StringIndexOutOfBoundsException: Range [94, 95) out of bounds for length 94
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(cos_lb formula-decl nil trig_approx nil)
(cos_lb_deriv formula-decl nil trig_approx nil)
(rational_pred const-decl "[real -> expand "Union")
(rational nonempty-type-from-decl nil EXISTS (: (X!): a(!(x!)))
(integer_pred const-decl " inst
(int nonempty-type-eq-decl nil integers
(nat nonempty-type-eq-decl nil naturalnumbers nil)
( (assert
(deriv_fun type-eq-decl nil derivatives "analysis/")
(derivable? const-decl "
(restrict2_derivable formula-decl nil restrict2_deriv "analysis/")
(eriv_domain? const-decl "bool" deriv_domain_def "analysis/")
(not_one_element? const-decl "bool" deriv_domain_def "analysis/")
(= const-decl "[T, T ->nil)
(restrict2 const-decl "[T1 -> real]"
(pi_bound name-judgement "{r: posreal | pi_lb < r AND r < pi_ub}"
atan_approx nil)
(real_le_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(real_gt_is_strict_total_order name-judgement
(real)
"f
(y!1 skolem-const-decl "{x: nnreal | x <= pi}" trig_approx nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props )
(sin_ge_0 formula-decl nil trig_ineq nil)
(expand "imagejava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(minus_real_is_realnil)
(nzreal nonempty-type-eq-decl nil reals nil)
(/= const-decl "boolean" notequal nil)
(sin_ub formula-decl nil trig_approx typepred "x!2")
(deriv const-decl "[ (inst -5 "!"
(connected? const-decl "bool" deriv_domain_def "analysis/")
(negative_derivative formula-decl nil derivative_props "analysis/")
(restrict2_deriv formula-decl nil restrict2_deriv "analysis/")
(numfieldnil))
nonemptytypeeq- java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 55
(/ const-decl "[numfieldnil)
(posreal_div_posreal_is_posreal application-(measurable_function?constdecl ""measure_space_defnil
real_types nil)
(deriv_domain_oc formula-decl nil deriv_domain "analysis/")
(minus_nzreal_is_nzreal application-judgement "(- const-decl "[numfield -> numfield]" number_fields
(nonneg_real nonempty--eq-declnil real_types nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(AND const-decl "[bool, bool -> bool]" booleans nil)
(< const-decl "bool" reals nil)
java.lang.StringIndexOutOfBoundsException: Range [41, 4) out of bounds for length 67
(--nil java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
(bool nonempty-type-eq-decl nil booleans nil)
C skolem-onst-decl "[set[real] -> bool]" measure_space_def nil)
(number nonempty-
"number>]
nil
nonemptytypefrom-nilnumber_fieldsnil)
- "[number_field -> boolean]" realsjava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
(real (real_minus_re-"eal"reals nil
(>= const-decl "bool" reals java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 51
-niljava.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 44
"/)
)
> const-decl "bool" reals nil)
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 54
(pi const-decl " "1" (prop)
(strict_decreasingnil)
shostak))
(cos_lb_np_strict_increasing 0
(cos_lb_np_strict_increasingnil)
)
(("" (lemma "(ALSE " )
((( java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 69
"ejava.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 42
(("" (skosimp)
(("" (inst - "-y (java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 59
)
("( cjava.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
(("" (rewrite "cos_lb_neg") nil nil)) nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
(--nil niljava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil)
(cos_lb_nn_strict_decreasing formula-decl nil trig_approx nil)
(pi_bound name-judgement "{r: posreal | pi_lb < r AND r < pi_ub}"
atan_approx nil)
(strict_increasing?const-decl "ool"real_fun_preds reals/)
(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)
( )
(npreal type-eq-decl nil real_types nil)
(- const--decl"numfield> nil
(numfield nonempty-type-eq-decl nil number_fields nil)
(pi const-decl "posreal" atan nil)
(posreal nonempty-type-eq-nil)java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
(> const-decl "bool" reals nil)
(nonneg_real onempty-ype-qdecl java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
"inverse_image"java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
neq nil
(cos_lb_neg formula-decl nil trig_approx nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(strict_decreasing? const-decl "bool" real_fun_preds "reals/"))
shostak))
(sin_px 0
(sin_px-1 nil 3403980921
("" (skosimp)
(("" (lemma "sin_lb" (" (""
(("" (expand (ypepred "!"
( ("2java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
(("" (expand "sigma")
(("" (expand "sigma")
m")
(("" (expand "^")
(("" (expand "expt")
nil)java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
)
(("" (expand "expt")
(""e"
(expand"java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
cjava.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 63
(expand "factorial")
((""
(expand "factorial")
((""
(case
1 -1 1500000<-1p!/"
(("1"nil
(lemma
"both_sides_times_pos_lt1"
("pz"
"px!1"
"x"
"1 - 1 / 1500000"
"y"
"1 - px!1 * px!1 / 6"))
(1"(assert) nil nil))
nil)
("2"
(hide -(2 ")
("2java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
(lemma
"sq_lt"
("nna" "px!1" "nnb" "1/500"))
(("2"
(assert)
(("2"
(expand "sq")
(("2" (assert) nil nil))
nil))
nil))
nil))
nil)
)
nil))
((3"
nil("
nil)) "java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
nil))
nil))
nil))
nil))
nil))
nil))
)
nil))
nil))
nil))
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
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)
(nzreal nonempty-type-eq-decl nil java.lang.StringIndexOutOfBoundsException: Range [54, 48) out of bounds for length 59
(/= const-decl "boolean" notequal nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool (2 efullset"
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 56
(java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 64
(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
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil)
(sin_lb formula-decl nil trig_approx nil)
(sin_approx const-decl "real" trig_approx nil)
(int_expt application-judgement "int" exponentiation nil)
(nzreal_expt application-judgement "nzreal" exponentiation java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 51
(posreal_expt application-judgement "posreal" exponentiation nil)
(^ const-decl "real" exponentiation nil)
(even_minus_even_is_even application-judgement java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
nil)
(sq_nz_pos application-judgement "posreal" sq "reals/nil
( nil))
(sq_lt formula-decl nil sq "reals/")
(both_sides_times_pos_lt1 formula-decl nil real_props nil)
real_lt_is_strict_total_order-udgement
( -eclnil java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
( (number_fieldnumber_fieldnonempty-type-declnil number_fields)
rationals nil)
( (n!1n1const java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 58
real_types nil)
(real_plus_real_is_real application-judgement "real" reals nil)
(real_div_nzreal_is_real application-judgement "real" reals nil)
(nzreal_div_nzreal_is_nzreal application-judgement "nzreal"
real_types nil)
(sin_range application-judgement "trig_range" sincos_def nil)
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(real_times_real_is_real application-judgement "real"(nonempty-type--decl niljava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
(sigma_0_neg formula-decl nil sigma_nat "reals/")
(* 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 "[numfield, numfield -> numfield]" measure_space_defnil)
numfield---decl number_fields nil
(< const-decl "bool" reals ( nonemptytype-- nilreal_topology
( - "eal"realsniljava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
(rat_minus_rat_is_rat application-judgement "rat" rationals nil)
""java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
(posint_times_posint_is_posint application-judgement "posint"
integers nil)
(defreal nil
(posreal_times_posreal_is_posreal application-judgement "posreal rjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 65
real_types nil)
(const-r" )
( (S formaldecl""nil
(mult_divides1 java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 16
(even_times_int_is_even (("" (expand "sigma_algebrajava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
nil)
(nnint_times_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(nzreal_times_nzreal_is_nzreal application-judgement "nzreal"
real_types nil)
(posreal_exp application-judgement "posreal" exponentiation nil)
(nzreal_exp application-judgement "nzreal" exponentiation nil)
(int_exp application-judgement "int" exponentiation nil)
(sigma def-decl "real" sigma "reals/")
(sin_lb nil)
)
(cos_term_pi_lb
cos_term_pi_lb- 3403981394
("" (skosimp)
(("" (rewrite "sin_shift" :dir rl)
(("" (lemma "pi_lb_diff" ("n" "n!1"))
(("" (lemma "pi_lb_inc" ("n" "n!1" "m" "n!1+1"))
(("" (simplify -1)
(("" (lemma "pi_bounds" ("n" "n!1+1"))
(("" (flatten)
(("" ( (umber nonemptytype- nil
((""
(eal_minus_real_is_realapplicationjudgementreal nil
(1 / (4 * n!1 + 5) - 1 / (25 * (4 * n!1 + 7)))
+
4 * (1 / 239) ^ (4 * n!1 + 3) *
(1 / (4 * n!1 + 3) - 1 / (57121 * (4 * n!1 + 5) setof type-qdecl nil )
(("" (replace -1)
(("" (case "pi / 2 - pi_lbn( (easurable_lt 0
(("1" (java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 21
(("1"
(lemma "sin_px"
("1 expand-)
(("1" (split -1)
(("1"
(case
"cos_term(pi_lbn(n!1) / 2)(2 * n!1 + 2) < KK/2 * (1 - 1 (1java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
(("1" (assert) nil nil)
("2"
(hide 2)
(("2"
(hide -1)
"
(name
"F"
"lambda (n:nat): 8 * (1 / 5) ^ (4 * n + 5) *
nil))
+
:ide?t
(1 / (4 * n + 3) - 1 / (57121 * (4 * n + 5)))")
(("2"
(case-replace "KK/2=F(n!1)")
(("1"
(hide -1 -2 -5)
(("1"
(expand "cos_term")
(("1"
(case-replace
"(-1) ^ (2 + 2 * n!1)=1")
(("1"
(lemma
"both_sides_expt_pos_lt"
("px"
p(n1 /2
"py"
"31415927/20000000"
"pm"
"4 + 4 * n!1"))
(("1"
(lemma "pi_ub")
(("1"
("2 rewrite "measurable_le")
(("1"
(name
"G"
"lambda (n:nat): (31415927 / 20000000) ^ (4 + 4 * n)/factorial(4 + 4 * n)")
(("1"
(case
"(1 * (pi_lbn(n!1) / 2) ^ (4 + 4 * n!1)) / factorial(4 + 4 * n!1) <G(n!1)")
(1
(case
"forall (m:nat): m>=5 => G(m)<F(m)*(1 - 1 / 1500000)")
(("1"
(inst
-
"n!1" (""
(("1"
(assert)
(("1"
(name-replace
"DRL1"
(expand
(("1"
(assert)
nil
nil))
nil))
nil))
nil)
("2"
(hide-all-but
1)
(("2"
(case
"G(5) < F(5)
(("1"
(case
"FORALL (m: nat): m >= 5 & G(m) < F(m) * (nst
(("1"
(induct
"m" nil)
(("1"
(flatten)
(("1"
(assert)
nil
nil))
nil)
("2"
(skosimp*)
(("2"
(case-replace
"j!1 nil
(("1"
(assert)
nil
nil)
("2"
(assert)
(("2"
(inst
-
"j!1")
(("2"
(assert)
nil
nil))
nil))
nil))
nil)
nil))
nil)
(java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 61
(hide
2
-1)
(("2"
(skosimp)
(("2"
(name
"LHS"
"(31415927 / 20000000) java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
nil)
(case-replace
"G(m!1 + 1)=G(m!1)*LHS")
(("1"
(hide
-1)
(("1"
(
"LHS*F(m!1)<F(m!1 + 1)")
(("1"
(lemma
"both_sides_times_pos_lt1"
("pz"
surjective?[[],setT]]"sets_lemmasnil)
"x"
"G(m!1)java.lang.StringIndexOutOfBoundsException: Index 88 out of bounds for length 88
"y"
"F(m!1) * (onneg_realeqnil java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 58
(("1"
(assert)
nil
nil))
nil)
("2"
(hide
-3
2)
(("2 (formal-nil measure_space_defnil)
(expand
"F"
1)
(("2"
(lemma
"expt_plus"
("n0x"
"1/5"
"i"
"4"
"j"
"5+4*mnil
(("2"
(replace
-1)
(("2"
-1)
(("2"
replace
"FIVE"
"(1 / 5) ^ (5 + 4 * m!1)")
(("2"
(lemma
"java.lang.StringIndexOutOfBoundsException: Range [0, 101) out of bounds for length 48
("n0x"
"1 / (ool-declnil)
"i"
"4"
"j"
"3 + 4 * m!1"))
(("2"
(replace
-1)
(("2"
(hide
-1)
(("2"
(name-replace
"TWOTHREENINE"
"(1 / (1 propax) nil nil)
hide 2)
(case-replace
1/239) ^41/(514089 228484 *m!1)= ( / )^6*TWOTHREENINE * (1 / (9+4*m!1))")
(("1"
-1)
java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 60
(case-replace
"(TWOTHREENINE ((""
"is_countable)
(hide
-1)
(("1"
(case-replace
1))
(hide
-1)
(("1"
(case
"-2 * ((1 / 239) ^ 2 * (TWOTHREENINE * (1 / (5 + 4 * m!1))) * LHS) -
8 * ((1 / 5) ^ 2 * FIVE * (1 / (7 + 4 * m!1)) * LHS)
+ 8 *(skosimp)
+ 2 * ((TWOTHREENINE * (1 / (3 + 4 * m!1))) * LHS) < 8 nil
("1"
java.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77
(expand
2 * ((1 / 239) ^ 4 * TWOTHREENINE * (1 / (7 + 4 * m!1)))
- 2 * ((1 / 239) ^ 6 * TWOTHREENINE * (1 / (9 + 4 * m!1)))
- 8 * ((1 / 5) ^ 4 * FIVE * (1 / (275 + 100 * m!1)))")
(assert)
nil
nil)
("2"
(hide
2
-1)
(("2"
(lemma
"expt_plus"
("n0x"
"i"
"2"
"j"
"4"))
(("2"
(replace
-1)
(("2"
(hide
-1)
(("2"
(lemma
"both_sides_times_pos_lt1"
("pz"
"2 * (1 / 239) ^ 4 * TWOTHREENINE"
"y"
"1 /nil)
"x"
"0"))
(flatten
-1)
(("2"
(hide
-1)
(("2"
(split
(("1"
expandRQ")
(("1"
(assert)
nil
nil)
("2"
(hide
-1
(("2"
(case-replace
"1 / (275 + 100 * m!1) = (1/5)^2*1/(11+4*m!1)")
(("1"
(hide
-1)
(lemma
"both_sides_times_pos_lt1"
("pz"
"8*FIVE"
"x"
"LHS/(5 + 4 * m!1)"
"(1 / 5) ^ 4*(/(9+4* m!1)-( /5 ^2 (11 +4 m!1))))
(("1"
(replace
-1
1)
(("1"
(java.lang.StringIndexOutOfBoundsException: Index 145 out of bounds for length 21
-1)
(("1"
(case
/9 +*m!1))<1/( !)-( ) ^ / (11 + 4*m))")
(("1"
(case
"LHS / (5 + 4 * m!1) <(1 / 5) ^ 4 *(24 / 25) * (1 "(?real java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
(("1"
(real_minus_real_is_real applicajudgement"real"reals nil)
but )
9+ 4* m!) -(1 / 5 /(1+ 4* m1))")
l
"both_sides_times_pos_lt1"
( java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
" )
1/ *m)"
(assert)
--declnildefinitions_3D nil)
nil))
nil)
("2"
(hide
java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
(""split -)
(("1"
(lemma
"both_sides_div_pos_lt1"
("pz"
nonempty-type-decl nil numbers nil)
java.lang.StringIndexOutOfBoundsException: Index 108 out of bounds for length 69
(("1"
(replace
-3)
(("1"
((applicationjudgement"eal java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 68
-2)
(("1"
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 46
-1)
(("1"
(case nonempty-eqdecl nil integersnil)
5 nil)
vo)vect2nvo) voz z"
(
(("1"
)
java.lang.StringIndexOutOfBoundsException: Range [51, 42) out of bounds for length 54
"LHS"
"(1 / )^ 4 **( 15")
( (replace
"
(("1"
(" (ase voz `)
""
("pz"
"( / ^
"java.lang.StringIndexOutOfBoundsException: Range [0, 176) out of bounds for length 35
5+ m!)java.lang.StringIndexOutOfBoundsException: Index 201 out of bounds for length 201
"y"
java.lang.StringIndexOutOfBoundsException: Index 125 out of bounds for length 47
java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
(("1"
nil)
(("1"
(java.lang.StringIndexOutOfBoundsException: Range [0, 187) out of bounds for length 57
(vo)(java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 70
-2
2)
(
)
)
- {:nonneg_real| n>ANDn> n))
--declintegersjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
"5/(5 + 4 * m!1)"
n) dividesnil)
""sign"reals"
(("2"
(hide
(2java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
"
"
"5 + 4 * m!1"
java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
(flatten
nil))
nil)
(("2"
(replace
(("2"
(lemma
"div_mult_pos_lt2"
py
"9 + 4*m!"
"z"
"6*(5 + 4 * m!1)"
"x"
"5"))
(("2"
1)
(("2"
(java.lang.StringIndexOutOfBoundsException: Index 201 out of bounds for length 48
decl nil)
nil))
nil))
nil))
nil))
nil))
nil))
r! const- r"measure_space_defnil
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(hide
2)
(("2"
(case-replace
( "igma_algebra"measure_space_def)
(("1"
(hide
-1)
(("1"
" ""java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
( member"
s)
{z | f!1()<!}java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
"py"
"px"
"((5 + 4 * m!1) * (6 + 4 * m!1) * (7 + 4 * m!1) * (8 + 4 * m!1))"))
(nil
!1"
(("1"
(("1"
(split)
(("1"
(name-replace
"LHS2"
)
( (S --decl ""measure_space_def nil)
java.lang.StringIndexOutOfBoundsException: Index 183 out of bounds for length 183
bnonempty-- booleansnil)
decl[>"
("2"
(hide-all-but
-4))
(("2"
(lemma
"le_times_le_pos"
("nnx"
"25"
"y"
"5 + 4 * m!1"
"nnz"
"26 * 27 * 28"
"w"
"(6 + 4 * m!1) * (7 + 4 * m!1) * (8 + 4 * m!1)"))
(lemma
"le_times_le_pos"
("nnx"
"26"
"y"
"6 + 4 * m!1"
"nnz"
"27 * 28"
"w"
"(7 + 4 * m!1) * (8 + 4 * m!1)"))
(("2"
("( lambda (:
"le_times_le_pos"
"27"
"y"
" 1)
"nnz"
"28"
"w"
"(8 + 4 * m!1)"))
(("2"
(assert)
nil
nil))
nil)) )java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(hide-all-but
1)
(("2"
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(hide-all-but
1)
(("2"
(lemma countable_image[ratset[]]"
nil
nil))
nil))
nil))
nil))
nil))
("2"
(hide
-1
2)
(("2"
(lemma
"both_sides_times_pos_lt1"
("pz"
"9 + 4 * m!1"
"x"
"(24 / 25) * (1 / (9 + 4 x"
"y"
9+ m!)-( 5 ^2 ( + 4*1)))
(""
(replace
-1
1
rl)
(("2"
(hide
(("2"
(lemma
"div_cancel2"
(x
"1"
"n0z"
"9+4*m!1"))
(("2"
(lemma
"associative_mult"
("x"
"24 / 25"
"y"
nil)
"z"
"9 + 4 * m!1"))
(("2"
(replace
java.lang.StringIndexOutOfBoundsException: Index 117 out of bounds for length 27
(2"
(replace
1
rl)
(("2"
1java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
-1
-2)
java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
"both_sides_div_pos_lt2"
("pz
"1"
"py"
"9 + 4 * m!1"
"px"
(("2"
(simplify
-1)
(("2"
(case-replace
"(1 / (9 + 4 * m!1) - (1 / 5) ^ 2 / (11 + 4 * m!1)) * (9 + 4 * m!1) = 1- (1 / 5) ^ 2*(9 + 4 * m!1)/(11 + 4 * m!1)")
(("1"
(hide
-1)
(("1"
(case
"(1 / 5) (skosimp)
("
(assert)
nil
nil)
(hide
2)
(("2"
"(1 / 5) ^ ))
(("1"
(rewrite
"div_mult_pos_lt1"
1)
nil
nil)
("2"
(hide-all-but
1)
(("2"
(grind)
nil
nil))
typedecl nil numbersnil)
nil))
nil))
nil))
nil)
(hide
2)
(("2"
(assert)
nil
nil))
nil))
nil))
real_lt_is_strict_total_order judgement
skolem-const-ecl" measure_space_def nil)
nil))
nil (-declnilsetsnil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
--> --------------------
--> maximum size reached
--> --------------------
¤ Dauer der Verarbeitung: 0.979 Sekunden
¤
*Bot Zugriff
|
|
2026-11-24
|
|
|
|
|