|
|
|
|
Impressum sturmsquarefree.prf
Sprache: Lisp
|
|
(sturmsquarefree
(sturm_sequence?_TCC1 0
(sturm_sequence?_TCC1-1 nil 3583755671 ("" (subtype-tcc) nil nil)
((boolean nonempty-type-decl nil booleans nil)
(bool nonempty-type-eq-decl nil booleans nil)
(NOT const-decl "[bool -> bool]" booleans nil)
(number nonempty-type-decl nil numbers nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(real nonempty-type-from-decl nil reals nil)
(>= const-decl "bool" 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)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(^ const-decl "real" exponentiation nil)
(polynomial const-decl "[real -> real]" polynomials "reals/")
(rat_max application-judgement "{s: rat | s >= q AND s >= r}"
real_defs nil)
(int_max application-judgement "{k: int | i <= k AND j <= k}"
real_defs 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_times_real_is_real application-judgement "real" reals nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(/= const-decl "boolean" notequal nil)
(int_minus_int_is_int application-judgement "int" integers nil))
nil))
(sturm_sequence?_TCC2 0
(sturm_sequence?_TCC2-1 nil 3583755671 ("" (subtype-tcc) nil nil)
((boolean nonempty-type-decl nil booleans nil)
(bool nonempty-type-eq-decl nil booleans nil)
(NOT const-decl "[bool -> bool]" booleans nil)
(number nonempty-type-decl nil numbers nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(real nonempty-type-from-decl nil reals nil)
(>= const-decl "bool" 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)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(real_le_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(real_times_real_is_real application-judgement "real" reals nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(poly_deriv const-decl "real" polynomials "reals/")
(^ const-decl "real" exponentiation nil)
(polynomial const-decl "[real -> real]" polynomials "reals/")
(/= const-decl "boolean" notequal nil)
(int_minus_int_is_int application-judgement "int" integers nil)
(int_max application-judgement "{k: int | i <= k AND j <= k}"
real_defs nil)
(rat_max application-judgement "{s: rat | s >= q AND s >= r}"
real_defs nil)
(real_plus_real_is_real application-judgement "real" reals nil))
nil))
(sturm_sequence_degree_1 0
(sturm_sequence_degree_1-1 nil 3588942625
("" (skeep)
(("" (expand "sturm_sequence?")
(("" (assert)
(("" (split +)
(("1" (skeep) (("1" (assert) nil nil)) nil)
("2" (skeep)
(("2" (case "i = 1")
(("1" (replaces -1)
(("1" (replace -5)
(("1" (expand "poly_deriv" -2)
(("1" (assert) nil nil)) nil))
nil))
nil)
("2" (assert) nil nil))
nil))
nil)
("3" (skeep) (("3" (assert) nil nil)) nil)
("4" (skeep)
(("4" (assert)
(("4" (replaces -1)
(("4" (replace -2) (("4" (grind) nil nil)) nil)) nil))
nil))
nil))
nil))
nil))
nil))
nil)
((sturm_sequence? const-decl "bool" sturmsquarefree nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers 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)
(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)
(real_times_real_is_real application-judgement "real" reals nil)
(real_plus_real_is_real application-judgement "real" reals nil)
(real_le_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(poly_deriv const-decl "real" polynomials "reals/")
(sign_ext const-decl
"{sig: real | (sig = -1 OR sig = 1 OR sig = 0) AND sig * x = abs(x)}"
sign "reals/")
(polynomial const-decl "[real -> real]" polynomials "reals/")
(sigma def-decl "real" sigma "reals/")
(^ const-decl "real" exponentiation nil)
(expt def-decl "real" exponentiation nil)
(max_npreal_0 formula-decl nil min_max "reals/")
(int_minus_int_is_int application-judgement "int" integers nil))
shostak))
(sturm_seq_repeated_root 0
(sturm_seq_repeated_root-1 nil 3584191381
("" (skeep)
((""
(case "FORALL (i:nat): i-1>=0 AND i+1<=m AND polynomial(p(i),n(i))(x)=0 IMPLIES (polynomial(p(i-1),n(i-1))(x)=0 IFF polynomial(p(i+1),n(i+1))(x)=0)")
(("1" (skeep)
(("1"
(case "FORALL (j:nat): i-j>=0 IMPLIES FORALL (k:nat): k<=j IMPLIES polynomial(p(i-k), n(i-k))(x) = 0")
(("1"
(case "FORALL (j:nat): i+j<=m IMPLIES FORALL (k:nat): k<=j IMPLIES polynomial(p(i+k), n(i+k))(x) = 0")
(("1" (skeep)
(("1" (case "j>=i")
(("1" (inst - "j-i")
(("1" (assert)
(("1" (inst - "j-i") (("1" (assert) nil nil)) nil))
nil)
("2" (assert) nil nil))
nil)
("2" (inst -2 "i-j")
(("1" (assert)
(("1" (inst -2 "i-j") (("1" (assert) nil nil))
nil))
nil)
("2" (assert) nil nil))
nil))
nil))
nil)
("2" (hide (-1 2))
(("2" (induct "j")
(("1" (assert)
(("1" (skeep) (("1" (assert) nil nil)) nil)) nil)
("2" (assert)
(("2" (skosimp*)
(("2" (assert)
(("2" (case "k!1=0 OR k!1=1")
(("1" (ground) nil nil)
("2" (flatten)
(("2" (inst-cp - "k!1-1")
(("2" (inst - "k!1-2")
(("1"
(assert)
(("1"
(assert)
(("1"
(inst - "i-1+k!1")
(("1" (assert) nil nil))
nil))
nil))
nil)
("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (hide 2)
(("2" (induct "j")
(("1" (assert)
(("1" (skosimp*) (("1" (assert) nil nil)) nil)) nil)
("2" (skosimp*)
(("2" (assert)
(("2" (case "k!1=0")
(("1" (assert) nil nil)
("2" (assert)
(("2" (inst-cp - "k!1-1")
(("2" (case "k!1=1")
(("1" (hide -2)
(("1" (assert)
(("1"
(inst - "i")
(("1" (assert) nil nil))
nil))
nil))
nil)
("2" (inst - "k!1-2")
(("1" (assert)
(("1"
(inst - "i-k!1+1")
(("1" (assert) nil nil))
nil))
nil)
("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("3" (skosimp*) (("3" (assert) nil nil)) nil)
("4" (assert)
(("4" (skosimp*) (("4" (assert) nil nil)) nil)) nil)
("5" (skosimp*) (("5" (assert) nil nil)) nil)
("6" (skosimp*) (("6" (assert) nil nil)) nil)
("7" (skosimp*) (("7" (assert) nil nil)) nil))
nil))
nil)
("3" (skosimp*) (("3" (assert) nil nil)) nil))
nil))
nil)
("2" (hide 2)
(("2" (skeep)
(("2" (assert)
(("2" (expand "sturm_sequence?")
(("2" (flatten)
(("2" (inst - "x" "i")
(("2" (assert)
(("2" (expand "sign_ext" -7)
(("2" (lift-if)
(("2" (lift-if)
(("2" (lift-if)
(("2" (lift-if)
(("2"
(assert)
(("2" (ground) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((IFF const-decl "[bool, bool -> bool]" booleans nil)
(polynomial const-decl "[real -> real]" polynomials "reals/")
(sequence type-eq-decl nil sequences nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(<= const-decl "bool" reals nil)
(- const-decl "[numfield, numfield -> numfield]" number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(AND const-decl "[bool, bool -> bool]" booleans nil)
(IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(bool nonempty-type-eq-decl nil booleans nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(real nonempty-type-from-decl nil reals nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(boolean nonempty-type-decl nil booleans nil)
(number nonempty-type-decl nil numbers nil)
(nnint_plus_posint_is_posint application-judgement "posint"
integers nil)
(int_minus_int_is_int application-judgement "int" integers nil)
(k!1 skolem-const-decl "nat" sturmsquarefree nil)
(OR const-decl "[bool, bool -> bool]" booleans nil)
(nat_induction formula-decl nil naturalnumbers nil)
(pred type-eq-decl nil defined_types nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(m skolem-const-decl "nat" sturmsquarefree nil)
(j skolem-const-decl "upto(m)" sturmsquarefree nil)
(i skolem-const-decl "nat" sturmsquarefree nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(real_le_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(int_plus_int_is_int application-judgement "int" integers nil)
(upto nonempty-type-eq-decl nil naturalnumbers nil)
(nnint_plus_nnint_is_nnint application-judgement "nonneg_int"
integers nil)
(k!1 skolem-const-decl "nat" sturmsquarefree nil)
(sturm_sequence? const-decl "bool" sturmsquarefree nil)
(sign_ext const-decl
"{sig: real | (sig = -1 OR sig = 1 OR sig = 0) AND sig * x = abs(x)}"
sign "reals/")
(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_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil))
shostak))
(sturm_seq_last_nonzero 0
(sturm_seq_last_nonzero-1 nil 3588410248
("" (skeep)
(("" (skeep)
((""
(case "NOT FORALL (xyzp:real): polynomial(p(m),n(m))(xyzp) = 0")
(("1" (skeep)
(("1" (expand "sturm_sequence?")
(("1" (flatten)
(("1" (inst -6 "xyz" "xyzp")
(("1" (expand "sign_ext" -6)
(("1" (assert)
(("1" (assert)
(("1" (lift-if) (("1" (assert) nil nil)) nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (lemma "polynomial_eq_coeff")
(("2" (inst - "p(m)" "LAMBDA (i:nat): 0" "n(m)")
(("2" (assert)
(("2" (flatten)
(("2" (hide -2)
(("2" (split -)
(("1" (inst - "n(m)")
(("1" (expand "sturm_sequence?")
(("1" (flatten)
(("1" (inst -5 "m") (("1" (assert) nil nil))
nil))
nil))
nil))
nil)
("2" (decompose-equality 1)
(("2" (inst - "x!1")
(("2" (assert)
(("2" (replaces -1)
(("2" (expand "polynomial" +)
(("2"
(rewrite "sigma_restrict_eq_0")
(("2"
(skosimp*)
(("2"
(assert)
(("2"
(lift-if)
(("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((polynomial_eq_coeff formula-decl nil polynomials "reals/")
(T_low type-eq-decl nil sigma "reals/")
(T_high type-eq-decl nil sigma "reals/")
(^ const-decl "real" exponentiation nil)
(/= const-decl "boolean" notequal nil)
(OR const-decl "[bool, bool -> bool]" booleans nil)
(IF const-decl "[boolean, T, T -> T]" if_def nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(sigma_restrict_eq_0 formula-decl nil sigma "reals/")
(real_times_real_is_real application-judgement "real" reals nil)
(IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
(real_le_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(upto nonempty-type-eq-decl nil naturalnumbers nil)
(<= const-decl "bool" reals nil)
(sign_ext const-decl
"{sig: real | (sig = -1 OR sig = 1 OR sig = 0) AND sig * x = abs(x)}"
sign "reals/")
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(int_minus_int_is_int application-judgement "int" integers nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(sturm_sequence? const-decl "bool" sturmsquarefree nil)
(boolean nonempty-type-decl nil booleans nil)
(bool nonempty-type-eq-decl nil booleans nil)
(NOT const-decl "[bool -> bool]" booleans nil)
(number nonempty-type-decl nil numbers nil)
(number_field_pred const-decl "[number -> boolean]" number_fields
nil)
(number_field nonempty-type-from-decl nil number_fields nil)
(real_pred const-decl "[number_field -> boolean]" reals nil)
(real nonempty-type-from-decl nil reals 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)
(>= const-decl "bool" reals nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(sequence type-eq-decl nil sequences nil)
(polynomial const-decl "[real -> real]" polynomials "reals/"))
shostak))
(sturm_seq_first_signs_eq 0
(sturm_seq_first_signs_eq-1 nil 3587370024
("" (skeep)
((""
(case "NOT (polynomial(p(0), n(0))(x) /= 0 AND
polynomial(p(0), n(0))(y) /= 0)")
(("1" (hide 2)
(("1" (inst-cp - "x")
(("1" (inst - "y") (("1" (ground) nil nil)) nil)) nil))
nil)
("2" (flatten)
(("2" (assert)
(("2" (inst-cp - "b")
(("2" (assert)
(("2" (flatten)
(("2"
(case "polynomial(poly_deriv(p(0)),max(n(0)-1,0))(b) = 0")
(("1" (expand "sturm_sequence?")
(("1" (flatten)
(("1" (inst -8 "b")
(("1" (assert)
(("1" (expand "sign_ext" -8)
(("1" (assert)
(("1"
(lift-if)
(("1" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (lemma "poly_continuous")
(("2"
(inst - "poly_deriv(p(0))" "max(n(0)-1,0)" "b"
"abs(polynomial(poly_deriv(p(0)),n(0)-1)(b))")
(("1" (skeep -)
(("1"
(case "EXISTS (deltiv:posreal): FORALL (x1:real): abs(b-x1)<deltiv IMPLIES (abs(b-x1)<delta AND x < x1 AND x1 < y)")
(("1"
(case "sign_ext(polynomial(p(0), n(0))(x)) =
-sign_ext(polynomial(poly_deriv(p(0)), max(n(0)-1,0))(b))
AND
sign_ext(polynomial(p(0), n(0))(y)) =
sign_ext(polynomial(poly_deriv(p(0)), max(n(0)-1,0))(b))")
(("1" (hide (-2 -3))
(("1"
(flatten)
(("1"
(expand "sturm_sequence?")
(("1"
(flatten)
(("1"
(inst -9 "b")
(("1" (assert) nil nil))
nil))
nil))
nil))
nil))
nil)
("2" (hide 6)
(("2"
(case
"polynomial(poly_deriv(p(0)), max(n(0)-1,0))(b)>0")
(("1"
(skeep -2)
(("1"
(case
"FORALL (x1,x2:real): abs(x1-b)<deltiv AND abs(x2-b)<deltiv AND x1<x2 IMPLIES polynomial(p(0),n(0))(x1) < polynomial(p(0),n(0))(x2)")
(("1"
(inst-cp - "b-deltiv/2" "b")
(("1"
(inst-cp - "b" "b+deltiv/2")
(("1"
(label "hyplem" -1)
(("1"
(hide "hyplem")
(("1"
(assert)
(("1"
(split +)
(("1"
(expand "sign_ext")
(("1"
(lift-if)
(("1"
(assert)
(("1"
(split 1)
(("1"
(propax)
nil
nil)
("2"
(assert)
(("2"
(hide -1)
(("2"
(split -)
(("1"
(replace
-7)
(("1"
(assert)
(("1"
(lemma
"poly_intermediate_value_dec")
(("1"
(inst
-
"p(0)"
"0"
"n(0)"
"x"
"b-deltiv/2")
(("1"
(assert)
(("1"
(split
-)
(("1"
(skeep
-1)
(("1"
(inst
-
"cc")
(("1"
(inst
-
"cc")
(("1"
(inst
-
"cc")
(("1"
(assert)
nil
nil))
nil))
nil))
nil))
nil)
("2"
(inst
-
"b-deltiv/2")
(("2"
(split
-)
(("1"
(flatten)
(("1"
(assert)
nil
nil))
nil)
("2"
(hide-all-but
1)
(("2"
(grind)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(hide-all-but
1)
(("2"
(grind)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(expand "sign_ext")
(("2"
(lift-if)
(("2"
(assert)
(("2"
(split 1)
(("1"
(assert)
(("1"
(hide -3)
(("1"
(split -)
(("1"
(replace
-8)
(("1"
(assert)
(("1"
(lemma
"poly_intermediate_value_dec")
(("1"
(inst
-
"p(0)"
"0"
"n(0)"
"b+deltiv/2"
"y")
(("1"
(assert)
(("1"
(split
-)
(("1"
(skeep
-1)
(("1"
(inst
-
"cc")
(("1"
(inst
-
"cc")
(("1"
(inst
-
"cc")
(("1"
(assert)
nil
nil))
nil))
nil))
nil))
nil)
("2"
(inst
-
"b+deltiv/2")
(("2"
(split
-)
(("1"
(flatten)
(("1"
(assert)
nil
nil))
nil)
("2"
(hide-all-but
1)
(("2"
(grind)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(hide-all-but
1)
(("2"
(grind)
nil
nil))
nil))
nil))
nil))
nil)
("2"
(propax)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(skeep)
(("2"
(lemma
"poly_strictly_increasing")
(("2"
(inst
-
"p(0)"
"n(0)"
"x1"
"x2")
(("2"
(assert)
(("2"
(case "n(0)=0")
(("1"
(replaces -1)
(("1"
(expand "polynomial")
(("1"
(expand "sigma")
(("1"
(expand "sigma")
(("1"
(propax)
nil
nil))
nil))
nil))
nil))
nil)
("2"
(assert)
(("2"
(skeep)
(("2"
(expand "max")
(("2"
(assert)
(("2"
(inst - "c")
(("2"
(assert)
(("2"
(split -)
(("1"
(inst
-
"c")
(("1"
(flatten)
(("1"
(assert)
(("1"
(expand
"abs")
(("1"
(lift-if)
(("1"
(ground)
nil
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(expand
"abs"
(-1
-2
-3
-4
-5
1))
(("2"
(lift-if)
(("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(case
"polynomial(poly_deriv(p(0)), max(n(0)-1,0))(b)<0")
(("1"
(hide 1)
(("1"
(skeep -2)
(("1"
(case
"FORALL (x1,x2:real): abs(x1-b)<deltiv AND abs(x2-b)<deltiv AND x1<x2 IMPLIES polynomial(p(0),n(0))(x1) > polynomial(p(0),n(0))(x2)")
(("1"
(inst-cp - "b-deltiv/2" "b")
(("1"
(inst-cp
-
"b"
"b+deltiv/2")
(("1"
(label "hyplem" -1)
(("1"
(hide "hyplem")
(("1"
(assert)
(("1"
(split +)
(("1"
(expand
"sign_ext")
(("1"
(lift-if)
(("1"
(assert)
(("1"
(split 1)
(("1"
(replace
-9)
(("1"
(assert)
(("1"
(lemma
"poly_intermediate_value_inc")
(("1"
(inst
-
"p(0)"
"0"
"n(0)"
"x"
"b-deltiv/2")
(("1"
(assert)
(("1"
(split
-)
(("1"
(skeep
-1)
(("1"
(inst
-
"cc")
(("1"
(inst
-
"cc")
(("1"
(inst
-
"cc")
(("1"
(assert)
nil
nil))
nil))
nil))
nil))
nil)
("2"
(inst
-
"b-deltiv/2")
(("2"
(split
-3)
(("1"
(assert)
(("1"
(hide-all-but
2)
(("1"
(grind)
nil
nil))
nil))
nil)
("2"
(hide-all-but
1)
(("2"
(grind)
nil
nil))
nil))
nil))
nil)
("3"
(assert)
(("3"
(hide-all-but
2)
(("3"
(grind)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(propax)
nil
nil))
nil))
nil))
nil))
nil)
("2"
(expand
"sign_ext")
(("2"
(lift-if)
(("2"
(assert)
(("2"
(split 1)
(("1"
(propax)
nil
nil)
("2"
(assert)
(("2"
(hide
-2)
(("2"
(split
-)
(("1"
(replace
-7)
(("1"
(assert)
(("1"
(lemma
"poly_intermediate_value_inc")
(("1"
(inst
-
"p(0)"
"0"
"n(0)"
"b+deltiv/2"
"y")
(("1"
(assert)
(("1"
(split
-)
(("1"
(skeep
-1)
(("1"
(inst
-
"cc")
(("1"
(inst
-
"cc")
(("1"
(inst
-
"cc")
(("1"
(assert)
nil
nil))
nil))
nil))
nil))
nil)
("2"
(inst
-
"b+deltiv/2")
(("2"
(split
-)
(("1"
(flatten)
(("1"
(assert)
nil
nil))
nil)
("2"
(hide-all-but
1)
(("2"
(grind)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(hide-all-but
1)
(("2"
(grind)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(skeep)
(("2"
(lemma
"poly_strictly_decreasing")
(("2"
(inst
-
"p(0)"
"n(0)"
"x1"
"x2")
(("2"
(assert)
(("2"
(case "n(0)=0")
(("1"
(replaces -1)
(("1"
(expand
"polynomial")
(("1"
(expand
"sigma")
(("1"
(expand
"sigma")
(("1"
(propax)
nil
nil))
nil))
nil))
nil))
nil)
("2"
(assert)
(("2"
(skeep)
(("2"
(expand "max")
(("2"
(assert)
(("2"
(inst
-
"c")
(("2"
(assert)
(("2"
(split
-)
(("1"
(inst
-
"c")
(("1"
(flatten)
(("1"
(assert)
(("1"
(expand
"abs")
(("1"
(assert)
nil
nil))
nil))
nil))
nil))
nil)
("2"
(expand
"abs"
(-1
-2
-3
-4
-5
1))
(("2"
(lift-if)
(("2"
(assert)
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)
("3" (assert) nil nil))
nil)
("2" (inst + "min(delta,min(b-x,y-b))")
(("1" (hide-all-but (-2 -3 1))
(("1" (grind) nil nil)) nil)
("2" (hide-all-but (-2 -3 1))
(("2" (grind) nil nil)) nil))
nil))
nil))
nil)
("2" (expand "abs" 1)
(("2" (lift-if)
(("2" (assert)
(("2" (split 1)
(("1" (propax) nil nil)
("2"
(flatten)
(("2"
(expand "sturm_sequence?")
(("2"
(flatten)
(("2"
(inst -7 "b")
(("2"
(assert)
(("2"
(case "n(0) = 0")
(("1"
(replaces -1)
(("1"
(expand
"polynomial"
(-3 4))
(("1"
(expand "sigma")
(("1"
(expand "sigma")
(("1"
(propax)
nil
nil))
nil))
nil))
nil))
nil)
("2"
(expand "max")
(("2"
(expand "sign_ext" -7)
(("2"
(lift-if)
(("2"
(lift-if)
(("2"
(lift-if)
(("2"
(lift-if)
(("2"
(lift-if)
(("2"
(lift-if)
(("2"
(lift-if)
(("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("3" (assert)
(("3" (case "n(0) = 0")
(("1" (replace -1)
(("1" (assert)
(("1"
(expand "polynomial" (-4 3))
(("1"
(expand "sigma")
(("1"
(expand "sigma")
(("1" (propax) nil nil))
nil))
nil))
nil))
nil))
nil)
("2" (assert) nil nil))
nil))
nil)
("4" (assert) nil nil))
nil))
nil)
("3" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((polynomial const-decl "[real -> real]" polynomials "reals/")
(sequence type-eq-decl nil sequences nil)
(nat nonempty-type-eq-decl nil naturalnumbers nil)
(>= const-decl "bool" reals nil)
(int nonempty-type-eq-decl nil integers nil)
(integer_pred const-decl "[rational -> boolean]" integers nil)
(rational nonempty-type-from-decl nil rationals nil)
(rational_pred const-decl "[real -> boolean]" rationals nil)
(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 "boolean" notequal nil)
(number nonempty-type-decl nil numbers nil)
(AND const-decl "[bool, bool -> bool]" booleans nil)
(NOT const-decl "[bool -> bool]" booleans nil)
(bool nonempty-type-eq-decl nil booleans nil)
(boolean nonempty-type-decl nil booleans 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)
(minus_real_is_real application-judgement "real" reals nil)
(int_minus_int_is_int application-judgement "int" integers nil)
(int_max application-judgement "{k: int | i <= k AND j <= k}"
real_defs nil)
(rat_max application-judgement "{s: rat | s >= q AND s >= r}"
real_defs nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(poly_deriv const-decl "real" polynomials "reals/")
(max const-decl "{p: real | p >= m AND p >= n}" real_defs nil)
(numfield nonempty-type-eq-decl nil number_fields nil)
(- const-decl "[numfield, numfield -> numfield]" number_fields nil)
(real_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(sign_ext const-decl
"{sig: real | (sig = -1 OR sig = 1 OR sig = 0) AND sig * x = abs(x)}"
sign "reals/")
(sturm_sequence? const-decl "bool" sturmsquarefree nil)
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(real_minus_real_is_real application-judgement "real" reals nil)
(n skolem-const-decl "[nat -> nat]" sturmsquarefree nil)
(> const-decl "bool" reals nil)
(nonneg_real nonempty-type-eq-decl nil real_types nil)
(- const-decl "[numfield -> numfield]" number_fields nil)
(abs const-decl "{n: nonneg_real | n >= m AND n >= -m}" real_defs
nil)
(p skolem-const-decl "[nat -> [nat -> real]]" sturmsquarefree nil)
(b skolem-const-decl "real" sturmsquarefree nil)
(posreal nonempty-type-eq-decl nil real_types nil)
(IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
(< const-decl "bool" reals nil)
(poly_strictly_decreasing formula-decl nil polynomials "reals/")
(poly_intermediate_value_inc formula-decl nil polynomials "reals/")
(sigma def-decl "real" sigma "reals/")
(real_times_real_is_real application-judgement "real" reals nil)
(max_nnreal_0 formula-decl nil min_max "reals/")
(poly_strictly_increasing formula-decl nil polynomials "reals/")
(nzreal_times_nzreal_is_nzreal application-judgement "nzreal"
real_types 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)
(abs_0_rew formula-decl nil abs_rews "ints/")
(nonzero_abs_is_pos application-judgement "{y: posreal | y >= x}"
real_defs nil)
(poly_intermediate_value_dec formula-decl nil polynomials "reals/")
(minus_nzreal_is_nzreal application-judgement "nzreal" real_types
nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(real_plus_real_is_real application-judgement "real" reals nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(OR const-decl "[bool, bool -> bool]" booleans nil)
(y skolem-const-decl "real" sturmsquarefree nil)
(x skolem-const-decl "real" sturmsquarefree nil)
(delta skolem-const-decl "posreal" sturmsquarefree nil)
(min const-decl "{p: real | p <= m AND p <= n}" real_defs nil)
(<= const-decl "bool" reals nil)
(even_minus_odd_is_odd application-judgement "odd_int" integers
nil)
(max_npreal_0 formula-decl nil min_max "reals/")
(poly_continuous formula-decl nil polynomials "reals/"))
shostak))
(sturm_lem_no_roots 0
(sturm_lem_no_roots-1 nil 3587229961
("" (skeep)
(("" (name "f" "polynomial(p(0),n(0))")
((""
(case "FORALL (j:nat): j<=m IMPLIES number_sign_changes(LAMBDA (i): polynomial(p(i), n(i))(x), j)`num =
number_sign_changes(LAMBDA (i): polynomial(p(i), n(i))(y), j)`num AND sign_ext(number_sign_changes(LAMBDA (i): polynomial(p(i), n(i))(x), j)`lastnz) = sign_ext(number_sign_changes(LAMBDA (i): polynomial(p(i), n(i))(y), j)`lastnz)")
(("1" (inst - "m")
(("1" (expand "sturm_sig") (("1" (assert) nil nil)) nil))
nil)
("2" (induct "j")
(("1" (assert)
(("1" (split)
(("1" (expand "number_sign_changes")
(("1" (propax) nil nil)) nil)
("2" (expand "number_sign_changes")
(("2" (replace -1)
(("2" (lemma "poly_intermediate_value_inc")
(("2" (inst - "p(0)" "0" "n(0)" "x" "y")
(("2" (assert)
(("2" (lemma "poly_intermediate_value_dec")
(("2" (inst - "p(0)" "0" "n(0)" "x" "y")
(("2" (assert)
(("2"
(split -)
(("1"
(skeep -1)
(("1"
(inst - "cc" "0")
(("1" (assert) nil nil))
nil))
nil)
("2"
(assert)
(("2"
(split -)
(("1"
(skeep -1)
(("1"
(inst - "cc" "0")
(("1" (assert) nil nil))
nil))
nil)
("2"
(replace -1)
(("2"
(hide-all-but (1 2 3))
(("2" (grind) nil nil))
nil))
nil))
nil))
nil)
("3"
(assert)
(("3"
(split -)
(("1"
(skeep -1)
(("1"
(inst - "cc" "0")
(("1" (assert) nil nil))
nil))
nil)
("2"
(expand "sign_ext")
(("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2" (skolem 1 "jj")
(("2" (hide 2)
(("2" (assert)
(("2" (flatten)
(("2" (assert)
(("2" (flatten)
(("2"
(name "G"
"LAMBDA (xx:real): LAMBDA (i): polynomial(p(i),n(i))(xx)")
(("2" (copy -1)
(("2" (decompose-equality -1)
(("2" (inst-cp - "x")
(("2"
(inst - "y")
(("2"
(replaces -1)
(("2"
(replaces -1)
(("2"
(case
"NOT sign_ext(G(x)(1+jj)) = sign_ext(G(y)(1+jj))")
(("1"
(hide 2)
(("1"
(expand "G" 1)
(("1"
(inst-cp - "x" "1+jj")
(("1"
(inst-cp - "y" "1+jj")
(("1"
(assert)
(("1"
(flatten)
(("1"
(expand
"sign_ext"
1)
(("1"
(lift-if)
(("1"
(lift-if)
(("1"
(lift-if)
(("1"
(assert)
(("1"
(ground)
(("1"
(lemma
"poly_intermediate_value_inc")
(("1"
(inst
-
"p(1+jj)"
"0"
"n(1+jj)"
"x"
"y")
(("1"
(assert)
(("1"
(skeep
-1)
(("1"
(inst
-
"cc"
"1+jj")
(("1"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(lemma
"poly_intermediate_value_dec")
(("2"
(inst
-
"p(1+jj)"
"0"
"n(1+jj)"
"x"
"y")
(("2"
(assert)
(("2"
(skeep
-1)
(("2"
(inst
-
"cc"
"1+jj")
(("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(expand
"number_sign_changes"
+)
(("2"
(assert)
(("2"
(lift-if)
(("2"
(lift-if)
(("2"
(lift-if)
(("2"
(assert)
(("2"
(ground)
(("1"
(inst
-
"y"
"1+jj")
(("1"
(assert)
(("1"
(expand
"G"
-1)
(("1"
(assert)
nil
nil))
nil))
nil))
nil)
("2"
(expand
"sign_ext"
-5)
(("2"
(assert)
(("2"
(lift-if)
(("2"
(assert)
nil
nil))
nil))
nil))
nil)
("3"
(inst
-
"x"
"1+jj")
(("3"
(assert)
(("3"
(expand
"G"
-1)
(("3"
(assert)
nil
nil))
nil))
nil))
nil)
("4"
(lift-if)
(("4"
(assert)
nil
nil))
nil)
("5"
(lift-if)
(("5"
(assert)
nil
nil))
nil)
("6"
(expand
"sign_ext"
-5)
(("6"
(assert)
(("6"
(lift-if)
(("6"
(assert)
nil
nil))
nil))
nil))
nil)
("7"
(lift-if)
(("7"
(assert)
nil
nil))
nil)
("8"
(lift-if)
(("8"
(lift-if)
(("8"
(assert)
(("8"
(split +)
(("1"
(propax)
nil
nil)
("2"
(flatten)
(("2"
(lift-if)
(("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("9"
(lift-if)
(("9"
(lift-if)
(("9"
(lift-if)
(("9"
(assert)
nil
nil))
nil))
nil))
nil)
("10"
(lift-if)
(("10"
(assert)
nil
nil))
nil)
("11"
(lift-if)
(("11"
(lift-if)
(("11"
(lift-if)
(("11"
(assert)
nil
nil))
nil))
nil))
nil)
("12"
(lift-if)
(("12"
(lift-if)
(("12"
(lift-if)
(("12"
(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)
((polynomial const-decl "[real -> real]" polynomials "reals/")
(sequence type-eq-decl nil sequences 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 "[T, T -> boolean]" equalities 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)
(pred type-eq-decl nil defined_types nil)
(nat_induction formula-decl nil naturalnumbers nil)
(poly_intermediate_value_dec formula-decl nil polynomials "reals/")
(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_ge_is_total_order name-judgement "(total_order?[real])"
real_props nil)
(poly_intermediate_value_inc formula-decl nil polynomials "reals/")
(NOT const-decl "[bool -> bool]" booleans nil)
(+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
(G skolem-const-decl "[real -> [nat -> real]]" sturmsquarefree nil)
(real_minus_real_is_real application-judgement "real" reals nil)
(int_minus_int_is_int application-judgement "int" integers nil)
(posint_plus_nnint_is_posint application-judgement "posint"
integers 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)
(sturm_sig const-decl "nat" sturmsquarefree nil)
(IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
(<= const-decl "bool" reals nil)
(AND const-decl "[bool, bool -> bool]" booleans nil)
(NSC type-eq-decl nil number_sign_changes nil)
(number_sign_changes def-decl "NSC" number_sign_changes nil)
(OR const-decl "[bool, bool -> bool]" booleans 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)
(nonneg_real nonempty-type-eq-decl nil real_types nil)
(abs const-decl "{n: nonneg_real | n >= m AND n >= -m}" real_defs
nil)
(sign_ext const-decl
"{sig: real | (sig = -1 OR sig = 1 OR sig = 0) AND sig * x = abs(x)}"
sign "reals/"))
shostak))
(sturm_lem_one_root 0
(sturm_lem_one_root-2 nil 3587808579
(""
(case " FORALL (b: real, dd,j, m: nat, n: [nat -> nat],
p: [nat -> [nat -> real]], x, y: real): j<=dd AND
x < y AND x < b AND b < y
AND (FORALL (c: real, i: nat):
i <= m AND
x <= c AND c <= y AND polynomial(p(i), n(i))(c) = 0
IMPLIES c = b) AND (FORALL (c:real): x<=c AND c<=y AND polynomial(p(0),n(0))(c)=0 IMPLIES
(polynomial(p(1),n(1))(c)/=0))
AND j <= m AND polynomial(p(j), n(j))(b) /= 0 AND sturm_sequence?(p, n, m)
IMPLIES
LET nsc =
LAMBDA (xyz: real, pj: nat):
number_sign_changes(LAMBDA
(i):
polynomial(p(i), n(i))(xyz),
pj)
IN
sign_ext(nsc(x, j)`lastnz) = sign_ext(nsc(y, j)`lastnz)
AND
nsc(x, j)`num =
nsc(y, j)`num +
(IF polynomial(p(0), n(0))(b) = 0 THEN 1 ELSE 0 ENDIF)")
(("1" (skeep)
(("1" (inst - "b" "j" "j" "m" "n" "p" "x" "y")
(("1" (assert)
(("1" (replace -5)
(("1" (replace -6) (("1" (propax) nil nil)) nil)) nil))
nil))
nil))
nil)
("2" (hide 2)
(("2" (induct "dd")
(("1" (assert) nil nil)
("2" (skeep)
(("2" (assert)
(("2" (case "NOT j = 0")
(("1" (assert) nil nil)
("2" (hide -2)
(("2" (replaces -1)
(("2" (expand "number_sign_changes")
(("2" (expand "sign_ext" 2)
(("2" (lift-if)
(("2" (lift-if)
(("2" (lift-if)
(("2" (lift-if)
(("2"
(assert)
(("2"
(ground)
(("1"
(lemma
"poly_intermediate_value_inc")
(("1"
(inst
-
"p(0)"
"0"
"n(0)"
"x"
"y")
(("1"
(assert)
(("1"
(skeep -)
(("1"
(inst - "cc" "0")
(("1" (assert) nil nil))
nil))
nil))
nil))
nil))
nil)
("2"
(lemma
"poly_intermediate_value_dec")
(("2"
(inst
-
"p(0)"
"0"
"n(0)"
"x"
"y")
(("2"
(assert)
(("2"
(skeep -)
(("2"
(inst - "cc" "0")
(("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil)
("3"
(lemma
"poly_intermediate_value_dec")
(("3"
(inst
-
"p(0)"
"0"
"n(0)"
"x"
"y")
(("3"
(assert)
(("3"
(skeep -)
(("3"
(inst - "cc" "0")
(("3" (assert) nil nil))
nil))
nil))
nil))
nil))
nil)
("4"
(inst - "x" "0")
(("4" (assert) nil nil))
nil)
("5"
(inst - "x" "0")
(("5" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("3" (skolem 1 "jj")
(("3" (flatten)
(("3" (skeep)
(("3" (assert)
(("3" (case "NOT j = 1+jj")
(("1" (inst - "b" "j" "m" "n" "p" "x" "y")
(("1" (assert)
(("1" (replace -6)
(("1" (replace -7) (("1" (propax) nil nil))
nil))
nil))
nil))
nil)
("2" (replaces -1)
(("2" (assert)
(("2" (inst-cp - "x" "jj")
(("2" (assert)
(("2" (inst-cp - "y" "jj")
(("2" (assert)
(("2"
(inst-cp - "x" "1+jj")
(("2"
(assert)
(("2"
(inst-cp - "y" "1+jj")
(("2"
(assert)
(("2"
(case
"polynomial(p(jj),n(jj))(b)/=0")
(("1"
(flatten)
(("1"
% ----------% (x0,y0) a (x1,y1)
-
"b"
"jj"
"m"
"n"
""
"x"
"y")
""
(1
(replace -6
(("1"
(replace -7)
(("1"
(flatten)
(("1"
(split +)
(("1"
(assert)
(("1"
(expand
"number_sign_changes"
+)
(("1"
(assert)
(("1"
(hide -2)
(("1"
(expand
"sign_ext"
1)
(("1"
(lift-if)
(("1"
(lift-if)
(("1"
(lift-if)
(("1"
(assert)
(("1"
(ground)
(("1"
(lemma
"poly_intermediate_value_inc")
(("1"
(inst
-
"p(1+jj)"
"0"
"n(1+jj)"
"x"
"y")
(("1"
(assert)
(("1"
(skeep
-1)
(("1"
(inst
-
"cc"
"1+jj")
(("1"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(lemma
"poly_intermediate_value_dec")
(("2"
(inst
-
"p(1+jj)"
"0"
"n(1+jj)"
"x"
"y")
(("2"
(assert)
(("2"
(skeep
-1)
(("2"
(inst
-
"cc"
"1+jj")
(("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(invoke
(name
"SQUAB"
"%1")
(! 1 2 2))
(("2"
(replace -1)
(("2"
(label
"SQUABname"
-1)
(("2"
(hide
"SQUABname")
(("2"
(expand
"number_sign_changes"
+)
(("2"
(expand
"sign_ext"
-1)
(("2"
(assert)
(("2"
(lift-if)
(("2"
(lift-if)
(("2"
(lift-if)
(("2"
(assert)
(("2"
(ground)
(("1"
(expand
"sign_ext")
(("1"
(lift-if)
(("1"
(ground)
(("1"
(lemma
"poly_intermediate_value_dec")
(("1"
(inst
-
"p(1+jj)"
"0"
"n(1+jj)"
"x"
"y")
(("1"
(assert)
(("1"
(skeep
-1)
(("1"
(inst
-
"cc"
"1+jj")
(("1"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(expand
"sign_ext")
(("2"
(lift-if)
(("2"
(assert)
(("2"
(ground)
(("2"
(lemma
"poly_intermediate_value_inc")
(("2"
(inst
-
"p(1+jj)"
"0"
"n(1+jj)"
"x"
"y")
(("2"
(assert)
(("2"
(skeep
-1)
(("2"
(inst
-
"cc"
"1+jj")
(("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("3"
(assert)
(("3"
(lift-if)
(("3"
(assert)
nil
nil))
nil))
nil)
("4"
(expand
"sign_ext")
(("4"
(lift-if)
(("4"
(assert)
(("4"
(ground)
(("4"
(lemma
"poly_intermediate_value_inc")
(("4"
(inst
-
"p(1+jj)"
"0"
"n(1+jj)"
"x"
"y")
(("4"
(assert)
(("4"
(skeep
-1)
(("4"
(inst
-
"cc"
"1+jj")
(("4"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("5"
(expand
"sign_ext")
(("5"
(lift-if)
(("5"
(assert)
(("5"
(ground)
(("5"
(lemma
"poly_intermediate_value_dec")
(("5"
(inst
-
"p(1+jj)"
"0"
"n(1+jj)"
"x"
"y")
(("5"
(assert)
(("5"
(skeep
-1)
(("5"
(inst
-
"cc"
"1+jj")
(("5"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("6"
(lift-if)
(("6"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(flatten)
(("2"
(label "hyplem" -2)
(("2"
(hide "hyplem")
(("2"
(copy -9)
(("2"
(expand
"sturm_sequence?"
-1)
(("2"
(flatten)
(("2"
(hide
(-1 -2 -3 -5))
(("2"
(inst
-
"b"
"jj")
(("2"
(assert)
(("2"
(case
"jj = 0")
(("1"
(hide -2)
(("1"
(replaces
-1)
(("1"
(assert)
(("1"
(split
+)
(("1"
(expand
"number_sign_changes"
+)
(("1"
(lift-if)
(("1"
(expand
"sign_ext"
+)
(("1"
(lift-if)
(("1"
(lift-if)
(("1"
(lift-if)
(("1"
(assert)
(("1"
(ground)
(("1"
(lemma
"poly_intermediate_value_inc")
(("1"
(inst
-
"p(1)"
"0"
"n(1)"
"x"
"y")
(("1"
(assert)
(("1"
(skeep
-1)
(("1"
(inst
-
"cc"
"1")
(("1"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(lemma
"poly_intermediate_value_dec")
(("2"
(inst
-
"p(1)"
"0"
"n(1)"
"x"
"y")
(("2"
(assert)
(("2"
(skeep
-1)
(("2"
(inst
-
"cc"
"1")
(("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(case
"sign_ext(polynomial(p(0),n(0))(x))/=sign_ext(polynomial(p(0),n(0))(y))")
(("1"
(flatten)
(("1"
(expand
"number_sign_changes"
2)
(("1"
(expand
"number_sign_changes"
2)
(("1"
(lift-if)
(("1"
(lift-if)
(("1"
(lift-if)
(("1"
(assert)
(("1"
(ground)
(("1"
(expand
"sign_ext")
(("1"
(lift-if)
(("1"
(lift-if)
(("1"
(lift-if)
(("1"
(assert)
(("1"
(ground)
(("1"
(lemma
"poly_intermediate_value_dec")
(("1"
(inst
-
"p(1)"
"0"
"n(1)"
"x"
"y")
(("1"
(assert)
(("1"
(skeep
-1)
(("1"
(inst
-
"cc"
"1")
(("1"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(lemma
"poly_intermediate_value_inc")
(("2"
(inst
-
"p(1)"
"0"
"n(1)"
"x"
"y")
(("2"
(assert)
(("2"
(skeep
-1)
(("2"
(inst
-
"cc"
"1")
(("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(lemma
"sturm_seq_first_signs_eq")
(("2"
(inst
-
"b"
"m"
"n"
"p"
"x"
"y")
(("2"
(assert)
(("2"
(split
-)
(("1"
(flatten)
(("1"
(expand
"sign_ext")
(("1"
(lift-if)
(("1"
(lift-if)
(("1"
(lift-if)
(("1"
(assert)
(("1"
(ground)
(("1"
(lemma
"poly_intermediate_value_inc")
(("1"
(inst
-
"p(1)"
"0"
"n(1)"
"x"
"b")
(("1"
(assert)
(("1"
(skeep
-1)
(("1"
(inst
-
"cc"
"1")
(("1"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(lemma
"poly_intermediate_value_dec")
(("2"
(inst
-
"p(1)"
"0"
"n(1)"
"x"
"b")
(("2"
(assert)
(("2"
(skeep
-1)
(("2"
(inst
-
"cc"
"1")
(("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(skeep)
(("2"
(inst
-
"c"
"0")
(("2"
(assert)
(("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(flatten)
(("2"
(expand
"sign_ext"
-1)
(("2"
(lift-if)
(("2"
(lift-if)
(("2"
(lift-if)
(("2"
(assert)
(("2"
(ground)
(("1"
(lemma
"square_free_max")
(("1"
(case
"n(0) = 0")
(("1"
(replaces
-1)
(("1"
(expand
"polynomial")
(("1"
(expand
"sigma")
(("1"
(expand
"sigma")
(("1"
(propax)
nil
nil))
nil))
nil))
nil))
nil)
("2"
(inst
-
"p(0)"
"min(y-b,b-x)"
"b"
"0"
"n(0)")
(("1"
(assert)
(("1"
(split
-)
(("1"
(copy
-12)
(("1"
(expand
"sturm_sequence?"
-1)
(("1"
(flatten)
(("1"
(hide
-2)
(("1"
(inst
-2
"b")
(("1"
(assert)
(("1"
(expand
"max"
-2)
(("1"
(expand
"sign_ext"
-2)
(("1"
(lift-if)
(("1"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(skosimp*)
(("2"
(case
"x!1 = b")
(("1"
(assert)
nil
nil)
("2"
(case
"x!1 < b")
(("1"
(lemma
"poly_intermediate_value_inc")
(("1"
(inst
-
"p(0)"
"0"
"n(0)"
"x"
"x!1")
(("1"
(assert)
(("1"
(skeep
-1)
(("1"
(inst
-
"cc"
"0")
(("1"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(lemma
"poly_intermediate_value_dec")
(("2"
(inst
-
"p(0)"
"0"
"n(0)"
"x!1"
"y")
(("2"
(assert)
(("2"
(skeep
-1)
(("2"
(inst
-
"cc"
"0")
(("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(assert)
nil
nil)
("3"
(assert)
(("3"
(expand
"min"
1)
(("3"
(lift-if)
(("3"
(ground)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(lemma
"square_free_min")
(("2"
(inst
-
"p(0)"
"min(y-b,b-x)"
"b"
"0"
"n(0)")
(("1"
(assert)
(("1"
(split
-)
(("1"
(copy
-10)
(("1"
(expand
"sturm_sequence?"
-1)
(("1"
(flatten)
(("1"
java.lang.StringIndexOutOfBoundsException: Index 105 out of bounds for length 105
-2java.lang.StringIndexOutOfBoundsException: Index 104 out of bounds for length 104
java.lang.StringIndexOutOfBoundsException: Index 105 out of bounds for length 105
(T_pred condecl [-boolean")
Gjava.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Range [37, 25) out of bounds for length 67
1 k 1)
java.lang.StringIndexOutOfBoundsException: Range [112, 111) out of bounds for length 112
"
java.lang.StringIndexOutOfBoundsException: Range [49, 50) out of bounds for length 49
0 0)
"
(
(1"
(java.lang.StringIndexOutOfBoundsException: Index 115 out of bounds for length 57
"polynomial")
(("1"
(2
)
java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 66
constjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 59
(java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 49
decl" niljava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
( )(1 inst nil)
nil))
)
const " java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 60
nil)
("2"
(expand
java.lang.StringIndexOutOfBoundsException: Range [26, 21) out of bounds for length 49
-2)
(("2"
(assert)
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 9
-2)
(assert)
nil
replace
nil))
nil))+
nil))
nil))
nil))
nil))
nil))
(assertjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
nilnil
nil)
("2"
(skosimp*)
(("2"
(case
k*12+)*!2 java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
(assert)
nil
nil)
(case
"x!1 < b")
name--judgement
java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 62
(("1"
java.lang.StringIndexOutOfBoundsException: Range [45, 41) out of bounds for length 46
)
"p(0)"
"0"
- [,- java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 56
"x"
"x!1")
"
( java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 35
(1"
)
(("1"
(inst
- ""(")
l java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 47
(("1"
(((""
java.lang.StringIndexOutOfBoundsException: Index 113 out of bounds for length 113
((1java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
nilENDIF ( :
"java.lang.StringIndexOutOfBoundsException: Range [72, 70) out of bounds for length 72
nil))
java.lang.StringIndexOutOfBoundsException: Index 95 out of bounds for length 76
(lemma
"poly_intermediate_value_inc(assertjava.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
(
(""
-
"n !"
"x!1"
"y")
( (apply
(assert)
(("2"
(
nil))))))))))))))))))))
(("2"
"java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
-
"cc"
"0")
(("2"
( "
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(case
"n(0) = 0"java.lang.StringIndexOutOfBoundsException: Index 102 out of bounds for length 102
(hide
(replaces
-1)
(("1"
expand
"polynomial"
(nil)
+))
1
(expand
" -)
(("1"
(expand
")
(propax)
nil
nil))
nil))
nil)
nil))
nil)
("2"
(assert)
nil
nil))
nil)
("3"
(expand
"min"
1)
("java.lang.StringIndexOutOfBoundsException: Index 95 out of bounds for length 95
(lift-if)
(("3"
nil
nil)
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
nil))
nil)
("2"
(assert)
(("2"
(case
"polynomial(p(jj - 1), n(jj - 1))(b) /= 0")
java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 58
(case
"sign_ext(polynomial(p(jj - 1), n(jj - 1))(b))=java.lang.StringIndexOutOfBoundsException: Index 121 out of bounds for length 48
""
)
(("1"
(case
"sign_ext(polynomial(p(1 + jj), n(1 + jj))(b))=sign_ext(polynomial(p(1 + jj), (number nonempty--decl nil numbers nil)
java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
)
(("1"
assert)
(("1"
(split
! 0 x!
(1"
""
" (""
1)
(("1"
(lift-if)
(("1"
(assert)
nil
nil))
nil))
)
java.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 55
-2
(("2"
:dir
(name
"SQUAB"
(lemma
(!
1
2
2))
(("2"
(replaces
-1)
(("2"
(case
"sign_ext(polynomial(p(jj), n(jj))(x)) =
java.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 97
(("1"
(ase
"number_sign_changes(LAMBDA (i): polynomial(p(i), n(i))(x),
jj-1)`num
=
number_sign_changes(java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 64
jj-1)`num
(""
(("1"
(expand
sign_ext"
(1)
(lift-if)
(("1java.lang.StringIndexOutOfBoundsException: Index 95 out of bounds for length 95
(lift-if)
(("1"
(lift-if)
(("1"
(assert)
(1 (lift-if)
(ground)
(("1"
(expand
"number_sign_changes"
+)
(("1"
(expand
assert)
+)
(("1"
(expand
a(!) 1)
(lift-if)
(("1"
(lift-if)
(("1"
(lift-if)
(("1"
(assert)
(("1"
(ground)
((
(("1"
(assert)
(("1"
(ground)
(("1"
(expand
"number_sign_changes"
(-1
+))
(("1java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
(assert)
(("1"
(lift-if)
(("1"((2
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(expand
"number_sign_changes"
-1)
(("2"
(("2"
(lift-if)
java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
( (a- "real"seriesjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
(pow_rewdeclnilnil)
nil))
nil))
nil))
nil)
("3"
(lift-if)
(("3"
(assert)
(ground)
(("3"
(expand
"number_sign_changes
-1)
(("3"
(1 ( )
(("3"
(lift-if)
(("3"
(assert)
nil ("
nil(-java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
nil))
))
nil))
nil))
r - )
nil))
nil))
"abs_hat")
nil))
nil))
nil))
nil))
nil)
("2"
(expand
"number_sign_changes"
+)
(("2"
(expand
"number_sign_changes"
2
(("2"
(expand
"java.lang.StringIndexOutOfBoundsException: Index 113 out of bounds for length 53
(("2"
(lift-if)
(("2"
(lift-if)
(("2"
(lift-if)
(("2"
(assert)
(("2"
java.lang.StringIndexOutOfBoundsException: Index 122 out of bounds for length 122
(("1"
(lift-if)
(("1"
(assert)
(("1"
(ground)
(("1"
(expand
"number_sign_changes"
1)
1java.lang.StringIndexOutOfBoundsException: Index 127 out of bounds for length 127
(assert)
(("1"
java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(expand
abs(a!1(2+n java.lang.StringIndexOutOfBoundsException: Range [177, 176) out of bounds for length 184
-1)
(("2"
(assert)
(("2"
(("2"
(assert)
nil
nil))
nil))
nil))
nil)
("3"
(lift-if)
(("3"
(assert)
(("3"
(ground)
java.lang.StringIndexOutOfBoundsException: Index 100 out of bounds for length 81
(expand
"number_sign_changes"
2
(("3"
java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
(("3"
(lift-if)
(("3"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("4"
(expand
"number_sign_changes"
-)
(("4"
(assert)
(("4"
)
(("4"
(assert)
nil
nil))
nil))
nil))
nil)
("5"
(("5"
)
(("5"
(split
2
(("1"
"number_sign_changes"
-1)
(("1"
(java.lang.StringIndexOutOfBoundsException: Range [0, 131) out of bounds for length 59
(("1"
(lift-if)
(("1"
(split
-2)
(("1"
nil
("2"
(flatten)
(("2"
(expand
"number_sign_changes"
1)
(("2"
(assert)
(("2"
(lift-if)
(("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
2
(nteger_pred const- [rational - ] nil)
- )
integers )
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("3"
(expand
"number_sign_changes"
+)
(("3
(expand
"number_sign_changes"
+)
(("3"
(expand
"sign_ext")
(("3"
(lift-if)
(("3"
(lift-if)
(("3"
- power_series_deriv_scaf java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
(("3"
(assert)
(1 )
(ground)
((""
(lift-if)
(("1"
(split
2)
(("1"
(flatten)
(("1"
(expand
"number_sign_changes"
-1)
(("1"
(assert)
(("1"
(lift-if)
(("1"
(assert)
IF
java.lang.StringIndexOutOfBoundsException: Index 131 out of bounds for length 131
nil))
nil))
nil)
("2"
(propax)
)
nil))
nil))
nil)
("2"
(expand
"java.lang.StringIndexOutOfBoundsException: Index 130 out of bounds for length 54
-1)
(("2"
(("2"
(lift-if)
"(1,) pn
(assert)
nil
nil))
nil))
nil))
nil)
("3"
(expand
"number_sign_changes"
IF k = 0THEN(1 *2 (a12)
( )* abs(1 +k 2+
(assert)
(("3"
(lift-if)
(("3"
(assert)
nil))
nil))
nil))
nil)
("4"
(expand
"number_sign_changes"
-1)
(("4"
(assert)
(("4"
(("4"
(assert)
(double;
nil))
nil)
("5"
(lift-if)
(("5"
(split
(("1"
(expand
"number_sign_changes"
-1)
(("1"
(assert)
(("1"
(lift-if)
(("1"
nil
)
)
("2"
(split
-2)
java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
(assert)
nil
nil))
nil))
nil)
("2"
(assert)
nil
nil))
nil))
nilnil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("4"
(expand
"number_sign_changes"
+)
(("4"
(expand
+)
(expand
"sign_ext")
(("4"
(lift-if)
(lift-if)
(("4"
(lift-if)
(("4"
(assert)
(("4"
(ground)
(("1"
(lift-if)
(("1"
2)
(("1"
(propax)
nil)
("2"
(flatten)
(("2"
(expand
"number_sign_changes"
1)
(("2"
(assert)
( nil))
(lift-if)
(("2"
(assert)
nil
java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
nil))
nil))
nil))
nil ((2
("2"
java.lang.StringIndexOutOfBoundsException: Range [116, 117) out of bounds for length 25
"number_sign_changes"
-1)
(("2"
(assert)
(("2"
(lift-if)
(("2"
(assert)
nil
nil))
nil))
nil))
nil)
("3"
(lift-if)
(("3"
(split
-)
(("1"
(flatten
(("1"
(expand
ELSEabs(k) abs(k )*
-1)
(assert((""
lemma end_series_conv)
nil))
nil))
nil)
("2"
(assert)
(("2"
(flatten)
(("2"
(split
-)
(("1"
(expand
"number_sign_changes"
-1)
(("1"
(assert)
(("1"
(lift-if
(("1"
(assertALPH ^ k
nil
nil))
nil))
nil))
nil)
("2"
(propax)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
-3
nil))
nil))
nil))
nil))
nil)
("2"
(hide
2)
(("2"
(reveal
"hyplem")
(("2"
)
(("2"
(inst
-
"jj-1")
(("2"
(assert)
(("2"
(replace
-13)
(("2"
(replace
-14)
(("2"
(flatten)
(("2"
(expand
"SQUAB") (""
(("2"
(propax)
nil
nil)
nil))
nil))
nil))
nil))
nil)
nil))
nil))
nil))
nil))
nil)
(case1)
"NOT sign_ext(polynomial(p(jj), n(jj))(x)) =
sign_ext(polynomial(p(jj), n(jj))(y))")
(("1"
(expand
"sign_ext"
!2+2 2*x2 !( +x!2)*( x!)* (2+x!)"
2))
(((("1java.lang.StringIndexOutOfBoundsException: Index 89 out of bounds for length 89
"a!(2 + x!2)+ a!( x!)*x =(1+!)a!1( x!))
(lift-if)
(("1
(("1"
(ground)
nil
nil))
nil))
nil))
nil)
("2
)
1)
(("2"
(case
"number_sign_changes(LAMBDA (i): polynomial(p(i), n(i))(x),
jj-1)`num
=
number_sign_changes(LAMBDA (i): polynomial(p(i), n(i))(y),
"
+ SQUAB")
(("1"
expand
"sign_ext")
(("1"
(lift-if)
(("1"
(lift-if)
(("1"
(lift-if)
(("1"
(assert)
)
(ground)
(("1"
(expand
"number_sign_changes"
+)
(("1"
(expand
"number_sign_changes"
+)
( (): =IMPLIESi(()=)
(""
)
,)
(lift-if)
1
lift-if)
(("1"
(assert)
(("1"
(java.lang.StringIndexOutOfBoundsException: Index 121 out of bounds for length 39
(("1"
(lift-if)
(("1"
(assert)
(("1"
(ground)
(("1"
(expand
"number_sign_changes"
-1)
(("1"
(assert)
(("1"
(lift-if)
(("1"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(lift-if)
( * ^(k- 2))
(assert)
(("2"
(split
-)
(("1"
(expand
"number_sign_changes"
-1)
(("1"
(("1"
(lift-if)
(("1"
(assert)
nil))
nil))
nil))
("2"
=(AMBDA
nil
nil))
nil))
nil))
nil)
("3"
(expand
"number_sign_changes"
-1)
(("3"
(assert)
(("3"
(lift-if)
(("3"
(assert)
nil
nil))
nil))
nil))
nil)
("4"
(lift-if)
(("4"
(split
-)
(("1"
(expand
"number_sign_changes"
-1)
(("1"
(assert)
(("1"
(lift-if)
(("1"
(assert)
nil
)
2"( )java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
nil)
("2"
(flatten)
(("2"
(expand
"number_sign_changes"
1)
(("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(expand
"number_sign_changes"
+)
(("2"
(expand
"number_sign_changes"
+)
(("2"
(expand
"sign_ext")
(("2"
(lift-if)
(("2"
")
(("2"
(lift
(("2"
(assert)
(("2"
() *abs( -1)*
(("1"
(expand
"number_sign_changes"
-1)
(("1"
(assert)
(("1"
(("1"
(assert)
nil
nil))
nil))
nil)
("2"
(lift-if)
(("2"
(assert)
(("2"
(split
-)
nil))
(splitnil))
(("1"
(propax)
nil
nil)
("2"
(expand
"number_sign_changes"
-1)
(("2"
(assert)
(("2"
(lift-if)
(("2"
"number_sign_changes"
1)
(("2"
(assert)
(("2"
(lift-if
(("2"
(assert)
nil
nil)abs(!()* ALPH ^ (k - 2)
nil))
nil))
nil))
nil))
nil))
nil))
nil)
!1 ALPH"
(propax)
nil
nil))
nil))
nil))
nil)
("3"
(expand
"number_sign_changes"
-1)
)=powerseq(LAMBDA
(assert)
(("3"
(lift-if)
(("3"
(assert)
nil
nil))
nil))
nil))
nil)
4java.lang.StringIndexOutOfBoundsException: Index 123 out of bounds for length 123
(lift-if)
(("4"
-)
(("1"
(split
2)
((
""
nil)
""
(flatten)
(("2"
(expand
"number_sign_changes"
1)
(("2"
(assert(("2"
(("2"
(lift-if)
(("2"
(assert)
nil))
nil))
nil))
nil))
nil))
il)
("2"
(flatten (("2"
(("2"
(split
+)
(("1"
(propax)
nil
nil)
("2"
(flatten)
(("2"
(expand
"number_sign_changes"
1)
(("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
)
nil))
-1
nil))
nil)
("3"
(expand
"number_sign_changes"
+)
(("3"
(expand
"number_sign_changes"
+)
(("3"
(expand
"sign_ext")
(("3"
(lift-if)
(("3"
(lift-if)
(("3"
("1java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
(("3"
(assert)
(("3"
(ground)
(( java.lang.StringIndexOutOfBoundsException: Range [91, 92) out of bounds for length 91
(expand
"number_sign_changes"
-1)
(("1"
(assert)
(lift-if)
(("1"
(assert
nil
nil))
nil))
nil))
nil)
("2"
(lift-if)
(("2"
(split
)
(java.lang.StringIndexOutOfBoundsException: Index 130 out of bounds for length 79
(("1"
(expand
"number_sign_changes"
-1(hide
(("1"
(assert)
4"
(lift-if)
(("1"
(assert)
nil
nil))
nil))
nil))
nil))
nil)
("2"
(propax)
nil))
nil))
nil)
("3"
-1)
(("3"
(assert)
(("3"
(lift-if)
(("3"
(assert)
nil
nil)
nil))
nil))
nil)
("4"
(lift-if)
(("4"
(split
+)
(("1"
(flatten)
(("1"
(expand
"number_sign_changes"
-1)
(("1"
(assert)
(("1"
-)
(("1"
(assert)
nil
nil))
nil))
nil))
nil))
nil)
("2"
(propax)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("4"
(expand
"number_sign_changes"
+)
(("4"
(expand
"number_sign_changes"
+)
(("4"
(expand
"sign_ext")
(("4"
(lift-ifL :h1)
(("4"
(lift-if)
(("4"
(lift-if)
(("4"
((""
(ground)
(("1"
(expand
-1)
(("1"
(assert)
(("1"
(lift-if)
(("1"
(assert)
nil
java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
nil))
nil))
nil "ball
("2"
(lift-if)
(("2"
( (""
-)
(("1"
(flatten)
(("1"
(expand
-1)
(assert)
nil
nil))
nil))
("2"
java.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
(("2"
(flatten)
(("2"
(split
-)
(("1"
)
"number_sign_changes"
-1)
(("1"
(assert)
(("1"
( "TK"
(("1"
(assert)
nil
nil))
)
nil))
nil)
("2"
nil
nil))
nil))
)
nil))
nil)
("3"
(expand
"java.lang.StringIndexOutOfBoundsException: Index 127 out of bounds for length 73
-1)
(("3"
(assert)
%------------------------------------------------------------------------------
(""
(assert)
nil
nil))
nil))
nil))
nil)
("4"
(lift-if)
(("4"
(split
-)
(("1"
(flatten)
(("1"
(expand
"number_sign_changes"
-1)
(assert)
nil
nil))
nil))
nil)
(flatten)
(split
-)
(("1"
(expand
"number_sign_changes"
-1)
(("1"
(assert)
(("1"
(lift-if)
(("1"
(("1"
nil
nil))
nil))
nil)
("2"
(flatten)
(("2"
"number_sign_changes"
1)
(("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil))
nil))
(assert)
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(assert)
(("2"
(hide
2)
(("2"
(reveal
"hyplem")
java.lang.StringIndexOutOfBoundsException: Index 101 out of bounds for length 101
(inst?)
(("2"
(inst
-
"jj-1")
(("2"
(assert)
"absPKM1!1) /= 0"
(replace
-13)
(replace
-14)
(("2"
(flatten)
(("2"
(expand
"SQUAB")
(("2"
(propax)
nil
nil))
nil))
nil))
nil))
""
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil) ))
("2"
(case
"FORALL (x1,x2:real): x<=x1 AND x1<x2 AND x2<=y IMPLIES sign_ext(polynomial(p(1 + jj), n(1 + jj))(x1)) =
sign_ext(polynomial(p(1 + jj), n(1 + jj 2"
(("1"
(inst-cp
"x"
"b")
(("1"
(inst
"b"
(("1"
(assert)
nil nil)
nil))
nil))
nil)
("2"
(hide
2)
(("2"
(skeep)
(("2"
(label
"squiggy"
9)
(("2"
(hide
"squiggy")
(("2"
(expand
"sign_ext"
1)
(("2"
(lift-if)
(("2"
if)
(("2"
(lift-if)
(("2"
(lift-if)
(("2"
(assert)
(("2"
(ground)
(("1"
(lemma
"poly_intermediate_value_inc")
(("1"
(inst
-
"p(1+jj)"
"0"
"n(1+jj)"
"x1"
"x2")
(("1"
(assert)((""
(("1"
(skeep
-java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 84
(("1"
(inst
-
"cc"
"1+jj")
(("1"
(ssert)
nil
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(lemma
"poly_intermediate_value_dec")
(("2"
(inst
-
"p(1+jj)"
"0"
"n(1+jj)"
"x1"
(lemma
(("2"
(assert)
(("2"
(skeep
-)
(("2"
(inst
-
"cc"
"1+jj")
(("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil)
("3"
(inst
-
"x2")
(("3"
(inst
-
"1+jj")
(("3"
(assert)
nil
nil))
nil))
nil)
("4"
(inst
-
"x1"
"1+jj")
(("4"
(assert)
nil
nil))
nil)
("5"
(inst
-
"x1"
"1+jj")
(("5"
(assert)
2)
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)java.lang.StringIndexOutOfBoundsException: Range [83, 84) out of bounds for length 83
(hide
nil))
nil))
nil))
nil)
("2"
(label
"squiggy"
8)
(("2"
(hide
"squiggy")
^)java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
(jj ) n(j -)))")
(("1"
(inst
-
mapcar#( () (hide
(freshlabels
"(replace
(inst
nn)
"b"
""
(("1"
(assert)
nil
nil)l(fn (f )
( #lambda ()(ormatnil"a idx) b expr))
nil)
("2"
(fns( ( quant 0
deg (el_ relstr)(elvar_ relvarstr))
skeep)
**))
"sign_ext"
1)
(("2"
(lift-if)
(("2"
(lift
printf "Left- and hand polynomials appeartobe different")))java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
java.lang.StringIndexOutOfBoundsException: Index 93 out of bounds for length 93
(("2"
(lift-if)
(("2"
(assert)
(("2"
(ground)
(("1"
(lemma
"poly_intermediate_value_inc")
(("1"
(inst
-
"p(jj-1)"
"0"
)java.lang.StringIndexOutOfBoundsException: Index 104 out of bounds for length 104
"x1"
"x2")
(("1"
(assert)
(("1"
(skeep
-1)
(("1"
(inst
-
"
"jj-1")
(("1"
(assert)
nil
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(lemma
"poly_intermediate_value_dec")
(("2"
(inst
-
(lemma
"0"
"n(jj-1)"
"x1"
"x2")
(("2"
(assert)
(("2"
(skeep
-)
(("2"
(inst
-
"cc"
"jj-1")
(("2"
(assert)
nil
nil))
nil))
nil))
nil))
nil)
("3"
(inst
-
"x2"
"(x!1 TK)"
(("3"
(assert)
nil
nil))
nil)
("4"
(inst
-
"x1"
"jj-1")
(("4"
(assert)
nil
nil))
nil)
("5"
(inst
-
"x1"
"jj-1")
(("5"
(assert)
nil
nil))
nil))
nil))
nil))
)java.lang.StringIndexOutOfBoundsException: Range [91, 92) out of bounds for length 91
nil))
nil (2"
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("2"
(flatten)
(("2"
(assert)
(("2"
(hide
7)
(("2"
(lemma
"sturm_seq_repeated_root")
(("2"
(inst
-
"n"
"p"
"b")
(("2"
(assert)
(("2"
(inst
-
"jj-1")
(("2"
(assert)
(("2"
(inst
-
"jj+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)java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
nil))
nil))
nil))
nil))
nil))
nil))
)java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
nil))
nil))
nil))
nil))
)
nil))
nil))
nil))
nil))
nil))
nil))
nil)
((posint_plus_nnint_is_posint application-judgement "posint"
integers nil)
(upto "not_one_element"
(int_plus_int_is_int application-judgement "int" integers nil)
(sturm_seq_repeated_root formula-decl nil sturmsquarefree nil)
(minus_real_is_real application-judgement "real" reals nil)
(SQUAB skolem-const-decl "naturalnumber" sturmsquarefree nil)
(odd_plus_even_is_odd application-judgement "odd_int" integers nil)
(sturm_seq_first_signs_eq formula-decl nil sturmsquarefree nil)
(square_free_min formula-decl nil more_polynomial_props "reals/")
(rat_max application-judgement "{s: rat | s >= q AND s >= r}"
real_defs nil)
(int_max application-judgement "{k: int | i <= k AND j <= k}"
real_defs nil)
(max const-decl "{p: real | p >= m AND p >= n}" real_defs nil)
(square_free_max formula-decl nil more_polynomial_props "reals/")
(real_minus_real_is_real application-judgement "real" reals nil)
(min const-decl "{p: real | p <= m AND p <= n}" real_defs nil)
(- const-decl "[numfield, numfield -> numfield]" number_fields nil)
(y skolem-const-decl "real" sturmsquarefree nil)
(b skolem-const-decl "real" sturmsquarefree nil)
(x skolem-const-decl "real" sturmsquarefree nil)
(> const-decl "bool" reals nil)
(n skolem-const-decl "[nat -> nat]" sturmsquarefree nil)
(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)
(int_minus_int_is_int application-judgement "int" integers nil)
(max_nnreal_0 formula-decl nil min_max "reals/")
(abs_nat_rew formula-decl nil abs_rews "ints/")
(real_times_real_is_real application-judgement "real" reals nil)
(sigma def-decl "real" sigma "reals/")
(minus_odd_is_odd application-judgement "odd_int" integers nil)
(naturalnumber type-eq-decl nil naturalnumbers nil)
(nnint_plus_posint_is_posint application-judgement "posint"
integers nil)
(NOT const-nil))
(real_gt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
(real_ge_is_total_order name-" (typepred "GET_tk(x h! 1"java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
real_props nil)
(poly_intermediate_value_inc formula-decl nil polynomials "reals/")
(poly_intermediate_value_dec formula nil)java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
(nat_induction formula-decl nil naturalnumbers nil)
(pred type-eq-decl nil defined_types nil)
(real_le_is_total_order name-judgement "(total_order(IMPLIESconst-decl "bool >"booleansniljava.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
real_props nil)
(real_lt_is_strict_total_order name-judgement
"(strict_total_order?[real])" real_props nil)
nnint_plus_nnint_is_nnintapplication-udgement"onneg_intjava.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
(number nonempty-type-decl nil numbers nil)
(nonempty-ype-ecl nil ooleansnil)
(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 -ecl "real - ] niljava.lang.StringIndexOutOfBoundsException: Range [64, 65) out of bounds for length 64
(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)
(AND const-decl "[bool, bool -> bool]" booleans nil)
(<= const-decl "bool" reals nil) (< const-decl "bool" reals nil)
(= const-decl "[T, T -> boolean]" equalities nil)
(sequence type-eq-decl nil sequences nil)
(polynomial const-decl "[real -> real]" polynomials "reals/")
(/= const-decl "boolean" notequal(equencetype-eq-ecl nil sequencesnil)
(sturm_sequence? const-decl "bool" sturmsquarefree nil)
(NSC type-eq-decl nil number_sign_changes nil)
(OR const-decl "[bool, bool -> bool]" booleans nil)
(java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 58
(- const-decl "[numfield -> numfield]" number_fields nil)
(* const-decl "[numfield, numfield -> numfield]" number_fields nil)
(nonneg_real nonempty-type-eq-decl nil real_types nil)
(abs const-decl "{n: nonneg_real | n >= m AND n >= -m}" real_defs
nil)
(sign_ext const-decl
"{sig: real | (sig = -1 OR sig = 1 OR sig = 0) AND sig * x = abs(x)}"
sign "reals/")
(+ const-decl "[numfield, numfield -> numfield {nonneg_real |n >n 1AND =-n!-1}
(IF const-decl "[boolean, T, T -> T]" if_def nil)
(number_sign_changes def-decl "NSC" number_sign_changes nil))
nil)
(sturm_lem_one_root-1 nil 3587808541
(""
(case " FORALL (b: real, dd,j, m: nat, n: [nat -> nat],
p: [nat -> [nat -> real]], x, y: real): j<=dd AND
x < y AND x < b AND b < y
AND (FORALL (c: real, i: nat):
(h1+x! 1 1^n!)/h! ! n1-1}java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
x <= c AND c <= y AND polynomial(p(i), n(i))(c) = 0
IMPLIES c = b) AND (FORALL (c:real): x<=c AND c<=y AND polynomial(p(0),n(0))(c)=0 IMPLIES
(polynomial(p(1),n(1))(c)/=0))
AND j + 1 mult_divides1 applicationjudgement "() niljava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
IMPLIES
LET =
LAMBDA (xyz: real, pj: nat):
number_sign_changes(LAMBDA
(i):
polynomial(p(i), n(i))(xyz),
pj)
IN
sign_ext(nsc(x, j + 1)`lastnz) = sign_ext(nsc(y, j + 1)`lastnz)
AND
nsc(x, j + 1)`num - nsc(x, 1)`num =
nsc(y, j + 1)`num - nsc(y, 1)`num")
(("1" (skeep)
(("1" (inst - "b" "j" "j" "m" "n" "p" "x" "y")
(("1" (assert)
(("1" (replace -5)
(("1" (replace -6) (("1" (propax) nil)))))))))))
("2" (hide 2)
(("2" (induct "dd")
(("1" (assert) nil)
("2" (skeep)
(("2" (assert)
(("2" (case "NOT j = 0")
java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 33
("2" (hide -2)
(("2" (replaces -1)
(("2" (expand "number_sign_changes")
(("2" (expand "number_sign_changes")
(("2" (assert)
(("2" (lift-if)
(("2" (lift-if)
(("2" (lift-if)
(("2"
(lift-if)
(("2"
(lift-if)
(("2"
(java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 0
(lift-if)
(("2"
(lift-if)
(2java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
(assert)
(("2"
(case
"NOT sign_ext(polynomial(p(1), n(1))(y)) = sign_ext(polynomial(p(1), n(1))(x))"ENDIF =
(("1"
3)
(1
(expand "sign_ext" 1)
(("1"
(lift-if)
(("1"
(lift-if)
(("1"
(lift-if)
(1
(lift-if)
(("1"
(assert)
(("1"
(ground)
(("1"
"poly_intermediate_value_dec")
(("1"
(inst
-
"p(1)"
"0"
"n(1)"
"x"
"y")
(("1"
(assert)
(("1"
(skeep
-)
(("1"
(inst
-
"cc"
"1")
(("1"
(assert)
nil)))))))))))
("2"
(lemma
"poly_intermediate_value_inc")
(("2"
(inst
-
"p(1)"
"n(1)"
"x"
"y")
(("2"
(assert)
(("2"
(skeep
nil)
(("2"
(inst
-
(2java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
"1")
(("2"
(assert)
nil)))))))))))
("3"
(lemma
poly_intermediate_value_inc")
(("3"
(inst
-
"(("1"
"0"
"n(1)"
x"
"y")
(("3"
(assert)
abs(a!(!1)n*TK ^ (n!1 - 1) -x1^(n1-1))
(skeep
)
(("3"
(inst
-
"cc"
"1")
(("3"
(("
nil)))))))))))
("4"
(lemma
"poly_intermediate_value_inc")
(("4"
(inst
-
"p(1)"
"0"
"n(1)"
"x"
abs_neg"
(("4"
(assert)
(("4"
(skeep
-1)
(("4"
(inst
-
"cc"
3
(("4"
(assert)
nil)))))))))))
("5"
(lemma
"poly_intermediate_value_dec")
(("5"
(inst
-
"p(1)"
"0"
"n(1)"
"x"
"y")
(("5"
(assert)
(("5"
(skeep
-)
(("5"
(inst
-
"cc"
"1")
5
(
nil)))))))))))))))))))))))))))
("2"
(assert)
(("2"
(case
(("1"
(inst - "x" "1")
(("1" (assert) nil)))
("2"
(case
"polynomial(p(0), n(0))(x) = 0")
(("1"
(inst - "x" "0")
(("1"
(assert)
nil)))
("2"
(case
"polynomial(p(0), n(0))(y) = 0")
(("1"
(inst - "y" "0")
(("1"
(assert)
nil)))
("2"
(case
"polynomial(p(1), n(1))(y) = 0")
(1"
(inst
-
"y"
"1")
(("1"
)
nil)))
("2"
assert)
nil)))))))))))))))))))))))))))))))))))))))))))))))
("3" (skolem 1 "jj")
(("3" (flatten)
(("3" (skeep)
(("3" (assert)
(("3" (case "NOT j = 1+jj")
(("1" (inst - "b" "j" "m" "n" "p" "x" "y")
(("1" (assert)
(("1" (replace -6)
(("1" (replace -7) (("1" (propax) nil)))))))))
("2" (replace -1)
(("2" (assert)
(("2" (inst-cp - "x" "1+jj")
(("2" (assert)
(("2" (inst-cp - "y" "1+jj")
(("2" (assert)
(("2"
(inst-cp - "x" "2+jj")
(("2"
(assert)
(("2"
(inst-cp - "y" "2+jj")
(("2"
assert)
(("2"
(case
"polynomial(p(1+jj),n(1+jj))(b)/=0")
(("1"
(flatten)
(("1"
(inst
-
"b"
"j-1"
"m"
"n"
"p"
"x"
"y")
(("1"
(assert)
(("1"
(replace -7)
(("1"
(replace -8)
(("1"
(flatten)
(("1"
(split +)
(("1"
(replace -1)
(("1"
(assert)
(("1"
(expand
"number_sign_changes"
+)
(("1"
(("1"
(-2
-3))
(("1"
(expand
"sign_ext"
1)
(("1"
(lift-if)
(("1"
(lift-if)
(("1"
-
(("1"
java.lang.StringIndexOutOfBoundsException: Range [82, 81) out of bounds for length 82
(("1"
(ground)
(("1"
(lemma
"poly_intermediate_value_inc")
(("1"
(inst
-
"p(2+jj)"
"0"
"n(2+jj)"
"x"
"y")
(("1"
(assert)
(("1"
(skeep
-1)
(("1"
(inst
-
"cc"
"2+jj")
(("1"
(assert)
nil)))))))))))
("2"
(lemma
"poly_intermediate_value_dec")
(("2"
(inst
-
"p(2+jj)"
"0"
"n(2+jj)"
"x"
"y")
(("2"
(assert)
(("2"
(skeep
-1)
(("2"
(inst
"cc"
"2+jj")
(("2"
(assert)
nil)))))))))))))))))))))))))))))))))
("2"
(expand
"number_sign_changes"
+
(1 3))
(("2"
nil)
(("2"
(lift-if)
(("2"
(lift-if)
(("2"
(lift-if)
(("2"
(assert)
(("2"
(ground)
(("1"
(lemma
"number_sign_changes_lastnz_nonzero")
(("1"
(copy
-2)
(("1"
(rewrite
-2
-1)
(("1"
(inst-cp
-
"0)
(""
(inst
-
"1")
(("1"
(assert)
(("1"
(inst
-13
"y")
(("1"
(assert)
nil)))))))))))))))
("2"
(expand
"number_sign_changes"
2)
(2"
(lift-if)
(("2"
(assert)
(("2"
(expand
"number_sign_changes"
-1)
(("2"
(lift-if)
(("2"
(case
"FORALL (pj:nat): pj=1+jj OR pj = 2+jj IMPLIES sign_ext(polynomial(p(pj), n(pj))(x)) = sign_ext(polynomial(p(pj), n(pj))(y))")
(("1"
-cp
-
"1+jj")
(("1"
(inst
-
"2+jj")
(("1"
(assert)
nil)))))
("2"
(hide
(("1"
-2
-3
-4
2
3))
(("2"
(skeep)
(("2"
(expand
"sign_ext"
1)
(("2"
(lift-if)
(("2"
(lift-if)
(("2"
(lift-if)
(("2"
(lift-if)
"2"
(assert)
(("2"
(split
+)
(("1"
(flatten)
(("1"
(split
+)
(("1"
(propax)
nil)
("2"
(lemma
"poly_intermediate_value_inc")
(("2 assert)
(inst
-
"p(pj)"
"0"
"n(pj)"
"x"
"y")
(("2"
(assert)
(("2"
(skeep
-1)
(("2"
(inst
-
"cc"
"pj")
(""
(ground)
nil)))))))))))))))
("2"
(flatten)
(("2"
(assert)
(("2"
(split
+)
(("1"
(flatten)
("4"
(lemma
+)
(("1"
(lemma
(("1"
(inst
-
"p(pj)"
"0"
"n(pj)"
"x"
"y")
(("1"
(assert)
(("1"
(skeep
-1)
(("1"
(inst
-
"cc"
"pj")
(("1"
(ground)
nil))
("2"
(flatten)
(("2"
(split
+)
(("1"
(propax)
nil)
("2"
(lemma
")
(("2"
(inst
-
"p(pj)"
"0"
"npj)
"x"
"y")
(("2"
(assert)
nil)))))))))))))
("2"
(flatten)
(("2"
(split
+)
(("1"
nil)
("2"
(flatten)
(("2"
(ground)
nil)))))))))))))))))))))))))))))))))))))))))))
("3"
(lemma
"java.lang.StringIndexOutOfBoundsException: Index 108 out of bounds for length 108
(("3"
(copy
-2)
(("3"
(rewrite
-2
-1)
(("3"
(inst-cp
-
"0")
(("3"
(inst
-
"1")
(("3"
(assert)
(("3
(inst
-13
"x")
(("3"
(assert)
nil)))))))))))))))
("4"
(expand
"number_sign_changes"
2)
(("4"
(lift-if)
(("4"
(expand
"number_sign_changes"
-1)
(("4"
(lift-if)
(("4"
(case
"FORALL (pj:nat): pj=1+jj OR pj = 2+jj IMPLIES sign_ext(polynomial(p(pj), n(pj))(x)) = sign_ext(polynomial(p(pj), n(pj))(y))")
(("1"
(inst-cp
-
"1+jj")
(("1 1)
(inst
-
"2+jj")
(("1"
(ground)
nil)))))
("2"
(hide
(-1
-2
-3
-4
2
3))
(("2"
(skeep)
(("2"
(expand
"sign_ext"
1)
(("2"
(lift-if)
(("2"
(lift-if)
(("2"
(lift-if)
(("2"
"abs")
(("2"
java.lang.StringIndexOutOfBoundsException: Range [102, 103) out of bounds for length 102
(("2"
(split
+)
(("1"
(flatten)
(("1"
(split
+)
(("1"
(propax)
nil)
("2"
(lemma
"poly_intermediate_value_inc")
nil)
(inst
-
"p(pj)"
"0"
(1
"x"
"y")
(("2"
(assert)
(("2"
(skeep
-1)
(("2"
(inst
-
"cc"
"pj")
(("2"
(ground)
nil)))))))))))))))
("2"
(flatten)
(("2"
(assert)
(("2"
(split
+)
(("1"
(flatten)
(("1"
(java.lang.StringIndexOutOfBoundsException: Index 109 out of bounds for length 65
+)
(("1"
(lemma
"poly_intermediate_value_dec")
(("1"
(inst
-
"p(pj)"
"0"
"x"
"y")
(("1"
(("1"
(skeep
-1)
(("1"
(inst
-
"pj")
(("1"
(ground)
nil)))))))))))
("2"
(flatten)
(("2"
(split
+)
(("1"
(propax)
nil)
""(",1 k)")
(lemma
(("2"
(inst
-
"p(pj)"
"0"
pj)
"x"
"y")
(("2"
(assert)
nil)))))))))))))
("2"
(flatten)
(("2"
(split
+)
((""
(ground)
nil)
("2"
(flatten)
(("2"
(ground)
nil)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
("2" k* a!1(
(flatten)
(("2"
(label "hyplem" -3)
(("2"
(hide "hyplem")
(("2"
(copy -10)
(("2"
(expand
"sturm_sequence?"
-1)
(("2"
(flatten)
(("2"
(hide (-1 -2 -4))
(("2"
(c)
-
"b"
"1+jj")
(("2"
(assert)
(("2"
(case
"polynomial(p(jj), n(jj))(b) = 0")
(("1"
(replaces
-1)
(("1"
(expand
"sign_ext")
(("1"
(lift-if)
(("1"
(assert)
nil)))))))
("2"
(inst-cp
-
"x"
"jj")
(("2"
(inst-cp
-
"y"
"jj")
(("2"
(assert)
(("2"
(case
"FORALL (pj:nat,x1,x2:real): ((pj=jj OR pj =
(("1"
(inst-cp
-
"jj"
"
"b")
(("1"
(inst-cp
-
"jj"
"b"
"y")
(("1"
(inst-cp
-
"2+jj"
"x"
"b")
(("1"
(inst
-
"2+jj"
"b"
"")
(("1"
(assert)
(("1"
(split
+)
(("1"
(expand
"number_sign_changes"
1)
(("1"
(lift-if)
(("1"
(assert)
nil)))))
("2"
(case
"jj = 0")
(("1"
(replaces
-1)
(("1"
)
(("1"
(expand
"sign_ext")
(("1"
(lift-if)
(("1"
(lift-if)
(("1"
-if)
(("1"
(assert)
(("1"
(ground)
(("1"
(case
polynomial(p(1), n(1))(x) > 0")
(("1"
(case
"polynomial(p(1), n(1))(y) < 0")
(("1"
(case
"NOT number_sign_changes(LAMBDA (i): polynomial(p(i), n(i))(x), 1)`num = 0")
(("1"
(expand
"number_sign_changes"
1)
(ground
(assert)
""
(expand
"number_sign_changes"
1)
(("1"
(expand
"sign_ext"
1)
(("1"
(propax)
nil)))))))))
"abs_mult")
(case
"NOT number_sign_changes(LAMBDA (i): polynomial(p(i), n(i))(y), 1)`num = 1")
(expand
"number_sign_changes"
1)
(("1"
(expand
"number_sign_changes"
1)
nil
(expand
"sign_ext"
1)
(("1"
(assert)
nil)))))))
("2"
(case
"NOT number_sign_changes(LAMBDA (i): polynomial(p(i), n(i))(x), 2)`num = 1")
(("1"
"x1^(n!1-1 -TK ^(n! - 1)"java.lang.StringIndexOutOfBoundsException: Index 112 out of bounds for length 112
"number_sign_changes"
1)
(("1"
(expand
"number_sign_changes"
1)
(("1"
(expand
"number_sign_changes"
1)
(("1"
(expand
"sign_ext"
1)
(("1"
nil)))))))))
("2"
(case
"NOT number_sign_changes(LAMBDA (i): polynomial(p(i), n(i))(y), 2)`num = 1")
(("1"
(expand
"number_sign_changes"
1)
(("1"
(expand
"number_sign_changes"
1)
(("1"
(expand
"number_sign_changes"
1)
""
(expand
"sign_ext"
java.lang.StringIndexOutOfBoundsException: Index 121 out of bounds for length 121
(("1"
(assert)
nil)))))))))
("2"
(assert)
(("2"
(postpone)
nil)))))))))))
("2"
(nil))
nil)))
("2"
(postpone)
nil))
("2"
(postpone)
"PKM1!1)
("2"
(postpone)
nil)))))))))))))))
("2"
(postpone)
nil))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
nil)
nil nil))
(sturm_lem_edge_root 0
(sturm_lem_edge_root-1 nil 3587920247
(""
(case "FORALL (dd,j, m: nat, n: [nat -> nat], p: [nat -> [nat -> real]],
x, y: real): j<=dd AND
x < y
AND (FORALL (c: real, i: nat):
i <= m AND
x <= c AND c <= y AND polynomial(p(i), n(i))(c) = 0
IMPLIES c = y)
AND (FORALL (c: real):
x <= c AND c <= y AND polynomial(p(0), n(0))(c) = 0 IMPLIES
(polynomial(p(1), n(1))(c) /= 0))
AND j<= m AND polynomial(p(j), n(j))(y) /= 0
AND sturm_sequence?(p, n, m) AND p(1) = poly_deriv(p(0))
AND n(1) = n(0) - 1
IMPLIES
LET nsc =
LAMBDA (xyz: real, pj: nat):
number_sign_changes(LAMBDA
(i):
polynomial(p(i), n(i))(xyz),
pj)
IN
sign_ext(nsc(x, j)`lastnz) = sign_ext(nsc(y, j)`lastnz) AND
nsc(x, j)`num =
nsc(y, j)`num +
(IF polynomial(p(0), n(0))(y) = 0 THEN 1 ELSE 0 ENDIF)")
(("1" (skeep)
(("1" (inst - "j" "j" "m" "n" "p" "x" "y")
(("1" (assert)
(("1" (replace -3)
(("1" (replace -4) (("1" (propax) nil nil)) nil)) nil))
nil))
java.lang.StringIndexOutOfBoundsException: Range [97, 11) out of bounds for length 97
nil)
("2" (hide 2)
(("2" (induct "dd")
(("1" (assert) nil nil)
("2" (skeep)
(("2" (assert)
(("2" (case "NOT j = 0")
(("1" (assert) nil nil)
(2 (ide -2)
(("2" (replaces -1)
(("2" (expand "number_sign_changes")
(("2" (expand "sign_ext" 2)
(("2" (lift-if)
(("2" (lift-if)
(("2" (lift-if)
(("2" (lift-if)
(("2"
(assert)
(("2"
(ground)
(("1"
(lemma
"poly_intermediate_value_inc")
("1"
(inst
-
"p(0)"
"0"
"nnil))
"x"
"y")
(("1"
(assert)
(("1"
(skeep -)
(("1"
(inst - "cc" "0")
(("1" (assert) nil nil))
nil))
nil))
nil))
nil))
nil)
("2"
(lemma
"poly_intermediate_value_dec")
(("2"
(inst
-
"p(0)"
"0"
"n(0)"
"x"
(("2"
(assert)
(("2"
(skeep -)
(("2"
(inst - "cc" "0")
(("2" (assert) nil nil))
nil))
nil))
nil))
nil))
nil)
("3"
(inst - "x" "0")
(("3" (assert) nil nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil))
nil)
("3" (skolem 1 "jj")
(("3" (flatten)
(("3" (skeep)
(("3" (assert)
(("3" (case "NOT j = 1+jj")
(("1" (inst - "j" "m" "n" "p" "x" "y")
(("1" (assert)
(("1" (replace -4)
(("1" (replace -5) (("1" (propax) nil nil))
nil))
nil))
nil))
nil)
("2" (replaces -1)
(("2" (assert)
(("2" (inst-cp - "x" "jj")
(("2" (assert)
(("2" (inst-cp - "x" "1+jj")
(("2" (assert)
(("2"
(case "polynomial(p(jj),n(jj))(y)/=0")
(("1"
(flatten)
(("1"
(inst - "jj" "m" "n" "p" "x" "y")
(("1"
(assert)
(("1"
(replace -4)
(("1"
(replace(grind)
(("1"
(flatten)
(("1"
(split +)
(("1"
(assert)
(("1"
(expand
"number_sign_changes"
+)
(("1"
(assert)
(("1"
(hide -2)
"1
(expand
"ign_ext
(("1"
(lift-if)
(("1"
(lift-if)
(("1"
(lift-if)
(("1"
(assert)
(("1"
(ground)
(("1"
(lemma
"poly_intermediate_value_inc")
(("1"
(inst
-
"p(1+jj)"
"0"
"n(1+jj)"
"
"y")
(("1"
(assert)
(("1"
( (case
-1)
(("1"
(inst
-
"cc"
"1+jj")
(("1"
(assert)
nil
nil))
nil))
nil))
nil))
"
nil)
("2"
(
"poly_intermediate_value_dec")
(("2"
(inst
-
"p(1+jj)"
"0"
"n(1+jj)"
"x"
"y")
(("2"
(assert)
(("2"
(skeep
-1)
--> --------------------
--> maximum size reached
--> --------------------
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen1.15Angebot
¤
*Eine klare Vorstellung vom Zielzustand
|
|
2026-11-24
|
|
|
|
|