Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-01 12:52:01 -0800 (Tue, 01 Nov 2005)
Revision: 8071
Log message:

      Proved the induction principle on derivations.
      

Changes  Path
+146 -7 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.ml
+5 -1 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.mli
+5651 -988 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.prla

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-01 20:01:07 -0800 (Tue, 01 Nov 2005)
Revision: 8075
Log message:

      Rebuilt the FSub languages directly from BTerm.
      I think this is the way to go, the theories are much smaller.
      

Changes  Path
+10 -0 metaprl/theories/itt/core/itt_decidable.mli
+27 -0 metaprl/theories/itt/reflection/core/itt_hoas_operator.ml
+2 -0 metaprl/theories/itt/reflection/core/itt_hoas_operator.mli
+1 -0 metaprl/theories/poplmark/naive/OMakefile
+40 -0 metaprl/theories/poplmark/naive/pmn_core_judgments.ml
+149 -736 metaprl/theories/poplmark/naive/pmn_core_terms.ml
+1 -6 metaprl/theories/poplmark/naive/pmn_core_terms.mli
+5581 -9009 metaprl/theories/poplmark/naive/pmn_core_terms.prla
Copied metaprl/theories/poplmark/naive/pmn_core_terms_old.ml
Copied metaprl/theories/poplmark/naive/pmn_core_terms_old.mli
Copied metaprl/theories/poplmark/naive/pmn_core_terms_old.prla

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-01 20:33:50 -0800 (Tue, 01 Nov 2005)
Revision: 8076
Log message:

      Separate the judgments from the rules.
      

Changes  Path
+1 -1 metaprl/theories/poplmark/naive/OMakefile
+27 -32 metaprl/theories/poplmark/naive/pmn_core_judgments.ml
+24 -2 metaprl/theories/poplmark/naive/pmn_core_judgments.mli
Added metaprl/theories/poplmark/naive/pmn_core_subtype.ml
Properties metaprl/theories/poplmark/naive/pmn_core_subtype.ml
Added metaprl/theories/poplmark/naive/pmn_core_subtype.mli
Properties metaprl/theories/poplmark/naive/pmn_core_subtype.mli
+9 -10 metaprl/theories/poplmark/naive/pmn_core_terms.ml
+3 -1 metaprl/theories/poplmark/naive/pmn_core_terms.mli

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-02 16:35:41 -0800 (Wed, 02 Nov 2005)
Revision: 8080
Log message:

      I am working on rewriting and simplifying MetaPRL core IO - I want to change
      it so that the "role" of .cmoz/.prlb/.prla files is better established.
      
      In particular. my goals are
      
       - In the editor, the module is always taken from the .cmoz. (Optionally: if
         .prlb or .prla is newer, then the proofs are read and _merged_)
       - The .prlb is a "cache" for the .prla. If the .prla have changed since the
         .prlb was generated, the old .prlb is discarded (even if it happens to be
         newer).
       - Optionally: refuse to load .cmoz into toploop, if it was compiled against a
         version of MetaPRL that is different from the one currently running.
       - Longer term: only store proofs (and other items created or modified from
         the toploop) in .prlb/.prla. This way the .prla are much smaller, the
         locations are not stored in .prlb, the items created from the toploop are
         not discarded at repompile.
      

Changes  Path
Copied metaprl-branches/new_binary_io

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-02 16:43:10 -0800 (Wed, 02 Nov 2005)
Revision: 8081
Log message:

      Working on the new IO. This commit mostly just rips apart the old code,
      without yet contributing much new.
      
      Not even close to compiling.
      

Changes  Path
+3 -4 metaprl-branches/new_binary_io/filter/base/Files
Deleted metaprl-branches/new_binary_io/filter/base/filter_cache.ml
Deleted metaprl-branches/new_binary_io/filter/base/filter_cache.mli
+32 -23 metaprl-branches/new_binary_io/filter/base/filter_exn.ml
Added metaprl-branches/new_binary_io/filter/base/filter_io.ml
Properties metaprl-branches/new_binary_io/filter/base/filter_io.ml
Added metaprl-branches/new_binary_io/filter/base/filter_io.mli
Properties metaprl-branches/new_binary_io/filter/base/filter_io.mli
+19 -68 metaprl-branches/new_binary_io/filter/base/filter_magic.ml
+15 -16 metaprl-branches/new_binary_io/filter/base/filter_magic.mli
+3 -2 metaprl-branches/new_binary_io/filter/base/filter_ocaml.mli
Deleted metaprl-branches/new_binary_io/filter/base/filter_summary_io.ml
Deleted metaprl-branches/new_binary_io/filter/base/filter_summary_io.mli
+14 -50 metaprl-branches/new_binary_io/filter/base/filter_summary_type.ml
+1 -1 metaprl-branches/new_binary_io/filter/filter/filter_bin.ml
+7 -8 metaprl-branches/new_binary_io/filter/filter/filter_parse.ml
+1 -1 metaprl-branches/new_binary_io/filter/filter/filter_prog.ml
+3 -3 metaprl-branches/new_binary_io/filter/filter/filter_prog.mli
+11 -15 metaprl-branches/new_binary_io/library/library_type_base.ml
+1 -2 metaprl-branches/new_binary_io/library/library_type_base.mli
+2 -3 metaprl-branches/new_binary_io/mllib/OMakefile
Deleted metaprl-branches/new_binary_io/mllib/file_base.ml
Deleted metaprl-branches/new_binary_io/mllib/file_base.mli
Deleted metaprl-branches/new_binary_io/mllib/file_base_type.ml
Added metaprl-branches/new_binary_io/mllib/file_io.ml
Properties metaprl-branches/new_binary_io/mllib/file_io.ml
Added metaprl-branches/new_binary_io/mllib/file_io.mli
Properties metaprl-branches/new_binary_io/mllib/file_io.mli
Added metaprl-branches/new_binary_io/mllib/file_io_sig.ml
Properties metaprl-branches/new_binary_io/mllib/file_io_sig.ml
Deleted metaprl-branches/new_binary_io/mllib/file_type_base.ml
Deleted metaprl-branches/new_binary_io/mllib/file_type_base.mli
+4 -32 metaprl-branches/new_binary_io/support/shell/package_info.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-02 21:13:35 -0800 (Wed, 02 Nov 2005)
Revision: 8082
Log message:

      Added string options.  These are like selT, but you need to use
      addOptionT or withOptionT.
      
      The differences with selT:
         1. The option is a string (perhaps it should be an opname?)
         2. A rule annotation can have multiple options using the
            [StringOption "foo"; StringOption "bar"] intro/elim
            argument.
      
      The addOptionT adds the option for the entire rest of the proof tree.
      The withOptionT adds it for a single tactic.
      The removeOptionT removes it for the rest of the proof tree.
      The withoutOptionT removes it for a single tactic.
      
      Unfortunately, the addOptionT isn't currently working.  Somewhere,
      it looks like proof annotations are getting cleared.  Looking
      into it.
      

Changes  Path
+123 -81 metaprl/support/tactics/dtactic.ml
+2 -1 metaprl/support/tactics/dtactic.mli
+23 -1 metaprl/support/tactics/top_tacticals.ml
+24 -6 metaprl/support/tactics/top_tacticals.mli
+2 -0 metaprl/tactics/proof/sequent_boot.ml
+69 -1 metaprl/tactics/proof/tactic_boot.ml
+64 -3 metaprl/tactics/proof/tactic_boot_sig.ml
+51 -19 metaprl/tactics/proof/tacticals_boot.ml
+1 -1 metaprl/theories/itt/applications/algebra/itt_group.ml
+2 -2 metaprl/theories/itt/core/itt_esquash.ml
+74 -60 metaprl/theories/itt/core/itt_logic.ml
+2 -2 metaprl/theories/itt/core/itt_quotient.ml
+1 -1 metaprl/theories/itt/core/itt_subtype.ml
+4 -0 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.mli
+40 -0 metaprl/theories/poplmark/naive/pmn_core_subtype.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-03 10:38:21 -0800 (Thu, 03 Nov 2005)
Revision: 8084
Log message:

      Commented the code in Proof_boot that was removing all annotations
      from IO proofs.
      
      If I understand correctly, this code was added to clean up old proofs
      where annotations were mistakenly lying around.  That is, it was added
      for backwards compatibility.
      
      The best solution is probably just to re-export those broken proofs
      to fix the problem.  Alternately, and less satisfying, we could add
      another annotation that says "I really want to keep my annotations."
      
      We may want to add an annotation check to the subgoal/cache matcher
      so that subgoals are considered to be equal only if the annotations
      match.  This is probably good enough, or we could add an explicit
      annotation transformation rulebox before pulling in a subgoal with
      different annotations.
      

Changes  Path
+6 -10 metaprl/refiner/reflib/jall.ml
+62 -39 metaprl/tactics/proof/proof_boot.ml
+33 -27 metaprl/tactics/proof/tactic_boot.ml
+1 -3 metaprl/theories/itt/core/itt_logic.ml
+2 -2 metaprl/theories/poplmark/naive/pmn_core_terms.ml
+2176 -3037 metaprl/theories/poplmark/naive/pmn_core_terms.prla

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-03 16:47:41 -0800 (Thu, 03 Nov 2005)
Revision: 8085
Log message:

      Updated with Itt_dfun axioms instead of the Itt_rfun ones and Itt_pairwise
      axioms instead of Itt_pointwise ones.
      

Changes  Path
+39 -90 metaprl/theories/itt/extensions/pairwise-verification.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-03 18:29:13 -0800 (Thu, 03 Nov 2005)
Revision: 8088
Log message:

      - Proved the nilSqequal rule (it used to be primitive).
      - Some more progress verifying ITT Core under the pairwise functionality.
      

Changes  Path
+2 -3 metaprl/theories/itt/core/itt_list.ml
+5862 -5988 metaprl/theories/itt/core/itt_list.prla
+44 -21 metaprl/theories/itt/extensions/pairwise-verification.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-03 21:01:47 -0800 (Thu, 03 Nov 2005)
Revision: 8089
Log message:

      Defined the IO module for .cmiz
      

Changes  Path
+0 -1 metaprl-branches/new_binary_io/filter/base/Files
+6 -6 metaprl-branches/new_binary_io/filter/base/OMakefile
+104 -0 metaprl-branches/new_binary_io/filter/base/filter_io.ml
Deleted metaprl-branches/new_binary_io/filter/base/filter_magic.ml
Deleted metaprl-branches/new_binary_io/filter/base/filter_magic.mli
+0 -2 metaprl-branches/new_binary_io/filter/filter/filter_parse.ml
+2 -6 metaprl-branches/new_binary_io/filter/filter/filter_prog.ml
+1 -6 metaprl-branches/new_binary_io/filter/filter/filter_prog.mli
+3 -0 metaprl-branches/new_binary_io/mllib/file_io.ml
+4 -0 metaprl-branches/new_binary_io/mllib/file_io.mli
+0 -1 metaprl-branches/new_binary_io/tactics/proof/OMakefile
Deleted metaprl-branches/new_binary_io/tactics/proof/proof_convert.ml
Deleted metaprl-branches/new_binary_io/tactics/proof/proof_convert.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-03 21:08:10 -0800 (Thu, 03 Nov 2005)
Revision: 8090
Log message:

      - Proof steps match only if the annotations match.
      - Removed annotation removal during IO squashing.
      - Expanded all proofs that produce warning messages,
        and re-exported them.
      
      Note, I believe I hit the weak-memo bug, or something like it
      during proof expansion, and I got crazy terms appearing in
      unrelated theorems:(  I believe I have re-fixed all those
      broken proofs.  check-status reports that all is well.
      

Changes  Path
+12 -32 metaprl/tactics/proof/proof_boot.ml
+44 -0 metaprl/tactics/proof/tactic_boot.ml
+1 -0 metaprl/tactics/proof/tactic_boot_sig.ml
+1 -0 metaprl/theories/czf/OMakefile
+2125 -2882 metaprl/theories/czf/czf_itt_abel_group.prla
+1313 -2325 metaprl/theories/czf/czf_itt_all.prla
+1038 -1842 metaprl/theories/czf/czf_itt_and.prla
+3808 -5404 metaprl/theories/czf/czf_itt_cyclic_group.prla
+3083 -4182 metaprl/theories/czf/czf_itt_cyclic_subgroup.prla
+1861 -2376 metaprl/theories/czf/czf_itt_empty.prla
+9610 -13455 metaprl/theories/czf/czf_itt_equiv.prla
+1290 -2199 metaprl/theories/czf/czf_itt_exists.prla
+757 -1211 metaprl/theories/czf/czf_itt_false.prla
+4865 -6086 metaprl/theories/czf/czf_itt_group.prla
+3211 -4490 metaprl/theories/czf/czf_itt_group_bvd.prla
+1192 -2036 metaprl/theories/czf/czf_itt_implies.prla
+2567 -3464 metaprl/theories/czf/czf_itt_inv_image.prla
+3195 -4163 metaprl/theories/czf/czf_itt_isect.prla
+8163 -9689 metaprl/theories/czf/czf_itt_kleingroup.prla
+1083 -1830 metaprl/theories/czf/czf_itt_or.prla
+2739 -3321 metaprl/theories/czf/czf_itt_rel.prla
+2321 -3047 metaprl/theories/czf/czf_itt_sall.prla
+5143 -7874 metaprl/theories/czf/czf_itt_set_ind.prla
+1668 -2663 metaprl/theories/czf/czf_itt_setdiff.prla
+2398 -3102 metaprl/theories/czf/czf_itt_sexists.prla
+2565 -3401 metaprl/theories/czf/czf_itt_singleton.prla
+3830 -5422 metaprl/theories/czf/czf_itt_subgroup.prla
+2246 -2873 metaprl/theories/czf/czf_itt_subset.prla
+758 -1211 metaprl/theories/czf/czf_itt_true.prla
+1678 -2429 metaprl/theories/fol/cfol_itt_base.prla
+668 -1030 metaprl/theories/fol/fol_itt_false.prla
+1081 -1504 metaprl/theories/fol/fol_itt_implies.prla
+646 -992 metaprl/theories/fol/fol_itt_true.prla
+5703 -6472 metaprl/theories/itt/applications/algebra/itt_intdomain.prla
+2837 -2701 metaprl/theories/itt/applications/algebra/itt_intdomain_e.prla
+5012 -6144 metaprl/theories/itt/applications/datatypes/itt_collection.prla
+584 -858 metaprl/theories/itt/core/itt_pointwise.prla
+1932 -2489 metaprl/theories/itt/core/itt_singleton.prla
+2129 -3820 metaprl/theories/itt/core/itt_well_founded.prla
+1038 -825 metaprl/theories/itt/extensions/itt_pairwise.prla
+7145 -6474 metaprl/theories/s4lp/s4_logic.prla
+2862 -3197 metaprl/theories/tptp/tptp_derive.prla

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-03 21:35:59 -0800 (Thu, 03 Nov 2005)
Revision: 8091
Log message:

      Added ty_exp_elim_slow for testing purposes.
      

Changes  Path
+10 -0 metaprl/theories/poplmark/naive/pmn_core_terms.ml
+574 -463 metaprl/theories/poplmark/naive/pmn_core_terms.prla

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-03 22:00:17 -0800 (Thu, 03 Nov 2005)
Revision: 8092
Log message:

      Moving the closed branches out of the way.
      

Changes  Path
Copied metaprl-branches/closed/CS101_branch
Copied metaprl-branches/closed/S4-jprover
Copied metaprl-branches/closed/WeakMemoGCexpr
Copied metaprl-branches/closed/abstract_vars
Copied metaprl-branches/closed/bound_contexts
Copied metaprl-branches/closed/bound_contexts2
Copied metaprl-branches/closed/cic
Copied metaprl-branches/closed/fast_parser
Copied metaprl-branches/closed/filter_phobos
Copied metaprl-branches/closed/jprover-rule-based-unif
Copied metaprl-branches/closed/lm_libmojave
Copied metaprl-branches/closed/nasslli_branch
Copied metaprl-branches/closed/new-then_Lab_T-implementation
Copied metaprl-branches/closed/new_match_table
Copied metaprl-branches/closed/new_parser
Copied metaprl-branches/closed/new_parser2
Copied metaprl-branches/closed/new_parser3
Copied metaprl-branches/closed/new_scanner2
Copied metaprl-branches/closed/ocaml_3_02
Copied metaprl-branches/closed/ocaml_3_04
Copied metaprl-branches/closed/ocaml_3_07
Copied metaprl-branches/closed/omake_0_9_7_pre6
Copied metaprl-branches/closed/opname_class3
Copied metaprl-branches/closed/opname_classes
Copied metaprl-branches/closed/opname_classes2
Copied metaprl-branches/closed/opname_classes3
Copied metaprl-branches/closed/opname_classes4
Copied metaprl-branches/closed/quote_param
Copied metaprl-branches/closed/recursive_sequents
Copied metaprl-branches/closed/recursive_sequents2
Copied metaprl-branches/closed/sequent_args_in_rewrites
Copied metaprl-branches/closed/shell_begin
Copied metaprl-branches/closed/unify_mm

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-03 22:14:06 -0800 (Thu, 03 Nov 2005)
Revision: 8093
Log message:

      Adding lm_set.ml to the list of files to be included in the "magic" digest
      calculation.
      

Changes  Path
+10 -7 metaprl/filter/base/OMakefile
+1 -1 metaprl/filter/base/filter_magic.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-03 22:16:24 -0800 (Thu, 03 Nov 2005)
Revision: 8094
Log message:

      Exploring the "this takes too long" example further. Simply running jproverT
      in /poplmark_naive/pmn_core_terms/ty_exp_elim_slow/1/1/1/1/1/2/2/1/1/1/1/2
      seems to take too long.
      

Changes  Path
+175 -145 metaprl/theories/poplmark/naive/pmn_core_terms.prla

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-04 09:27:20 -0800 (Fri, 04 Nov 2005)
Revision: 8095
Log message:

      Relaxed a bit the test for "may be patterns". If all occurrences of a second
      variable in the redex are "pattern-like" occurrences inside another second
      order variable (which means that in the actual match in may not occur at all
      if that other SO variable does not depend on its argument), the rewriter used
      to complain. I've changed it so that if that SO variable does not occur in the
      contractum, then rewriter accepts such rewrite.
      
      Example:
      
      interactive tunionHyp {| nth_hyp |} 'H :
         sequent { <H>; x: 'B['a]; <J['x]> >- 'x in Union x:'A. 'B['x]  }
         
      Here the rewriter used to complain that 'a does not have a pattern and needs
      to be passed in as an argument, which is clearly unnecessary in this case.
      

Changes  Path
+1 -1 metaprl/filter/base/filter_magic.ml
+2 -0 metaprl/refiner/rewrite/rewrite.ml
+1 -1 metaprl/refiner/rewrite/rewrite_compile_contractum.ml
+7 -5 metaprl/refiner/rewrite/rewrite_compile_redex.ml
+2 -0 metaprl/refiner/rewrite/rewrite_debug.ml
+3 -0 metaprl/refiner/rewrite/rewrite_types.ml
+28 -2 metaprl/refiner/rewrite/rewrite_util.ml
+2 -1 metaprl/refiner/rewrite/rewrite_util_sig.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-04 10:05:14 -0800 (Fri, 04 Nov 2005)
Revision: 8096
Log message:

      - Updated the elimination rules for Union so that they better preserve binding
        names.
      
      - Fixed the proof of tunionElimination_disjoint
      

Changes  Path
+844 -866 metaprl/theories/itt/core/itt_list2.prla
+10 -10 metaprl/theories/itt/core/itt_tunion.ml
+1018 -894 metaprl/theories/itt/core/itt_tunion.prla

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-04 14:07:15 -0800 (Fri, 04 Nov 2005)
Revision: 8097
Log message:

      Apparently we had forgotten to save string attributes to the IO proof
      terms.
      

Changes  Path
+18 -17 metaprl/tactics/proof/proof_boot.ml
+4 -0 metaprl/tactics/proof/tactic_boot.ml
+1 -0 metaprl/theories/poplmark/naive/OMakefile
+0 -10 metaprl/theories/poplmark/naive/pmn_core_terms.ml
+1658 -1869 metaprl/theories/poplmark/naive/pmn_core_terms.prla
Deleted metaprl/theories/poplmark/naive/pmn_core_terms_old.ml
Deleted metaprl/theories/poplmark/naive/pmn_core_terms_old.mli
Deleted metaprl/theories/poplmark/naive/pmn_core_terms_old.prla
Copied metaprl/theories/poplmark/naive/pmn_core_terms_test.ml
Copied metaprl/theories/poplmark/naive/pmn_core_terms_test.mli
Copied metaprl/theories/poplmark/naive/pmn_core_terms_test.prla

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-04 20:36:28 -0800 (Fri, 04 Nov 2005)
Revision: 8100
Log message:

      Added the (Annotate of tactic_arg * tactic_arg) proof step.  This
      addresses the problem with proof annotations being dropped.
      
      Proof files (.prlb and .prla) are defined to be backwards-compatible,
      but not forwards-compatible.
      

Changes  Path
+2 -0 metaprl/filter/base/OMakefile
+6 -4 metaprl/filter/base/filter_magic.ml
+4 -0 metaprl/support/shell/proof_edit.ml
+100 -57 metaprl/tactics/proof/proof_boot.ml
+19 -0 metaprl/tactics/proof/proof_term_boot.ml
+17 -10 metaprl/tactics/proof/tactic_boot.ml
+2 -0 metaprl/tactics/proof/tactic_boot_sig.ml
+124 -93 metaprl/theories/poplmark/naive/pmn_core_terms_test.prla

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-05 13:20:43 -0800 (Sat, 05 Nov 2005)
Revision: 8109
Log message:

      Save the current version with structural induction while I
      try the pure BTerm approach.
      

Changes  Path
Copied metaprl-branches/jyh/naive-take3
Copied metaprl-branches/jyh/naive-take3/itt_hoas_sequent_native.ml
Copied metaprl-branches/jyh/naive-take3/itt_hoas_sequent_native.mli
Copied metaprl-branches/jyh/naive-take3/itt_hoas_sequent_native.prla
Deleted metaprl-branches/jyh/naive-take3/pmn_core_terms_test.prla
Copied metaprl-branches/jyh/naive-take3/pmn_core_terms_test.prla

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-05 15:50:05 -0800 (Sat, 05 Nov 2005)
Revision: 8110
Log message:

      Trying out the "well-formedness"-based Fsub logic.
      

Changes  Path
+11 -0 metaprl/theories/base/base_grammar.mli
+54 -70 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.ml
+3 -3 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.mli
+1922 -2567 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.prla
+2 -3 metaprl/theories/poplmark/naive/OMakefile
Deleted metaprl/theories/poplmark/naive/pmn_core_judgments.ml
Deleted metaprl/theories/poplmark/naive/pmn_core_judgments.mli
Added metaprl/theories/poplmark/naive/pmn_core_logic.ml
Properties metaprl/theories/poplmark/naive/pmn_core_logic.ml
Added metaprl/theories/poplmark/naive/pmn_core_logic.mli
Properties metaprl/theories/poplmark/naive/pmn_core_logic.mli
Deleted metaprl/theories/poplmark/naive/pmn_core_subtype.ml
Deleted metaprl/theories/poplmark/naive/pmn_core_subtype.mli
+7 -215 metaprl/theories/poplmark/naive/pmn_core_terms.ml
+29 -37 metaprl/theories/poplmark/naive/pmn_core_terms.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-05 20:40:58 -0800 (Sat, 05 Nov 2005)
Revision: 8111
Log message:

      Added the "reflected_logic" block, see Pmn_core_logic for an example.
      Currently working out the rule arguments, so the final few
      rules are disabled.
      
      The main goal is, for a rule
      
         interactive foo : <mt>
      
      Do 3 things:
         1. Define unfold_foo : foo <--> <mt>
         2. Add a wf rule, <H> >- foo IN ProofRule
         3. Add the provability rule (one direction of reflection):
      
            If <mt> == <t1> --> ... -> <tn>
            Add the real rule:
      
               <H> -> Provable{t1} -->
               ...
               <H> -> Provable{tn}
      

Changes  Path
+1 -0 metaprl/filter/base/Files
+1 -412 metaprl/filter/base/filter_grammar.ml
+1 -8 metaprl/filter/base/filter_grammar.mli
Added metaprl/filter/base/filter_reflection.ml
Properties metaprl/filter/base/filter_reflection.ml
Added metaprl/filter/base/filter_reflection.mli
Properties metaprl/filter/base/filter_reflection.mli
+1 -1 metaprl/filter/base/filter_summary_type.ml
+9 -3 metaprl/filter/base/filter_type.ml
+7 -1 metaprl/filter/base/filter_util.ml
+1 -0 metaprl/filter/base/filter_util.mli
+115 -16 metaprl/filter/filter/filter_parse.ml
+15 -4 metaprl/filter/filter/term_grammar.ml
+1 -1 metaprl/theories/itt/applications/datatypes/itt_rbtree.ml
+35 -0 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.ml
+9 -1 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.mli
+74 -78 metaprl/theories/poplmark/naive/pmn_core_logic.ml
+6 -3 metaprl/theories/poplmark/naive/pmn_core_logic.mli

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-05 23:48:24 -0800 (Sat, 05 Nov 2005)
Revision: 8112
Log message:

      Further "autoT is taking too long" investagation - in 
      /poplmark_naive/pmn_core_terms_test/ty_exp_elim_slow/1/1/1/1/1/2/2/1/1/1/2/1
      even the simple_jproverT tactic is taking forever.
      

Changes  Path
+288 -190 metaprl/theories/poplmark/naive/pmn_core_terms_test.prla

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-06 18:03:10 -0800 (Sun, 06 Nov 2005)
Revision: 8116
Log message:

      Returned to requiring wf of sequents, so that we don't need wf-subgoals
      in the object logic.
      
      This mostly completes the initial phase of the Filter_parse reflection.
      You can define a logic of syntax, or a logic of rules, or any mixture.
      
         reflected_logic foo_logic =
         struct
            declare typeclass AExp
            declare typeclass BExp
      
            declare A : AExp
            declare B{'e : AExp} : AExp
            declare C{a: AExp. 'e['a] : BExp} : BExp
      
            interactive c_intro :
               sequent { <H>; a: A >- 'e['a] } -->
               sequent { <H> >- C{a. 'e['a]} }
         end
      
      Declarations are processed as normal in this block, plus 3 new parts
      are added.  Only the reflected rule makes sense.
      
      Each declaration/rule produces 3 parts:
         1. A definition (unfold_X : X <--> <definition>)
         2. A wf-goal (interactive X_wf : X in ProofRule)
         3. An ITT rule:
            interactive X_itt :
               <H1> >- Provable{$`(<H>; a: A >- e[a])} -->
               <H1> >- Provable{$`(<H> >- C{a. e[a]})}
      
      Plus you get the complete logic, containing all the rules
      that were defined (an no others).
      
         define foo_logic <--> [A; B; C; c_intro]
         define Provable{'e} <-->
            Itt_hoas_sequent_native!Provable{Sequent; foo_logic; 'e}
      
      I haven't proved any theorems, so we'll see how that goes.
      

Changes  Path
+218 -75 metaprl/filter/base/filter_reflection.ml
+9 -0 metaprl/filter/base/filter_reflection.mli
+238 -32 metaprl/filter/filter/filter_parse.ml
+7 -0 metaprl/refiner/refiner/refiner_debug.ml
+2 -2 metaprl/refiner/reflib/term_ty_infer.ml
+1 -0 metaprl/refiner/refsig/term_op_sig.ml
+5 -0 metaprl/refiner/term_ds/term_op_ds.ml
+5 -0 metaprl/refiner/term_std/term_op_std.ml
+1 -1 metaprl/support/display/perv.mli
+5 -0 metaprl/theories/itt/core/itt_list2.ml
+4 -0 metaprl/theories/itt/core/itt_list2.mli
+1 -1 metaprl/theories/itt/reflection/core/itt_hoas_base.ml
+4 -4 metaprl/theories/itt/reflection/core/itt_hoas_vector.ml
+2 -2 metaprl/theories/itt/reflection/experimental/OMakefile
Added metaprl/theories/itt/reflection/experimental/itt_hoas_meta_types.ml
Properties metaprl/theories/itt/reflection/experimental/itt_hoas_meta_types.ml
Added metaprl/theories/itt/reflection/experimental/itt_hoas_meta_types.mli
Properties metaprl/theories/itt/reflection/experimental/itt_hoas_meta_types.mli
+53 -0 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.ml
Added metaprl/theories/itt/reflection/experimental/itt_hoas_theory.ml
Properties metaprl/theories/itt/reflection/experimental/itt_hoas_theory.ml
Added metaprl/theories/itt/reflection/experimental/itt_hoas_theory.mli
Properties metaprl/theories/itt/reflection/experimental/itt_hoas_theory.mli
+23 -32 metaprl/theories/poplmark/naive/pmn_core_logic.ml
+12 -10 metaprl/theories/poplmark/naive/pmn_core_logic.mli
+58 -2 metaprl/theories/poplmark/naive/pmn_core_terms.ml
+40 -17 metaprl/theories/poplmark/naive/pmn_core_terms.mli

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-06 18:18:30 -0800 (Sun, 06 Nov 2005)
Revision: 8117
Log message:

      OMake should be checked out from the 0.9.6.x branch.
      

Changes  Path
+2 -2 metaprl/doc/htmlman/mp-install.html

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-06 22:35:45 -0800 (Sun, 06 Nov 2005)
Revision: 8119
Log message:

      Minor fixes in the IO code. Still a long way to go.
      

Changes  Path
+8 -4 metaprl-branches/new_binary_io/filter/base/filter_io.ml
+1 -16 metaprl-branches/new_binary_io/tactics/proof/tactic_boot_sig.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-07 01:14:46 -0800 (Mon, 07 Nov 2005)
Revision: 8123
Log message:

      - env_arg.mli: use self-documentary type names (e.g. "Arg.usage_msg" instead
        of "string")
      
      - removed a little bit of unused code.
      

Changes  Path
+0 -2 metaprl/filter/base/filter_cache_fun.ml
+0 -1 metaprl/filter/base/filter_summary_io.ml
+0 -2 metaprl/filter/base/filter_summary_type.ml
+1 -0 metaprl/mllib/env_arg.ml
+8 -7 metaprl/mllib/env_arg.mli
+1 -3 metaprl/mllib/file_base.ml
+0 -1 metaprl/mllib/file_base_type.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-07 01:22:48 -0800 (Mon, 07 Nov 2005)
Revision: 8124
Log message:

      Merged in the trunk changes (revisions 8080:8123):
         svn merge -r 8080:8123 svn+ssh://svn.metaprl.org/svnroot/mojave/metaprl
      

Changes  Path
+2 -2 metaprl-branches/new_binary_io/doc/htmlman/mp-install.html
+1 -0 metaprl-branches/new_binary_io/filter/base/Files
+12 -7 metaprl-branches/new_binary_io/filter/base/OMakefile
+0 -2 metaprl-branches/new_binary_io/filter/base/filter_cache_fun.ml
+1 -412 metaprl-branches/new_binary_io/filter/base/filter_grammar.ml
+1 -8 metaprl-branches/new_binary_io/filter/base/filter_grammar.mli
+3 -2 metaprl-branches/new_binary_io/filter/base/filter_io.ml
Copied metaprl-branches/new_binary_io/filter/base/filter_reflection.ml
Properties metaprl-branches/new_binary_io/filter/base/filter_reflection.ml
Copied metaprl-branches/new_binary_io/filter/base/filter_reflection.mli
Properties metaprl-branches/new_binary_io/filter/base/filter_reflection.mli
+1 -2 metaprl-branches/new_binary_io/filter/base/filter_summary_type.ml
+9 -3 metaprl-branches/new_binary_io/filter/base/filter_type.ml
+7 -1 metaprl-branches/new_binary_io/filter/base/filter_util.ml
+1 -0 metaprl-branches/new_binary_io/filter/base/filter_util.mli
+321 -16 metaprl-branches/new_binary_io/filter/filter/filter_parse.ml
+15 -4 metaprl-branches/new_binary_io/filter/filter/term_grammar.ml
+1 -0 metaprl-branches/new_binary_io/mllib/env_arg.ml
+8 -7 metaprl-branches/new_binary_io/mllib/env_arg.mli
+7 -0 metaprl-branches/new_binary_io/refiner/refiner/refiner_debug.ml
+6 -10 metaprl-branches/new_binary_io/refiner/reflib/jall.ml
+2 -2 metaprl-branches/new_binary_io/refiner/reflib/term_ty_infer.ml
+1 -0 metaprl-branches/new_binary_io/refiner/refsig/term_op_sig.ml
+2 -0 metaprl-branches/new_binary_io/refiner/rewrite/rewrite.ml
+1 -1 metaprl-branches/new_binary_io/refiner/rewrite/rewrite_compile_contractum.ml
+7 -5 metaprl-branches/new_binary_io/refiner/rewrite/rewrite_compile_redex.ml
+2 -0 metaprl-branches/new_binary_io/refiner/rewrite/rewrite_debug.ml
+3 -0 metaprl-branches/new_binary_io/refiner/rewrite/rewrite_types.ml
+28 -2 metaprl-branches/new_binary_io/refiner/rewrite/rewrite_util.ml
+2 -1 metaprl-branches/new_binary_io/refiner/rewrite/rewrite_util_sig.ml
+5 -0 metaprl-branches/new_binary_io/refiner/term_ds/term_op_ds.ml
+5 -0 metaprl-branches/new_binary_io/refiner/term_std/term_op_std.ml
+1 -1 metaprl-branches/new_binary_io/support/display/perv.mli
+4 -0 metaprl-branches/new_binary_io/support/shell/proof_edit.ml
+123 -81 metaprl-branches/new_binary_io/support/tactics/dtactic.ml
+2 -1 metaprl-branches/new_binary_io/support/tactics/dtactic.mli
+23 -1 metaprl-branches/new_binary_io/support/tactics/top_tacticals.ml
+24 -6 metaprl-branches/new_binary_io/support/tactics/top_tacticals.mli
+170 -123 metaprl-branches/new_binary_io/tactics/proof/proof_boot.ml
+19 -0 metaprl-branches/new_binary_io/tactics/proof/proof_term_boot.ml
+2 -0 metaprl-branches/new_binary_io/tactics/proof/sequent_boot.ml
+157 -28 metaprl-branches/new_binary_io/tactics/proof/tactic_boot.ml
+67 -3 metaprl-branches/new_binary_io/tactics/proof/tactic_boot_sig.ml
+51 -19 metaprl-branches/new_binary_io/tactics/proof/tacticals_boot.ml
+11 -0 metaprl-branches/new_binary_io/theories/base/base_grammar.mli
+1 -0 metaprl-branches/new_binary_io/theories/czf/OMakefile
+2125 -2882 metaprl-branches/new_binary_io/theories/czf/czf_itt_abel_group.prla
+1313 -2325 metaprl-branches/new_binary_io/theories/czf/czf_itt_all.prla
+1038 -1842 metaprl-branches/new_binary_io/theories/czf/czf_itt_and.prla
+3808 -5404 metaprl-branches/new_binary_io/theories/czf/czf_itt_cyclic_group.prla
+3083 -4182 metaprl-branches/new_binary_io/theories/czf/czf_itt_cyclic_subgroup.prla
+1861 -2376 metaprl-branches/new_binary_io/theories/czf/czf_itt_empty.prla
+9610 -13455 metaprl-branches/new_binary_io/theories/czf/czf_itt_equiv.prla
+1290 -2199 metaprl-branches/new_binary_io/theories/czf/czf_itt_exists.prla
+757 -1211 metaprl-branches/new_binary_io/theories/czf/czf_itt_false.prla
+4865 -6086 metaprl-branches/new_binary_io/theories/czf/czf_itt_group.prla
+3211 -4490 metaprl-branches/new_binary_io/theories/czf/czf_itt_group_bvd.prla
+1192 -2036 metaprl-branches/new_binary_io/theories/czf/czf_itt_implies.prla
+2567 -3464 metaprl-branches/new_binary_io/theories/czf/czf_itt_inv_image.prla
+3195 -4163 metaprl-branches/new_binary_io/theories/czf/czf_itt_isect.prla
+8163 -9689 metaprl-branches/new_binary_io/theories/czf/czf_itt_kleingroup.prla
+1083 -1830 metaprl-branches/new_binary_io/theories/czf/czf_itt_or.prla
+2739 -3321 metaprl-branches/new_binary_io/theories/czf/czf_itt_rel.prla
+2321 -3047 metaprl-branches/new_binary_io/theories/czf/czf_itt_sall.prla
+5143 -7874 metaprl-branches/new_binary_io/theories/czf/czf_itt_set_ind.prla
+1668 -2663 metaprl-branches/new_binary_io/theories/czf/czf_itt_setdiff.prla
+2398 -3102 metaprl-branches/new_binary_io/theories/czf/czf_itt_sexists.prla
+2565 -3401 metaprl-branches/new_binary_io/theories/czf/czf_itt_singleton.prla
+3830 -5422 metaprl-branches/new_binary_io/theories/czf/czf_itt_subgroup.prla
+2246 -2873 metaprl-branches/new_binary_io/theories/czf/czf_itt_subset.prla
+758 -1211 metaprl-branches/new_binary_io/theories/czf/czf_itt_true.prla
+1678 -2429 metaprl-branches/new_binary_io/theories/fol/cfol_itt_base.prla
+668 -1030 metaprl-branches/new_binary_io/theories/fol/fol_itt_false.prla
+1081 -1504 metaprl-branches/new_binary_io/theories/fol/fol_itt_implies.prla
+646 -992 metaprl-branches/new_binary_io/theories/fol/fol_itt_true.prla
+1 -1 metaprl-branches/new_binary_io/theories/itt/applications/algebra/itt_group.ml
+5703 -6472 metaprl-branches/new_binary_io/theories/itt/applications/algebra/itt_intdomain.prla
+2837 -2701 metaprl-branches/new_binary_io/theories/itt/applications/algebra/itt_intdomain_e.prla
+5012 -6144 metaprl-branches/new_binary_io/theories/itt/applications/datatypes/itt_collection.prla
+1 -1 metaprl-branches/new_binary_io/theories/itt/applications/datatypes/itt_rbtree.ml
+2 -2 metaprl-branches/new_binary_io/theories/itt/core/itt_esquash.ml
+2 -3 metaprl-branches/new_binary_io/theories/itt/core/itt_list.ml
+5862 -5988 metaprl-branches/new_binary_io/theories/itt/core/itt_list.prla
+5 -0 metaprl-branches/new_binary_io/theories/itt/core/itt_list2.ml
+4 -0 metaprl-branches/new_binary_io/theories/itt/core/itt_list2.mli
+844 -866 metaprl-branches/new_binary_io/theories/itt/core/itt_list2.prla
+72 -60 metaprl-branches/new_binary_io/theories/itt/core/itt_logic.ml
+584 -858 metaprl-branches/new_binary_io/theories/itt/core/itt_pointwise.prla
+2 -2 metaprl-branches/new_binary_io/theories/itt/core/itt_quotient.ml
+1932 -2489 metaprl-branches/new_binary_io/theories/itt/core/itt_singleton.prla
+1 -1 metaprl-branches/new_binary_io/theories/itt/core/itt_subtype.ml
+10 -10 metaprl-branches/new_binary_io/theories/itt/core/itt_tunion.ml
+1018 -894 metaprl-branches/new_binary_io/theories/itt/core/itt_tunion.prla
+2129 -3820 metaprl-branches/new_binary_io/theories/itt/core/itt_well_founded.prla
+1038 -825 metaprl-branches/new_binary_io/theories/itt/extensions/itt_pairwise.prla
+75 -103 metaprl-branches/new_binary_io/theories/itt/extensions/pairwise-verification.ml
+1 -1 metaprl-branches/new_binary_io/theories/itt/reflection/core/itt_hoas_base.ml
+4 -4 metaprl-branches/new_binary_io/theories/itt/reflection/core/itt_hoas_vector.ml
+2 -2 metaprl-branches/new_binary_io/theories/itt/reflection/experimental/OMakefile
Copied metaprl-branches/new_binary_io/theories/itt/reflection/experimental/itt_hoas_meta_types.ml
Properties metaprl-branches/new_binary_io/theories/itt/reflection/experimental/itt_hoas_meta_types.ml
Copied metaprl-branches/new_binary_io/theories/itt/reflection/experimental/itt_hoas_meta_types.mli
Properties metaprl-branches/new_binary_io/theories/itt/reflection/experimental/itt_hoas_meta_types.mli
+142 -70 metaprl-branches/new_binary_io/theories/itt/reflection/experimental/itt_hoas_sequent_native.ml
+15 -3 metaprl-branches/new_binary_io/theories/itt/reflection/experimental/itt_hoas_sequent_native.mli
+1922 -2567 metaprl-branches/new_binary_io/theories/itt/reflection/experimental/itt_hoas_sequent_native.prla
Copied metaprl-branches/new_binary_io/theories/itt/reflection/experimental/itt_hoas_theory.ml
Properties metaprl-branches/new_binary_io/theories/itt/reflection/experimental/itt_hoas_theory.ml
Copied metaprl-branches/new_binary_io/theories/itt/reflection/experimental/itt_hoas_theory.mli
Properties metaprl-branches/new_binary_io/theories/itt/reflection/experimental/itt_hoas_theory.mli
+2 -2 metaprl-branches/new_binary_io/theories/poplmark/naive/OMakefile
Deleted metaprl-branches/new_binary_io/theories/poplmark/naive/pmn_core_judgments.ml
Deleted metaprl-branches/new_binary_io/theories/poplmark/naive/pmn_core_judgments.mli
Copied metaprl-branches/new_binary_io/theories/poplmark/naive/pmn_core_logic.ml
Properties metaprl-branches/new_binary_io/theories/poplmark/naive/pmn_core_logic.ml
Copied metaprl-branches/new_binary_io/theories/poplmark/naive/pmn_core_logic.mli
Properties metaprl-branches/new_binary_io/theories/poplmark/naive/pmn_core_logic.mli
Deleted metaprl-branches/new_binary_io/theories/poplmark/naive/pmn_core_subtype.ml
Deleted metaprl-branches/new_binary_io/theories/poplmark/naive/pmn_core_subtype.mli
+69 -221 metaprl-branches/new_binary_io/theories/poplmark/naive/pmn_core_terms.ml
+65 -50 metaprl-branches/new_binary_io/theories/poplmark/naive/pmn_core_terms.mli
+2426 -3357 metaprl-branches/new_binary_io/theories/poplmark/naive/pmn_core_terms.prla
Deleted metaprl-branches/new_binary_io/theories/poplmark/naive/pmn_core_terms_old.ml
Deleted metaprl-branches/new_binary_io/theories/poplmark/naive/pmn_core_terms_old.mli
Deleted metaprl-branches/new_binary_io/theories/poplmark/naive/pmn_core_terms_old.prla
Copied metaprl-branches/new_binary_io/theories/poplmark/naive/pmn_core_terms_test.ml
Properties metaprl-branches/new_binary_io/theories/poplmark/naive/pmn_core_terms_test.ml
Copied metaprl-branches/new_binary_io/theories/poplmark/naive/pmn_core_terms_test.mli
Properties metaprl-branches/new_binary_io/theories/poplmark/naive/pmn_core_terms_test.mli
Copied metaprl-branches/new_binary_io/theories/poplmark/naive/pmn_core_terms_test.prla
Properties metaprl-branches/new_binary_io/theories/poplmark/naive/pmn_core_terms_test.prla
+7145 -6474 metaprl-branches/new_binary_io/theories/s4lp/s4_logic.prla
+2862 -3197 metaprl-branches/new_binary_io/theories/tptp/tptp_derive.prla

Changes by: Alexei Kopylov (kopylov at cs.caltech.edu)
Date: 2005-11-07 17:49:13 -0800 (Mon, 07 Nov 2005)
Revision: 8125
Log message:

      Added a theorem in the object theory.
      
      

Changes  Path
+3 -0 metaprl/theories/itt/applications/objects/itt_obj_base_rewrite.ml
+971 -827 metaprl/theories/itt/applications/objects/itt_obj_base_rewrite.prla

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-07 19:11:12 -0800 (Mon, 07 Nov 2005)
Revision: 8127
Log message:

      (Issue 543) Compute the full list of theories to build based on the
      inter-theory dependencies.
      
      Now that ITT is composed of a bunch of smaller subtheories, having to specify
      the full list of theories in mk/config became more annoying. This commit
      implements the notion of theory dependencies and uses it to compute the full
      list of theories to be compiled. Now setting THEORIES in mk/config to
      something like "poplmark/naive" should work, bringing in all the necessary
      dependencies.
      
      In order to work correctly, the theory/*/OMakefile:
      
      - MAY define or update the THEORY_DEPENCIES variable. This variable MUST
        contain an array of theory "names" (as before, the theory "name" is the
        directory name relative to $(ROOT)/theories). By default, THEORY_DEPENCIES
        is equal to "base"
      
      - SHOULD use either the Theory function (which takes a file list as an
        argument), or a VirtualTheory function (this takes a list of subdirectories
        as an argument and should be used for "virtual" theories that only bring
        together sub-theories, but do not contain any modules). Note that
        VirtualTheory overrides the THEORY_DEPENCIES variable, so any additonal
        modifications to THEORY_DEPENCIES in virtual theories (which usually
        shouldn't be necessary) need to go after the VirtualTheory call.
      
      - SHOULD NOT change the OCAMLINCLUDES variable (except for non-theory
        directories). The standard "Theory" function now sets OCAMLINCLUDES based on
        the value of THEORY_DEPENCIES, and if the resulting value is incorrect, it
        is usually a very good indication that THEORY_DEPENCIES is also incorrect.
      
      - SHOULD NOT use .SUBDIRS to bring in other theories; it should use
        THEORY_DEPENCIES or VirtualTheory mechanism instead.
      

Changes  Path
+53 -20 metaprl/OMakefile
+1 -1 metaprl/editor/ml/OMakefile
+2 -2 metaprl/mk/defaults
+8 -6 metaprl/mk/make_config
+1 -0 metaprl/theories/base/OMakefile
+0 -3 metaprl/theories/cic/OMakefile
+4 -6 metaprl/theories/czf/OMakefile
+0 -3 metaprl/theories/experimental/compile/OMakefile
+0 -12 metaprl/theories/experimental/mcc/fir/type/OMakefile
+2 -5 metaprl/theories/experimental/unity/OMakefile
+0 -6 metaprl/theories/fir/OMakefile
+2 -4 metaprl/theories/fol/OMakefile
+0 -3 metaprl/theories/hol/OMakefile
+3 -5 metaprl/theories/ilc/OMakefile
+1 -7 metaprl/theories/itt/OMakefile
+1 -7 metaprl/theories/itt/applications/OMakefile
+2 -4 metaprl/theories/itt/applications/algebra/OMakefile
+2 -4 metaprl/theories/itt/applications/datatypes/OMakefile
+3 -5 metaprl/theories/itt/applications/function_spaces/OMakefile
+2 -4 metaprl/theories/itt/applications/objects/OMakefile
+3 -5 metaprl/theories/itt/applications/supinf/OMakefile
+0 -3 metaprl/theories/itt/core/OMakefile
+3 -12 metaprl/theories/itt/extensions/OMakefile
+2 -4 metaprl/theories/itt/extensions/rfun/OMakefile
+1 -7 metaprl/theories/itt/reflection/OMakefile
+2 -4 metaprl/theories/itt/reflection/core/OMakefile
+3 -13 metaprl/theories/itt/reflection/experimental/OMakefile
+4 -6 metaprl/theories/itt/reflection/experimental/jyh/OMakefile
+4 -6 metaprl/theories/itt/reflection/obsolete/OMakefile
+3 -5 metaprl/theories/itt/tests/OMakefile
+2 -4 metaprl/theories/kat/OMakefile
+2 -4 metaprl/theories/mesa/OMakefile
+0 -3 metaprl/theories/ocaml_doc/OMakefile
+0 -3 metaprl/theories/ocaml_sos/OMakefile
+4 -7 metaprl/theories/poplmark/naive/OMakefile
+0 -3 metaprl/theories/s4lp/OMakefile
+2 -4 metaprl/theories/sil/OMakefile
+2 -4 metaprl/theories/tptp/OMakefile
+2 -4 metaprl/theories/tutorial/OMakefile

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-07 20:07:12 -0800 (Mon, 07 Nov 2005)
Revision: 8128
Log message:

      Added a Boolean beq_bterm{'t1; 't2} for alpha-equality
      ('t1 = 't2 in BTerm <=> (beq_bterm{'t1; 't2} && 't1 in BTerm && 't2 in BTerm)).
      
      Also added the tactic (tailIndT << 'l >>) for tail induction on
      *any* list, not just the variables.  Bah, my proofs in Itt_list2
      would have been much easier if I had proved this first.
      

Changes  Path
+4 -0 metaprl/support/display/perv.ml
+7 -0 metaprl/support/display/perv.mli
+20 -0 metaprl/theories/itt/core/itt_list2.ml
+1 -0 metaprl/theories/itt/core/itt_list2.mli
+7107 -6064 metaprl/theories/itt/core/itt_list2.prla
+25 -0 metaprl/theories/itt/reflection/core/itt_hoas_debruijn.ml
+1 -0 metaprl/theories/itt/reflection/core/itt_hoas_debruijn.mli
+1003 -298 metaprl/theories/itt/reflection/core/itt_hoas_debruijn.prla
+76 -4 metaprl/theories/itt/reflection/experimental/itt_hoas_bterm.ml
+6 -1 metaprl/theories/itt/reflection/experimental/itt_hoas_bterm.mli
+4359 -1615 metaprl/theories/itt/reflection/experimental/itt_hoas_bterm.prla

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-07 20:53:20 -0800 (Mon, 07 Nov 2005)
Revision: 8129
Log message:

      Aleksey & Alexei:
      
      - Simplified the induction axioms for integers and lists, deriving the
        original ones.
      
      - Annotated the induction rules for ints, nats, and lists with proper labels,
        increasing the list of labels that are considered to be "main" by thenMT.
      
      - Making progress re-verifying ITT Core axioms under pairwise functionality
        (but got stuck in Itt_int_ext, where the div_neg rule seems too suspicious).
      

Changes  Path
+2 -0 metaprl/tactics/proof/tacticals_boot.ml
+3919 -4226 metaprl/theories/itt/applications/algebra/itt_poly.prla
+1 -1 metaprl/theories/itt/core/OMakefile
+14 -14 metaprl/theories/itt/core/itt_int_base.ml
+2078 -1995 metaprl/theories/itt/core/itt_int_base.prla
+10 -5 metaprl/theories/itt/core/itt_list.ml
+2844 -2780 metaprl/theories/itt/core/itt_list.prla
+9 -9 metaprl/theories/itt/core/itt_nat.ml
+71 -50 metaprl/theories/itt/extensions/pairwise-verification.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-07 23:36:42 -0800 (Mon, 07 Nov 2005)
Revision: 8130
Log message:

      Centralized the nadling of the input search path.
      

Changes  Path
+14 -0 metaprl-branches/new_binary_io/filter/base/filter_io.ml
+1 -0 metaprl-branches/new_binary_io/filter/base/filter_io.mli
+1 -1 metaprl-branches/new_binary_io/filter/base/filter_summary_type.ml
+3 -9 metaprl-branches/new_binary_io/filter/filter/filter_bin.ml
+3 -9 metaprl-branches/new_binary_io/filter/filter/filter_convert.ml
+2 -20 metaprl-branches/new_binary_io/filter/filter/filter_main.ml
+1 -10 metaprl-branches/new_binary_io/filter/filter/filter_parse.ml
+1 -14 metaprl-branches/new_binary_io/support/shell/shell_state.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-08 14:30:17 -0800 (Tue, 08 Nov 2005)
Revision: 8134
Log message:

      Making sure the THEORYNAME/THEORYDESCR mechanism plays nicely with the new
      THEORY_DEPENCIES feature.
      

Changes  Path
+13 -3 metaprl/OMakefile

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-08 14:39:18 -0800 (Tue, 08 Nov 2005)
Revision: 8135
Log message:

      Tried making the THEORY_DEPENCIES code more rubust in presence of theory
      symlinks.
      

Changes  Path
+14 -8 metaprl/OMakefile

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-08 14:56:54 -0800 (Tue, 08 Nov 2005)
Revision: 8138
Log message:

      More consistent error messages for values in mk/config
      

Changes  Path
+12 -12 metaprl/OMakefile

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-08 15:04:56 -0800 (Tue, 08 Nov 2005)
Revision: 8139
Log message:

      "THEORY_DEPENCIES" -> "THEORY_DEPS" (Oops, evils of too much cut&paste - I
      didn't, of course, mean to replicate a misspelling all over the place).
      

Changes  Path
+9 -9 metaprl/OMakefile
+1 -1 metaprl/theories/base/OMakefile
+1 -1 metaprl/theories/czf/OMakefile
+1 -1 metaprl/theories/experimental/unity/OMakefile
+1 -1 metaprl/theories/fol/OMakefile
+1 -1 metaprl/theories/ilc/OMakefile
+1 -1 metaprl/theories/itt/applications/algebra/OMakefile
+1 -1 metaprl/theories/itt/applications/datatypes/OMakefile
+1 -1 metaprl/theories/itt/applications/function_spaces/OMakefile
+1 -1 metaprl/theories/itt/applications/objects/OMakefile
+1 -1 metaprl/theories/itt/applications/supinf/OMakefile
+1 -1 metaprl/theories/itt/extensions/OMakefile
+1 -1 metaprl/theories/itt/extensions/rfun/OMakefile
+1 -1 metaprl/theories/itt/reflection/core/OMakefile
+1 -1 metaprl/theories/itt/reflection/experimental/OMakefile
+1 -1 metaprl/theories/itt/reflection/experimental/jyh/OMakefile
+1 -1 metaprl/theories/itt/reflection/obsolete/OMakefile
+1 -1 metaprl/theories/itt/tests/OMakefile
+1 -1 metaprl/theories/kat/OMakefile
+1 -1 metaprl/theories/mesa/OMakefile
+1 -1 metaprl/theories/poplmark/naive/OMakefile
+1 -1 metaprl/theories/sil/OMakefile
+1 -1 metaprl/theories/tptp/OMakefile
+1 -1 metaprl/theories/tutorial/OMakefile

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-08 15:23:45 -0800 (Tue, 08 Nov 2005)
Revision: 8140
Log message:

      This is like to be extremely contraversial.
      
      I added a "make_sequent" sequent, with an ML rewrite.
      
         make_sequent{'arg}{| x: Context{'e1}; y: Hypothesis{'e2['x]} >- 'concl['x; 'y] |}
      reduces to
         "sequent"{'arg;
             ['e1 @ [bind{length{'e1}; x. 'e2['x]}] @ nil]; 
             bind{length{'e1}; x. bind{y. 'concl['x; 'y]}}}
      
      My primary argument for doing so is that we want to reflect sequents as
      sequents, not something else.  However, since sequents are not primitive
      BTerms, and there are no induction forms defined for sequents in ITT,
      we have to do it primitively.  I realize this argument is not as
      strong as it should be.
      
      We need to be confident that this amounts to a definition.  I have not
      added the inverse rule because, among other things, it would have to
      be a conditional rewrite.
      
      This isn't just to make things pretty, I want to be able to use
      contexts in proofs.  For example, in Fsub, we would like a rule
      that looks as follows.
      
          Original FSub rule:
      
             <H>; x: ty1 >- e[x] in ty2 -->
             <H> >- lambda{x. e[x]} in TyFun{ty1; ty2} 
      
          Initial reflected version:
      
             <H1> >- 'H in CVar{0} -->
             <H1> >- 'ty1 in SOVar{|H|} -> ...
             <H1> >- Provable{make_sequent{| h: Context{'H}; x: Hypothesis{'ty1} >- e[x] in ty2|}} -->
             <H1> >- Provable{make_sequent{| h: Context{'H} >- lambda{x. e['x]} in TyFun{'ty1; 'ty2} |}
      
         Derived version:
             <H1> >- 'ty1 in SOVar{|H|} -> ...
             <H1> >- Provable{make_sequent{| h: <H>; x: Hypothesis{'ty1} >- e[x] in ty2|}} -->
             <H1> >- Provable{make_sequent{| h: <H> >- lambda{x. e['x]} in TyFun{'ty1; 'ty2} |}
      
      I admit, this "derived version" with real contexts may be a lost cause,
      but I'm not sure yet.
      

Changes  Path
+1 -0 metaprl/theories/itt/reflection/experimental/OMakefile
Added metaprl/theories/itt/reflection/experimental/itt_hoas_sequent.ml
Properties metaprl/theories/itt/reflection/experimental/itt_hoas_sequent.ml
Added metaprl/theories/itt/reflection/experimental/itt_hoas_sequent.mli
Properties metaprl/theories/itt/reflection/experimental/itt_hoas_sequent.mli
+4 -0 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-08 19:27:00 -0800 (Tue, 08 Nov 2005)
Revision: 8146
Log message:

      The proof checkers are now (ProofStep -> bool) instead of (ProofStep -> univ[1]).
      

Changes  Path
+43 -0 metaprl/theories/itt/core/itt_list2.ml
+1 -0 metaprl/theories/itt/core/itt_list2.mli
+11258 -7755 metaprl/theories/itt/core/itt_list2.prla
+34 -0 metaprl/theories/itt/reflection/experimental/itt_hoas_bterm.ml
+2 -0 metaprl/theories/itt/reflection/experimental/itt_hoas_bterm.mli
+1514 -531 metaprl/theories/itt/reflection/experimental/itt_hoas_bterm.prla
+118 -2 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.ml
+8 -0 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.mli
+5669 -1538 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.prla

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-08 19:43:28 -0800 (Tue, 08 Nov 2005)
Revision: 8147
Log message:

      Update the filter to use beq_ProofStep.
      

Changes  Path
+114 -106 metaprl/filter/base/filter_reflection.ml
+4 -5 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-08 19:57:25 -0800 (Tue, 08 Nov 2005)
Revision: 8148
Log message:

      Oops, I got a bit too aggressive on the Boolean proof checkers.
      

Changes  Path
+7 -1 metaprl/filter/base/filter_reflection.ml
+2 -2 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.ml
+2234 -2246 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.prla

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-09 00:19:55 -0800 (Wed, 09 Nov 2005)
Revision: 8149
Log message:

      - Made sure that documentation generator plays nicely with the new THEORY_DEPS
        mechanism.
      
      - Further clean-ups in the THEORY_DEPS implementation.
      

Changes  Path
+24 -16 metaprl/OMakefile
+1 -2 metaprl/doc/latex/theories/OMakefile
+9 -13 metaprl/editor/ml/OMakefile
+1 -12 metaprl/theories/itt/OMakefile

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-09 00:43:13 -0800 (Wed, 09 Nov 2005)
Revision: 8150
Log message:

      Finished implementing the .cmiz API
      

Changes  Path
+60 -0 metaprl-branches/new_binary_io/filter/base/filter_io.ml
+16 -0 metaprl-branches/new_binary_io/filter/base/filter_io.mli

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-09 04:55:00 -0800 (Wed, 09 Nov 2005)
Revision: 8151
Log message:

      More TheoryDocument fixes.
      

Changes  Path
+3 -1 metaprl/OMakefile

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-09 16:14:18 -0800 (Wed, 09 Nov 2005)
Revision: 8153
Log message:

      Slight clarification.
      

Changes  Path
+2 -2 metaprl/doc/htmlman/mp-svn-rw.html

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-10 10:45:48 -0800 (Thu, 10 Nov 2005)
Revision: 8159
Log message:

      Proof checking is now completely decidable.
      
      A proof checker has the type
      
          ProofStep * ProofStepWitness -> bool
      
      where
      
          ProofStep == Sequent list * Sequent
          ProofStepWitness == BTerm list * BTerm list list
      
      I haven't converted Filter_reflection yet.
      

Changes  Path
+84 -43 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.ml
+3 -3 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.mli
+5605 -5819 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.prla

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-10 12:52:28 -0800 (Thu, 10 Nov 2005)
Revision: 8161
Log message:

      Added the new explicit witness to Filter_reflection.
      

Changes  Path
+1 -1 metaprl/OMakefile
+179 -143 metaprl/filter/base/filter_reflection.ml
+21 -0 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.ml
+2 -0 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.mli

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-11 03:31:16 -0800 (Fri, 11 Nov 2005)
Revision: 8162
Log message:

      Added a rewrite lemma to reduce: length{tail{'l; 'n} ~ 'n
      This significantly simplifes the proofs of the tail induction lemmas.
      

Changes  Path
+3 -0 metaprl/theories/itt/core/itt_list2.ml
+3827 -4327 metaprl/theories/itt/core/itt_list2.prla

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-11 05:10:57 -0800 (Fri, 11 Nov 2005)
Revision: 8163
Log message:

      Trying to make "AutoComplete" handling more efficient. In "AutoComplete" mode
      we want to abort on first goal that we can not complete, and not go all the
      way on all the branches and only then check whether all of them are complete.
      

Changes  Path
+8 -3 metaprl/support/tactics/auto_tactic.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-11 05:37:16 -0800 (Fri, 11 Nov 2005)
Revision: 8164
Log message:

      Added a comment pointing to issue 549.
      

Changes  Path
+3 -0 metaprl/support/tactics/auto_tactic.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-11 05:46:17 -0800 (Fri, 11 Nov 2005)
Revision: 8165
Log message:

      Adding omegaT to intro resource (with AutoComplete) for inequality
      conclusions.
      

Changes  Path
+1924 -4973 metaprl/theories/itt/core/itt_list2.prla
+8 -1 metaprl/theories/itt/core/itt_omega.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-11 11:43:56 -0800 (Fri, 11 Nov 2005)
Revision: 8166
Log message:

      Proved some wf theorems.
      

Changes  Path
+77 -1 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.ml
+2 -0 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.mli
+4248 -2556 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.prla

Changes by: Alexei Kopylov (kopylov at cs.caltech.edu)
Date: 2005-11-11 12:11:04 -0800 (Fri, 11 Nov 2005)
Revision: 8167
Log message:

      Some documentation on object theory

Changes  Path
+63 -8 metaprl/theories/itt/applications/objects/itt_obj_base_rewrite.ml

Changes by: Alexei Kopylov (kopylov at cs.caltech.edu)
Date: 2005-11-11 15:13:52 -0800 (Fri, 11 Nov 2005)
Revision: 8168
Log message:

      Proved that BTerm in U[i], and some other wf-theorems

Changes  Path
+7 -0 metaprl/theories/itt/core/itt_list2.ml
+930 -853 metaprl/theories/itt/core/itt_list2.prla
+21 -0 metaprl/theories/itt/reflection/experimental/itt_hoas_lang.ml
+1755 -1486 metaprl/theories/itt/reflection/experimental/itt_hoas_lang.prla

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-12 11:18:07 -0800 (Sat, 12 Nov 2005)
Revision: 8169
Log message:

      Added a moveHypT tactic (based on the Itt_struct.exchange rule).
      
      moveHypT i j takes the hypothesys number i and moves is so that the _new_
      position of the hyp is j.
      

Changes  Path
+1 -1 metaprl/theories/itt/applications/algebra/itt_group.prla
+2 -2 metaprl/theories/itt/applications/datatypes/itt_fset.prla
+1 -1 metaprl/theories/itt/core/itt_bool.prla
+1 -1 metaprl/theories/itt/core/itt_image.prla
+1 -1 metaprl/theories/itt/core/itt_list.prla
+2 -2 metaprl/theories/itt/core/itt_nat.prla
+3 -3 metaprl/theories/itt/core/itt_pointwise2.prla
+2 -2 metaprl/theories/itt/core/itt_quotient.prla
+2 -2 metaprl/theories/itt/core/itt_record.prla
+3 -3 metaprl/theories/itt/core/itt_record_exm.prla
+20 -1 metaprl/theories/itt/core/itt_struct.ml
+1 -0 metaprl/theories/itt/core/itt_struct.mli
+1 -1 metaprl/theories/itt/core/itt_struct2.prla
+1 -1 metaprl/theories/itt/core/itt_struct3.prla

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-12 11:22:23 -0800 (Sat, 12 Nov 2005)
Revision: 8170
Log message:

      MP_DEBUG=spell fixes.
      

Changes  Path
+3 -3 metaprl/theories/itt/reflection/core/itt_hoas_debruijn.ml
+1 -1 metaprl/theories/itt/reflection/core/itt_hoas_operator.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-12 15:47:42 -0800 (Sat, 12 Nov 2005)
Revision: 8171
Log message:

      Restructured the file, making it more modular (IMHO)
      

Changes  Path
+58 -78 metaprl/filter/OMakefile

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-12 16:20:23 -0800 (Sat, 12 Nov 2005)
Revision: 8172
Log message:

      When a negative "sequent context" argument was too small (the absolute value
      too large), we were raising an "Invalid Argument: index out of bounds" instead
      of a proper RefineError.
      

Changes  Path
+9 -1 metaprl/refiner/rewrite/rewrite_match_redex.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-12 16:28:46 -0800 (Sat, 12 Nov 2005)
Revision: 8173
Log message:

      Updated the irrefl_EliminationT tactic to work correctly with negative
      arguments.
      

Changes  Path
+10 -6 metaprl/theories/itt/core/itt_int_base.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-12 17:29:04 -0800 (Sat, 12 Nov 2005)
Revision: 8174
Log message:

      Wrote a simple program for merging two .prla files. This is:
       - very approximate
       - completely untested
       - not built by default.
      
      To try it out, run "omake bin/merge_prla" followed by
      bin/merge_prla input1.prla input2.prla output.prla
      

Changes  Path
+2 -1 metaprl/filter/OMakefile
+2 -1 metaprl/filter/base/filter_cache.ml
+1 -0 metaprl/filter/filter/OMakefile
Added metaprl/filter/filter/filter_merge_prla.ml
Properties metaprl/filter/filter/filter_merge_prla.ml
+2 -1 metaprl/refiner/reflib/ascii_io_sig.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-12 19:06:02 -0800 (Sat, 12 Nov 2005)
Revision: 8175
Log message:

      Preparing to rename Itt_hoas_sequent_native to Itt_hoas_sequent.
      

Changes  Path
+0 -1 metaprl/theories/itt/reflection/experimental/OMakefile
Deleted metaprl/theories/itt/reflection/experimental/itt_hoas_sequent.ml
Deleted metaprl/theories/itt/reflection/experimental/itt_hoas_sequent.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-12 19:15:54 -0800 (Sat, 12 Nov 2005)
Revision: 8176
Log message:

      Renamed Itt_hoas_sequent_native to Itt_hoas_sequent.
      The name was getting laborious.
      

Changes  Path
+1 -1 metaprl/theories/itt/reflection/experimental/OMakefile
+1 -1 metaprl/theories/itt/reflection/experimental/itt_hoas_meta_types.ml
+1 -1 metaprl/theories/itt/reflection/experimental/itt_hoas_meta_types.mli
Copied metaprl/theories/itt/reflection/experimental/itt_hoas_sequent.ml
Copied metaprl/theories/itt/reflection/experimental/itt_hoas_sequent.mli
Copied metaprl/theories/itt/reflection/experimental/itt_hoas_sequent.prla
Deleted metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.ml
Deleted metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.mli
Deleted metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_native.prla
+1 -1 metaprl/theories/itt/reflection/experimental/itt_hoas_theory.ml
+1 -1 metaprl/theories/itt/reflection/experimental/itt_hoas_theory.mli
+1 -1 metaprl/theories/poplmark/naive/pmn_core_logic.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-14 04:08:48 -0800 (Mon, 14 Nov 2005)
Revision: 8178
Log message:

      Updated the handling of matching of sequent contexts (sequent context
      instances in redices), removing the potential for some bogus error from it.
      

Changes  Path
+192 -148 metaprl/refiner/rewrite/rewrite_compile_redex.ml
+8 -3 metaprl/refiner/rewrite/rewrite_debug.ml
+37 -16 metaprl/refiner/rewrite/rewrite_match_redex.ml
+4 -0 metaprl/refiner/rewrite/rewrite_types.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-14 04:18:53 -0800 (Mon, 14 Nov 2005)
Revision: 8179
Log message:

      Forgot to commit the updated filter_magic.
      

Changes  Path
+3 -2 metaprl/filter/base/filter_magic.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-14 05:47:45 -0800 (Mon, 14 Nov 2005)
Revision: 8180
Log message:

      Fixed refiner's term extraction.
      

Changes  Path
+6 -4 metaprl/filter/base/filter_util.ml
+141 -228 metaprl/refiner/refiner/refine.ml
+0 -2 metaprl/refiner/refiner/refiner_debug.ml
+0 -4 metaprl/refiner/refsig/refine_sig.ml
+2 -2 metaprl/refiner/term_ds/term_man_ds.ml
+1 -1 metaprl/support/display/comment.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-15 01:38:39 -0800 (Tue, 15 Nov 2005)
Revision: 8184
Log message:

      Derived a slightly more convenient (in my and Alexei's opinion) induction rule
      for integers.
      

Changes  Path
+164 -320 metaprl/theories/czf/czf_itt_cyclic_group.prla
+3965 -4859 metaprl/theories/itt/applications/algebra/itt_cyclic_group.prla
+2 -2 metaprl/theories/itt/core/itt_int_base.ml
+43 -10 metaprl/theories/itt/core/itt_int_ext.ml
+11289 -10450 metaprl/theories/itt/core/itt_int_ext.prla
+2332 -3822 metaprl/theories/itt/core/itt_nat.prla

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-15 17:16:05 -0800 (Tue, 15 Nov 2005)
Revision: 8186
Log message:

      A number of improvements in the .prla merging algorithm.
      
      In particular, it now handles cases where one file has a primitive proof and
      another - a real interactive one. In this case the "merge_prla" program will
      always drop the primitive one and keep the interacrive one.
      

Changes  Path
+114 -18 metaprl/filter/filter/filter_merge_prla.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-15 23:26:16 -0800 (Tue, 15 Nov 2005)
Revision: 8188
Log message:

      - normalizeC should not call reduceC in the end, since reduceC might be doing
        something incompatible with arithT's or omegaT's assumptions.
      
      - updated ascii_io to be more efficient for large files (fixed a few places
        where it was not tail-recursive).
      

Changes  Path
+1 -1 metaprl/filter/base/filter_magic.ml
+67 -77 metaprl/refiner/reflib/ascii_io.ml
+1 -1 metaprl/theories/itt/core/itt_int_arith.ml
+3 -3 metaprl/theories/itt/core/itt_int_ext.ml
+4 -1 metaprl/theories/itt/core/itt_omega.ml
+42049 -42268 metaprl/theories/itt/core/itt_omega.prla

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-16 02:41:48 -0800 (Wed, 16 Nov 2005)
Revision: 8189
Log message:

      - Made multiplication a defined function (not an axiomatized one). Now we only
        have a single primitive rewrite for multiplication of numerals, everything
        else is derived.
      
      - Proved a bunch of itt_int_ext theorems that had not been proven yet.
      
      - Updated the parser so that <<-1>> is parsed as <<number[-1:n]>>, not
        <<minus{number[1:n]}}>>
      

Changes  Path
+6 -5 metaprl/filter/filter/term_grammar.ml
+1 -1 metaprl/support/tactics/top_conversionals.mli
+3373 -8121 metaprl/theories/czf/czf_itt_group_power.prla
+8610 -8869 metaprl/theories/itt/applications/algebra/itt_group.prla
+19042 -19203 metaprl/theories/itt/core/itt_int_arith.prla
+16 -7 metaprl/theories/itt/core/itt_int_base.ml
+1 -0 metaprl/theories/itt/core/itt_int_base.mli
+8186 -7891 metaprl/theories/itt/core/itt_int_base.prla
+57 -53 metaprl/theories/itt/core/itt_int_ext.ml
+0 -1 metaprl/theories/itt/core/itt_int_ext.mli
+9483 -8736 metaprl/theories/itt/core/itt_int_ext.prla
+947 -761 metaprl/theories/itt/core/itt_nat.prla

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-16 05:19:54 -0800 (Wed, 16 Nov 2005)
Revision: 8190
Log message:

      The .prla got corrupted. :-( Committing it again.
      

Changes  Path
+306 -533 metaprl/theories/itt/core/itt_nat.prla

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-16 19:32:27 -0800 (Wed, 16 Nov 2005)
Revision: 8192
Log message:

      Partition the files into
         1. sequents
         2. proofs (proofs are not dependent on sequents in general)
         3. and sequent proofs
      

Changes  Path
+3 -0 metaprl/theories/itt/reflection/experimental/OMakefile
Copied metaprl/theories/itt/reflection/experimental/itt_hoas_proof.ml
Copied metaprl/theories/itt/reflection/experimental/itt_hoas_proof.mli
Copied metaprl/theories/itt/reflection/experimental/itt_hoas_proof.prla
+0 -369 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent.ml
+4 -32 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent.mli
Copied metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_proof.ml
Copied metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_proof.mli
Copied metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_proof.prla
Added metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_tactics.ml
Properties metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_tactics.ml
Added metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_tactics.mli
Properties metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_tactics.mli
+3 -0 metaprl/theories/itt/reflection/experimental/itt_hoas_theory.ml
+3 -0 metaprl/theories/itt/reflection/experimental/itt_hoas_theory.mli

Changes by: Yegor N. Bryukhov (ybryukhov at gc.cuny.edu)
Date: 2005-11-17 21:48:18 -0800 (Thu, 17 Nov 2005)
Revision: 8194
Log message:

      1. Two minor optimizations for early detection of non-unifiable equations. Unfortunately, they do not help with the slow example in poplmark/naive.
      
      2. Added a counter (approximate) for recursive calls of path_checker - for debug purposes

Changes  Path
+42 -31 metaprl/refiner/reflib/jall.ml
+10 -4 metaprl/refiner/reflib/jordering.ml
+27 -9 metaprl/refiner/reflib/jtunify.ml
+2 -0 metaprl/refiner/reflib/jtunify.mli

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-17 22:33:09 -0800 (Thu, 17 Nov 2005)
Revision: 8195
Log message:

      Slight optimization of Yegor's "quick incompatibility test".
      

Changes  Path
+12 -13 metaprl/refiner/reflib/jtunify.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-22 12:15:40 -0800 (Tue, 22 Nov 2005)
Revision: 8197
Log message:

      Added the context terms in extensions/meta_context_term
      
      This approach preserves the sequent argument down to the
      base case (so the argument is more like a turnstile
      modifier).  This way, there is no need for a special
      type of "core" sequent, all sequents have the usual
      form.
      

Changes  Path
+6 -2 metaprl/filter/base/filter_reflection.ml
+2 -2 metaprl/filter/filter/filter_parse.ml
+16 -12 metaprl/refiner/reflib/term_ty_infer.ml
Properties metaprl/theories/extensions
Added metaprl/theories/extensions/OMakefile
Properties metaprl/theories/extensions/OMakefile
Added metaprl/theories/extensions/meta_context_terms.ml
Properties metaprl/theories/extensions/meta_context_terms.ml
Added metaprl/theories/extensions/meta_context_terms.mli
Properties metaprl/theories/extensions/meta_context_terms.mli
Added metaprl/theories/extensions/meta_extensions_theory.mlz
Properties metaprl/theories/extensions/meta_extensions_theory.mlz
+1 -1 metaprl/theories/poplmark/naive/pmn_core_terms.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-22 17:10:47 -0800 (Tue, 22 Nov 2005)
Revision: 8199
Log message:

      Working on meta-implies.  Still working on the meta_dT tactic.
      
      Questions:
         1. We had thought to limit the meta-logic to third order.
            We can still do it, but is it worth it?
         2. I plan to add the meta-structural rules for
            cut, thinning, and copy.
      
      High-level arguments that these are conservative extensions.
      
         cut: prove cut-elimination.  For each use of the cut rule
            S1 --> ... --> Sn --> R
            S1 --> ... --> Sn --> R --> T
            -----------------------------
            S1 --> ... --> Sn --> T
      
            prove the 2 upper rules as separate theorems.
         thinning: state the rule without the thinned assumption
            and prove that instead.  The unthinned rule follows
            trivially.
         higher-order rules: reduce an order n inference to
            order n-1 by stating the introduction and elimination
            rules as separate theorems.
      
            For example, consider the following elimination rule.
      
               S1 --> ... --> Sn --> R1
               S1 --> ... --> Sn --> R2 --> T
               ---------------------------------------
               S1 --> ... --> Sn --> (R1 --> R2) --> T
      
            Suppose we have a proof of the lower rule.
            For each use of the elimination rule, prove 3
            separate theorems.
      
               ... --> R1
               ... --> R1 --> R2
               ... --> R2 --> T
      
      Also, the proof that teleportation is a conservative extension is
      the same.  Suppose we proved a theorem without contexts, but
      we used teleportation in the argument.  For each use of the
      teleportation rule on a sequence of hyps of length n,
      prove (n + 1) theorems, including the base case and n
      step theorems.
      

Changes  Path
+1 -1 metaprl/filter/filter/filter_parse.ml
+37 -33 metaprl/filter/filter/filter_prog.ml
+1 -1 metaprl/refiner/refsig/refine_sig.ml
+5 -0 metaprl/tactics/proof/sequent_boot.ml
+1 -0 metaprl/tactics/proof/tactic_boot_sig.ml
+3 -0 metaprl/theories/base/base_meta.ml
+1 -0 metaprl/theories/base/base_meta.mli
+6 -0 metaprl/theories/extensions/OMakefile
+0 -1 metaprl/theories/extensions/meta_context_terms.ml
+1 -1 metaprl/theories/extensions/meta_context_terms.mli
Copied metaprl/theories/extensions/meta_dtactic.ml
Copied metaprl/theories/extensions/meta_dtactic.mli
Added metaprl/theories/extensions/meta_extensions_theory.ml
Properties metaprl/theories/extensions/meta_extensions_theory.ml
Added metaprl/theories/extensions/meta_extensions_theory.mli
Properties metaprl/theories/extensions/meta_extensions_theory.mli
Added metaprl/theories/extensions/meta_implies.ml
Properties metaprl/theories/extensions/meta_implies.ml
Added metaprl/theories/extensions/meta_implies.mli
Properties metaprl/theories/extensions/meta_implies.mli
Added metaprl/theories/extensions/meta_util.ml
Properties metaprl/theories/extensions/meta_util.ml
Added metaprl/theories/extensions/meta_util.mli
Properties metaprl/theories/extensions/meta_util.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-22 17:41:51 -0800 (Tue, 22 Nov 2005)
Revision: 8200
Log message:

      The basic meta_dT works, but I haven't corrected the 
      resource annotations yet.
      
      The extracts are currently wrong.  I have to figure out
      the arguments to the extract function (like what a
      subgoal extract looks like).
      

Changes  Path
+9 -2 metaprl/theories/extensions/meta_implies.ml
Added metaprl/theories/extensions/meta_implies.prla
Properties metaprl/theories/extensions/meta_implies.prla

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-22 18:07:51 -0800 (Tue, 22 Nov 2005)
Revision: 8201
Log message:

      Added the meta-cut rule.
      

Changes  Path
+2 -0 metaprl/theories/extensions/OMakefile
+1 -1 metaprl/theories/extensions/meta_implies.ml
Added metaprl/theories/extensions/meta_struct.ml
Properties metaprl/theories/extensions/meta_struct.ml
Added metaprl/theories/extensions/meta_struct.mli
Properties metaprl/theories/extensions/meta_struct.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-22 19:55:14 -0800 (Tue, 22 Nov 2005)
Revision: 8202
Log message:

      Added the structural rules for the meta-logic, including cut and thinning.
      
      Unfortunately, these rules are ML rules, but only because we can't
      express the extract properly.
      
      Yes I know, meta-logical power is like a siren, and we can become
      entralled by her beauty--to our own peril.
      
      Still it would be cool if we could write down this stuff the right
      way.  For example, thinning.
      
         <H>; <J> --> E
         -----------------
         <H>; A; <J> --> E
      
      Here, <H> and <J> correspond to lists of assumptions.
      Crazy, yes.  At least they are not dependent:/
      

Changes  Path
+5 -0 metaprl/theories/extensions/meta_implies.mli
+53 -1 metaprl/theories/extensions/meta_struct.ml
+3 -0 metaprl/theories/extensions/meta_struct.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-23 09:36:43 -0800 (Wed, 23 Nov 2005)
Revision: 8204
Log message:

      Generalized the type of ML extract functions.  The previous
      definitions had assumed that the assumptions (and their
      arities) was unchanged.
      
      Added extracts for all the ML rules.
      

Changes  Path
+51 -29 metaprl/refiner/refiner/refine.ml
+22 -4 metaprl/refiner/refsig/refine_sig.ml
+19 -11 metaprl/theories/extensions/meta_implies.ml
+24 -13 metaprl/theories/extensions/meta_struct.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-23 11:35:19 -0800 (Wed, 23 Nov 2005)
Revision: 8205
Log message:

      Minor changes.  Meta_implies should depend on Meta_struct, not
      vice-versa.
      

Changes  Path
Properties metaprl/filter/base
+1 -1 metaprl/mk/make_config
+2 -2 metaprl/theories/extensions/OMakefile
+4 -0 metaprl/theories/extensions/meta_extensions_theory.mlz
+19 -0 metaprl/theories/extensions/meta_implies.ml
+5 -0 metaprl/theories/extensions/meta_implies.mli
+4 -23 metaprl/theories/extensions/meta_struct.ml
+1 -2 metaprl/theories/extensions/meta_struct.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-23 12:20:42 -0800 (Wed, 23 Nov 2005)
Revision: 8206
Log message:

      Added the minimal boilerplate for context induction.
      The specification is the hard part.
      

Changes  Path
+2 -0 metaprl/theories/extensions/OMakefile
Added metaprl/theories/extensions/meta_context_ind1.ml
Properties metaprl/theories/extensions/meta_context_ind1.ml
Added metaprl/theories/extensions/meta_context_ind1.mli
Properties metaprl/theories/extensions/meta_context_ind1.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-23 14:18:22 -0800 (Wed, 23 Nov 2005)
Revision: 8207
Log message:

      Trivial changes while I work out a plan.
      

Changes  Path
+12 -0 metaprl/theories/extensions/meta_context_ind1.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-23 18:07:40 -0800 (Wed, 23 Nov 2005)
Revision: 8209
Log message:

      Added the TermMan.all_vars_info function.  The Perl script isn't
      configured for the type, so Refiner_debug will abort with
      a run-time error.
      

Changes  Path
+2 -0 metaprl/refiner/refiner/refiner_debug.ml
+8 -0 metaprl/refiner/refsig/term_man_sig.ml
+61 -0 metaprl/refiner/term_ds/term_man_ds.ml
+73 -0 metaprl/refiner/term_gen/term_man_gen.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-23 20:33:25 -0800 (Wed, 23 Nov 2005)
Revision: 8210
Log message:

      Updating Refiner_debug to match the latest Jason's changes.
      

Changes  Path
+7 -5 metaprl/refiner/refiner/refiner_debug.ml
+1 -0 metaprl/theories/experimental/compile/m-paper-hosc.tex
+2 -2 metaprl/util/gen_refiner_debug.pl

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-25 15:26:14 -0800 (Fri, 25 Nov 2005)
Revision: 8211
Log message:

      Initial context induction tactics.
      

Changes  Path
+631 -15 metaprl/theories/extensions/meta_context_ind1.ml
+4 -0 metaprl/theories/extensions/meta_context_ind1.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-25 15:46:42 -0800 (Fri, 25 Nov 2005)
Revision: 8212
Log message:

      Theory rearrangement.
         base -> meta/base
         extensions -> meta/extensions
      

Changes  Path
+1 -1 metaprl/OMakefile
Copied metaprl/theories/meta/OMakefile
Copied metaprl/theories/meta/base
+1 -18 metaprl/theories/meta/base/OMakefile
Copied metaprl/theories/meta/extensions
+3 -14 metaprl/theories/meta/extensions/OMakefile
Deleted metaprl/theories/meta/extensions/meta_context_ind1.ml
Copied metaprl/theories/meta/extensions/meta_context_ind1.ml
Deleted metaprl/theories/meta/extensions/meta_context_ind1.mli
Copied metaprl/theories/meta/extensions/meta_context_ind1.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-25 19:22:16 -0800 (Fri, 25 Nov 2005)
Revision: 8215
Log message:

      Deriving the sequent_ind reight reduction.
      

Changes  Path
+7 -1 metaprl/support/display/perv.ml
+2 -0 metaprl/support/display/perv.mli
Properties metaprl/theories/itt/extensions/vector
Copied metaprl/theories/itt/extensions/vector/OMakefile
Added metaprl/theories/itt/extensions/vector/itt_vec_struct.ml
Properties metaprl/theories/itt/extensions/vector/itt_vec_struct.ml
Added metaprl/theories/itt/extensions/vector/itt_vec_struct.mli
Properties metaprl/theories/itt/extensions/vector/itt_vec_struct.mli
+0 -0 metaprl/theories/meta/base/base_rewrite.ml
+2 -0 metaprl/theories/meta/extensions/OMakefile
+18 -11 metaprl/theories/meta/extensions/meta_context_ind1.ml
+1 -0 metaprl/theories/meta/extensions/meta_context_ind1.mli
Added metaprl/theories/meta/extensions/meta_context_rewrite.ml
Properties metaprl/theories/meta/extensions/meta_context_rewrite.ml
Added metaprl/theories/meta/extensions/meta_context_rewrite.mli
Properties metaprl/theories/meta/extensions/meta_context_rewrite.mli
Added metaprl/theories/meta/extensions/meta_context_rewrite.prla
Properties metaprl/theories/meta/extensions/meta_context_rewrite.prla
+17 -28 metaprl/theories/meta/extensions/meta_context_terms.ml
+14 -0 metaprl/theories/meta/extensions/meta_context_terms.mli
Added metaprl/theories/meta/extensions/meta_rewrite.ml
Properties metaprl/theories/meta/extensions/meta_rewrite.ml
Added metaprl/theories/meta/extensions/meta_rewrite.mli
Properties metaprl/theories/meta/extensions/meta_rewrite.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-26 08:06:49 -0800 (Sat, 26 Nov 2005)
Revision: 8216
Log message:

      Proved right-reduction for sequent_ind{...}
      

Changes  Path
+58 -21 metaprl/theories/meta/extensions/meta_context_ind1.ml
+1 -16 metaprl/theories/meta/extensions/meta_context_rewrite.ml
+765 -114 metaprl/theories/meta/extensions/meta_context_rewrite.prla
+23 -53 metaprl/theories/meta/extensions/meta_rewrite.ml
+7 -6 metaprl/theories/meta/extensions/meta_rewrite.mli
Added metaprl/theories/meta/extensions/meta_rewrite.prla
Properties metaprl/theories/meta/extensions/meta_rewrite.prla

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-26 09:30:05 -0800 (Sat, 26 Nov 2005)
Revision: 8217
Log message:

      Proved context thinning and context exchange.
      

Changes  Path
+10 -0 metaprl/theories/itt/extensions/vector/itt_vec_struct.ml
Added metaprl/theories/itt/extensions/vector/itt_vec_struct.prla
Properties metaprl/theories/itt/extensions/vector/itt_vec_struct.prla
+3 -0 metaprl/theories/meta/extensions/meta_extensions_theory.mlz

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-26 12:05:50 -0800 (Sat, 26 Nov 2005)
Revision: 8218
Log message:

      Added some defined versions of sequent_ind{...}
      

Changes  Path
+32 -0 metaprl/theories/meta/extensions/meta_context_rewrite.ml
+7 -0 metaprl/theories/meta/extensions/meta_context_rewrite.mli
+533 -640 metaprl/theories/meta/extensions/meta_context_rewrite.prla
+5 -1 metaprl/theories/meta/extensions/meta_context_terms.ml
+1 -0 metaprl/theories/meta/extensions/meta_context_terms.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-26 12:08:26 -0800 (Sat, 26 Nov 2005)
Revision: 8219
Log message:

      Rename the derived terms.
      

Changes  Path
+1 -1 metaprl/theories/meta/extensions/OMakefile
Deleted metaprl/theories/meta/extensions/meta_context_rewrite.ml
Deleted metaprl/theories/meta/extensions/meta_context_rewrite.mli
Deleted metaprl/theories/meta/extensions/meta_context_rewrite.prla
+0 -1 metaprl/theories/meta/extensions/meta_context_terms.ml
Copied metaprl/theories/meta/extensions/meta_context_terms2.ml
Copied metaprl/theories/meta/extensions/meta_context_terms2.mli
Copied metaprl/theories/meta/extensions/meta_context_terms2.prla
+1 -1 metaprl/theories/meta/extensions/meta_extensions_theory.mlz

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-26 13:03:50 -0800 (Sat, 26 Nov 2005)
Revision: 8221
Log message:

      Added the initial vector-list theory.
      Unfortunately, it looks like I'm hitting a rewriter bug.
      See Itt_vec_list1.reduce_vlist_cons for an example.
      
      Here is the failing fragment.
      
         happly{hlambda{'e; x. sequent_ind{... Sequent{ <J['x]> >- ... }}; 'e}
         --> sequent_ind{... Sequent{ <J['x]> >- ... }}
      
      In other words, the 'x in <J['x]> is not getting substituted.
      The two "x"s *should* be the same variable.
      

Changes  Path
+2 -0 metaprl/theories/itt/extensions/vector/OMakefile
Copied metaprl/theories/itt/extensions/vector/itt_vec_dform.ml
Copied metaprl/theories/itt/extensions/vector/itt_vec_dform.mli
Added metaprl/theories/itt/extensions/vector/itt_vec_list1.ml
Properties metaprl/theories/itt/extensions/vector/itt_vec_list1.ml
Added metaprl/theories/itt/extensions/vector/itt_vec_list1.mli
Properties metaprl/theories/itt/extensions/vector/itt_vec_list1.mli
Added metaprl/theories/itt/extensions/vector/itt_vec_list1.prla
Properties metaprl/theories/itt/extensions/vector/itt_vec_list1.prla

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-26 14:13:09 -0800 (Sat, 26 Nov 2005)
Revision: 8222
Log message:

      Ouch!  Term_ds had an unfortunate typo.  This could potentially
      break a lot of proofs, but I haven't checked it.
      

Changes  Path
+1 -1 metaprl/refiner/term_ds/term_base_ds.ml
+2 -2 metaprl/theories/itt/extensions/vector/itt_vec_list1.ml
+242 -277 metaprl/theories/itt/extensions/vector/itt_vec_list1.prla

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-26 16:58:55 -0800 (Sat, 26 Nov 2005)
Revision: 8223
Log message:

      Considering reformulating recursive lists.
      

Changes  Path
+246 -65 metaprl/theories/itt/extensions/vector/itt_vec_list1.prla
+15 -10 metaprl/theories/meta/extensions/meta_context_ind1.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-26 17:27:26 -0800 (Sat, 26 Nov 2005)
Revision: 8224
Log message:

      Proved basic theorems for vector lists.
      
      For now, the lists are dependent.  So, for example,
         vlist{| x: 1; y: 'x +@ 1 |} <--> vlist{| 1; 2 |}
      
      The dependencies produce complications, as you might
      imagine.  However, there doesn't seem to be any payoff
      in coding "nondependent" lists by substituting a constant
      (like it) for the hyp vars, so I'll stick with this for now.
      
      Likely, for real non-dependent lists, we would need contexts
      with no self-dependencies.  This might not help all that much
      either.
      
      Note that dependent values can be extremely useful in general,
      especially for coding things like mutually recursive functions
      and mutually recursive types.
      

Changes  Path
+23 -12 metaprl/theories/itt/extensions/vector/itt_vec_list1.ml
+577 -503 metaprl/theories/itt/extensions/vector/itt_vec_list1.prla
+1 -0 metaprl/theories/meta/extensions/meta_context_ind1.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-27 14:45:04 -0800 (Sun, 27 Nov 2005)
Revision: 8225
Log message:

      Proved that the second phase of sequent reflection is well-formed.
      

Changes  Path
+1 -0 metaprl/theories/itt/extensions/vector/itt_vec_list1.ml
+8 -4 metaprl/theories/itt/reflection/core/itt_hoas_destterm.mli
+2 -0 metaprl/theories/itt/reflection/experimental/OMakefile
+1 -1 metaprl/theories/itt/reflection/experimental/itt_hoas_lang.ml
Deleted metaprl/theories/itt/reflection/experimental/itt_hoas_olang.ml
Deleted metaprl/theories/itt/reflection/experimental/itt_hoas_olang.mli
Deleted metaprl/theories/itt/reflection/experimental/itt_hoas_olang.prla
Added metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term.ml
Properties metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term.ml
Added metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term.mli
Properties metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term.mli
Added metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term.prla
Properties metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term.prla
+29 -0 metaprl/theories/meta/extensions/meta_context_terms2.ml
+4 -0 metaprl/theories/meta/extensions/meta_context_terms2.mli
+405 -39 metaprl/theories/meta/extensions/meta_context_terms2.prla
+2 -0 metaprl/theories/meta/extensions/meta_dtactic.ml
+1 -1 metaprl/theories/poplmark/naive/pmn_core_terms.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-27 19:37:51 -0800 (Sun, 27 Nov 2005)
Revision: 8227
Log message:

      Partial progress on the front-end to the sequent definition.
      However, it is now clear (see email <438A792E.50709@cs.caltech.edu>
      in metaprl-research) that I can't use the fundamental theorem of
      HOAS.  Instead, we'll have to define vector-bind terms.
      

Changes  Path
+2 -0 metaprl/filter/base/filter_grammar.ml
+53 -0 metaprl/filter/base/filter_reflection.ml
+2 -0 metaprl/filter/base/filter_reflection.mli
+1 -0 metaprl/support/display/perv.mli
+1 -1 metaprl/theories/itt/reflection/core/itt_hoas_destterm.mli
+28 -0 metaprl/theories/itt/reflection/experimental/itt_hoas_bterm.ml
+1992 -1773 metaprl/theories/itt/reflection/experimental/itt_hoas_bterm.prla
+79 -1 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term.ml
+2493 -472 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term.prla

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-28 11:09:57 -0800 (Mon, 28 Nov 2005)
Revision: 8233
Log message:

      Proved the final wf goal.
      
         [wf] std_sequent{| <H> >- C |} in StdSequent{0} -->
         bsequent{| <H> >- C |} in Sequent
      
      Sequent is the "ugly" sequent triple (BTerm * BTerm list * BTerm),
      where the depths are increasing.
      
      The wf subgoal is unfortunate, but it may be the best we can do.
      What we really want to say is that all the terms in the sequent
      are "closed" wrt their dependencies, but this is impossible.
      
      So this approach is to prove that the std-style sequent is
      well-formed.  There are lemmas for many of the cases.
      

Changes  Path
+18 -18 metaprl/theories/itt/reflection/experimental/itt_hoas_bterm.ml
+1858 -1643 metaprl/theories/itt/reflection/experimental/itt_hoas_bterm.prla
+45 -30 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term.ml
+2286 -1680 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term.prla

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-28 12:57:59 -0800 (Mon, 28 Nov 2005)
Revision: 8234
Log message:

      Stated a provability theorem, just to see what it looks like.
      

Changes  Path
+3 -0 metaprl/theories/itt/extensions/vector/OMakefile
Added metaprl/theories/itt/extensions/vector/itt_vec_theory.ml
Properties metaprl/theories/itt/extensions/vector/itt_vec_theory.ml
Added metaprl/theories/itt/extensions/vector/itt_vec_theory.mli
Properties metaprl/theories/itt/extensions/vector/itt_vec_theory.mli
Added metaprl/theories/itt/extensions/vector/itt_vec_theory.mlz
Properties metaprl/theories/itt/extensions/vector/itt_vec_theory.mlz
+12 -10 metaprl/theories/itt/reflection/experimental/OMakefile
+10 -1 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_proof.ml
Added metaprl/theories/itt/reflection/experimental/itt_hoas_vec_bind.ml
Properties metaprl/theories/itt/reflection/experimental/itt_hoas_vec_bind.ml
Added metaprl/theories/itt/reflection/experimental/itt_hoas_vec_bind.mli
Properties metaprl/theories/itt/reflection/experimental/itt_hoas_vec_bind.mli
Added metaprl/theories/itt/reflection/experimental/itt_hoas_vec_bind.prla
Properties metaprl/theories/itt/reflection/experimental/itt_hoas_vec_bind.prla

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-28 18:55:59 -0800 (Mon, 28 Nov 2005)
Revision: 8239
Log message:

      Addressing some of the comments by the second reviewer.
      

Changes  Path
+2 -2 metaprl/support/display/comment.ml
+2 -0 metaprl/theories/experimental/compile/m_doc_comment.ml
+1 -0 metaprl/theories/experimental/compile/m_doc_comment.mli
+9 -10 metaprl/theories/experimental/compile/m_doc_intro.ml
+9 -3 metaprl/theories/experimental/compile/m_doc_ir.ml
+1 -1 metaprl/theories/experimental/compile/m_doc_x86_asm.ml
+1 -1 metaprl/theories/experimental/compile/m_ir.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-28 19:25:51 -0800 (Mon, 28 Nov 2005)
Revision: 8241
Log message:

      Added couple of paragraphs to the end of the "Summary and Future Work"
      sect6ion describing our latest work.
      

Changes  Path
+27 -3 metaprl/theories/experimental/compile/m_doc_summary.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-28 19:29:21 -0800 (Mon, 28 Nov 2005)
Revision: 8242
Log message:

      Fixing a few typos

Changes  Path
+2 -2 metaprl/theories/experimental/compile/m_doc_summary.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-29 18:33:16 -0800 (Tue, 29 Nov 2005)
Revision: 8243
Log message:

      HOSC paper: Addressing another reviewer's comment

Changes  Path
+3 -3 metaprl/theories/experimental/compile/m_doc_cps.ml
+15 -8 metaprl/theories/experimental/compile/m_doc_intro.ml
+4 -4 metaprl/theories/experimental/compile/m_doc_summary.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-29 18:38:32 -0800 (Tue, 29 Nov 2005)
Revision: 8244
Log message:

      HOSC paper: fixing couple of typos

Changes  Path
+2 -2 metaprl/theories/experimental/compile/m_doc_intro.ml
+2 -2 metaprl/theories/experimental/compile/m_doc_ir.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-30 03:25:29 -0800 (Wed, 30 Nov 2005)
Revision: 8245
Log message:

      HOSC paper: addressing couple of more reviewer's comments

Changes  Path
+1 -1 metaprl/theories/experimental/compile/m_doc_closure.ml
+4 -0 metaprl/theories/experimental/compile/m_doc_ir.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-30 08:15:28 -0800 (Wed, 30 Nov 2005)
Revision: 8246
Log message:

      Committing some half-completed work before we lose it.  The
      Itt_hoas_sequent_term1 sequent-coding converts a sequent to ugly form
      without any wf subgoals, using a bind-pushing trick similar to the one
      in Itt_hoas_debruijn.  The arguments have to be carefully constructed,
      it is about half done.
      

Changes  Path
+3 -0 metaprl/theories/itt/reflection/experimental/OMakefile
+46 -0 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent.ml
+3 -0 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent.mli
+2339 -9559 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent.prla
+1 -10 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_proof.ml
Added metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_provable.ml
Properties metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_provable.ml
Added metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_provable.mli
Properties metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_provable.mli
+46 -11 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term.ml
+18 -0 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term.mli
+1366 -1184 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term.prla
Copied metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term1.ml
Copied metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term1.mli
Copied metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term1.prla
Copied metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term2.ml
Copied metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term2.mli
Copied metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term2.prla
+2 -0 metaprl/theories/itt/reflection/experimental/itt_hoas_theory.ml
+16 -0 metaprl/theories/itt/reflection/experimental/itt_hoas_util.ml
+12 -0 metaprl/theories/itt/reflection/experimental/itt_hoas_util.mli
+4 -0 metaprl/theories/meta/base/base_grammar.mli

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-30 08:18:36 -0800 (Wed, 30 Nov 2005)
Revision: 8247
Log message:

      Further cleanup.
      

Changes  Path
+0 -2 metaprl/theories/itt/reflection/experimental/OMakefile
+1 -1 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_provable.ml
Deleted metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term.ml
Deleted metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term.mli
Deleted metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term.prla
+3587 -6111 metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term1.prla
Deleted metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term2.ml
Deleted metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term2.mli
Deleted metaprl/theories/itt/reflection/experimental/itt_hoas_sequent_term2.prla

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-30 11:55:58 -0800 (Wed, 30 Nov 2005)
Revision: 8248
Log message:

      HOSC paper: "CloseRec is an administrative ter.m"
      

Changes  Path
+3 -0 metaprl/theories/experimental/compile/m_doc_closure.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-30 12:30:40 -0800 (Wed, 30 Nov 2005)
Revision: 8249
Log message:

      Added a section on the runtime.
      

Changes  Path
+61 -8 metaprl/theories/experimental/compile/m_doc_x86_asm.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-30 14:12:43 -0800 (Wed, 30 Nov 2005)
Revision: 8250
Log message:

      More changes, added a reference to A-normal form.
      

Changes  Path
+2 -1 metaprl/theories/experimental/compile/m_doc_ir.ml
+3 -2 metaprl/theories/experimental/compile/m_doc_x86_asm.ml
+14 -3 metaprl/theories/experimental/compile/m_doc_x86_codegen.ml

Changes by: Aleksey Nogin (nogin at cs.caltech.edu)
Date: 2005-11-30 14:42:06 -0800 (Wed, 30 Nov 2005)
Revision: 8252
Log message:

      HOSC paper: spelling

Changes  Path
+1 -1 metaprl/theories/experimental/compile/m_doc_x86_asm.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-30 14:53:38 -0800 (Wed, 30 Nov 2005)
Revision: 8253
Log message:

      Recent changes.
      

Changes  Path
+1 -0 metaprl/theories/experimental/compile/m_doc_closure.ml
+6 -0 metaprl/theories/experimental/compile/m_doc_ir.ml
+1 -1 metaprl/theories/experimental/compile/m_doc_x86_asm.ml
+8 -10 metaprl/theories/experimental/compile/m_doc_x86_codegen.ml
+2 -0 metaprl/theories/experimental/compile/m_doc_x86_opt.ml

Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-11-30 17:23:05 -0800 (Wed, 30 Nov 2005)
Revision: 8254
Log message:

      Jason's final copy.
      

Changes  Path
+2 -2 metaprl/theories/experimental/compile/m-paper-hosc.tex
+3 -4 metaprl/theories/experimental/compile/m_doc_closure.ml
+4 -1 metaprl/theories/experimental/compile/m_doc_comment.ml
+1 -0 metaprl/theories/experimental/compile/m_doc_comment.mli
+3 -1 metaprl/theories/experimental/compile/m_doc_cps.ml
+8 -5 metaprl/theories/experimental/compile/m_doc_ir.ml
+5 -5 metaprl/theories/experimental/compile/m_doc_parsing.ml
+12 -12 metaprl/theories/experimental/compile/m_doc_x86_asm.ml
+11 -9 metaprl/theories/experimental/compile/m_doc_x86_regalloc.ml