Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2003-03-21 04:25:13 -0800 (Fri, 21 Mar 2003)
Revision: 4206
Log message:

      ***                WARNING                   ***
      *** This check-in breaks .prlb compatibility ***
      *** Export any unsaved proofs to .prla       ***
      *** before running "cvs update"              ***
      
      - I have added support for Hypothesis that do not introduce a binding variable.
      I do not yet have much I/O support for them - there is no mechanism yet for
      inputing such hypotheses explicitly and the display format for them is not
      ideal. I will add this later.
      
      Note:
      1) A hypothesis with an unused binding and a hypothesis without a binding are
      considered equivalent (e.g. in alpha equality comparisons).
      2) All the sequents on _rule box_ level are normalized. When a sequent is normalized,
      all the binding hyps that introduce an unused variable a changed to non-binding ones
      (ideally - for some reason it does yet not always work correctly).
      3) If you want to give a name to a no-name variable, use nameHypT or nameHypsT tactic.
      Note that you have to use that name right away in the _same_ rulebox, otherwise
      normalization (see note 2) will remove it again!
      I plan to extend nameHypT/nameHypsT to be able to rename existing bindings as well,
      but have not done that yet.
      
      - I have changed the way variable names are handled in the rewriter - now it
      will watch them much more carefully, most of the bugs related to the variable
      names are fixed (but a few still remain).
      
      - I fixed all the proofs these changes broke (there were quite a few), except for
      /itt_record/recordEliminationL
      
      - vnewname: now "v_1" would be renamed into "v_2", not "v_1_1"
      
      - I bumped MetaPRL version number to 0.8
      - I bumped the ASCII version number to 1.0.1 (it will still read the old 1.0.0,
      but will correctly mark all new .prla as 1.0.1 which will prevent the old MetaPRL
      from thinking it can read them)
      - I changed the magic numbers for .prlb (or at least I hope I did it correctly), so
      hopefully it will ignore any old .prlb you might have and not crash on them.
      

Changes  Path
+4 -4 metaprl/filter/base/filter_cache.ml
+1 -1 metaprl/filter/base/filter_magic.ml
+0 -2 metaprl/filter/base/filter_prog.ml
+1 -1 metaprl/filter/base/term_grammar.ml
+7 -2 metaprl/filter/boot/sequent_boot.ml
+1 -1 metaprl/mk/preface
+8 -1 metaprl/mllib/list_util.ml
+1 -0 metaprl/mllib/list_util.mli
+3 -1 metaprl/mllib/string_util.ml
+17 -16 metaprl/refiner/refiner/refine.ml
+1 -1 metaprl/refiner/reflib/arith.ml
+10 -5 metaprl/refiner/reflib/ascii_io.ml
+5 -1 metaprl/refiner/reflib/dform.ml
+6 -3 metaprl/refiner/reflib/match_seq.ml
+6 -2 metaprl/refiner/reflib/refine_exn.ml
+8 -1 metaprl/refiner/reflib/simple_print.ml
+2 -1 metaprl/refiner/reflib/term_compare.ml
+3 -2 metaprl/refiner/refsig/refine_sig.ml
+1 -0 metaprl/refiner/refsig/refiner_sig.ml
+16 -4 metaprl/refiner/refsig/rewrite_sig.ml
+8 -7 metaprl/refiner/refsig/term_addr_sig.ml
+3 -2 metaprl/refiner/refsig/term_hash_sig.ml
+2 -0 metaprl/refiner/refsig/term_man_minimal_sig.ml
+4 -2 metaprl/refiner/refsig/term_man_sig.ml
+2 -1 metaprl/refiner/refsig/term_sig.ml
+1 -0 metaprl/refiner/refsig/term_subst_minimal_sig.ml
+1 -0 metaprl/refiner/refsig/termmod_hash_sig.ml
+2 -0 metaprl/refiner/refsig/termmod_sig.ml
+46 -34 metaprl/refiner/rewrite/rewrite.ml
+71 -75 metaprl/refiner/rewrite/rewrite_build_contractum.ml
+6 -7 metaprl/refiner/rewrite/rewrite_build_contractum_sig.mlz
+12 -3 metaprl/refiner/rewrite/rewrite_compile_contractum.ml
+21 -2 metaprl/refiner/rewrite/rewrite_compile_redex.ml
+5 -2 metaprl/refiner/rewrite/rewrite_debug.ml
+95 -60 metaprl/refiner/rewrite/rewrite_match_redex.ml
+2 -1 metaprl/refiner/rewrite/rewrite_match_redex_sig.mlz
+8 -5 metaprl/refiner/rewrite/rewrite_types.ml
+27 -31 metaprl/refiner/term_ds/term_addr_ds.ml
+8 -3 metaprl/refiner/term_ds/term_base_ds.ml
+2 -1 metaprl/refiner/term_ds/term_ds.ml
+2 -1 metaprl/refiner/term_ds/term_ds_sig.ml
+25 -6 metaprl/refiner/term_ds/term_man_ds.ml
+1 -0 metaprl/refiner/term_ds/term_man_ds.mli
+10 -7 metaprl/refiner/term_ds/term_subst_ds.ml
+31 -3 metaprl/refiner/term_gen/term_addr_gen.ml
+16 -7 metaprl/refiner/term_gen/term_hash.ml
+9 -3 metaprl/refiner/term_gen/term_header_constr.ml
+48 -11 metaprl/refiner/term_gen/term_man_gen.ml
+1 -0 metaprl/refiner/term_gen/term_man_gen.mli
+2 -1 metaprl/refiner/term_std/term_std.ml
+2 -1 metaprl/refiner/term_std/term_std_sig.ml
+12 -8 metaprl/theories/base/base_dtactic.ml
+8 -1 metaprl/theories/base/typeinf.ml
+877 -876 metaprl/theories/czf/czf_itt_all.prla
+5078 -4313 metaprl/theories/czf/czf_itt_axioms.prla
+11437 -11350 metaprl/theories/czf/czf_itt_bool.prla
+2713 -2397 metaprl/theories/czf/czf_itt_dall.prla
+6972 -6977 metaprl/theories/czf/czf_itt_eq.prla
+8956 -9232 metaprl/theories/czf/czf_itt_equiv.prla
+2019 -2076 metaprl/theories/czf/czf_itt_exists.prla
+4007 -4090 metaprl/theories/czf/czf_itt_group_power.prla
+1 -1 metaprl/theories/czf/czf_itt_ker.ml
+9388 -9442 metaprl/theories/czf/czf_itt_ker.prla
+1451 -1462 metaprl/theories/czf/czf_itt_normal_subgroup.prla
+2968 -2483 metaprl/theories/czf/czf_itt_power.prla
+3381 -3053 metaprl/theories/czf/czf_itt_sep.prla
+1887 -1762 metaprl/theories/czf/czf_itt_set_bvd.prla
+5782 -5323 metaprl/theories/czf/czf_itt_set_ind.prla
+0 -0 metaprl/theories/itt/ctt_markov.ml
+8987 -9133 metaprl/theories/itt/itt_bool.prla
+1 -1 metaprl/theories/itt/itt_collection.ml
+5466 -3774 metaprl/theories/itt/itt_collection.prla
+8692 -8069 metaprl/theories/itt/itt_cyclic_group.prla
+2460 -2627 metaprl/theories/itt/itt_dfun.prla
+1591 -1679 metaprl/theories/itt/itt_esquash.prla
+28228 -27284 metaprl/theories/itt/itt_fset.prla
+3125 -3228 metaprl/theories/itt/itt_fun.prla
+8483 -7346 metaprl/theories/itt/itt_group.prla
+4999 -5534 metaprl/theories/itt/itt_int_base.prla
+3360 -3687 metaprl/theories/itt/itt_isect.prla
+4304 -4262 metaprl/theories/itt/itt_list.prla
+4252 -3971 metaprl/theories/itt/itt_list2.prla
+38 -25 metaprl/theories/itt/itt_logic.ml
+0 -1 metaprl/theories/itt/itt_logic.mli
+22612 -22475 metaprl/theories/itt/itt_logic.prla
+933 -781 metaprl/theories/itt/itt_pointwise2.prla
+1088 -1172 metaprl/theories/itt/itt_prod.prla
+4222 -4250 metaprl/theories/itt/itt_quotient.prla
+9284 -8306 metaprl/theories/itt/itt_record.prla
+894 -835 metaprl/theories/itt/itt_singleton.prla
+2605 -2790 metaprl/theories/itt/itt_sort.prla
+6154 -5729 metaprl/theories/itt/itt_sortedtree.prla
+2 -2 metaprl/theories/itt/itt_squash.ml
+9934 -11211 metaprl/theories/itt/itt_squash.prla
+21 -21 metaprl/theories/itt/itt_subset.ml
+1 -8 metaprl/theories/itt/itt_subset.mli
+2868 -3089 metaprl/theories/itt/itt_subtype.prla
+28 -4 metaprl/theories/tactic/base_dform.ml
+9 -1 metaprl/theories/tactic/tactic_cache.ml
+102 -76 metaprl/theories/tactic/top_tacticals.ml
+2 -0 metaprl/theories/tactic/top_tacticals.mli
+3 -3 metaprl/theories/tptp/tptp_load.ml
+8 -3 metaprl/theories/tptp/tptp_prove.ml