Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2003-03-14 03:27:05 -0800 (Fri, 14 Mar 2003)
Revision: 4169
Log message:

      - This is a _major change_ in how sequent contexts are now handles in rule
      arguments. Now arguments corresponding to sequent contexts are passed in as _integers_.
      To tell the rewriter that the corresponding context should match n hypotheses,
      pass n + 1 as an argument. Also, if a context is at the _end_ of the hypotheses list,
      it should _not_ be passed as an argument - instead, rewriter will just put all the remaining
      hyps into it.
      
      To summarize, a typical intro-style rule now does not need any context args at all. A typical
      elim-style rule will now need only one context arg ('H) and that argument will be a straight
      integer. That integer will have the same meaning as in traditional tactics - e.g. just
      the hypothesis number. The only difference is that the arguments to primitive rules _have_
      to be positive. Use Sequent.get_pos_hyp_num or pos_hypT to make numbers positive.
      
      - I changed the semantics of the int arg to assertAtT and second int arg to copyHypT. Now
      that int means the hyp number the new hyp will have in the resulting subgoal (whether
      input is positive or negative).
      
      - I fixed some of the proofs Yegor accidentally broke, but not all. Xin, you might have to
      fix some of the cyclic_group proofs yourself, sorry.
      
      - Cleaned up the address part of the TermAddm and TermMan interfaced, killed some
      unnecessary functionality.
      
      - More changes to line_buffer in Rformat - hopefully this time I finally got it right.
      

Changes  Path
+1 -1 metaprl/editor/ml/mpconfig
+4 -1 metaprl/editor/ml/tests/seq_addrs_test.ml
+2 -2 metaprl/filter/base/filter_prog.ml
+1 -1 metaprl/filter/boot/proof_boot.ml
+0 -15 metaprl/filter/boot/sequent_boot.ml
+3 -4 metaprl/filter/boot/tactic_boot_sig.mlz
+2 -0 metaprl/filter/boot/tacticals_boot.ml
+7 -7 metaprl/refiner/refiner/refine.ml
+3 -2 metaprl/refiner/reflib/rformat.ml
+12 -12 metaprl/refiner/refsig/refine_sig.ml
+4 -4 metaprl/refiner/refsig/rewrite_sig.ml
+0 -2 metaprl/refiner/refsig/term_addr_sig.ml
+2 -9 metaprl/refiner/refsig/term_man_sig.ml
+1 -1 metaprl/refiner/rewrite/rewrite.ml
+26 -23 metaprl/refiner/rewrite/rewrite_compile_redex.ml
+15 -13 metaprl/refiner/rewrite/rewrite_match_redex.ml
+1 -1 metaprl/refiner/rewrite/rewrite_match_redex_sig.mlz
+0 -8 metaprl/refiner/term_ds/term_addr_ds.ml
+0 -20 metaprl/refiner/term_ds/term_man_ds.ml
+0 -5 metaprl/refiner/term_gen/term_addr_gen.ml
+0 -20 metaprl/refiner/term_gen/term_man_gen.ml
+12 -18 metaprl/theories/base/base_dtactic.ml
+4 -7 metaprl/theories/base/base_rewrite.ml
+2 -3 metaprl/theories/base/base_rewrite.mli
+1 -1 metaprl/theories/base/base_rewrite.prla
+2 -2 metaprl/theories/czf/czf_all.mli
+1 -1 metaprl/theories/czf/czf_and.mli
+2 -2 metaprl/theories/czf/czf_exists.mli
+1 -1 metaprl/theories/czf/czf_false.mli
+1 -1 metaprl/theories/czf/czf_implies.mli
+2 -2 metaprl/theories/czf/czf_itt_abel_group.ml
+4 -4 metaprl/theories/czf/czf_itt_all.ml
+4 -4 metaprl/theories/czf/czf_itt_and.ml
+6 -7 metaprl/theories/czf/czf_itt_axioms.ml
+114 -118 metaprl/theories/czf/czf_itt_bool.ml
+8 -8 metaprl/theories/czf/czf_itt_coset.ml
+2 -2 metaprl/theories/czf/czf_itt_coset.prla
+9 -10 metaprl/theories/czf/czf_itt_cyclic_group.ml
+6 -7 metaprl/theories/czf/czf_itt_cyclic_subgroup.ml
+5 -5 metaprl/theories/czf/czf_itt_dall.ml
+5 -5 metaprl/theories/czf/czf_itt_dexists.ml
+2 -2 metaprl/theories/czf/czf_itt_empty.ml
+29 -37 metaprl/theories/czf/czf_itt_eq.ml
+43 -50 metaprl/theories/czf/czf_itt_equiv.ml
+1 -1 metaprl/theories/czf/czf_itt_equiv.prla
+4 -4 metaprl/theories/czf/czf_itt_exists.ml
+4 -4 metaprl/theories/czf/czf_itt_false.ml
+4 -4 metaprl/theories/czf/czf_itt_false.mli
+37 -53 metaprl/theories/czf/czf_itt_group.ml
+4 -4 metaprl/theories/czf/czf_itt_group_bvd.ml
+6 -6 metaprl/theories/czf/czf_itt_group_power.ml
+13 -15 metaprl/theories/czf/czf_itt_hom.ml
+2 -2 metaprl/theories/czf/czf_itt_hom.prla
+6 -6 metaprl/theories/czf/czf_itt_implies.ml
+3 -3 metaprl/theories/czf/czf_itt_inv_image.ml
+1 -1 metaprl/theories/czf/czf_itt_inv_image.prla
+8 -8 metaprl/theories/czf/czf_itt_isect.ml
+2 -2 metaprl/theories/czf/czf_itt_iso.ml
+16 -20 metaprl/theories/czf/czf_itt_ker.ml
+10 -10 metaprl/theories/czf/czf_itt_ker.prla
+25 -25 metaprl/theories/czf/czf_itt_kleingroup.ml
+1 -1 metaprl/theories/czf/czf_itt_kleingroup.prla
+14 -18 metaprl/theories/czf/czf_itt_member.ml
+14 -14 metaprl/theories/czf/czf_itt_nat.ml
+4 -5 metaprl/theories/czf/czf_itt_normal_subgroup.ml
+2 -2 metaprl/theories/czf/czf_itt_normal_subgroup.prla
+4 -4 metaprl/theories/czf/czf_itt_or.ml
+5 -5 metaprl/theories/czf/czf_itt_pair.ml
+3 -3 metaprl/theories/czf/czf_itt_power.ml
+1 -1 metaprl/theories/czf/czf_itt_rel.ml
+3 -3 metaprl/theories/czf/czf_itt_sall.ml
+3 -3 metaprl/theories/czf/czf_itt_sall.mli
+8 -9 metaprl/theories/czf/czf_itt_sep.ml
+14 -17 metaprl/theories/czf/czf_itt_set.ml
+8 -8 metaprl/theories/czf/czf_itt_set.mli
+4 -4 metaprl/theories/czf/czf_itt_set_bvd.ml
+8 -8 metaprl/theories/czf/czf_itt_set_ind.ml
+4 -4 metaprl/theories/czf/czf_itt_set_ind.mli
+6 -6 metaprl/theories/czf/czf_itt_setdiff.ml
+3 -3 metaprl/theories/czf/czf_itt_sexists.ml
+4 -4 metaprl/theories/czf/czf_itt_singleton.ml
+9 -10 metaprl/theories/czf/czf_itt_subgroup.ml
+5 -5 metaprl/theories/czf/czf_itt_subset.ml
+4 -4 metaprl/theories/czf/czf_itt_true.ml
+4 -4 metaprl/theories/czf/czf_itt_true.mli
+9 -9 metaprl/theories/czf/czf_itt_union.ml
+1 -1 metaprl/theories/czf/czf_member.mli
+1 -1 metaprl/theories/czf/czf_or.mli
+1 -1 metaprl/theories/czf/czf_struct.mli
+3 -3 metaprl/theories/experimental/compile/m_cps.ml
+4 -5 metaprl/theories/experimental/compile/m_prog.ml
+3 -3 metaprl/theories/experimental/compile/m_test.ml
+1 -1 metaprl/theories/fir/mfir_termOp.mli
+16 -16 metaprl/theories/fir/mfir_tr_atom.ml
+1 -1 metaprl/theories/fir/mfir_tr_atom_base.mli
+15 -15 metaprl/theories/fir/mfir_tr_base.ml
+34 -34 metaprl/theories/fir/mfir_tr_exp.ml
+11 -11 metaprl/theories/fir/mfir_tr_store.ml
+31 -31 metaprl/theories/fir/mfir_tr_types.ml
+3 -3 metaprl/theories/fol/cfol_itt_all.ml
+4 -4 metaprl/theories/fol/cfol_itt_and.ml
+369 -314 metaprl/theories/fol/cfol_itt_and.prla
+17 -18 metaprl/theories/fol/cfol_itt_base.ml
+2 -2 metaprl/theories/fol/cfol_magic.ml
+3 -3 metaprl/theories/fol/fol_all.ml
+3 -3 metaprl/theories/fol/fol_all_itt.ml
+3 -3 metaprl/theories/fol/fol_and.ml
+2 -2 metaprl/theories/fol/fol_bisect_itt.ml
+1 -1 metaprl/theories/fol/fol_ctheory.ml
+3 -3 metaprl/theories/fol/fol_exists.ml
+2 -2 metaprl/theories/fol/fol_false.ml
+1 -1 metaprl/theories/fol/fol_false.mli
+3 -3 metaprl/theories/fol/fol_implies.ml
+3 -3 metaprl/theories/fol/fol_itt_and.ml
+2 -2 metaprl/theories/fol/fol_itt_false.ml
+3 -3 metaprl/theories/fol/fol_itt_implies.ml
+4 -4 metaprl/theories/fol/fol_itt_or.ml
+2 -2 metaprl/theories/fol/fol_itt_true.ml
+3 -3 metaprl/theories/fol/fol_not.ml
+4 -4 metaprl/theories/fol/fol_or.ml
+2 -5 metaprl/theories/fol/fol_pred.ml
+9 -11 metaprl/theories/fol/fol_prop.ml
+6 -8 metaprl/theories/fol/fol_struct.ml
+2 -2 metaprl/theories/fol/fol_true.ml
+1 -1 metaprl/theories/fol/fol_univ.ml
+4 -4 metaprl/theories/fol/fol_univ_itt.ml
+26 -26 metaprl/theories/itt/ctt_markov.ml
+9 -9 metaprl/theories/itt/ctt_markov.prla
+2 -2 metaprl/theories/itt/itt_antiquotient.ml
+1 -1 metaprl/theories/itt/itt_antiquotient.prla
+7 -8 metaprl/theories/itt/itt_atom.ml
+5 -5 metaprl/theories/itt/itt_atom.mli
+3 -3 metaprl/theories/itt/itt_atom_bool.ml
+17 -35 metaprl/theories/itt/itt_bisect.ml
+196 -138 metaprl/theories/itt/itt_bisect.prla
+47 -54 metaprl/theories/itt/itt_bool.ml
+10 -10 metaprl/theories/itt/itt_bool.mli
+5502 -6074 metaprl/theories/itt/itt_bool.prla
+7 -7 metaprl/theories/itt/itt_bunion.ml
+50 -50 metaprl/theories/itt/itt_collection.ml
+3 -3 metaprl/theories/itt/itt_collection.prla
+18 -18 metaprl/theories/itt/itt_cyclic_group.ml
+5059 -3561 metaprl/theories/itt/itt_cyclic_group.prla
+5 -6 metaprl/theories/itt/itt_decidable.ml
+3 -3 metaprl/theories/itt/itt_derive.ml
+14 -16 metaprl/theories/itt/itt_dfun.ml
+11 -12 metaprl/theories/itt/itt_dfun.mli
+2 -2 metaprl/theories/itt/itt_dfun.prla
+23 -27 metaprl/theories/itt/itt_disect.ml
+1 -1 metaprl/theories/itt/itt_disect.mli
+9 -9 metaprl/theories/itt/itt_dprod.ml
+8 -8 metaprl/theories/itt/itt_dprod.mli
+14 -14 metaprl/theories/itt/itt_dprod_imp.ml
+32 -52 metaprl/theories/itt/itt_equal.ml
+18 -18 metaprl/theories/itt/itt_equal.mli
+13 -16 metaprl/theories/itt/itt_esquash.ml
+20 -20 metaprl/theories/itt/itt_example.ml
+1 -1 metaprl/theories/itt/itt_ext_equal.ml
+82 -82 metaprl/theories/itt/itt_fset.ml
+10 -10 metaprl/theories/itt/itt_fset.prla
+16 -18 metaprl/theories/itt/itt_fun.ml
+9 -9 metaprl/theories/itt/itt_fun.mli
+1 -1 metaprl/theories/itt/itt_fun.prla
+71 -71 metaprl/theories/itt/itt_group.ml
+3 -3 metaprl/theories/itt/itt_group.prla
+34 -34 metaprl/theories/itt/itt_grouplikeobj.ml
+5 -5 metaprl/theories/itt/itt_grouplikeobj.prla
+13 -14 metaprl/theories/itt/itt_int_arith.ml
+1 -1 metaprl/theories/itt/itt_int_arith.mli
+1 -1 metaprl/theories/itt/itt_int_arith.prla
+47 -50 metaprl/theories/itt/itt_int_base.ml
+41 -41 metaprl/theories/itt/itt_int_base.mli
+18 -18 metaprl/theories/itt/itt_int_base.prla
+31 -31 metaprl/theories/itt/itt_int_ext.ml
+22 -22 metaprl/theories/itt/itt_int_ext.mli
+15 -15 metaprl/theories/itt/itt_int_ext.prla
+3 -3 metaprl/theories/itt/itt_inv_typing.ml
+27 -28 metaprl/theories/itt/itt_isect.ml
+11 -11 metaprl/theories/itt/itt_isect.mli
+3 -3 metaprl/theories/itt/itt_isect.prla
+14 -14 metaprl/theories/itt/itt_list.ml
+11 -11 metaprl/theories/itt/itt_list.mli
+162 -210 metaprl/theories/itt/itt_list.prla
+22 -24 metaprl/theories/itt/itt_list2.ml
+2 -2 metaprl/theories/itt/itt_list2.prla
+51 -51 metaprl/theories/itt/itt_logic.ml
+15 -17 metaprl/theories/itt/itt_nat.ml
+3 -3 metaprl/theories/itt/itt_nat.prla
+2 -2 metaprl/theories/itt/itt_pointwise.ml
+1 -1 metaprl/theories/itt/itt_pointwise.mli
+3 -3 metaprl/theories/itt/itt_pointwise2.ml
+5 -5 metaprl/theories/itt/itt_pointwise2.prla
+6 -6 metaprl/theories/itt/itt_prec.ml
+6 -6 metaprl/theories/itt/itt_prec.mli
+7 -7 metaprl/theories/itt/itt_prod.ml
+7 -7 metaprl/theories/itt/itt_prod.mli
+1 -1 metaprl/theories/itt/itt_prod.prla
+6 -9 metaprl/theories/itt/itt_prop_decide.ml
+14 -14 metaprl/theories/itt/itt_quotient.ml
+9 -9 metaprl/theories/itt/itt_quotient.mli
+65 -90 metaprl/theories/itt/itt_record.ml
+12 -12 metaprl/theories/itt/itt_record.prla
+20 -25 metaprl/theories/itt/itt_record0.ml
+18 -18 metaprl/theories/itt/itt_record0.prla
+24 -24 metaprl/theories/itt/itt_record_exm.ml
+1 -1 metaprl/theories/itt/itt_record_exm.prla
+16 -25 metaprl/theories/itt/itt_record_label.ml
+7 -7 metaprl/theories/itt/itt_record_label0.ml
+1 -1 metaprl/theories/itt/itt_record_label0.mli
+13 -15 metaprl/theories/itt/itt_rfun.ml
+7 -8 metaprl/theories/itt/itt_rfun.mli
+8 -10 metaprl/theories/itt/itt_set.ml
+6 -6 metaprl/theories/itt/itt_set.mli
+17 -17 metaprl/theories/itt/itt_sort.ml
+38 -61 metaprl/theories/itt/itt_squash.ml
+11 -11 metaprl/theories/itt/itt_squash.mli
+12 -12 metaprl/theories/itt/itt_squash.prla
+14 -14 metaprl/theories/itt/itt_squiggle.ml
+8 -8 metaprl/theories/itt/itt_srec.ml
+7 -7 metaprl/theories/itt/itt_srec.mli
+25 -31 metaprl/theories/itt/itt_struct.ml
+8 -8 metaprl/theories/itt/itt_struct.mli
+16 -20 metaprl/theories/itt/itt_struct2.ml
+5 -5 metaprl/theories/itt/itt_struct2.prla
+6 -8 metaprl/theories/itt/itt_struct3.ml
+3 -3 metaprl/theories/itt/itt_struct3.mli
+3 -3 metaprl/theories/itt/itt_struct3.prla
+7 -7 metaprl/theories/itt/itt_subset.ml
+1 -1 metaprl/theories/itt/itt_subset.prla
+20 -24 metaprl/theories/itt/itt_subtype.ml
+9 -9 metaprl/theories/itt/itt_subtype.mli
+5 -5 metaprl/theories/itt/itt_tsquash.ml
+7 -7 metaprl/theories/itt/itt_tunion.ml
+6 -6 metaprl/theories/itt/itt_tunion.mli
+12 -12 metaprl/theories/itt/itt_union.ml
+10 -10 metaprl/theories/itt/itt_union.mli
+7 -7 metaprl/theories/itt/itt_unit.ml
+7 -7 metaprl/theories/itt/itt_unit.mli
+6 -8 metaprl/theories/itt/itt_void.ml
+5 -5 metaprl/theories/itt/itt_void.mli
+7 -7 metaprl/theories/itt/itt_w.ml
+7 -7 metaprl/theories/itt/itt_w.mli
+3 -3 metaprl/theories/itt/itt_well_founded.ml
+2 -2 metaprl/theories/itt/jprover_tests.ml
+2 -2 metaprl/theories/ocaml_sos/ocaml_base_sos.ml
+2 -2 metaprl/theories/ocaml_sos/ocaml_base_sos.mli
+39 -39 metaprl/theories/ocaml_sos/ocaml_expr_sos.ml
+39 -39 metaprl/theories/ocaml_sos/ocaml_expr_sos.mli
+33 -40 metaprl/theories/sil/sil_itt_sos.ml
+12 -12 metaprl/theories/sil/sil_itt_state_types.ml
+11 -11 metaprl/theories/sil/sil_program.ml
+16 -16 metaprl/theories/sil/sil_sos.ml
+17 -17 metaprl/theories/sil/sil_sos.ml.new
+15 -15 metaprl/theories/sil/sil_state_model.ml
+11 -11 metaprl/theories/sil/sil_state_type.ml
+20 -20 metaprl/theories/sil/state_types.ml
+0 -2 metaprl/theories/tactic/mptop.ml
+22 -26 metaprl/theories/tptp/tptp.ml
+1 -1 metaprl/theories/tptp/tptp.mli
+3 -4 metaprl/theories/tptp/tptp_prove.ml