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


SSL replace_positions.prf

  Interaktion und
PortierbarkeitLisp
 

(replace_positions
 (IMP_substitution_TCC1 0
  (IMP_substitution_TCC1-1 nil 3455272043
   ("" (lemma "var_countable") (("" (propax) nil nil)) nil)
   ((var_countable formula-decl nil replace_positions nil)) nil))
 (replace_pos_TCC1 0
  (replace_pos_TCC1-1 nil 3455272043 ("" (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)
    (variable formal-nonempty-type-decl nil replace_positions nil)
    (symbol formal-nonempty-type-decl nil replace_positions 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)
    (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)
    (arity formal-const-decl "[symbol -> nat]" replace_positions nil)
    (term type-decl nil term_adt nil)
    (below type-eq-decl nil nat_types nil)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (> const-decl "bool" reals nil)
    (posnat nonempty-type-eq-decl nil integers nil)
    (position type-eq-decl nil positions nil)
    (finseq type-eq-decl nil finite_sequences nil)
    (SPP? const-decl "bool" positions nil)
    (SPP type-eq-decl nil positions nil)
    (finseq_appl const-decl "[below[length(fs)] -> T]" finite_sequences
     nil)
    (SP? const-decl "bool" positions nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil))
   nil))
 (replace_pos_TCC2 0
  (replace_pos_TCC2-1 nil 3455272043 ("" (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)
    (variable formal-nonempty-type-decl nil replace_positions nil)
    (symbol formal-nonempty-type-decl nil replace_positions 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)
    (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)
    (arity formal-const-decl "[symbol -> nat]" replace_positions nil)
    (term type-decl nil term_adt nil)
    (below type-eq-decl nil nat_types nil)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (> const-decl "bool" reals nil)
    (posnat nonempty-type-eq-decl nil integers nil)
    (position type-eq-decl nil positions nil)
    (finseq type-eq-decl nil finite_sequences nil)
    (SPP? const-decl "bool" positions nil)
    (SPP type-eq-decl nil positions nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (SP? const-decl "bool" positions nil)
    (< const-decl "bool" reals nil)
    (finseq_appl const-decl "[below[length(fs)] -> T]" finite_sequences
     nil))
   nil))
 (replace_pos_TCC3 0
  (replace_pos_TCC3-1 nil 3455272043
   ("" (skosimp*)
    (("" (typepred "fssp!1")
      (("" (expand "SPP?")
        (("" (flatten)
          (("" (split)
            (("1" (rewrite "rest_of_PP_is_PP"nil nil)
             ("2" (expand "SP?")
              (("2" (expand "PP?")
                (("2" (prop)
                  (("1" (grind) nil nil)
                   ("2" (skosimp*)
                    (("2" (lemma "fspos.rest_pos")
                      (("2" (inst?)
                        (("2" (assert)
                          (("2" (expand "finseq_appl")
                            (("2" (inst -1 "i!1")
                              (("1"
                                (replace -1 2 rl)
                                (("1"
                                  (hide -1)
                                  (("1"
                                    (copy -2)
                                    (("1"
                                      (inst -1 "0")
                                      (("1"
                                        (inst -3 "1 + i!1")
                                        (("1"
                                          (inst -2 "0" "1 + i!1")
                                          (("1"
                                            (assert)
                                            (("1"
                                              (lemma
                                               "replace_preserv_parallel_pos")
                                              (("1"
                                                (inst
                                                 -1
                                                 "fssp!1`seq(0)"
                                                 "fssp!1`seq(1 + i!1)"
                                                 "s!1"
                                                 "t!1")
                                                (("1"
                                                  (assert)
                                                  nil
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil)
                               ("2"
                                (hide-all-but 1)
                                (("2"
                                  (typepred "i!1")
                                  (("2" (grind) nil nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((SPP type-eq-decl nil positions nil)
    (SPP? const-decl "bool" positions nil)
    (finseq type-eq-decl nil finite_sequences nil)
    (position type-eq-decl nil positions nil)
    (posnat nonempty-type-eq-decl nil integers nil)
    (> const-decl "bool" reals nil)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (below type-eq-decl nil nat_types nil)
    (term type-decl nil term_adt nil)
    (arity formal-const-decl "[symbol -> nat]" replace_positions 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)
    (number nonempty-type-decl nil numbers nil)
    (symbol formal-nonempty-type-decl nil replace_positions nil)
    (variable formal-nonempty-type-decl nil replace_positions nil)
    (NOT const-decl "[bool -> bool]" booleans nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (boolean nonempty-type-decl nil booleans nil)
    (SP? const-decl "bool" positions nil)
    (< const-decl "bool" reals nil)
    (rest const-decl "finseq" seq_extras "structures/")
    (^ const-decl "finseq" finite_sequences nil)
    (empty_seq const-decl "finseq" finite_sequences nil)
    (finseq_appl const-decl "[below[length(fs)] -> T]" finite_sequences
     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)
    (rest_pos formula-decl nil seq_extras "structures/")
    (int_minus_int_is_int application-judgement "int" integers nil)
    (- const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (i!1 skolem-const-decl
     "below[length(rest[position[variable, symbol, arity]](fssp!1))]"
     replace_positions nil)
    (fssp!1 skolem-const-decl "SPP[variable, symbol, arity](s!1)"
     replace_positions nil)
    (s!1 skolem-const-decl "term[variable, symbol, arity]"
     replace_positions nil)
    (replace_preserv_parallel_pos formula-decl nil replacement nil)
    (+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (int_min application-judgement "{k: int | k <= i AND k <= j}"
     real_defs nil)
    (real_gt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (int_plus_int_is_int application-judgement "int" integers nil)
    (min const-decl "{p: real | p <= m AND p <= n}" real_defs nil)
    (rest_of_PP_is_PP formula-decl nil positions nil)
    (PP? const-decl "bool" positions nil)
    (PP type-eq-decl nil positions nil))
   nil))
 (replace_pos_TCC4 0
  (replace_pos_TCC4-1 nil 3455272043 ("" (termination-tcc) nil nil)
   ((NOT const-decl "[bool -> bool]" booleans nil)
    (term type-decl nil term_adt nil)
    (finseq type-eq-decl nil finite_sequences nil)
    (SPP? const-decl "bool" positions nil)
    (SPP type-eq-decl nil positions nil)
    (/= const-decl "boolean" notequal nil)
    (finseq_appl const-decl "[below[length(fs)] -> T]" finite_sequences
     nil)
    (O const-decl "finseq" finite_sequences nil)
    (<= const-decl "bool" positions nil)
    (parallel const-decl "bool" positions nil)
    (PP? const-decl "bool" positions nil)
    (SP? const-decl "bool" positions nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (int_minus_int_is_int application-judgement "int" 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)
    (empty_seq const-decl "finseq" finite_sequences nil)
    (min const-decl "{p: real | p <= m AND p <= n}" real_defs nil)
    (^ const-decl "finseq" finite_sequences nil)
    (position type-eq-decl nil positions nil)
    (arity formal-const-decl "[symbol -> nat]" replace_positions nil)
    (symbol formal-nonempty-type-decl nil replace_positions nil)
    (variable formal-nonempty-type-decl nil replace_positions 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" 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)
    (below type-eq-decl nil nat_types nil)
    (nat nonempty-type-eq-decl nil naturalnumbers nil)
    (rest const-decl "finseq" seq_extras "structures/")
    (posint_plus_nnint_is_posint application-judgement "posint"
     integers nil))
   nil))
 (replace_pos_is_stable_TCC1 0
  (replace_pos_is_stable_TCC1-1 nil 3455272043
   ("" (skosimp*)
    (("" (typepred "fss!1")
      (("" (expand "SPP?")
        (("" (flatten)
          (("" (assert)
            (("" (hide -1)
              (("" (expand "SP?")
                (("" (skosimp*)
                  (("" (inst?)
                    (("" (rewrite "ext_preserv_pos"nil nil)) nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((SPP type-eq-decl nil positions nil)
    (SPP? const-decl "bool" positions nil)
    (finseq type-eq-decl nil finite_sequences nil)
    (position type-eq-decl nil positions nil)
    (posnat nonempty-type-eq-decl nil integers nil)
    (> const-decl "bool" reals nil)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (below type-eq-decl nil nat_types nil)
    (term type-decl nil term_adt nil)
    (arity formal-const-decl "[symbol -> nat]" replace_positions 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)
    (number nonempty-type-decl nil numbers nil)
    (symbol formal-nonempty-type-decl nil replace_positions nil)
    (variable formal-nonempty-type-decl nil replace_positions nil)
    (NOT const-decl "[bool -> bool]" booleans nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (boolean nonempty-type-decl nil booleans nil)
    (ext_preserv_pos formula-decl nil substitution nil)
    (finseq_appl const-decl "[below[length(fs)] -> T]" finite_sequences
     nil)
    (set type-eq-decl nil sets nil)
    (V const-decl "set[term]" variables_term nil)
    (Sub? const-decl "bool" substitution nil)
    (Sub type-eq-decl nil substitution nil)
    (< const-decl "bool" reals nil)
    (SP? const-decl "bool" positions nil))
   nil))
 (replace_pos_is_stable 0
  (replace_pos_is_stable-1 nil 3455272189
   ("" (measure-induct+ "length(fss)" ("s" "fss"))
    (("1" (skosimp*)
      (("1" (case "length(x!2) = 0")
        (("1" (hide -2)
          (("1" (expand "replace_pos") (("1" (assertnil nil)) nil))
          nil)
         ("2" (expand "replace_pos" 2 1)
          (("2" (assert)
            (("2" (inst -1 "replaceTerm(x!1, t!1, x!2(0))" "rest(x!2)")
              (("2" (inst -1 "t!1" "sig!1")
                (("2" (rewrite "length_rest")
                  (("2" (replaces -1)
                    (("2" (rewrite "ext_replace_ext")
                      (("1" (expand "replace_pos" 2 2)
                        (("1" (propax) nil nil)) nil)
                       ("2" (hide (2 3))
                        (("2" (typepred "x!2")
                          (("2" (expand "SPP?")
                            (("2" (flatten)
                              (("2"
                                (hide -1)
                                (("2"
                                  (expand "SP?")
                                  (("2" (inst?) nil nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("2" (hide-all-but 1)
      (("2" (typepred "y!2")
        (("2" (expand "SPP?")
          (("2" (flatten)
            (("2" (assert)
              (("2" (hide -1)
                (("2" (expand "SP?")
                  (("2" (skosimp*)
                    (("2" (inst?)
                      (("2" (rewrite "ext_preserv_pos"nil nil)) nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("3" (hide (-1 2))
      (("3" (skosimp*)
        (("3" (rewrite "replace_pos_is_stable_TCC1"nil nil)) nil))
      nil)
     ("4" (hide (-1 2))
      (("4" (skosimp*)
        (("4" (rewrite "replace_pos_is_stable_TCC1"nil nil)) nil))
      nil)
     ("5" (hide-all-but 1)
      (("5" (rewrite "replace_pos_is_stable_TCC1"nil nil)) nil)
     ("6" (hide (-1 2))
      (("6" (skosimp*)
        (("6" (rewrite "replace_pos_is_stable_TCC1"nil nil)) nil))
      nil)
     ("7" (hide 2)
      (("7" (rewrite "replace_pos_is_stable_TCC1"nil nil)) nil))
    nil)
   ((replace_pos_is_stable_TCC1 subtype-tcc nil replace_positions nil)
    (ext_preserv_pos formula-decl nil substitution nil)
    (rest const-decl "finseq" seq_extras "structures/")
    (finseq_appl const-decl "[below[length(fs)] -> T]" finite_sequences
     nil)
    (replaceTerm def-decl "term" replacement nil)
    (positions? type-eq-decl nil positions nil)
    (positionsOF def-decl "positions" positions nil)
    (positions type-eq-decl nil positions nil)
    (length_rest formula-decl nil seq_extras "structures/")
    (ext_replace_ext formula-decl nil substitution nil)
    (NOT const-decl "[bool -> bool]" booleans nil)
    (SP? const-decl "bool" positions nil)
    (IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
    (replace_pos def-decl "term" replace_positions nil)
    (= const-decl "[T, T -> boolean]" equalities nil)
    (set type-eq-decl nil sets nil)
    (V const-decl "set[term]" variables_term nil)
    (Sub? const-decl "bool" substitution nil)
    (Sub type-eq-decl nil substitution nil)
    (ext def-decl "term" substitution nil)
    (wf_nat formula-decl nil naturalnumbers nil)
    (< const-decl "bool" reals nil)
    (naturalnumber type-eq-decl nil naturalnumbers nil)
    (SPP type-eq-decl nil positions nil)
    (SPP? const-decl "bool" positions nil)
    (finseq type-eq-decl nil finite_sequences nil)
    (position type-eq-decl nil positions nil)
    (posnat nonempty-type-eq-decl nil integers nil)
    (> const-decl "bool" reals nil)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (below type-eq-decl nil nat_types nil)
    (term type-decl nil term_adt nil)
    (arity formal-const-decl "[symbol -> nat]" replace_positions 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)
    (symbol formal-nonempty-type-decl nil replace_positions nil)
    (variable formal-nonempty-type-decl nil replace_positions nil)
    (measure_induction formula-decl nil measure_induction nil)
    (well_founded? const-decl "bool" orders nil)
    (pred type-eq-decl nil defined_types nil))
   shostak))
 (preserv_first_position_TCC1 0
  (preserv_first_position_TCC1-1 nil 3455272043
   ("" (skolem-typepred)
    (("" (skosimp*)
      (("" (expand "SPP?")
        (("" (flatten)
          (("" (split)
            (("1" (rewrite "add_first_parallel_pos_to_PP_is_PP"nil
              nil)
             ("2" (rewrite "add_first_parallel_pos_to_SP_is_SP"nil
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((add_first_parallel_pos_to_SP_is_SP formula-decl nil positions nil)
    (SP? const-decl "bool" positions nil)
    (SP type-eq-decl nil positions nil)
    (add_first_parallel_pos_to_PP_is_PP formula-decl nil positions nil)
    (PP? const-decl "bool" positions nil)
    (PP type-eq-decl nil positions nil)
    (positions? type-eq-decl nil positions nil)
    (positionsOF def-decl "positions" positions nil)
    (positions type-eq-decl nil positions nil)
    (SPP type-eq-decl nil positions nil)
    (SPP? const-decl "bool" positions nil)
    (finseq type-eq-decl nil finite_sequences nil)
    (position type-eq-decl nil positions nil)
    (posnat nonempty-type-eq-decl nil integers nil)
    (> const-decl "bool" reals nil)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (below type-eq-decl nil nat_types nil)
    (term type-decl nil term_adt nil)
    (arity formal-const-decl "[symbol -> nat]" replace_positions 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)
    (number nonempty-type-decl nil numbers nil)
    (symbol formal-nonempty-type-decl nil replace_positions nil)
    (variable formal-nonempty-type-decl nil replace_positions nil)
    (NOT const-decl "[bool -> bool]" booleans nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (boolean nonempty-type-decl nil booleans nil))
   nil))
 (preserv_first_position 0
  (preserv_first_position-1 nil 3455272317
   ("" (measure-induct+ "length(fss)" ("s" "fss"))
    (("1" (skosimp*)
      (("1" (expand "replace_pos" 1)
        (("1" (prop)
          (("1" (hide-all-but -1)
            (("1" (expand"add_first" "insert?")
              (("1" (assertnil nil)) nil))
            nil)
           ("2" (lemma "fspos.rest_add_first")
            (("2" (inst -1 "x!2" "q!1")
              (("2" (replaces -1)
                (("2" (lemma "fspos.nth_add_first")
                  (("2" (inst -1 "x!2" "q!1" "0")
                    (("1" (replace -1)
                      (("1" (case "length(x!2) = 0")
                        (("1" (hide -3)
                          (("1" (expand "replace_pos")
                            (("1" (prop)
                              (("1"
                                (hide-all-but 1)
                                (("1"
                                  (lemma "replace_preserv_pos")
                                  (("1"
                                    (inst -1 "q!1" "x!1" "t!1")
                                    (("1" (assertnil nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil)
                         ("2" (expand "replace_pos" 3)
                          (("2" (prop)
                            (("2" (lemma "replace_commutativity")
                              (("2"
                                (inst
                                 -1
                                 "q!1"
                                 "x!2(0)"
                                 "t!1"
                                 "x!1"
                                 "t!1")
                                (("2"
                                  (typepred "q!1" "x!2")
                                  (("2"
                                    (expand "SPP?")
                                    (("2"
                                      (flatten)
                                      (("2"
                                        (copy -3)
                                        (("2"
                                          (expand "SP?" -4)
                                          (("2"
                                            (inst -4 "0")
                                            (("2"
                                              (copy -8)
                                              (("2"
                                                (inst -9 "0")
                                                (("2"
                                                  (assert)
                                                  (("2"
                                                    (rewrite
                                                     "parallel_comm")
                                                    (("2"
                                                      (replace -6 2)
                                                      (("2"
                                                        (case
                                                         "length(rest(x!2)) = 0")
                                                        (("1"
                                                          (hide-all-but
                                                           (-1
                                                            -3
                                                            -4
                                                            -10
                                                            2
                                                            3))
                                                          (("1"
                                                            (expand
                                                             "replace_pos")
                                                            (("1"
                                                              (prop)
                                                              (("1"
                                                                (lemma
                                                                 "replace_preserv_parallel_pos")
                                                                (("1"
                                                                  (inst
                                                                   -1
                                                                   "x!2(0)"
                                                                   "q!1"
                                                                   "x!1"
                                                                   "t!1")
                                                                  (("1"
                                                                    (expand
                                                                     "SP?")
                                                                    (("1"
                                                                      (inst
                                                                       -4
                                                                       "0")
                                                                      (("1"
                                                                        (assert)
                                                                        (("1"
                                                                          (lemma
                                                                           "replace_preserv_pos")
                                                                          (("1"
                                                                            (inst
                                                                             -1
                                                                             "q!1"
                                                                             "replaceTerm(x!1, t!1, x!2(0))"
                                                                             "t!1")
                                                                            (("1"
                                                                              (assert)
                                                                              nil
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil)
                                                         ("2"
                                                          (inst
                                                           -8
                                                           "replaceTerm(x!1, t!1, x!2(0))"
                                                           "rest(x!2)")
                                                          (("1"
                                                            (inst
                                                             -8
                                                             "t!1"
                                                             "q!1")
                                                            (("1"
                                                              (prop)
                                                              (("1"
                                                                (expand
                                                                 "finseq_appl")
                                                                (("1"
                                                                  (expand
                                                                   "replace_pos"
                                                                   -1)
                                                                  (("1"
                                                                    (prop)
                                                                    (("1"
                                                                      (hide-all-but
                                                                       -1)
                                                                      (("1"
                                                                        (grind)
                                                                        nil
                                                                        nil))
                                                                      nil)
                                                                     ("2"
                                                                      (lemma
                                                                       "fspos.nth_add_first")
                                                                      (("2"
                                                                        (inst
                                                                         -1
                                                                         "rest(x!2)"
                                                                         "q!1"
                                                                         "0")
                                                                        (("1"
                                                                          (replaces
                                                                           -1)
                                                                          (("1"
                                                                            (rewrite
                                                                             "rest_add_first")
                                                                            nil
                                                                            nil))
                                                                          nil)
                                                                         ("2"
                                                                          (hide-all-but
                                                                           1)
                                                                          (("2"
                                                                            (grind)
                                                                            nil
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil))
                                                                nil)
                                                               ("2"
                                                                (hide-all-but
                                                                 (-1
                                                                  1
                                                                  2
                                                                  3))
                                                                (("2"
                                                                  (skosimp*)
                                                                  (("2"
                                                                    (inst
                                                                     -1
                                                                     "i!1 + 1")
                                                                    (("1"
                                                                      (lemma
                                                                       "fspos.rest_pos")
                                                                      (("1"
                                                                        (expand
                                                                         "finseq_appl")
                                                                        (("1"
                                                                          (inst
                                                                           -1
                                                                           "x!2")
                                                                          (("1"
                                                                            (assert)
                                                                            (("1"
                                                                              (inst
                                                                               -1
                                                                               "i!1")
                                                                              (("1"
                                                                                (assert)
                                                                                nil
                                                                                nil)
                                                                               ("2"
                                                                                (typepred
                                                                                 "i!1")
                                                                                (("2"
                                                                                  (hide
                                                                                   2)
                                                                                  (("2"
                                                                                    (grind)
                                                                                    nil
                                                                                    nil))
                                                                                  nil))
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil)
                                                                     ("2"
                                                                      (typepred
                                                                       "i!1")
                                                                      (("2"
                                                                        (hide
                                                                         2)
                                                                        (("2"
                                                                          (grind)
                                                                          nil
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil))
                                                                nil)
                                                               ("3"
                                                                (hide-all-but
                                                                 (1 3))
                                                                (("3"
                                                                  (rewrite
                                                                   "length_rest")
                                                                  nil
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil)
                                                           ("2"
                                                            (hide-all-but
                                                             (-2
                                                              -4
                                                              1
                                                              2
                                                              3))
                                                            (("2"
                                                              (expand
                                                               "SPP?")
                                                              (("2"
                                                                (split)
                                                                (("1"
                                                                  (rewrite
                                                                   "rest_of_PP_is_PP")
                                                                  nil
                                                                  nil)
                                                                 ("2"
                                                                  (copy
                                                                   -1)
                                                                  (("2"
                                                                    (expand
                                                                     "SP?")
                                                                    (("2"
                                                                      (skosimp*)
                                                                      (("2"
                                                                        (expand
                                                                         "finseq_appl")
                                                                        (("2"
                                                                          (inst
                                                                           -2
                                                                           "i!1 + 1")
                                                                          (("1"
                                                                            (lemma
                                                                             "fspos.rest_pos")
                                                                            (("1"
                                                                              (inst?)
                                                                              (("1"
                                                                                (assert)
                                                                                (("1"
                                                                                  (inst
                                                                                   -1
                                                                                   "i!1")
                                                                                  (("1"
                                                                                    (expand
                                                                                     "PP?")
                                                                                    (("1"
                                                                                      (prop)
                                                                                      (("1"
                                                                                        (hide
                                                                                         (-2
                                                                                          -3
                                                                                          -4
                                                                                          1))
                                                                                        (("1"
                                                                                          (grind)
                                                                                          nil
                                                                                          nil))
                                                                                        nil)
                                                                                       ("2"
                                                                                        (expand
                                                                                         "finseq_appl")
                                                                                        (("2"
                                                                                          (replace
                                                                                           -2
                                                                                           2
                                                                                           rl)
                                                                                          (("2"
                                                                                            (inst
                                                                                             -1
                                                                                             "0"
                                                                                             "1 + i!1")
                                                                                            (("2"
                                                                                              (assert)
                                                                                              (("2"
                                                                                                (lemma
                                                                                                 "replace_preserv_parallel_pos")
                                                                                                (("2"
                                                                                                  (inst
                                                                                                   -1
                                                                                                   "x!2`seq(0)"
                                                                                                   "x!2`seq(1 + i!1)"
                                                                                                   "x!1"
                                                                                                   "t!1")
                                                                                                  (("2"
                                                                                                    (inst
                                                                                                     -4
                                                                                                     "0")
                                                                                                    (("2"
                                                                                                      (assert)
                                                                                                      nil
                                                                                                      nil))
                                                                                                    nil))
                                                                                                  nil))
                                                                                                nil))
                                                                                              nil))
                                                                                            nil))
                                                                                          nil))
                                                                                        nil))
                                                                                      nil))
                                                                                    nil)
                                                                                   ("2"
                                                                                    (hide
                                                                                     (-1
                                                                                      -2
                                                                                      2))
                                                                                    (("2"
                                                                                      (typepred
                                                                                       "i!1")
                                                                                      (("2"
                                                                                        (grind)
                                                                                        nil
                                                                                        nil))
                                                                                      nil))
                                                                                    nil))
                                                                                  nil))
                                                                                nil))
                                                                              nil))
                                                                            nil)
                                                                           ("2"
                                                                            (hide-all-but
                                                                             1)
                                                                            (("2"
                                                                              (typepred
                                                                               "i!1")
                                                                              (("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))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil)
                     ("2" (assertnil nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("2" (hide-all-but (-1 1))
      (("2" (typepred "y!2")
        (("2" (expand "SPP?")
          (("2" (flatten)
            (("2" (split)
              (("1" (rewrite "add_first_parallel_pos_to_PP_is_PP"nil
                nil)
               ("2" (rewrite "add_first_parallel_pos_to_SP_is_SP"nil
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("3" (hide -1 2)
      (("3" (skosimp*)
        (("3" (typepred "y!2")
          (("3" (expand "SPP?")
            (("3" (flatten)
              (("3" (split)
                (("1" (rewrite "add_first_parallel_pos_to_PP_is_PP")
                  nil nil)
                 ("2" (rewrite "add_first_parallel_pos_to_SP_is_SP")
                  nil nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("4" (hide -1 2)
      (("4" (skosimp*)
        (("4" (typepred "x!1`2")
          (("4" (expand "SPP?")
            (("4" (flatten)
              (("4" (split)
                (("1" (rewrite "add_first_parallel_pos_to_PP_is_PP")
                  nil nil)
                 ("2" (rewrite "add_first_parallel_pos_to_SP_is_SP")
                  nil nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("5" (hide-all-but (-1 1))
      (("5" (typepred "y!1`2")
        (("5" (expand "SPP?")
          (("5" (flatten)
            (("5" (split)
              (("1" (rewrite "add_first_parallel_pos_to_PP_is_PP"nil
                nil)
               ("2" (rewrite "add_first_parallel_pos_to_SP_is_SP"nil
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("6" (hide -1 2)
      (("6" (skosimp*)
        (("6" (typepred "y!1`2")
          (("6" (expand "SPP?")
            (("6" (flatten)
              (("6" (split)
                (("1" (rewrite "add_first_parallel_pos_to_PP_is_PP")
                  nil nil)
                 ("2" (rewrite "add_first_parallel_pos_to_SP_is_SP")
                  nil nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("7" (hide 2)
      (("7" (typepred "fss!1")
        (("7" (expand "SPP?")
          (("7" (flatten)
            (("7" (split)
              (("1" (rewrite "add_first_parallel_pos_to_PP_is_PP"nil
                nil)
               ("2" (rewrite "add_first_parallel_pos_to_SP_is_SP"nil
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((add_first_parallel_pos_to_PP_is_PP formula-decl nil positions nil)
    (add_first_parallel_pos_to_SP_is_SP formula-decl nil positions nil)
    (SP type-eq-decl nil positions nil)
    (insert? const-decl "finseq" seq_extras "structures/")
    (posint_plus_nnint_is_posint application-judgement "posint"
     integers nil)
    (nth_add_first formula-decl nil seq_extras "structures/")
    (replace_commutativity formula-decl nil replacement nil)
    (NOT const-decl "[bool -> bool]" booleans nil)
    (SP? const-decl "bool" positions nil)
    (t!1 skolem-const-decl "term[variable, symbol, arity]"
     replace_positions nil)
    (int_plus_int_is_int application-judgement "int" integers nil)
    (^ const-decl "finseq" finite_sequences nil)
    (min const-decl "{p: real | p <= m AND p <= n}" real_defs nil)
    (empty_seq const-decl "finseq" finite_sequences nil)
    (int_minus_int_is_int application-judgement "int" integers nil)
    (int_min application-judgement "{k: int | k <= i AND k <= j}"
     real_defs nil)
    (real_gt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (nnint_plus_posint_is_posint application-judgement "posint"
     integers nil)
    (rest_pos formula-decl nil seq_extras "structures/")
    (- const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (nnint_plus_nnint_is_nnint application-judgement "nonneg_int"
     integers nil)
    (<= const-decl "bool" positions nil)
    (O const-decl "finseq" finite_sequences nil)
    (i!1 skolem-const-decl "below[length(rest(x!2))]" replace_positions
     nil)
    (length_rest formula-decl nil seq_extras "structures/")
    (i!1 skolem-const-decl
     "below[length(rest[position[variable, symbol, arity]](x!2))]"
     replace_positions nil)
    (OR const-decl "[bool, bool -> bool]" booleans nil)
    (IF const-decl "[boolean, T, T -> T]" if_def nil)
    (/= const-decl "boolean" notequal nil)
    (PP type-eq-decl nil positions nil)
    (PP? const-decl "bool" positions nil)
    (rest_of_PP_is_PP formula-decl nil positions nil)
    (replaceTerm def-decl "term" replacement nil)
    (replace_preserv_parallel_pos formula-decl nil replacement nil)
    (rest const-decl "finseq" seq_extras "structures/")
    (parallel_comm formula-decl nil positions nil)
    (replace_preserv_pos formula-decl nil replacement nil)
    (x!2 skolem-const-decl "SPP[variable, symbol, arity](x!1)"
     replace_positions nil)
    (x!1 skolem-const-decl "term[variable, symbol, arity]"
     replace_positions nil)
    (+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (rest_add_first formula-decl nil seq_extras "structures/")
    (AND const-decl "[bool, bool -> bool]" booleans nil)
    (= const-decl "[T, T -> boolean]" equalities nil)
    (replace_pos def-decl "term" replace_positions nil)
    (positions type-eq-decl nil positions nil)
    (positionsOF def-decl "positions" positions nil)
    (positions? type-eq-decl nil positions nil)
    (IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
    (parallel const-decl "bool" positions nil)
    (finseq_appl const-decl "[below[length(fs)] -> T]" finite_sequences
     nil)
    (add_first const-decl "finseq" seq_extras "structures/")
    (wf_nat formula-decl nil naturalnumbers nil)
    (< const-decl "bool" reals nil)
    (naturalnumber type-eq-decl nil naturalnumbers nil)
    (SPP type-eq-decl nil positions nil)
    (SPP? const-decl "bool" positions nil)
    (finseq type-eq-decl nil finite_sequences nil)
    (position type-eq-decl nil positions nil)
    (posnat nonempty-type-eq-decl nil integers nil)
    (> const-decl "bool" reals nil)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (below type-eq-decl nil nat_types nil)
    (term type-decl nil term_adt nil)
    (arity formal-const-decl "[symbol -> nat]" replace_positions 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)
    (symbol formal-nonempty-type-decl nil replace_positions nil)
    (variable formal-nonempty-type-decl nil replace_positions nil)
    (measure_induction formula-decl nil measure_induction nil)
    (well_founded? const-decl "bool" orders nil)
    (pred type-eq-decl nil defined_types nil))
   shostak))
 (preserv_all_parallel_positions 0
  (preserv_all_parallel_positions-1 nil 3455272446
   ("" (measure-induct+ "length(fss)" ("s" "fss"))
    (("" (skosimp*)
      (("" (case "length(x!2) = 0")
        (("1" (hide (-2 -3))
          (("1" (typepred "q!1")
            (("1" (expand "replace_pos") (("1" (assertnil nil)) nil))
            nil))
          nil)
         ("2" (expand "replace_pos" 2)
          (("2" (assert)
            (("2" (inst -1 "replaceTerm(x!1, t!1, x!2(0))" "rest(x!2)")
              (("2" (inst -1 "t!1" "q!1")
                (("1" (rewrite "length_rest")
                  (("1" (assert)
                    (("1" (hide 3)
                      (("1" (case "length(rest(x!2)) = 0")
                        (("1" (hide -2) (("1" (grind) nil nil)) nil)
                         ("2" (skosimp*)
                          (("2" (lemma "fspos.rest_pos")
                            (("2" (expand "finseq_appl")
                              (("2"
                                (inst?)
                                (("2"
                                  (assert)
                                  (("2"
                                    (inst -1 "i!1")
                                    (("1"
                                      (inst -2 "i!1 + 1")
                                      (("1" (assertnil nil)
                                       ("2"
                                        (hide-all-but 1)
                                        (("2"
                                          (typepred "i!1")
                                          (("2" (grind) nil nil))
                                          nil))
                                        nil))
                                      nil)
                                     ("2"
                                      (hide-all-but 1)
                                      (("2"
                                        (typepred "i!1")
                                        (("2" (grind) nil nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil)
                 ("2" (hide 3)
                  (("2" (inst -1 "0")
                    (("2" (typepred "q!1")
                      (("2" (lemma "replace_preserv_parallel_pos")
                        (("2" (inst -1 "x!2(0)" "q!1" "x!1" "t!1")
                          (("2" (assert)
                            (("2" (hide-all-but 1)
                              (("2"
                                (typepred "x!2")
                                (("2"
                                  (expand "SPP?")
                                  (("2"
                                    (flatten)
                                    (("2"
                                      (expand "SP?")
                                      (("2" (inst -2 "0"nil nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((rest const-decl "finseq" seq_extras "structures/")
    (replaceTerm def-decl "term" replacement nil)
    (SP? const-decl "bool" positions nil)
    (replace_preserv_parallel_pos formula-decl nil replacement nil)
    (length_rest formula-decl nil seq_extras "structures/")
    (nnint_plus_posint_is_posint application-judgement "posint"
     integers nil)
    (+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (- const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (i!1 skolem-const-decl "below[length(rest(x!2))]" replace_positions
     nil)
    (rest_pos formula-decl nil seq_extras "structures/")
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (<= const-decl "bool" positions nil)
    (O const-decl "finseq" finite_sequences nil)
    (^ const-decl "finseq" finite_sequences nil)
    (min const-decl "{p: real | p <= m AND p <= n}" real_defs nil)
    (empty_seq const-decl "finseq" finite_sequences nil)
    (int_minus_int_is_int application-judgement "int" integers nil)
    (int_min application-judgement "{k: int | k <= i AND k <= j}"
     real_defs nil)
    (real_gt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (posint_plus_nnint_is_posint application-judgement "posint"
     integers nil)
    (q!1 skolem-const-decl "positions?[variable, symbol, arity](x!1)"
     replace_positions nil)
    (x!2 skolem-const-decl "SPP[variable, symbol, arity](x!1)"
     replace_positions nil)
    (t!1 skolem-const-decl "term[variable, symbol, arity]"
     replace_positions nil)
    (x!1 skolem-const-decl "term[variable, symbol, arity]"
     replace_positions nil)
    (NOT const-decl "[bool -> bool]" booleans nil)
    (= const-decl "[T, T -> boolean]" equalities nil)
    (replace_pos def-decl "term" replace_positions nil)
    (finseq_appl const-decl "[below[length(fs)] -> T]" finite_sequences
     nil)
    (parallel const-decl "bool" positions nil)
    (IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
    (positions? type-eq-decl nil positions nil)
    (positionsOF def-decl "positions" positions nil)
    (positions type-eq-decl nil positions nil)
    (wf_nat formula-decl nil naturalnumbers nil)
    (< const-decl "bool" reals nil)
    (naturalnumber type-eq-decl nil naturalnumbers nil)
    (SPP type-eq-decl nil positions nil)
    (SPP? const-decl "bool" positions nil)
    (finseq type-eq-decl nil finite_sequences nil)
    (position type-eq-decl nil positions nil)
    (posnat nonempty-type-eq-decl nil integers nil)
    (> const-decl "bool" reals nil)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (below type-eq-decl nil nat_types nil)
    (term type-decl nil term_adt nil)
    (arity formal-const-decl "[symbol -> nat]" replace_positions 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)
    (symbol formal-nonempty-type-decl nil replace_positions nil)
    (variable formal-nonempty-type-decl nil replace_positions nil)
    (measure_induction formula-decl nil measure_induction nil)
    (well_founded? const-decl "bool" orders nil)
    (pred type-eq-decl nil defined_types nil))
   shostak))
 (preserv_all_replaced_positions 0
  (preserv_all_replaced_positions-1 nil 3455272537
   ("" (measure-induct+ "length(fssp)" ("s" "fssp"))
    (("" (skolem 1 ("t" "_"))
      (("" (case "length(x!2) = 0")
        (("1" (hide -2) (("1" (grind) nil nil)) nil)
         ("2" (skosimp*)
          (("2" (case-replace "i!1 = 0")
            (("1" (hide -2)
              (("1" (lemma "preserv_first_position")
                (("1" (inst -1 "t" "x!1" "rest(x!2)" "first(x!2)")
                  (("1" (prop)
                    (("1" (lemma "fspos.seq_first_rest")
                      (("1" (inst?)
                        (("1" (assert)
                          (("1" (replace -1 -2 rl)
                            (("1" (expand "first")
                              (("1" (propax) nil nil)) nil))
                            nil))
                          nil))
                        nil))
                      nil)
                     ("2" (typepred "x!2")
                      (("2" (expand "SPP?")
                        (("2" (flatten)
                          (("2" (hide (-2 -3 3))
                            (("2" (expand "PP?")
                              (("2"
                                (prop)
                                (("1" (grind) nil nil)
                                 ("2"
                                  (skosimp*)
                                  (("2"
                                    (inst -1 "i!2 + 1" "0")
                                    (("1"
                                      (assert)
                                      (("1"
                                        (lemma "fspos.rest_pos")
                                        (("1"
                                          (inst?)
                                          (("1"
                                            (assert)
                                            (("1"
                                              (inst -1 "i!2")
                                              (("1"
                                                (assert)
                                                (("1"
                                                  (expand*
                                                   "first"
                                                   "finseq_appl")
                                                  (("1"
                                                    (assert)
                                                    nil
                                                    nil))
                                                  nil))
                                                nil)
                                               ("2"
                                                (hide-all-but 1)
                                                (("2"
                                                  (typepred "i!2")
                                                  (("2"
                                                    (grind)
                                                    nil
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil)
                                     ("2"
                                      (hide-all-but 1)
                                      (("2"
                                        (typepred "i!2")
                                        (("2" (grind) nil nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil)
                   ("2" (typepred "x!2")
                    (("2" (expand "SPP?")
                      (("2" (flatten)
                        (("2" (hide (-1 -3 3))
                          (("2" (expand "SP?")
                            (("2" (inst -1 "0")
                              (("2"
                                (expand "first")
                                (("2" (propax) nil nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil)
                   ("3" (hide (-1 3))
                    (("3" (typepred "x!2")
                      (("3" (expand "SPP?")
                        (("3" (flatten)
                          (("3" (split)
                            (("1" (rewrite "rest_of_PP_is_PP"nil nil)
                             ("2" (rewrite "rest_of_SP_is_SP"nil
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil)
             ("2" (inst -1 "replaceTerm(x!1, t, x!2(0))" "rest(x!2)")
              (("1" (inst -1 "t" "i!1 - 1")
                (("1" (rewrite "length_rest")
                  (("1" (case "rest(x!2)`length /= 0")
                    (("1" (assert)
                      (("1" (expand "replace_pos" 3)
                        (("1" (lemma "fspos.rest_pos")
                          (("1" (inst?)
                            (("1" (assert)
                              (("1"
                                (inst -1 "i!1 - 1")
                                (("1"
                                  (expand "finseq_appl")
                                  (("1" (assertnil nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil)
                     ("2" (hide -1)
                      (("2" (prop)
                        (("2" (expand "replace_pos")
                          (("2" (expand "replace_pos")
                            (("2" (prop)
                              (("2"
                                (typepred "x!2")
                                (("2"
                                  (expand "SPP?")
                                  (("2"
                                    (flatten)
                                    (("2"
                                      (expand "PP?")
                                      (("2"
                                        (prop)
                                        (("1"
                                          (hide (-2 1))
                                          (("1" (grind) nil nil))
                                          nil)
                                         ("2"
                                          (inst -1 "0" "i!1")
                                          (("2"
                                            (assert)
                                            (("2"
                                              (lemma
                                               "replace_preserv_parallel_pos")
                                              (("2"
                                                (inst
                                                 -1
                                                 "x!2(0)"
                                                 "x!2(i!1)"
                                                 "x!1"
                                                 "t")
                                                (("2"
                                                  (assert)
                                                  (("2"
                                                    (hide (-1 3))
                                                    (("2"
                                                      (expand "SP?")
                                                      (("2"
                                                        (copy -1)
                                                        (("2"
                                                          (inst -1 "0")
                                                          (("2"
                                                            (inst
                                                             -2
                                                             "i!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)
                 ("2" (typepred "i!1") (("2" (grind) nil nil)) nil))
                nil)
               ("2" (hide 4)
                (("2" (typepred "x!2")
                  (("2" (expand "SPP?")
                    (("2" (flatten)
                      (("2" (split)
                        (("1" (rewrite "rest_of_PP_is_PP"nil nil)
                         ("2" (expand "SP?")
                          (("2" (skosimp*)
                            (("2" (lemma "fspos.rest_pos")
                              (("2"
                                (inst?)
                                (("2"
                                  (assert)
                                  (("2"
                                    (inst -1 "i!2")
                                    (("1"
                                      (expand "finseq_appl")
                                      (("1"
                                        (replace -1 1 rl)
                                        (("1"
                                          (hide -1)
                                          (("1"
                                            (copy -2)
                                            (("1"
                                              (inst -1 "i!2 + 1")
                                              (("1"
                                                (inst -3 "0")
                                                (("1"
                                                  (lemma
                                                   "replace_preserv_parallel_pos")
                                                  (("1"
                                                    (inst
                                                     -1
                                                     "x!2`seq(0)"
                                                     "x!2`seq(i!2 + 1)"
                                                     "x!1"
                                                     "t")
                                                    (("1"
                                                      (assert)
                                                      (("1"
                                                        (hide
                                                         (-1 -3 2))
                                                        (("1"
                                                          (expand
                                                           "PP?")
                                                          (("1"
                                                            (inst
                                                             -1
                                                             "0"
                                                             "i!2 + 1")
                                                            (("1"
                                                              (expand
                                                               "finseq_appl")
                                                              (("1"
                                                                (propax)
                                                                nil
                                                                nil))
                                                              nil)
                                                             ("2"
                                                              (hide 2)
                                                              (("2"
                                                                (typepred
                                                                 "i!2")
                                                                (("2"
                                                                  (grind)
                                                                  nil
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil)
                                               ("2"
                                                (hide (-1 -2 2))
                                                (("2"
                                                  (typepred "i!2")
                                                  (("2"
                                                    (grind)
                                                    nil
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil)
                                     ("2"
                                      (hide 2)
                                      (("2"
                                        (typepred "i!2")
                                        (("2" (grind) nil nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil)
               ("3" (typepred "x!2")
                (("3" (expand"SPP?" "SP?")
                  (("3" (flatten) (("3" (inst -2 "0"nil nil)) nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((replaceTerm def-decl "term" replacement nil)
    (t skolem-const-decl "term[variable, symbol, arity]"
     replace_positions nil)
    (length_rest formula-decl nil seq_extras "structures/")
    (replace_preserv_parallel_pos formula-decl nil replacement nil)
    (i!1 skolem-const-decl "below[x!2`length]" replace_positions nil)
    (AND const-decl "[bool, bool -> bool]" booleans nil)
    (i!2 skolem-const-decl
     "below[length(rest[position[variable, symbol, arity]](x!2))]"
     replace_positions nil)
    (x!1 skolem-const-decl "term[variable, symbol, arity]"
     replace_positions nil)
    (rest const-decl "finseq" seq_extras "structures/")
    (x!2 skolem-const-decl "SPP[variable, symbol, arity](x!1)"
     replace_positions nil)
    (/= const-decl "boolean" notequal nil)
    (not_empty_seq type-eq-decl nil seq_extras "structures/")
    (first const-decl "T" seq_extras "structures/")
    (positions? type-eq-decl nil positions nil)
    (NOT const-decl "[bool -> bool]" booleans nil)
    (PP? const-decl "bool" positions nil)
    (int_minus_int_is_int application-judgement "int" integers nil)
    (- const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (int_min application-judgement "{k: int | k <= i AND k <= j}"
     real_defs nil)
    (real_gt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (int_plus_int_is_int application-judgement "int" integers nil)
    (min const-decl "{p: real | p <= m AND p <= n}" real_defs nil)
    (rest_pos formula-decl nil seq_extras "structures/")
    (i!2 skolem-const-decl "below[length(rest(x!2))]" replace_positions
     nil)
    (+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (nnint_plus_posint_is_posint application-judgement "posint"
     integers nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (empty_seq const-decl "finseq" finite_sequences nil)
    (^ const-decl "finseq" finite_sequences nil)
    (O const-decl "finseq" finite_sequences nil)
    (<= const-decl "bool" positions nil)
    (parallel const-decl "bool" positions nil)
    (seq_first_rest formula-decl nil seq_extras "structures/")
    (SP? const-decl "bool" positions nil)
    (SP type-eq-decl nil positions nil)
    (rest_of_SP_is_SP formula-decl nil positions nil)
    (PP type-eq-decl nil positions nil)
    (rest_of_PP_is_PP formula-decl nil positions nil)
    (preserv_first_position formula-decl nil replace_positions nil)
    (posint_plus_nnint_is_posint application-judgement "posint"
     integers nil)
    (IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
    (= const-decl "[T, T -> boolean]" equalities nil)
    (finseq_appl const-decl "[below[length(fs)] -> T]" finite_sequences
     nil)
    (replace_pos def-decl "term" replace_positions nil)
    (positionsOF def-decl "positions" positions nil)
    (positions type-eq-decl nil positions nil)
    (wf_nat formula-decl nil naturalnumbers nil)
    (< const-decl "bool" reals nil)
    (naturalnumber type-eq-decl nil naturalnumbers nil)
    (SPP type-eq-decl nil positions nil)
    (SPP? const-decl "bool" positions nil)
    (finseq type-eq-decl nil finite_sequences nil)
    (position type-eq-decl nil positions nil)
    (posnat nonempty-type-eq-decl nil integers nil)
    (> const-decl "bool" reals nil)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (below type-eq-decl nil nat_types nil)
    (term type-decl nil term_adt nil)
    (arity formal-const-decl "[symbol -> nat]" replace_positions 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)
    (symbol formal-nonempty-type-decl nil replace_positions nil)
    (variable formal-nonempty-type-decl nil replace_positions nil)
    (measure_induction formula-decl nil measure_induction nil)
    (well_founded? const-decl "bool" orders nil)
    (pred type-eq-decl nil defined_types nil))
   shostak))
 (preserv_unchanged_subterms_TCC1 0
  (preserv_unchanged_subterms_TCC1-1 nil 3455272043
   ("" (skosimp*)
    (("" (rewrite "preserv_all_parallel_positions"nil nil)) nil)
   ((preserv_all_parallel_positions formula-decl nil replace_positions
     nil)
    (variable formal-nonempty-type-decl nil replace_positions nil)
    (symbol formal-nonempty-type-decl nil replace_positions 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)
    (arity formal-const-decl "[symbol -> nat]" replace_positions nil)
    (term type-decl nil term_adt nil)
    (below type-eq-decl nil nat_types nil)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (> const-decl "bool" reals nil)
    (posnat nonempty-type-eq-decl nil integers nil)
    (position type-eq-decl nil positions nil)
    (finseq type-eq-decl nil finite_sequences nil)
    (SPP? const-decl "bool" positions nil)
    (SPP type-eq-decl nil positions nil)
    (positions type-eq-decl nil positions nil)
    (positionsOF def-decl "positions" positions nil)
    (positions? type-eq-decl nil positions nil))
   nil))
 (preserv_unchanged_subterms 0
  (preserv_unchanged_subterms-1 nil 3455272651
   ("" (measure-induct+ "length(fss)" ("s" "fss"))
    (("1" (skosimp*)
      (("1" (case "length(x!2) = 0")
        (("1" (hide (-2 -3))
          (("1" (expand "replace_pos") (("1" (assertnil nil)) nil))
          nil)
         ("2" (expand "replace_pos" 2)
          (("2" (assert)
            (("2" (inst -1 "replaceTerm(x!1, t!1, x!2(0))" "rest(x!2)")
              (("2" (inst -1 "t!1" "q!1")
                (("1" (rewrite "length_rest")
                  (("1" (prop)
                    (("1" (replaces -1)
                      (("1" (lemma "replace_persistence")
                        (("1" (inst -1 "x!2(0)" "q!1" "x!1" "t!1")
                          (("1" (assert)
                            (("1" (hide 3)
                              (("1"
                                (typepred "x!2")
                                (("1"
                                  (expand "SPP?")
                                  (("1"
                                    (flatten)
                                    (("1"
                                      (expand "SP?")
                                      (("1"
                                        (inst -2 "0")
                                        (("1"
                                          (inst -3 "0")
                                          (("1" (assertnil nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil)
                     ("2" (hide 3)
                      (("2" (case "length(rest(x!2)) = 0")
                        (("1" (hide -2) (("1" (grind) nil nil)) nil)
                         ("2" (skosimp*)
                          (("2" (lemma "fspos.rest_pos")
                            (("2" (expand "finseq_appl")
                              (("2"
                                (inst?)
                                (("2"
                                  (assert)
                                  (("2"
                                    (inst -1 "i!1")
                                    (("1"
                                      (inst -2 "i!1 + 1")
                                      (("1" (assertnil nil)
                                       ("2"
                                        (hide-all-but 1)
                                        (("2"
                                          (typepred "i!1")
                                          (("2" (grind) nil nil))
                                          nil))
                                        nil))
                                      nil)
                                     ("2"
                                      (hide-all-but 1)
                                      (("2"
                                        (typepred "i!1")
                                        (("2" (grind) nil nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil)
                 ("2" (hide 3)
                  (("2" (typepred "x!2")
                    (("2" (expand "SPP?")
                      (("2" (flatten)
                        (("2" (hide -1)
                          (("2" (expand "SP?")
                            (("2" (inst -1 "0")
                              (("2"
                                (inst -2 "0")
                                (("2"
                                  (typepred "q!1")
                                  (("2"
                                    (lemma
                                     "replace_preserv_parallel_pos")
                                    (("2"
                                      (inst
                                       -1
                                       "x!2(0)"
                                       "q!1"
                                       "x!1"
                                       "t!1")
                                      (("2" (assertnil nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("2" (hide (-2 -3 2))
      (("2" (rewrite "preserv_all_parallel_positions"nil nil)) nil)
     ("3" (hide (-1 2))
      (("3" (skosimp*)
        (("3" (rewrite "preserv_all_parallel_positions"nil nil))
        nil))
      nil)
     ("4" (hide (-1 2))
      (("4" (skosimp*)
        (("4" (rewrite "preserv_all_parallel_positions"nil nil))
        nil))
      nil)
     ("5" (hide-all-but (-1 1))
      (("5" (rewrite "preserv_all_parallel_positions"nil nil)) nil)
     ("6" (hide (-1 2))
      (("6" (skosimp*)
        (("6" (rewrite "preserv_all_parallel_positions"nil nil))
        nil))
      nil)
     ("7" (hide 2)
      (("7" (rewrite "preserv_all_parallel_positions"nil nil)) nil))
    nil)
   ((preserv_all_parallel_positions formula-decl nil replace_positions
     nil)
    (rest const-decl "finseq" seq_extras "structures/")
    (replaceTerm def-decl "term" replacement nil)
    (replace_preserv_parallel_pos formula-decl nil replacement nil)
    (length_rest formula-decl nil seq_extras "structures/")
    (nnint_plus_posint_is_posint application-judgement "posint"
     integers nil)
    (+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (- const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (i!1 skolem-const-decl "below[length(rest(x!2))]" replace_positions
     nil)
    (rest_pos formula-decl nil seq_extras "structures/")
    (<= const-decl "bool" positions nil)
    (O const-decl "finseq" finite_sequences nil)
    (^ const-decl "finseq" finite_sequences nil)
    (min const-decl "{p: real | p <= m AND p <= n}" real_defs nil)
    (empty_seq const-decl "finseq" finite_sequences nil)
    (int_minus_int_is_int application-judgement "int" integers nil)
    (int_min application-judgement "{k: int | k <= i AND k <= j}"
     real_defs nil)
    (real_gt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (posint_plus_nnint_is_posint application-judgement "posint"
     integers nil)
    (SP? const-decl "bool" positions nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (NOT const-decl "[bool -> bool]" booleans nil)
    (replace_persistence formula-decl nil replacement nil)
    (q!1 skolem-const-decl "positions?[variable, symbol, arity](x!1)"
     replace_positions nil)
    (x!2 skolem-const-decl "SPP[variable, symbol, arity](x!1)"
     replace_positions nil)
    (t!1 skolem-const-decl "term[variable, symbol, arity]"
     replace_positions nil)
    (x!1 skolem-const-decl "term[variable, symbol, arity]"
     replace_positions nil)
    (AND const-decl "[bool, bool -> bool]" booleans nil)
    (subtermOF def-decl "term" subterm nil)
    (= const-decl "[T, T -> boolean]" equalities nil)
    (positions type-eq-decl nil positions nil)
    (positionsOF def-decl "positions" positions nil)
    (positions? type-eq-decl nil positions nil)
    (IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
    (parallel const-decl "bool" positions nil)
    (finseq_appl const-decl "[below[length(fs)] -> T]" finite_sequences
     nil)
    (replace_pos def-decl "term" replace_positions nil)
    (wf_nat formula-decl nil naturalnumbers nil)
    (< const-decl "bool" reals nil)
    (naturalnumber type-eq-decl nil naturalnumbers nil)
    (SPP type-eq-decl nil positions nil)
    (SPP? const-decl "bool" positions nil)
    (finseq type-eq-decl nil finite_sequences nil)
    (position type-eq-decl nil positions nil)
    (posnat nonempty-type-eq-decl nil integers nil)
    (> const-decl "bool" reals nil)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (below type-eq-decl nil nat_types nil)
    (term type-decl nil term_adt nil)
    (arity formal-const-decl "[symbol -> nat]" replace_positions 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)
    (symbol formal-nonempty-type-decl nil replace_positions nil)
    (variable formal-nonempty-type-decl nil replace_positions nil)
    (measure_induction formula-decl nil measure_induction nil)
    (well_founded? const-decl "bool" orders nil)
    (pred type-eq-decl nil defined_types nil))
   shostak))
 (replace_pos_subterm_to_term_TCC1 0
  (replace_pos_subterm_to_term_TCC1-1 nil 3457522914
   ("" (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)
    (variable formal-nonempty-type-decl nil replace_positions nil)
    (symbol formal-nonempty-type-decl nil replace_positions 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)
    (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)
    (arity formal-const-decl "[symbol -> nat]" replace_positions nil)
    (term type-decl nil term_adt nil)
    (below type-eq-decl nil nat_types nil)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (> const-decl "bool" reals nil)
    (posnat nonempty-type-eq-decl nil integers nil)
    (position type-eq-decl nil positions nil)
    (finseq type-eq-decl nil finite_sequences nil)
    (SPP? const-decl "bool" positions nil)
    (SPP type-eq-decl nil positions nil)
    (< const-decl "bool" reals nil)
    (SP? const-decl "bool" positions nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (finseq_appl const-decl "[below[length(fs)] -> T]" finite_sequences
     nil))
   nil))
 (replace_pos_subterm_to_term 0
  (replace_pos_subterm_to_term-1 nil 3457522958
   ("" (measure-induct+ "length(fss)" ("s" "fss"))
    (("1" (skosimp*)
      (("1" (case "length(x!2) = 0")
        (("1" (hide (-2 -3))
          (("1" (expand "replace_pos")
            (("1" (lift-if) (("1" (assertnil nil)) nil)) nil))
          nil)
         ("2" (expand "replace_pos" 2)
          (("2" (lift-if)
            (("2" (assert)
              (("2" (expand "finseq_appl")
                (("2"
                  (inst -1 "replaceTerm(x!1, t!1, x!2`seq(0))"
                   "rest(x!2)")
                  (("2" (inst -1 "t!1")
                    (("2" (prop)
                      (("1" (inst -2 "0")
                        (("1"
                          (case "replaceTerm(x!1, t!1, x!2`seq(0)) = x!1")
                          (("1" (replaces -1) nil nil)
                           ("2" (hide (-1 3))
                            (("2" (replace -1 1 rl)
                              (("2"
                                (rewrite "replace_subterm_of_term")
                                (("2"
                                  (hide (-1 2))
                                  (("2"
                                    (typepred "x!2")
                                    (("2"
                                      (expand "SPP?")
                                      (("2"
                                        (flatten)
                                        (("2"
                                          (expand "SP?")
                                          (("2"
                                            (inst -2 "0")
                                            (("2"
                                              (expand "finseq_appl")
                                              (("2" (propax) nil nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil)
                       ("2" (hide 3)
                        (("2" (skosimp*)
                          (("2" (copy -1)
                            (("2" (inst -1 "0")
                              (("2"
                                (case
                                 "replaceTerm(x!1, t!1, x!2`seq(0)) = x!1")
                                (("1"
                                  (replaces -1)
                                  (("1"
                                    (hide -1)
                                    (("1"
                                      (lemma "rest_pos[position]")
                                      (("1"
                                        (inst?)
                                        (("1"
                                          (prop)
                                          (("1"
                                            (inst?)
                                            (("1"
                                              (expand "finseq_appl")
                                              (("1"
                                                (replace -1 1 rl)
                                                (("1"
                                                  (inst -2 "i!1 + 1")
                                                  (("1"
                                                    (assert)
                                                    nil
                                                    nil)
                                                   ("2"
                                                    (hide (-1 2))
                                                    (("2"
                                                      (typepred "i!1")
                                                      (("2"
                                                        (grind)
                                                        nil
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil)
                                             ("2"
                                              (hide (-1 2))
                                              (("2"
                                                (typepred "i!1")
                                                (("2" (grind) nil nil))
                                                nil))
                                              nil))
                                            nil)
                                           ("2"
                                            (hide -2)
                                            (("2"
                                              (expand "subtermOF")
                                              (("2"
                                                (lift-if)
                                                (("2"
                                                  (assert)
                                                  nil
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil)
                                 ("2"
                                  (hide (-2 2))
                                  (("2"
                                    (replace -1 1 rl)
                                    (("2"
                                      (rewrite
                                       "replace_subterm_of_term")
                                      (("2"
                                        (hide (-1 2))
                                        (("2"
                                          (typepred "x!2")
                                          (("2"
                                            (expand "SPP?")
                                            (("2"
                                              (flatten)
                                              (("2"
                                                (expand "SP?")
                                                (("2"
                                                  (inst -2 "0")
                                                  (("2"
                                                    (expand
                                                     "finseq_appl")
                                                    (("2"
                                                      (propax)
                                                      nil
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil)
                       ("3" (hide (-1 3))
                        (("3" (rewrite "length_rest"nil nil)) nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("2" (hide (-1 2))
      (("2" (skosimp*)
        (("2" (expand "finseq_appl")
          (("2" (typepred "y!2")
            (("2" (expand "SPP?")
              (("2" (flatten)
                (("2" (expand "SP?")
                  (("2" (inst -2 "i!1")
                    (("2" (expand "finseq_appl")
                      (("2" (propax) nil nil)) nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("3" (hide 2)
      (("3" (skosimp*)
        (("3" (typepred "y!2")
          (("3" (expand "SPP?")
            (("3" (flatten)
              (("3" (expand "SP?") (("3" (inst -2 "i!1"nil nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("4" (hide (-1 2))
      (("4" (skosimp*)
        (("4" (typepred "x!1`2")
          (("4" (expand "SPP?")
            (("4" (flatten)
              (("4" (expand "SP?") (("4" (inst -2 "i1!1"nil nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("5" (hide (-1 2 3))
      (("5" (skosimp*)
        (("5" (typepred "y!1`2")
          (("5" (expand "SPP?")
            (("5" (flatten)
              (("5" (expand "SP?") (("5" (inst -2 "i!1"nil nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("6" (hide 2)
      (("6" (skosimp*)
        (("6" (typepred "y!1`2")
          (("6" (expand "SPP?")
            (("6" (flatten)
              (("6" (expand "SP?") (("6" (inst -2 "i!1"nil nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("7" (hide 2)
      (("7" (typepred "fss!1")
        (("7" (expand "SPP?")
          (("7" (flatten)
            (("7" (expand "SP?") (("7" (inst -2 "i!1"nil nil)) nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((rest const-decl "finseq" seq_extras "structures/")
    (replaceTerm def-decl "term" replacement nil)
    (SP? const-decl "bool" positions nil)
    (NOT const-decl "[bool -> bool]" booleans nil)
    (replace_subterm_of_term formula-decl nil replacement nil)
    (rest_pos formula-decl nil seq_extras "structures/")
    (nnint_plus_posint_is_posint application-judgement "posint"
     integers nil)
    (+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (posint_plus_nnint_is_posint application-judgement "posint"
     integers nil)
    (^ const-decl "finseq" finite_sequences nil)
    (min const-decl "{p: real | p <= m AND p <= n}" real_defs nil)
    (empty_seq const-decl "finseq" finite_sequences nil)
    (int_min application-judgement "{k: int | k <= i AND k <= j}"
     real_defs nil)
    (real_gt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (- const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (i!1 skolem-const-decl "below[length(rest(x!2))]" replace_positions
     nil)
    (x!2 skolem-const-decl "SPP[variable, symbol, arity](x!1)"
     replace_positions nil)
    (x!1 skolem-const-decl "term[variable, symbol, arity]"
     replace_positions nil)
    (int_minus_int_is_int application-judgement "int" integers nil)
    (even_minus_odd_is_odd application-judgement "odd_int" integers
     nil)
    (odd_minus_odd_is_even application-judgement "even_int" integers
     nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (length_rest formula-decl nil seq_extras "structures/")
    (replace_pos def-decl "term" replace_positions nil)
    (subtermOF def-decl "term" subterm nil)
    (positions? type-eq-decl nil positions nil)
    (= const-decl "[T, T -> boolean]" equalities nil)
    (IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
    (positions type-eq-decl nil positions nil)
    (positionsOF def-decl "positions" positions nil)
    (finseq_appl const-decl "[below[length(fs)] -> T]" finite_sequences
     nil)
    (wf_nat formula-decl nil naturalnumbers nil)
    (< const-decl "bool" reals nil)
    (naturalnumber type-eq-decl nil naturalnumbers nil)
    (SPP type-eq-decl nil positions nil)
    (SPP? const-decl "bool" positions nil)
    (finseq type-eq-decl nil finite_sequences nil)
    (position type-eq-decl nil positions nil)
    (posnat nonempty-type-eq-decl nil integers nil)
    (> const-decl "bool" reals nil)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (below type-eq-decl nil nat_types nil)
    (term type-decl nil term_adt nil)
    (arity formal-const-decl "[symbol -> nat]" replace_positions 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)
    (symbol formal-nonempty-type-decl nil replace_positions nil)
    (variable formal-nonempty-type-decl nil replace_positions nil)
    (measure_induction formula-decl nil measure_induction nil)
    (well_founded? const-decl "bool" orders nil)
    (pred type-eq-decl nil defined_types nil))
   shostak))
 (replace_pos_to_term_TCC1 0
  (replace_pos_to_term_TCC1-1 nil 3456672662
   ("" (skosimp*)
    (("" (lemma "Pos_var_is_finite")
      (("" (inst?) (("" (assertnil nil)) nil)) nil))
    nil)
   ((arity formal-const-decl "[symbol -> nat]" replace_positions 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)
    (symbol formal-nonempty-type-decl nil replace_positions nil)
    (variable formal-nonempty-type-decl nil replace_positions nil)
    (Pos_var_is_finite formula-decl nil subterm nil)
    (V const-decl "set[term]" variables_term nil)
    (set type-eq-decl nil sets nil) (term type-decl nil term_adt nil))
   nil))
 (replace_pos_to_term_TCC2 0
  (replace_pos_to_term_TCC2-1 nil 3456672662
   ("" (skosimp*)
    (("" (expand "SPP?")
      (("" (split)
        (("1" (lemma "pos_occ_var_HAStypePP")
          (("1" (inst?) (("1" (assertnil nil)) nil)) nil)
         ("2" (lemma "pos_occ_var_HAStypeSP")
          (("2" (inst?) (("2" (assertnil nil)) nil)) nil))
        nil))
      nil))
    nil)
   ((SPP? const-decl "bool" positions nil)
    (pos_occ_var_HAStypeSP formula-decl nil subterm nil)
    (arity formal-const-decl "[symbol -> nat]" replace_positions 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)
    (symbol formal-nonempty-type-decl nil replace_positions nil)
    (variable formal-nonempty-type-decl nil replace_positions nil)
    (pos_occ_var_HAStypePP formula-decl nil subterm nil)
    (V const-decl "set[term]" variables_term nil)
    (set type-eq-decl nil sets nil) (term type-decl nil term_adt nil))
   nil))
 (replace_pos_to_term 0
  (replace_pos_to_term-1 nil 3456672663
   ("" (skosimp*)
    (("" (name-replace "fss" "set2seq(Pos_var(s!1, x!1))" :hide? nil)
      (("" (lemma "replace_pos_subterm_to_term")
        (("" (inst -1 "x!1" "s!1" "fss")
          (("" (assert)
            (("" (hide 2)
              (("" (skosimp*)
                (("" (expand "finseq_appl")
                  (("" (lemma "set2seq_lem[position]")
                    (("" (inst?)
                      (("" (assert)
                        (("" (inst -1 "i!1")
                          (("1" (expand "finseq_appl")
                            (("1" (replaces -2)
                              (("1"
                                (expand "Pos_var")
                                (("1"
                                  (expand "extend")
                                  (("1" (propax) nil nil))
                                  nil))
                                nil))
                              nil))
                            nil)
                           ("2" (typepred "i!1")
                            (("2" (replaces -2 :dir rl)
                              (("2"
                                (rewrite "set2seq_length")
                                nil
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((nat nonempty-type-eq-decl nil naturalnumbers nil)
    (below type-eq-decl nil nat_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)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (> const-decl "bool" reals nil)
    (posnat nonempty-type-eq-decl nil integers nil)
    (variable formal-nonempty-type-decl nil replace_positions nil)
    (symbol formal-nonempty-type-decl nil replace_positions nil)
    (arity formal-const-decl "[symbol -> nat]" replace_positions nil)
    (position type-eq-decl nil positions nil)
    (finite_sequence type-eq-decl nil finite_sequences nil)
    (= const-decl "[T, T -> boolean]" equalities nil)
    (set type-eq-decl nil sets nil)
    (is_finite const-decl "bool" finite_sets nil)
    (finite_set type-eq-decl nil finite_sets nil)
    (set2seq def-decl "finite_sequence[T]" set2seq "structures/")
    (term type-decl nil term_adt nil)
    (V const-decl "set[term]" variables_term nil)
    (positions type-eq-decl nil positions nil)
    (Pos_var const-decl "positions" subterm nil)
    (SPP type-eq-decl nil positions nil)
    (SPP? const-decl "bool" positions nil)
    (finseq type-eq-decl nil finite_sequences nil)
    (finseq_appl const-decl "[below[length(fs)] -> T]" finite_sequences
     nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (< const-decl "bool" reals nil)
    (fss skolem-const-decl
     "finite_sequence[position[variable, symbol, arity]]"
     replace_positions nil)
    (i!1 skolem-const-decl "below[length(fss)]" replace_positions nil)
    (Card const-decl "nat" finite_sets nil)
    (card const-decl "{n: nat | n = Card(S)}" finite_sets nil)
    (s!1 skolem-const-decl "term[variable, symbol, arity]"
     replace_positions nil)
    (x!1 skolem-const-decl "(V)" replace_positions nil)
    (below type-eq-decl nil naturalnumbers nil)
    (set2seq_length formula-decl nil set2seq "structures/")
    (extend const-decl "R" extend nil)
    (NOT const-decl "[bool -> bool]" booleans nil)
    (set2seq_lem formula-decl nil set2seq "structures/")
    (replace_pos_subterm_to_term formula-decl nil replace_positions
     nil))
   shostak))
 (CP_lemma_aux2a_TCC1 0
  (CP_lemma_aux2a_TCC1-1 nil 3455272825
   ("" (skosimp*)
    (("" (typepred "fss!1")
      (("" (expand "SPP?")
        (("" (flatten)
          (("" (split)
            (("1" (rewrite "add_last_parallel_pos_to_PP_is_PP"nil
              nil)
             ("2" (rewrite "add_last_parallel_pos_to_SP_is_SP"nil
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((SPP type-eq-decl nil positions nil)
    (SPP? const-decl "bool" positions nil)
    (finseq type-eq-decl nil finite_sequences nil)
    (position type-eq-decl nil positions nil)
    (posnat nonempty-type-eq-decl nil integers nil)
    (> const-decl "bool" reals nil)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (below type-eq-decl nil nat_types nil)
    (term type-decl nil term_adt nil)
    (arity formal-const-decl "[symbol -> nat]" replace_positions 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)
    (number nonempty-type-decl nil numbers nil)
    (symbol formal-nonempty-type-decl nil replace_positions nil)
    (variable formal-nonempty-type-decl nil replace_positions nil)
    (NOT const-decl "[bool -> bool]" booleans nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (boolean nonempty-type-decl nil booleans nil)
    (add_last_parallel_pos_to_SP_is_SP formula-decl nil positions nil)
    (SP? const-decl "bool" positions nil)
    (SP type-eq-decl nil positions nil)
    (add_last_parallel_pos_to_PP_is_PP formula-decl nil positions nil)
    (PP? const-decl "bool" positions nil)
    (PP type-eq-decl nil positions nil)
    (positions type-eq-decl nil positions nil)
    (positionsOF def-decl "positions" positions nil)
    (positions? type-eq-decl nil positions nil))
   nil))
 (CP_lemma_aux2a 0
  (CP_lemma_aux2a-1 nil 3455272867
   ("" (measure-induct+ "length(fss)" ("s" "fss"))
    (("1" (skosimp*)
      (("1" (case "length(x!2) = 0")
        (("1" (hide (-2 -3))
          (("1" (expand "replace_pos")
            (("1" (lift-if)
              (("1" (lift-if)
                (("1" (prop)
                  (("1" (hide 1) (("1" (grind) nil nil)) nil)
                   ("2" (grind) nil nil))
                  nil))
                nil))
              nil))
            nil))
          nil)
         ("2" (expand "replace_pos" 2 1)
          (("2" (lift-if)
            (("2" (prop)
              (("1" (hide-all-but (-1 2)) (("1" (grind) nil nil)) nil)
               ("2" (lemma "fspos.rest_add_last")
                (("2" (inst?)
                  (("2" (assert)
                    (("2" (replaces -1)
                      (("2"
                        (inst -1
                         "replaceTerm(x!1, t!1, add_last(x!2, q!1)(0))"
                         "rest(x!2)")
                        (("1" (inst -1 "t!1" "q!1")
                          (("1" (rewrite "length_rest")
                            (("1" (prop)
                              (("1"
                                (name-replace
                                 "RTq"
                                 "replaceTerm(x!1, t!1, add_last(x!2, q!1)(0))")
                                (("1"
                                  (replaces -1)
                                  (("1"
                                    (expand "RTq")
                                    (("1"
                                      (lemma "fspos.nth_add_last")
                                      (("1"
                                        (inst -1 "x!2" "q!1" "0")
                                        (("1"
                                          (assert)
                                          (("1"
                                            (replaces -1)
                                            (("1"
                                              (expand
                                               "replace_pos"
                                               2
                                               2)
                                              (("1" (propax) nil nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil)
                               ("2"
                                (hide-all-but (-1 1 3))
                                (("2"
                                  (case "length(rest(x!2)) = 0")
                                  (("1"
                                    (hide -2)
                                    (("1" (grind) nil nil))
                                    nil)
                                   ("2"
                                    (skosimp*)
                                    (("2"
                                      (expand "finseq_appl")
                                      (("2"
                                        (lemma "fspos.rest_pos")
                                        (("2"
                                          (inst?)
                                          (("2"
                                            (assert)
                                            (("2"
                                              (inst -1 "i!1")
                                              (("1"
                                                (expand "finseq_appl")
                                                (("1"
                                                  (inst -2 "i!1 + 1")
                                                  (("1"
                                                    (assert)
                                                    nil
                                                    nil)
                                                   ("2"
                                                    (hide-all-but 1)
                                                    (("2"
                                                      (typepred "i!1")
                                                      (("2"
                                                        (grind)
                                                        nil
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil)
                                               ("2"
                                                (hide-all-but 1)
                                                (("2"
                                                  (typepred "i!1")
                                                  (("2"
                                                    (grind)
                                                    nil
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil)
                           ("2" (expand "finseq_appl")
                            (("2" (hide-all-but (-1 1 4))
                              (("2"
                                (lemma "fspos.nth_add_last")
                                (("2"
                                  (inst -1 "x!2" "q!1" "0")
                                  (("2"
                                    (assert)
                                    (("2"
                                      (expand "finseq_appl")
                                      (("2"
                                        (replaces -1)
                                        (("2"
                                          (inst -1 "0")
                                          (("2"
                                            (typepred "x!2")
                                            (("2"
                                              (expand "SPP?")
                                              (("2"
                                                (flatten)
                                                (("2"
                                                  (hide -1)
                                                  (("2"
                                                    (expand "SP?")
                                                    (("2"
                                                      (inst -1 "0")
                                                      (("2"
                                                        (typepred
                                                         "q!1")
                                                        (("2"
                                                          (lemma
                                                           "replace_preserv_parallel_pos")
                                                          (("2"
                                                            (inst
                                                             -1
                                                             "x!2(0)"
                                                             "q!1"
                                                             "x!1"
                                                             "t!1")
                                                            (("2"
                                                              (expand
                                                               "finseq_appl")
                                                              (("2"
                                                                (assert)
                                                                nil
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil)
                         ("2" (hide (-1 2 3))
                          (("2" (lemma "fspos.nth_add_last")
                            (("2" (inst -1 "x!2" "q!1" "0")
                              (("2"
                                (assert)
                                (("2"
                                  (replaces -1)
                                  (("2"
                                    (typepred "x!2")
                                    (("2"
                                      (expand "SPP?")
                                      (("2"
                                        (flatten)
                                        (("2"
                                          (split)
                                          (("1"
                                            (rewrite
                                             "rest_of_PP_is_PP")
                                            nil
                                            nil)
                                           ("2"
                                            (expand"PP?" "SP?")
                                            (("2"
                                              (assert)
                                              (("2"
                                                (prop)
                                                (("1" (grind) nil nil)
                                                 ("2"
                                                  (lemma
                                                   "fspos.rest_pos")
                                                  (("2"
                                                    (inst?)
                                                    (("2"
                                                      (prop)
                                                      (("1"
                                                        (skosimp*)
                                                        (("1"
                                                          (inst
                                                           -1
                                                           "i!1")
                                                          (("1"
                                                            (inst
                                                             -2
                                                             "0"
                                                             "i!1 + 1")
                                                            (("1"
                                                              (assert)
                                                              (("1"
                                                                (copy
                                                                 -3)
                                                                (("1"
                                                                  (inst
                                                                   -1
                                                                   "0")
                                                                  (("1"
                                                                    (inst
                                                                     -4
                                                                     "i!1 + 1")
                                                                    (("1"
                                                                      (expand
                                                                       "finseq_appl")
                                                                      (("1"
                                                                        (replace
                                                                         -2
                                                                         2
                                                                         rl)
                                                                        (("1"
                                                                          (hide
                                                                           -2)
                                                                          (("1"
                                                                            (lemma
                                                                             "replace_preserv_parallel_pos")
                                                                            (("1"
                                                                              (inst
                                                                               -1
                                                                               "x!2`seq(0)"
                                                                               "x!2`seq(1 + i!1)"
                                                                               "x!1"
                                                                               "t!1")
                                                                              (("1"
                                                                                (assert)
                                                                                nil
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil)
                                                                     ("2"
                                                                      (hide-all-but
                                                                       1)
                                                                      (("2"
                                                                        (typepred
                                                                         "i!1")
                                                                        (("2"
                                                                          (grind)
                                                                          nil
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil)
                                                           ("2"
                                                            (hide-all-but
                                                             1)
                                                            (("2"
                                                              (typepred
                                                               "i!1")
                                                              (("2"
                                                                (grind)
                                                                nil
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil)
                                                       ("2"
                                                        (hide-all-but
                                                         (-1 2 3))
                                                        (("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))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("2" (hide-all-but (-1 1))
      (("2" (rewrite "preserv_all_parallel_positions"nil nil)) nil)
     ("3" (hide-all-but (-1 1))
      (("3" (typepred "y!2")
        (("3" (expand "SPP?")
          (("3" (flatten)
            (("3" (rewrite "add_last_parallel_pos_to_PP_is_PP")
              (("3" (rewrite "add_last_parallel_pos_to_SP_is_SP"nil
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("4" (hide-all-but 1)
      (("4" (skosimp*)
        (("4" (rewrite "preserv_all_parallel_positions"nil nil))
        nil))
      nil)
     ("5" (hide-all-but 1)
      (("5" (skosimp*)
        (("5" (typepred "y!2")
          (("5" (expand "SPP?")
            (("5" (flatten)
              (("5" (rewrite "add_last_parallel_pos_to_PP_is_PP")
                (("5" (rewrite "add_last_parallel_pos_to_SP_is_SP"nil
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("6" (hide-all-but 1)
      (("6" (skosimp*)
        (("6" (rewrite "preserv_all_parallel_positions"nil nil))
        nil))
      nil)
     ("7" (hide-all-but (-1 1))
      (("7" (rewrite "preserv_all_parallel_positions"nil nil)) nil)
     ("8" (hide-all-but (-1 1))
      (("8" (typepred "y!1`2")
        (("8" (expand "SPP?")
          (("8" (flatten)
            (("8" (rewrite "add_last_parallel_pos_to_PP_is_PP")
              (("8" (rewrite "add_last_parallel_pos_to_SP_is_SP"nil
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("9" (hide-all-but 1)
      (("9" (skosimp*)
        (("9" (typepred "x!1`2")
          (("9" (expand "SPP?")
            (("9" (flatten)
              (("9" (rewrite "add_last_parallel_pos_to_PP_is_PP")
                (("9" (rewrite "add_last_parallel_pos_to_SP_is_SP"nil
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("10" (hide-all-but (-1 1))
      (("10" (rewrite "preserv_all_parallel_positions"nil nil)) nil)
     ("11" (hide-all-but (-1 1))
      (("11" (typepred "y!1`2")
        (("11" (expand "SPP?")
          (("11" (flatten)
            (("11" (rewrite "add_last_parallel_pos_to_PP_is_PP")
              (("11" (rewrite "add_last_parallel_pos_to_SP_is_SP"nil
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("12" (hide-all-but 1)
      (("12" (skosimp*)
        (("12" (rewrite "preserv_all_parallel_positions"nil nil))
        nil))
      nil)
     ("13" (hide-all-but 1)
      (("13" (skosimp*)
        (("13" (typepred "y!1`2")
          (("13" (expand "SPP?")
            (("13" (flatten)
              (("13" (rewrite "add_last_parallel_pos_to_PP_is_PP")
                (("13" (rewrite "add_last_parallel_pos_to_SP_is_SP")
                  nil nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("14" (hide-all-but (-1 1))
      (("14" (rewrite "preserv_all_parallel_positions"nil nil)) nil)
     ("15" (hide 2)
      (("15" (typepred "fss!1")
        (("15" (expand "SPP?")
          (("15" (flatten)
            (("15" (rewrite "add_last_parallel_pos_to_PP_is_PP")
              (("15" (rewrite "add_last_parallel_pos_to_SP_is_SP"nil
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((add_last_parallel_pos_to_PP_is_PP formula-decl nil positions nil)
    (add_last_parallel_pos_to_SP_is_SP formula-decl nil positions nil)
    (SP type-eq-decl nil positions nil)
    (preserv_all_parallel_positions formula-decl nil replace_positions
     nil)
    (rest_of_PP_is_PP formula-decl nil positions nil)
    (PP? const-decl "bool" positions nil)
    (PP type-eq-decl nil positions nil)
    (i!1 skolem-const-decl
     "below[length(rest[position[variable, symbol, arity]](x!2))]"
     replace_positions nil)
    (nth_add_last formula-decl nil seq_extras "structures/")
    (numfield nonempty-type-eq-decl nil 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)
    (RTq skolem-const-decl "term[variable, symbol, arity]"
     replace_positions nil)
    (int_plus_int_is_int application-judgement "int" integers nil)
    (min const-decl "{p: real | p <= m AND p <= n}" real_defs nil)
    (O const-decl "finseq" finite_sequences nil)
    (<= const-decl "bool" positions nil)
    (nat_min application-judgement "{k: nat | k <= i AND k <= j}"
     real_defs nil)
    (even_plus_odd_is_odd application-judgement "odd_int" integers nil)
    (NOT const-decl "[bool -> bool]" booleans nil)
    (i!1 skolem-const-decl "below[length(rest(x!2))]" replace_positions
     nil)
    (- const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (rest_pos formula-decl nil seq_extras "structures/")
    (length_rest formula-decl nil seq_extras "structures/")
    (replace_preserv_parallel_pos formula-decl nil replacement nil)
    (SP? const-decl "bool" positions nil)
    (q!1 skolem-const-decl "positions?[variable, symbol, arity](x!1)"
     replace_positions nil)
    (x!2 skolem-const-decl "SPP[variable, symbol, arity](x!1)"
     replace_positions nil)
    (t!1 skolem-const-decl "term[variable, symbol, arity]"
     replace_positions nil)
    (x!1 skolem-const-decl "term[variable, symbol, arity]"
     replace_positions nil)
    (rest_add_last formula-decl nil seq_extras "structures/")
    (posint_plus_nnint_is_posint application-judgement "posint"
     integers nil)
    (nnint_plus_posint_is_posint application-judgement "posint"
     integers nil)
    (insert? const-decl "finseq" seq_extras "structures/")
    (int_minus_int_is_int application-judgement "int" integers nil)
    (int_min application-judgement "{k: int | k <= i AND k <= j}"
     real_defs nil)
    (real_gt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (rest const-decl "finseq" seq_extras "structures/")
    (^ const-decl "finseq" finite_sequences nil)
    (empty_seq const-decl "finseq" finite_sequences nil)
    (AND const-decl "[bool, bool -> bool]" booleans nil)
    (replaceTerm def-decl "term" replacement nil)
    (= const-decl "[T, T -> boolean]" equalities nil)
    (replace_pos def-decl "term" replace_positions nil)
    (positions type-eq-decl nil positions nil)
    (positionsOF def-decl "positions" positions nil)
    (positions? type-eq-decl nil positions nil)
    (IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
    (parallel const-decl "bool" positions nil)
    (finseq_appl const-decl "[below[length(fs)] -> T]" finite_sequences
     nil)
    (add_last const-decl "finseq" seq_extras "structures/")
    (wf_nat formula-decl nil naturalnumbers nil)
    (< const-decl "bool" reals nil)
    (naturalnumber type-eq-decl nil naturalnumbers nil)
    (SPP type-eq-decl nil positions nil)
    (SPP? const-decl "bool" positions nil)
    (finseq type-eq-decl nil finite_sequences nil)
    (position type-eq-decl nil positions nil)
    (posnat nonempty-type-eq-decl nil integers nil)
    (> const-decl "bool" reals nil)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (below type-eq-decl nil nat_types nil)
    (term type-decl nil term_adt nil)
    (arity formal-const-decl "[symbol -> nat]" replace_positions 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)
    (symbol formal-nonempty-type-decl nil replace_positions nil)
    (variable formal-nonempty-type-decl nil replace_positions nil)
    (measure_induction formula-decl nil measure_induction nil)
    (well_founded? const-decl "bool" orders nil)
    (pred type-eq-decl nil defined_types nil))
   shostak))
 (CP_lemma_aux2a1 0
  (CP_lemma_aux2a1-1 nil 3455273040
   ("" (measure-induct+ "length(fss)" ("s" "fss"))
    (("1" (skosimp*)
      (("1" (case "length(x!2) = 0")
        (("1" (hide (-2 -3))
          (("1" (expand "replace_pos")
            (("1" (lift-if)
              (("1" (lift-if)
                (("1" (prop)
                  (("1" (hide 1) (("1" (grind) nil nil)) nil)
                   ("2" (lemma "fspos.nth_add_first")
                    (("2" (inst?)
                      (("1" (replaces -1)
                        (("1" (rewrite "rest_add_first")
                          (("1" (expand "replace_pos")
                            (("1" (assertnil nil)) nil))
                          nil))
                        nil)
                       ("2" (hide 3) (("2" (assertnil nil)) nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil)
         ("2" (expand "replace_pos" 2 1)
          (("2" (lift-if)
            (("2" (prop)
              (("1" (hide-all-but (-1 2)) (("1" (grind) nil nil)) nil)
               ("2" (rewrite "rest_add_first")
                (("2" (lemma "fspos.nth_add_first")
                  (("2" (inst?)
                    (("1" (replaces -1)
                      (("1" (expand "replace_pos" 2 1)
                        (("1" (lift-if)
                          (("1" (assert)
                            (("1" (expand "finseq_appl")
                              (("1"
                                (lemma "replace_commutativity")
                                (("1"
                                  (inst
                                   -1
                                   "q!1"
                                   "x!2`seq(0)"
                                   "t!1"
                                   "x!1"
                                   "t!1")
                                  (("1"
                                    (prop)
                                    (("1"
                                      (replaces -1)
                                      (("1"
                                        (inst
                                         -1
                                         "replaceTerm(x!1, t!1, x!2`seq(0))"
                                         "rest(x!2)")
                                        (("1"
                                          (inst -1 "t!1" "q!1")
                                          (("1"
                                            (rewrite "length_rest")
                                            (("1"
                                              (prop)
                                              (("1"
                                                (expand
                                                 "replace_pos"
                                                 -1
                                                 1)
                                                (("1"
                                                  (lift-if)
                                                  (("1"
                                                    (prop)
                                                    (("1"
                                                      (hide-all-but
                                                       (-1 3))
                                                      (("1"
                                                        (grind)
                                                        nil
                                                        nil))
                                                      nil)
                                                     ("2"
                                                      (rewrite
                                                       "rest_add_first")
                                                      (("2"
                                                        (lemma
                                                         "fspos.nth_add_first")
                                                        (("2"
                                                          (inst?)
                                                          (("1"
                                                            (replaces
                                                             -1)
                                                            (("1"
                                                              (replaces
                                                               -1)
                                                              (("1"
                                                                (expand
                                                                 "replace_pos"
                                                                 3
                                                                 2)
                                                                (("1"
                                                                  (expand
                                                                   "finseq_appl")
                                                                  (("1"
                                                                    (propax)
                                                                    nil
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil)
                                                           ("2"
                                                            (assert)
                                                            nil
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil)
                                               ("2"
                                                (hide-all-but (-1 1 4))
                                                (("2"
                                                  (case
                                                   "length(rest(x!2)) = 0")
                                                  (("1"
                                                    (hide -2)
                                                    (("1"
                                                      (grind)
                                                      nil
                                                      nil))
                                                    nil)
                                                   ("2"
                                                    (skosimp*)
                                                    (("2"
                                                      (lemma
                                                       "fspos.rest_pos")
                                                      (("2"
                                                        (inst?)
                                                        (("2"
                                                          (assert)
                                                          (("2"
                                                            (inst
                                                             -1
                                                             "i!1")
                                                            (("1"
                                                              (expand
                                                               "finseq_appl")
                                                              (("1"
                                                                (inst
                                                                 -2
                                                                 "i!1 + 1")
                                                                (("1"
                                                                  (assert)
                                                                  nil
                                                                  nil)
                                                                 ("2"
                                                                  (hide-all-but
                                                                   1)
                                                                  (("2"
                                                                    (typepred
                                                                     "i!1")
                                                                    (("2"
                                                                      (grind)
                                                                      nil
                                                                      nil))
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil)
                                                             ("2"
                                                              (hide-all-but
                                                               1)
                                                              (("2"
                                                                (typepred
                                                                 "i!1")
                                                                (("2"
                                                                  (grind)
                                                                  nil
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil)
                                         ("2"
                                          (hide-all-but (-1 1 4))
                                          (("2"
                                            (typepred "x!2")
                                            (("2"
                                              (expand "SPP?")
                                              (("2"
                                                (flatten)
                                                (("2"
                                                  (rewrite
                                                   "rest_of_PP_is_PP")
                                                  (("2"
                                                    (expand*
                                                     "PP?"
                                                     "SP?")
                                                    (("2"
                                                      (prop)
                                                      (("1"
                                                        (grind)
                                                        nil
                                                        nil)
                                                       ("2"
                                                        (lemma
                                                         "fspos.rest_pos")
                                                        (("2"
                                                          (inst?)
                                                          (("2"
                                                            (prop)
                                                            (("1"
                                                              (skosimp*)
                                                              (("1"
                                                                (inst
                                                                 -1
                                                                 "i!1")
                                                                (("1"
                                                                  (inst
                                                                   -2
                                                                   "0"
                                                                   "i!1 + 1")
                                                                  (("1"
                                                                    (assert)
                                                                    (("1"
                                                                      (copy
                                                                       -3)
                                                                      (("1"
                                                                        (inst
                                                                         -1
                                                                         "0")
                                                                        (("1"
                                                                          (inst
                                                                           -4
                                                                           "i!1 + 1")
                                                                          (("1"
                                                                            (expand
                                                                             "finseq_appl")
                                                                            (("1"
                                                                              (replace
                                                                               -2
                                                                               2
                                                                               rl)
                                                                              (("1"
                                                                                (hide
                                                                                 -2)
                                                                                (("1"
                                                                                  (lemma
                                                                                   "replace_preserv_parallel_pos")
                                                                                  (("1"
                                                                                    (inst
                                                                                     -1
                                                                                     "x!2`seq(0)"
                                                                                     "x!2`seq(1 + i!1)"
                                                                                     "x!1"
                                                                                     "t!1")
                                                                                    (("1"
                                                                                      (assert)
                                                                                      nil
                                                                                      nil))
                                                                                    nil))
                                                                                  nil))
                                                                                nil))
                                                                              nil))
                                                                            nil)
                                                                           ("2"
                                                                            (hide-all-but
                                                                             1)
                                                                            (("2"
                                                                              (typepred
                                                                               "i!1")
                                                                              (("2"
                                                                                (grind)
                                                                                nil
                                                                                nil))
                                                                              nil))
                                                                            nil))
                                                                          nil))
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil)
                                                                 ("2"
                                                                  (hide-all-but
                                                                   1)
                                                                  (("2"
                                                                    (typepred
                                                                     "i!1")
                                                                    (("2"
                                                                      (grind)
                                                                      nil
                                                                      nil))
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil)
                                                             ("2"
                                                              (hide-all-but
                                                               (-1
                                                                2
                                                                3))
                                                              (("2"
                                                                (grind)
                                                                nil
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil)
                                     ("2"
                                      (typepred "q!1")
                                      (("2" (propax) nil nil))
                                      nil)
                                     ("3"
                                      (hide-all-but (-2 1 4))
                                      (("3"
                                        (typepred "x!2")
                                        (("3"
                                          (expand "SPP?")
                                          (("3"
                                            (flatten)
                                            (("3"
                                              (hide -1)
                                              (("3"
                                                (expand "SP?")
                                                (("3"
                                                  (inst -1 "0")
                                                  (("3"
                                                    (expand
                                                     "finseq_appl")
                                                    (("3"
                                                      (propax)
                                                      nil
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil)
                                     ("4"
                                      (hide-all-but (-2 1))
                                      (("4"
                                        (inst -1 "0")
                                        (("4"
                                          (rewrite "parallel_comm")
                                          nil
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil)
                     ("2" (assertnil nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("2" (hide-all-but (-1 1))
      (("2" (rewrite "preserv_all_parallel_positions"nil nil)) nil)
     ("3" (hide-all-but (-1 1))
      (("3" (typepred "y!2")
        (("3" (expand "SPP?")
          (("3" (flatten)
            (("3" (rewrite "add_first_parallel_pos_to_PP_is_PP")
              (("3" (rewrite "add_first_parallel_pos_to_SP_is_SP"nil
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("4" (hide-all-but 1)
      (("4" (skosimp*)
        (("4" (rewrite "preserv_all_parallel_positions"nil nil))
        nil))
      nil)
     ("5" (hide-all-but 1)
      (("5" (skosimp*)
        (("5" (typepred "y!2")
          (("5" (expand "SPP?")
            (("5" (flatten)
              (("5" (rewrite "add_first_parallel_pos_to_PP_is_PP")
                (("5" (rewrite "add_first_parallel_pos_to_SP_is_SP")
                  nil nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("6" (hide-all-but 1)
      (("6" (skosimp*)
        (("6" (rewrite "preserv_all_parallel_positions"nil nil))
        nil))
      nil)
     ("7" (hide-all-but (-1 1))
      (("7" (rewrite "preserv_all_parallel_positions"nil nil)) nil)
     ("8" (hide-all-but (-1 1))
      (("8" (typepred "y!1`2")
        (("8" (expand "SPP?")
          (("8" (flatten)
            (("8" (rewrite "add_first_parallel_pos_to_PP_is_PP")
              (("8" (rewrite "add_first_parallel_pos_to_SP_is_SP"nil
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("9" (hide-all-but 1)
      (("9" (skosimp*)
        (("9" (typepred "x!1`2")
          (("9" (expand "SPP?")
            (("9" (flatten)
              (("9" (rewrite "add_first_parallel_pos_to_PP_is_PP")
                (("9" (rewrite "add_first_parallel_pos_to_SP_is_SP")
                  nil nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("10" (hide-all-but (-1 1))
      (("10" (rewrite "preserv_all_parallel_positions"nil nil)) nil)
     ("11" (hide-all-but (-1 1))
      (("11" (typepred "y!1`2")
        (("11" (expand "SPP?")
          (("11" (flatten)
            (("11" (rewrite "add_first_parallel_pos_to_PP_is_PP")
              (("11" (rewrite "add_first_parallel_pos_to_SP_is_SP"nil
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("12" (hide-all-but 1)
      (("12" (skosimp*)
        (("12" (rewrite "preserv_all_parallel_positions"nil nil))
        nil))
      nil)
     ("13" (hide-all-but 1)
      (("13" (skosimp*)
        (("13" (typepred "y!1`2")
          (("13" (expand "SPP?")
            (("13" (flatten)
              (("13" (rewrite "add_first_parallel_pos_to_PP_is_PP")
                (("13" (rewrite "add_first_parallel_pos_to_SP_is_SP")
                  nil nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("14" (hide-all-but (-1 1))
      (("14" (rewrite "preserv_all_parallel_positions"nil nil)) nil)
     ("15" (hide 2)
      (("15" (typepred "fss!1")
        (("15" (expand "SPP?")
          (("15" (flatten)
            (("15" (rewrite "add_first_parallel_pos_to_PP_is_PP")
              (("15" (rewrite "add_first_parallel_pos_to_SP_is_SP"nil
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((add_first_parallel_pos_to_PP_is_PP formula-decl nil positions nil)
    (add_first_parallel_pos_to_SP_is_SP formula-decl nil positions nil)
    (SP type-eq-decl nil positions nil)
    (preserv_all_parallel_positions formula-decl nil replace_positions
     nil)
    (parallel_comm formula-decl nil positions nil)
    (PP type-eq-decl nil positions nil)
    (PP? const-decl "bool" positions nil)
    (rest_of_PP_is_PP formula-decl nil positions nil)
    (replace_preserv_parallel_pos formula-decl nil replacement nil)
    (i!1 skolem-const-decl
     "below[length(rest[position[variable, symbol, arity]](x!2))]"
     replace_positions nil)
    (SP? const-decl "bool" positions nil)
    (int_plus_int_is_int application-judgement "int" integers nil)
    (^ const-decl "finseq" finite_sequences nil)
    (min const-decl "{p: real | p <= m AND p <= n}" real_defs nil)
    (empty_seq const-decl "finseq" finite_sequences nil)
    (int_minus_int_is_int application-judgement "int" integers nil)
    (int_min application-judgement "{k: int | k <= i AND k <= j}"
     real_defs nil)
    (real_gt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (real_ge_is_total_order name-judgement "(total_order?[real])"
     real_props nil)
    (O const-decl "finseq" finite_sequences nil)
    (<= const-decl "bool" positions nil)
    (NOT const-decl "[bool -> bool]" booleans nil)
    (rest_pos formula-decl nil seq_extras "structures/")
    (- const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (i!1 skolem-const-decl "below[length(rest(x!2))]" replace_positions
     nil)
    (length_rest formula-decl nil seq_extras "structures/")
    (rest const-decl "finseq" seq_extras "structures/")
    (t!1 skolem-const-decl "term[variable, symbol, arity]"
     replace_positions nil)
    (replace_commutativity formula-decl nil replacement nil)
    (posint_plus_nnint_is_posint application-judgement "posint"
     integers nil)
    (nnint_plus_posint_is_posint application-judgement "posint"
     integers nil)
    (insert? const-decl "finseq" seq_extras "structures/")
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (x!1 skolem-const-decl "term[variable, symbol, arity]"
     replace_positions nil)
    (x!2 skolem-const-decl "SPP[variable, symbol, arity](x!1)"
     replace_positions nil)
    (rest_add_first formula-decl nil seq_extras "structures/")
    (nth_add_first formula-decl nil seq_extras "structures/")
    (AND const-decl "[bool, bool -> bool]" booleans nil)
    (replaceTerm def-decl "term" replacement nil)
    (= const-decl "[T, T -> boolean]" equalities nil)
    (replace_pos def-decl "term" replace_positions nil)
    (positions type-eq-decl nil positions nil)
    (positionsOF def-decl "positions" positions nil)
    (positions? type-eq-decl nil positions nil)
    (IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
    (parallel const-decl "bool" positions nil)
    (finseq_appl const-decl "[below[length(fs)] -> T]" finite_sequences
     nil)
    (add_first const-decl "finseq" seq_extras "structures/")
    (wf_nat formula-decl nil naturalnumbers nil)
    (< const-decl "bool" reals nil)
    (naturalnumber type-eq-decl nil naturalnumbers nil)
    (SPP type-eq-decl nil positions nil)
    (SPP? const-decl "bool" positions nil)
    (finseq type-eq-decl nil finite_sequences nil)
    (position type-eq-decl nil positions nil)
    (posnat nonempty-type-eq-decl nil integers nil)
    (> const-decl "bool" reals nil)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (below type-eq-decl nil nat_types nil)
    (term type-decl nil term_adt nil)
    (arity formal-const-decl "[symbol -> nat]" replace_positions 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)
    (symbol formal-nonempty-type-decl nil replace_positions nil)
    (variable formal-nonempty-type-decl nil replace_positions nil)
    (measure_induction formula-decl nil measure_induction nil)
    (well_founded? const-decl "bool" orders nil)
    (pred type-eq-decl nil defined_types nil))
   shostak))
 (CP_lemma_aux2a2_TCC1 0
  (CP_lemma_aux2a2_TCC1-1 nil 3455272825
   ("" (skolem-typepred)
    (("" (expand "SPP?")
      (("" (flatten)
        (("" (rewrite "delete_of_PP_is_PP")
          (("" (rewrite "delete_of_SP_is_SP"nil nil)) nil))
        nil))
      nil))
    nil)
   ((delete_of_PP_is_PP formula-decl nil positions nil)
    (PP? const-decl "bool" positions nil)
    (PP type-eq-decl nil positions nil)
    (delete_of_SP_is_SP formula-decl nil positions nil)
    (SP? const-decl "bool" positions nil)
    (SP type-eq-decl nil positions nil) (< const-decl "bool" reals nil)
    (SPP type-eq-decl nil positions nil)
    (SPP? const-decl "bool" positions nil)
    (finseq type-eq-decl nil finite_sequences nil)
    (position type-eq-decl nil positions nil)
    (posnat nonempty-type-eq-decl nil integers nil)
    (> const-decl "bool" reals nil)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (below type-eq-decl nil nat_types nil)
    (term type-decl nil term_adt nil)
    (arity formal-const-decl "[symbol -> nat]" replace_positions 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)
    (number nonempty-type-decl nil numbers nil)
    (symbol formal-nonempty-type-decl nil replace_positions nil)
    (variable formal-nonempty-type-decl nil replace_positions nil)
    (NOT const-decl "[bool -> bool]" booleans nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (boolean nonempty-type-decl nil booleans nil))
   nil))
 (CP_lemma_aux2a2_TCC2 0
  (CP_lemma_aux2a2_TCC2-1 nil 3455272825
   ("" (skolem-typepred)
    (("" (expand "finseq_appl")
      (("" (expand "SPP?")
        (("" (flatten)
          (("" (expand"PP?" "SP?")
            (("" (rewrite "preserv_all_parallel_positions")
              (("1" (hide (-2 2))
                (("1" (prop)
                  (("1" (grind) nil nil)
                   ("2" (skosimp*)
                    (("2" (expand"delete" "finseq_appl")
                      (("2" (lift-if)
                        (("2" (prop)
                          (("1" (inst -2 "i!2" "i!1")
                            (("1" (assertnil nil)) nil)
                           ("2" (inst -1 "i!2 + 1" "i!1")
                            (("1" (assertnil nil)
                             ("2" (typepred "i!2")
                              (("2"
                                (hide 3)
                                (("2" (grind) nil nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil)
               ("2" (hide (-1 2))
                (("2" (inst -1 "i!1")
                  (("2" (expand "finseq_appl") (("2" (propax) nil nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((finseq_appl const-decl "[below[length(fs)] -> T]" finite_sequences
     nil)
    (preserv_all_parallel_positions formula-decl nil replace_positions
     nil)
    (delete const-decl "finseq" seq_extras "structures/")
    (positions type-eq-decl nil positions nil)
    (positionsOF def-decl "positions" positions nil)
    (positions? type-eq-decl nil positions nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (int_minus_int_is_int application-judgement "int" integers nil)
    (parallel const-decl "bool" positions nil)
    (<= const-decl "bool" positions nil)
    (O const-decl "finseq" finite_sequences nil)
    (posint_plus_nnint_is_posint application-judgement "posint"
     integers nil)
    (i!2 skolem-const-decl
     "below[length(delete[position[variable, symbol, arity]](fss!1, i!1))]"
     replace_positions nil)
    (i!1 skolem-const-decl "below[length(fss!1)]" replace_positions
     nil)
    (fss!1 skolem-const-decl "SPP[variable, symbol, arity](s!1)"
     replace_positions nil)
    (s!1 skolem-const-decl "term[variable, symbol, arity]"
     replace_positions nil)
    (+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (nnint_plus_posint_is_posint application-judgement "posint"
     integers nil)
    (PP? const-decl "bool" positions nil)
    (SP? const-decl "bool" positions nil)
    (< const-decl "bool" reals nil)
    (SPP type-eq-decl nil positions nil)
    (SPP? const-decl "bool" positions nil)
    (finseq type-eq-decl nil finite_sequences nil)
    (position type-eq-decl nil positions nil)
    (posnat nonempty-type-eq-decl nil integers nil)
    (> const-decl "bool" reals nil)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (below type-eq-decl nil nat_types nil)
    (term type-decl nil term_adt nil)
    (arity formal-const-decl "[symbol -> nat]" replace_positions 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)
    (number nonempty-type-decl nil numbers nil)
    (symbol formal-nonempty-type-decl nil replace_positions nil)
    (variable formal-nonempty-type-decl nil replace_positions nil)
    (NOT const-decl "[bool -> bool]" booleans nil)
    (bool nonempty-type-eq-decl nil booleans nil)
    (boolean nonempty-type-decl nil booleans nil))
   nil))
 (CP_lemma_aux2a2 0
  (CP_lemma_aux2a2-1 nil 3455273190
   ("" (measure-induct+ "length(fss)" ("s" "fss"))
    (("1" (case "length(x!2) = 0")
      (("1" (hide -2)
        (("1" (skolem 1 ("t" "_")) (("1" (grind) nil nil)) nil)) nil)
       ("2" (skosimp*)
        (("2" (expand"finseq_appl")
          (("2" (case-replace "i!1 = 0")
            (("1" (hide -2)
              (("1" (lemma "fspos.delete_rest")
                (("1" (inst?)
                  (("1" (assert)
                    (("1" (replaces -1)
                      (("1" (lemma "CP_lemma_aux2a1")
                        (("1" (inst?)
                          (("1" (prop)
                            (("1" (lemma "fspos.seq_first_rest")
                              (("1"
                                (inst?)
                                (("1"
                                  (assert)
                                  (("1"
                                    (expand"first" "finseq_appl")
                                    (("1"
                                      (replace -1 -2 rl)
                                      (("1" (propax) nil nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil)
                             ("2" (hide 3)
                              (("2"
                                (expand "finseq_appl")
                                (("2"
                                  (typepred "x!2")
                                  (("2"
                                    (expand "SPP?")
                                    (("2"
                                      (flatten)
                                      (("2"
                                        (hide -2)
                                        (("2"
                                          (expand "PP?")
                                          (("2"
                                            (prop)
                                            (("1" (grind) nil nil)
                                             ("2"
                                              (skosimp*)
                                              (("2"
                                                (inst -1 "i!2 + 1" "0")
                                                (("1"
                                                  (assert)
                                                  (("1"
                                                    (expand
                                                     "finseq_appl")
                                                    (("1"
                                                      (lemma
                                                       "fspos.rest_pos")
                                                      (("1"
                                                        (inst?)
                                                        (("1"
                                                          (prop)
                                                          (("1"
                                                            (inst
                                                             -1
                                                             "i!2")
                                                            (("1"
                                                              (expand
                                                               "finseq_appl")
                                                              (("1"
                                                                (assert)
                                                                nil
                                                                nil))
                                                              nil)
                                                             ("2"
                                                              (hide-all-but
                                                               (1 4))
                                                              (("2"
                                                                (typepred
                                                                 "i!2")
                                                                (("2"
                                                                  (grind)
                                                                  nil
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil)
                                                           ("2"
                                                            (hide 2)
                                                            (("2"
                                                              (grind)
                                                              nil
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil)
                                                 ("2"
                                                  (hide-all-but (1 4))
                                                  (("2"
                                                    (typepred "i!2")
                                                    (("2"
                                                      (grind)
                                                      nil
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil)
                           ("2" (hide 3)
                            (("2" (typepred "x!2")
                              (("2"
                                (expand "SPP?")
                                (("2"
                                  (flatten)
                                  (("2"
                                    (hide -1)
                                    (("2"
                                      (expand "SP?")
                                      (("2"
                                        (inst -1 "0")
                                        (("2"
                                          (expand "finseq_appl")
                                          (("2" (propax) nil nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil)
             ("2" (expand "replace_pos" 3 1)
              (("2" (expand "finseq_appl")
                (("2"
                  (inst -1 "replaceTerm(x!1, t!1, x!2`seq(0))"
                   "rest(x!2)")
                  (("2" (inst -1 "t!1" "i!1 - 1")
                    (("1" (rewrite "length_rest")
                      (("1" (lemma "fspos.rest_pos")
                        (("1" (inst?)
                          (("1" (prop)
                            (("1" (inst -1 "i!1 - 1")
                              (("1"
                                (expand "finseq_appl")
                                (("1"
                                  (replace -1 -2 rl)
                                  (("1"
                                    (hide -1)
                                    (("1"
                                      (lemma "fspos.delete_rest")
                                      (("1"
                                        (inst?)
                                        (("1"
                                          (assert)
                                          (("1"
                                            (replaces -1)
                                            (("1"
                                              (expand
                                               "replace_pos"
                                               3
                                               2)
                                              (("1"
                                                (lift-if)
                                                (("1"
                                                  (prop)
                                                  (("1"
                                                    (hide (-2 1))
                                                    (("1"
                                                      (grind)
                                                      nil
                                                      nil))
                                                    nil)
                                                   ("2"
                                                    (expand
                                                     "finseq_appl")
                                                    (("2"
                                                      (expand
                                                       "delete"
                                                       2
                                                       1)
                                                      (("2"
                                                        (expand
                                                         "finseq_appl")
                                                        (("2"
                                                          (propax)
                                                          nil
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil)
                               ("2" (assertnil nil))
                              nil)
                             ("2" (hide (-2 3)) (("2" (grind) nil nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil)
                     ("2" (hide 4)
                      (("2" (typepred "i!1") (("2" (grind) nil nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("2" (hide-all-but 1)
      (("2" (rewrite "preserv_all_parallel_positions")
        (("1" (hide 2)
          (("1" (case "length(delete(y!2, i!1)) = 0")
            (("1" (grind) nil nil)
             ("2" (skosimp*)
              (("2" (expand "finseq_appl")
                (("2" (typepred "y!2")
                  (("2" (expand "SPP?")
                    (("2" (flatten)
                      (("2" (hide -2)
                        (("2" (expand "PP?")
                          (("2" (prop)
                            (("1" (grind) nil nil)
                             ("2" (case "i!2 < i!1")
                              (("1"
                                (expand"delete" "finseq_appl")
                                (("1"
                                  (assert)
                                  (("1"
                                    (inst -2 "i!2" "i!1")
                                    (("1" (assertnil nil))
                                    nil))
                                  nil))
                                nil)
                               ("2"
                                (expand"delete" "finseq_appl")
                                (("2"
                                  (assert)
                                  (("2"
                                    (inst -1 "i!2 + 1" "i!1")
                                    (("1" (assertnil nil)
                                     ("2"
                                      (typepred "i!2")
                                      (("2"
                                        (hide 5)
                                        (("2" (grind) nil nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil)
         ("2" (typepred "y!2")
          (("2" (expand "SPP?")
            (("2" (flatten)
              (("2" (hide (-1 2))
                (("2" (expand "SP?") (("2" (inst -1 "i!1"nil nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("3" (hide-all-but 1)
      (("3" (typepred "y!2")
        (("3" (expand "SPP?")
          (("3" (flatten)
            (("3" (rewrite "delete_of_PP_is_PP")
              (("3" (rewrite "delete_of_SP_is_SP"nil nil)) nil))
            nil))
          nil))
        nil))
      nil)
     ("4" (hide-all-but 1)
      (("4" (skosimp*)
        (("4" (rewrite "preserv_all_parallel_positions")
          (("1" (hide 2)
            (("1" (case "length(delete(y!2, i!1)) = 0")
              (("1" (grind) nil nil)
               ("2" (skosimp*)
                (("2" (expand "finseq_appl")
                  (("2" (typepred "y!2")
                    (("2" (expand "SPP?")
                      (("2" (flatten)
                        (("2" (hide -2)
                          (("2" (expand "PP?")
                            (("2" (prop)
                              (("1" (grind) nil nil)
                               ("2"
                                (case "i!2 < i!1")
                                (("1"
                                  (expand"delete" "finseq_appl")
                                  (("1"
                                    (assert)
                                    (("1"
                                      (inst -2 "i!2" "i!1")
                                      (("1" (assertnil nil))
                                      nil))
                                    nil))
                                  nil)
                                 ("2"
                                  (expand"delete" "finseq_appl")
                                  (("2"
                                    (assert)
                                    (("2"
                                      (inst -1 "i!2 + 1" "i!1")
                                      (("1" (assertnil nil)
                                       ("2"
                                        (typepred "i!2")
                                        (("2"
                                          (hide 5)
                                          (("2" (grind) nil nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil)
           ("2" (typepred "y!2")
            (("2" (expand "SPP?")
              (("2" (flatten)
                (("2" (hide (-1 2))
                  (("2" (expand "SP?") (("2" (inst -1 "i!1"nil nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("5" (expand "finseq_appl")
      (("5" (hide-all-but 1)
        (("5" (skosimp*)
          (("5" (typepred "y!2")
            (("5" (expand "SPP?")
              (("5" (flatten)
                (("5" (rewrite "delete_of_PP_is_PP")
                  (("5" (rewrite "delete_of_SP_is_SP"nil nil)) nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("6" (hide-all-but 1)
      (("6" (skosimp*)
        (("6" (rewrite "preserv_all_parallel_positions")
          (("1" (hide 2)
            (("1" (case "length(delete(x!1`2, i1!1)) = 0")
              (("1" (grind) nil nil)
               ("2" (skosimp*)
                (("2" (expand "finseq_appl")
                  (("2" (typepred "x!1`2")
                    (("2" (expand "SPP?")
                      (("2" (flatten)
                        (("2" (hide -2)
                          (("2" (expand "PP?")
                            (("2" (prop)
                              (("1" (grind) nil nil)
                               ("2"
                                (expand"delete" "finseq_appl")
                                (("2"
                                  (lift-if)
                                  (("2"
                                    (prop)
                                    (("1"
                                      (inst -2 "i!1" "i1!1")
                                      (("1" (assertnil nil))
                                      nil)
                                     ("2"
                                      (inst -1 "i!1 + 1" "i1!1")
                                      (("1" (assertnil nil)
                                       ("2"
                                        (typepred "i!1")
                                        (("2"
                                          (hide 3)
                                          (("2" (grind) nil nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil)
           ("2" (hide 2)
            (("2" (typepred "x!1`2")
              (("2" (expand "SPP?")
                (("2" (flatten)
                  (("2" (hide -1)
                    (("2" (expand "SP?")
                      (("2" (inst -1 "i1!1"nil nil)) nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("7" (expand "finseq_appl")
      (("7" (hide-all-but 1)
        (("7" (typepred "y!1`2")
          (("7" (expand "SPP?")
            (("7" (flatten)
              (("7" (expand"PP?" "SP?")
                (("7" (rewrite "preserv_all_parallel_positions")
                  (("1" (hide (-2 2))
                    (("1" (prop)
                      (("1" (grind) nil nil)
                       ("2" (skosimp*)
                        (("2" (expand"delete" "finseq_appl")
                          (("2" (lift-if)
                            (("2" (prop)
                              (("1"
                                (inst -2 "i!2" "i!1")
                                (("1" (assertnil nil))
                                nil)
                               ("2"
                                (inst -1 "i!2 + 1" "i!1")
                                (("1" (assertnil nil)
                                 ("2"
                                  (typepred "i!2")
                                  (("2"
                                    (hide 3)
                                    (("2" (grind) nil nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil)
                   ("2" (hide (-1 2))
                    (("2" (inst -1 "i!1")
                      (("2" (expand "finseq_appl")
                        (("2" (propax) nil nil)) nil))
                      nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("8" (hide-all-but 1)
      (("8" (typepred "y!1`2")
        (("8" (expand "SPP?")
          (("8" (flatten)
            (("8" (rewrite "delete_of_PP_is_PP")
              (("8" (rewrite "delete_of_SP_is_SP"nil nil)) nil))
            nil))
          nil))
        nil))
      nil)
     ("9" (hide-all-but 1)
      (("9" (skosimp*)
        (("9" (typepred "x!1`2")
          (("9" (expand "SPP?")
            (("9" (flatten)
              (("9" (rewrite "delete_of_PP_is_PP")
                (("9" (rewrite "delete_of_SP_is_SP"nil nil)) nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("10" (hide-all-but 1)
      (("10" (typepred "y!1`2")
        (("10" (expand "SPP?")
          (("10" (flatten)
            (("10" (expand"PP?" "SP?")
              (("10" (rewrite "preserv_all_parallel_positions")
                (("1" (hide (-2 2))
                  (("1" (prop)
                    (("1" (grind) nil nil)
                     ("2" (skosimp*)
                      (("2" (expand"delete" "finseq_appl")
                        (("2" (lift-if)
                          (("2" (prop)
                            (("1" (inst -2 "i!2" "i!1")
                              (("1" (assertnil nil)) nil)
                             ("2" (inst -1 "i!2 + 1" "i!1")
                              (("1" (assertnil nil)
                               ("2"
                                (typepred "i!2")
                                (("2"
                                  (hide 3)
                                  (("2" (grind) nil nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil)
                 ("2" (hide (-1 2)) (("2" (inst -1 "i!1"nil nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("11" (expand "finseq_appl")
      (("11" (hide-all-but 1)
        (("11" (typepred "y!1`2")
          (("11" (expand "SPP?")
            (("11" (flatten)
              (("11" (rewrite "delete_of_PP_is_PP")
                (("11" (rewrite "delete_of_SP_is_SP"nil nil)) nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("12" (hide-all-but 1)
      (("12" (skosimp*)
        (("12" (typepred "y!1`2")
          (("12" (expand "SPP?")
            (("12" (flatten)
              (("12" (expand"PP?" "SP?")
                (("12" (rewrite "preserv_all_parallel_positions")
                  (("1" (hide (-2 2))
                    (("1" (prop)
                      (("1" (grind) nil nil)
                       ("2" (skosimp*)
                        (("2" (expand"delete" "finseq_appl")
                          (("2" (lift-if)
                            (("2" (prop)
                              (("1"
                                (inst -2 "i!2" "i!1")
                                (("1" (assertnil nil))
                                nil)
                               ("2"
                                (inst -1 "i!2 + 1" "i!1")
                                (("1" (assertnil nil)
                                 ("2"
                                  (typepred "i!2")
                                  (("2"
                                    (hide 3)
                                    (("2" (grind) nil nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil)
                   ("2" (hide (-1 2)) (("2" (inst -1 "i!1"nil nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("13" (expand "finseq_appl")
      (("13" (hide-all-but 1)
        (("13" (skosimp*)
          (("13" (typepred "y!1`2")
            (("13" (expand "SPP?")
              (("13" (flatten)
                (("13" (rewrite "delete_of_PP_is_PP")
                  (("13" (rewrite "delete_of_SP_is_SP"nil nil)) nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("14" (hide-all-but 1)
      (("14" (typepred "fss!1")
        (("14" (expand "SPP?")
          (("14" (flatten)
            (("14" (expand"PP?" "SP?")
              (("14" (rewrite "preserv_all_parallel_positions")
                (("1" (hide (-2 2))
                  (("1" (prop)
                    (("1" (grind) nil nil)
                     ("2" (skosimp*)
                      (("2" (expand"delete" "finseq_appl")
                        (("2" (lift-if)
                          (("2" (prop)
                            (("1" (inst -2 "i!2" "i!1")
                              (("1" (assertnil nil)) nil)
                             ("2" (inst -1 "i!2 + 1" "i!1")
                              (("1" (assertnil nil)
                               ("2"
                                (typepred "i!2")
                                (("2"
                                  (hide 3)
                                  (("2" (grind) nil nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil))
                    nil))
                  nil)
                 ("2" (hide (-1 2)) (("2" (inst -1 "i!1"nil nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil)
     ("15" (expand "finseq_appl")
      (("15" (hide-all-but 1)
        (("15" (typepred "fss!1")
          (("15" (expand "SPP?")
            (("15" (flatten)
              (("15" (rewrite "delete_of_PP_is_PP")
                (("15" (rewrite "delete_of_SP_is_SP"nil nil)) nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((s!1 skolem-const-decl "term[variable, symbol, arity]"
     replace_positions nil)
    (fss!1 skolem-const-decl "SPP[variable, symbol, arity](s!1)"
     replace_positions nil)
    (i!1 skolem-const-decl "below[length(fss!1)]" replace_positions
     nil)
    (i!2 skolem-const-decl
     "below[length(delete[position[variable, symbol, arity]](fss!1, i!1))]"
     replace_positions nil)
    (i!2 skolem-const-decl
     "below[length(delete[position[variable, symbol, arity]](y!1`2, i!1))]"
     replace_positions nil)
    (i!1 skolem-const-decl "below[length(y!1`2)]" replace_positions
     nil)
    (y!1 skolem-const-decl
     "[s: term[variable, symbol, arity], SPP[variable, symbol, arity](s)]"
     replace_positions nil)
    (y!1 skolem-const-decl
     "[s: term[variable, symbol, arity], SPP[variable, symbol, arity](s)]"
     replace_positions nil)
    (i!1 skolem-const-decl "below[length(y!1`2)]" replace_positions
     nil)
    (i!2 skolem-const-decl
     "below[length(delete[position[variable, symbol, arity]](y!1`2, i!1))]"
     replace_positions nil)
    (i!2 skolem-const-decl
     "below[length(delete[position[variable, symbol, arity]](y!1`2, i!1))]"
     replace_positions nil)
    (i!1 skolem-const-decl "below[length(y!1`2)]" replace_positions
     nil)
    (y!1 skolem-const-decl
     "[s: term[variable, symbol, arity], SPP[variable, symbol, arity](s)]"
     replace_positions nil)
    (x!1 skolem-const-decl
     "[s: term[variable, symbol, arity], SPP[variable, symbol, arity](s)]"
     replace_positions nil)
    (i1!1 skolem-const-decl "below[length(x!1`2)]" replace_positions
     nil)
    (i!1 skolem-const-decl
     "below[length(delete[position[variable, symbol, arity]](x!1`2, i1!1))]"
     replace_positions nil)
    (y!1 skolem-const-decl "term[variable, symbol, arity]"
     replace_positions nil)
    (y!2 skolem-const-decl "SPP[variable, symbol, arity](y!1)"
     replace_positions nil)
    (i!1 skolem-const-decl "below[length(y!2)]" replace_positions nil)
    (i!2 skolem-const-decl
     "below[length(delete[position[variable, symbol, arity]](y!2, i!1))]"
     replace_positions nil)
    (PP type-eq-decl nil positions nil)
    (delete_of_PP_is_PP formula-decl nil positions nil)
    (delete_of_SP_is_SP formula-decl nil positions nil)
    (SP type-eq-decl nil positions nil)
    (i!2 skolem-const-decl
     "below[length(delete[position[variable, symbol, arity]](y!2, i!1))]"
     replace_positions nil)
    (i!1 skolem-const-decl "below[length(y!2)]" replace_positions nil)
    (y!2 skolem-const-decl "SPP[variable, symbol, arity](y!1)"
     replace_positions nil)
    (y!1 skolem-const-decl "term[variable, symbol, arity]"
     replace_positions nil)
    (preserv_all_parallel_positions formula-decl nil replace_positions
     nil)
    (posint_plus_nnint_is_posint application-judgement "posint"
     integers nil)
    (length_rest formula-decl nil seq_extras "structures/")
    (i!1 skolem-const-decl "below[length(x!2)]" replace_positions nil)
    (AND const-decl "[bool, bool -> bool]" booleans nil)
    (x!1 skolem-const-decl "term[variable, symbol, arity]"
     replace_positions nil)
    (x!2 skolem-const-decl "SPP[variable, symbol, arity](x!1)"
     replace_positions nil)
    (rest const-decl "finseq" seq_extras "structures/")
    (NOT const-decl "[bool -> bool]" booleans nil)
    (PP? const-decl "bool" positions nil)
    (rest_pos formula-decl nil seq_extras "structures/")
    (min const-decl "{p: real | p <= m AND p <= n}" real_defs nil)
    (int_plus_int_is_int application-judgement "int" integers 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)
    (int_min application-judgement "{k: int | k <= i AND k <= j}"
     real_defs nil)
    (- const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (i!2 skolem-const-decl "below[length(rest(x!2))]" replace_positions
     nil)
    (+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (nnint_plus_posint_is_posint application-judgement "posint"
     integers nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (empty_seq const-decl "finseq" finite_sequences nil)
    (^ const-decl "finseq" finite_sequences nil)
    (O const-decl "finseq" finite_sequences nil)
    (<= const-decl "bool" positions nil)
    (parallel const-decl "bool" positions nil)
    (int_minus_int_is_int application-judgement "int" integers nil)
    (seq_first_rest formula-decl nil seq_extras "structures/")
    (first const-decl "T" seq_extras "structures/")
    (SP? const-decl "bool" positions nil)
    (CP_lemma_aux2a1 formula-decl nil replace_positions nil)
    (delete_rest formula-decl nil seq_extras "structures/")
    (IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
    (replaceTerm def-decl "term" replacement nil)
    (positions? type-eq-decl nil positions nil)
    (= const-decl "[T, T -> boolean]" equalities nil)
    (positions type-eq-decl nil positions nil)
    (positionsOF def-decl "positions" positions nil)
    (replace_pos def-decl "term" replace_positions nil)
    (finseq_appl const-decl "[below[length(fs)] -> T]" finite_sequences
     nil)
    (delete const-decl "finseq" seq_extras "structures/")
    (wf_nat formula-decl nil naturalnumbers nil)
    (< const-decl "bool" reals nil)
    (naturalnumber type-eq-decl nil naturalnumbers nil)
    (SPP type-eq-decl nil positions nil)
    (SPP? const-decl "bool" positions nil)
    (finseq type-eq-decl nil finite_sequences nil)
    (position type-eq-decl nil positions nil)
    (posnat nonempty-type-eq-decl nil integers nil)
    (> const-decl "bool" reals nil)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (below type-eq-decl nil nat_types nil)
    (term type-decl nil term_adt nil)
    (arity formal-const-decl "[symbol -> nat]" replace_positions 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)
    (symbol formal-nonempty-type-decl nil replace_positions nil)
    (variable formal-nonempty-type-decl nil replace_positions nil)
    (measure_induction formula-decl nil measure_induction nil)
    (well_founded? const-decl "bool" orders nil)
    (pred type-eq-decl nil defined_types nil))
   shostak))
 (CP_lemma_aux2a3 0
  (CP_lemma_aux2a3-1 nil 3455273398
   ("" (measure-induct+ "fss1`length" ("s" "fss1"))
    (("" (skosimp*)
      (("" (copy -2)
        (("" (expand "equivalent" -3)
          (("" (flatten)
            (("" (case-replace "length(x!2) = 0")
              (("1" (hide-all-but (-1 -2 -4 1))
                (("1" (expand "replace_pos") (("1" (assertnil nil))
                  nil))
                nil)
               ("2" (lemma "CP_lemma_aux2a2")
                (("2" (copy -1)
                  (("2" (inst -1 "t!1" "x!1" "x!2" "0")
                    (("1" (replaces -1)
                      (("1" (inst -7 "0")
                        (("1" (skosimp*)
                          (("1" (expand "finseq_appl")
                            (("1" (inst -1 "t!1" "x!1" "fss2!1" "j!1")
                              (("1"
                                (replaces -1)
                                (("1"
                                  (replace -6 2)
                                  (("1"
                                    (inst -2 "x!1" "delete(x!2, 0)")
                                    (("1"
                                      (inst
                                       -2
                                       "t!1"
                                       "delete(fss2!1, j!1)")
                                      (("1"
                                        (prop)
                                        (("1" (assertnil nil)
                                         ("2"
                                          (hide 3)
                                          (("2"
                                            (expand "equivalent")
                                            (("2"
                                              (prop)
                                              (("1"
                                                (hide (-2 -3 -4))
                                                (("1"
                                                  (expand "delete")
                                                  (("1"
                                                    (assert)
                                                    nil
                                                    nil))
                                                  nil))
                                                nil)
                                               ("2"
                                                (hide-all-but (-2 1 2))
                                                (("2"
                                                  (expand
                                                   "different_elements")
                                                  (("2"
                                                    (skosimp*)
                                                    (("2"
                                                      (expand "delete")
                                                      (("2"
                                                        (assert)
                                                        (("2"
                                                          (expand
                                                           "finseq_appl")
                                                          (("2"
                                                            (inst
                                                             -2
                                                             "1 + i!1"
                                                             "1 + j!2")
                                                            (("2"
                                                              (assert)
                                                              nil
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil)
                                               ("3"
                                                (hide-all-but
                                                 (-3 -5 1 2))
                                                (("3"
                                                  (replaces -2)
                                                  (("3"
                                                    (expand
                                                     "different_elements")
                                                    (("3"
                                                      (skosimp*)
                                                      (("3"
                                                        (expand
                                                         "delete")
                                                        (("3"
                                                          (expand
                                                           "finseq_appl")
                                                          (("3"
                                                            (lift-if)
                                                            (("3"
                                                              (lift-if)
                                                              (("3"
                                                                (prop)
                                                                (("1"
                                                                  (inst
                                                                   -4
                                                                   "i!1"
                                                                   "j!2")
                                                                  (("1"
                                                                    (assert)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("2"
                                                                  (inst
                                                                   -3
                                                                   "i!1"
                                                                   "1 + j!2")
                                                                  (("2"
                                                                    (assert)
                                                                    nil
                                                                    nil))
                                                                  nil)
                                                                 ("3"
                                                                  (lift-if)
                                                                  (("3"
                                                                    (prop)
                                                                    (("1"
                                                                      (inst
                                                                       -3
                                                                       "1 + i!1"
                                                                       "j!2")
                                                                      (("1"
                                                                        (assert)
                                                                        nil
                                                                        nil))
                                                                      nil)
                                                                     ("2"
                                                                      (inst
                                                                       -2
                                                                       "1 + i!1"
                                                                       "1 + j!2")
                                                                      (("2"
                                                                        (assert)
                                                                        nil
                                                                        nil))
                                                                      nil))
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil)
                                               ("4"
                                                (skosimp*)
                                                (("4"
                                                  (expand
                                                   "finseq_appl")
                                                  (("4"
                                                    (hide (-5 -6 -7))
                                                    (("4"
                                                      (lemma
                                                       "fspos.delete_equivalent")
                                                      (("4"
                                                        (inst
                                                         -1
                                                         "x!2"
                                                         "fss2!1"
                                                         "0"
                                                         "j!1")
                                                        (("4"
                                                          (expand
                                                           "finseq_appl")
                                                          (("4"
                                                            (prop)
                                                            (("1"
                                                              (expand
                                                               "equivalent")
                                                              (("1"
                                                                (expand
                                                                 "finseq_appl")
                                                                (("1"
                                                                  (flatten)
                                                                  (("1"
                                                                    (inst
                                                                     -4
                                                                     "i!1")
                                                                    nil
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil)
                                                             ("2"
                                                              (expand
                                                               "equivalent")
                                                              (("2"
                                                                (assert)
                                                                (("2"
                                                                  (skosimp*)
                                                                  (("2"
                                                                    (expand
                                                                     "finseq_appl")
                                                                    (("2"
                                                                      (inst
                                                                       -4
                                                                       "i!2")
                                                                      nil
                                                                      nil))
                                                                    nil))
                                                                  nil))
                                                                nil))
                                                              nil))
                                                            nil))
                                                          nil))
                                                        nil))
                                                      nil))
                                                    nil))
                                                  nil))
                                                nil))
                                              nil))
                                            nil))
                                          nil)
                                         ("3"
                                          (hide (-1 -3 -4 3))
                                          (("3" (grind) nil nil))
                                          nil))
                                        nil))
                                      nil))
                                    nil))
                                  nil))
                                nil))
                              nil))
                            nil))
                          nil))
                        nil))
                      nil)
                     ("2" (assertnil nil))
                    nil))
                  nil))
                nil))
              nil))
            nil))
          nil))
        nil))
      nil))
    nil)
   ((int_minus_int_is_int application-judgement "int" integers nil)
    (different_elements const-decl "bool" seq_extras "structures/")
    (numfield nonempty-type-eq-decl nil number_fields nil)
    (+ const-decl "[numfield, numfield -> numfield]" number_fields nil)
    (posint_plus_nnint_is_posint application-judgement "posint"
     integers nil)
    (delete_equivalent formula-decl nil seq_extras "structures/")
    (delete const-decl "finseq" seq_extras "structures/")
    (finseq_appl const-decl "[below[length(fs)] -> T]" finite_sequences
     nil)
    (x!2 skolem-const-decl "SPP[variable, symbol, arity](x!1)"
     replace_positions nil)
    (x!1 skolem-const-decl "term[variable, symbol, arity]"
     replace_positions nil)
    (real_lt_is_strict_total_order name-judgement
     "(strict_total_order?[real])" real_props nil)
    (CP_lemma_aux2a2 formula-decl nil replace_positions nil)
    (replace_pos def-decl "term" replace_positions nil)
    (= const-decl "[T, T -> boolean]" equalities nil)
    (equivalent const-decl "bool" seq_extras "structures/")
    (IMPLIES const-decl "[bool, bool -> bool]" booleans nil)
    (wf_nat formula-decl nil naturalnumbers nil)
    (< const-decl "bool" reals nil)
    (naturalnumber type-eq-decl nil naturalnumbers nil)
    (SPP type-eq-decl nil positions nil)
    (SPP? const-decl "bool" positions nil)
    (finseq type-eq-decl nil finite_sequences nil)
    (position type-eq-decl nil positions nil)
    (posnat nonempty-type-eq-decl nil integers nil)
    (> const-decl "bool" reals nil)
    (nonneg_int nonempty-type-eq-decl nil integers nil)
    (below type-eq-decl nil nat_types nil)
    (term type-decl nil term_adt nil)
    (arity formal-const-decl "[symbol -> nat]" replace_positions 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)
    (symbol formal-nonempty-type-decl nil replace_positions nil)
    (variable formal-nonempty-type-decl nil replace_positions nil)
    (measure_induction formula-decl nil measure_induction nil)
    (well_founded? const-decl "bool" orders nil)
    (pred type-eq-decl nil defined_types nil))
   shostak)))


Messung V0.5 in Prozent
C=100 H=100 G=100

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.404Angebot  (Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-04-26) ¤

*Eine klare Vorstellung vom Zielzustand






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge