Changes by: Yegor Bryukhov (ybryukhov at gmail.com)
Date: 2008-07-02 13:36:04 -0700 (Wed, 02 Jul 2008)
Revision: 13092
Log message:

      working on phases 1 and 2

Changes  Path(relative to metaprl/theories/s4lp)
+162 -4 hilbert_internal.ml

Changes by: Yegor Bryukhov (ybryukhov at gmail.com)
Date: 2008-07-03 14:02:11 -0700 (Thu, 03 Jul 2008)
Revision: 13095
Log message:

      added box-to-right rule to phase 1
     next step - rework families support, because now it is fake - bases cases are not covered, families joining is not implemented

Changes  Path(relative to metaprl/theories/s4lp)
+20 -2 hilbert_internal.ml

Changes by: Yegor Bryukhov (ybryukhov at gmail.com)
Date: 2008-07-04 11:22:52 -0700 (Fri, 04 Jul 2008)
Revision: 13096
Log message:

      first draft of phase 1 finished

Changes  Path(relative to metaprl/theories/s4lp)
+51 -2 hilbert_internal.ml

Changes by: Yegor Bryukhov (ybryukhov at gmail.com)
Date: 2008-07-05 12:54:57 -0700 (Sat, 05 Jul 2008)
Revision: 13097
Log message:

      all phases finished in first draft, it compiles but never executed yet
     -This line, and those below, will be ignored--
     
     M    s4lp/hilbert_internal.mli
     M    s4lp/hilbert_internal.ml

Changes  Path(relative to metaprl/theories/s4lp)
+71 -44 hilbert_internal.ml
+3 -3 hilbert_internal.mli

Changes by: Yegor Bryukhov (ybryukhov at gmail.com)
Date: 2008-07-08 18:07:04 -0700 (Tue, 08 Jul 2008)
Revision: 13100
Log message:

      compiles, runs and even checks up for self-referencial example.
     we still have to check more carefully because proof term and proof are kind of long (see the end of the file)

Changes  Path(relative to metaprl/theories/s4lp)
+219 -27 hilbert_internal.ml

Changes by: Yegor Bryukhov (ybryukhov at gmail.com)
Date: 2008-07-09 19:32:09 -0700 (Wed, 09 Jul 2008)
Revision: 13105
Log message:

      Changed the families handling code because merging of families was incorrectly implemented. It used to be amp from representatives to the whole family, but if you think even a bit, you'll realize that it can't work. Now it's a set (list) of sets (families), not very efficient but can be replaced with an ordered set with a natural(lexicographical) order on families.
     
     We forgot to replace every provisional from a principal family with the summ of all essential terms - we did it only for BoxRight rule, have to do it uniformly.

Changes  Path(relative to metaprl/theories/s4lp)
+277 -78 hilbert_internal.ml

Changes by: Jason J. Hickey (jyh at cs.caltech.edu)
Date: 2008-07-10 12:50:31 -0700 (Thu, 10 Jul 2008)
Revision: 13106
Log message:

      More progress on camlp4.  I wish they would document the quotation syntax somewhere!
     AFAIK, it is undocumented, and different from the old syntax too.

Changes  Path(relative to metaprl-branches/ocaml-3.10.0)
+1 -0 OMakefile
+5 -2 OMakefile_common
+4 -3 OMakeroot
+6 -5 editor/ml/OMakefile
+1 -1 filter/base/filter_hash.ml
+42 -37 filter/base/filter_ocaml.ml
+4 -4 mk/defaults
+1 -1 mk/load_config
+1 -1 mk/prlcomp
Added mk/vars
+4 -1 support/editor/OMakefile

Changes by: Yegor Bryukhov (ybryukhov at gmail.com)
Date: 2008-07-10 13:33:51 -0700 (Thu, 10 Jul 2008)
Revision: 13107
Log message:

      added phase1-2 substitution between families computation (assign) and realization per se (g2h)
     the substitution after g2h serves a different purpose - it replaces principla provisionals with terms evaluated in g2h

Changes  Path(relative to metaprl/theories/s4lp)
+75 -10 hilbert_internal.ml

Changes by: Jason J. Hickey (jyh at cs.caltech.edu)
Date: 2008-07-10 16:40:53 -0700 (Thu, 10 Jul 2008)
Revision: 13109
Log message:

      More progress in filter_ocaml, still a ways to go.

Changes  Path(relative to metaprl-branches/ocaml-3.10.0)
+6 -0 OMakefile_common
+3 -3 filter/OMakefile
+203 -103 filter/base/filter_ocaml.ml
Added x.ml

Changes by: Yegor Bryukhov (ybryukhov at gmail.com)
Date: 2008-07-10 19:30:08 -0700 (Thu, 10 Jul 2008)
Revision: 13110
Log message:

      Added some code that extracts and prints all formulas that were claimed tautologies (and left unproven) in the proof.
     Most of these formulas are propositional tautologies and we can check them with JProver (if we like).
     Two other types of tautologies are:
     1. (A,t:A -> C) -> (t:A -> C)
     2. (A->t:B) -> (A->(t1+..+t+..tn):B)
     and variations of these forms (with side formulas from Gentzen-style rules)
     We have to discuss it with SNA, if we want to prove them explicitely or not, anyway it's a minor issue.

Changes  Path(relative to metaprl/theories/s4lp)
+63 -15 hilbert_internal.ml

Changes by: Jason J. Hickey (jyh at cs.caltech.edu)
Date: 2008-07-10 20:33:34 -0700 (Thu, 10 Jul 2008)
Revision: 13111
Log message:

      Ported patterns.

Changes  Path(relative to metaprl-branches/ocaml-3.10.0/filter/base)
+250 -161 filter_ocaml.ml

Changes by: Jason J. Hickey (jyh at cs.caltech.edu)
Date: 2008-07-11 12:36:05 -0700 (Fri, 11 Jul 2008)
Revision: 13112
Log message:

      Halfway through types, lots of work to do.

Changes  Path(relative to metaprl-branches/ocaml-3.10.0/filter/base)
+267 -173 filter_ocaml.ml

Changes by: Jason J. Hickey (jyh at cs.caltech.edu)
Date: 2008-07-11 14:44:10 -0700 (Fri, 11 Jul 2008)
Revision: 13113
Log message:

      Updated sig_item.

Changes  Path(relative to metaprl-branches/ocaml-3.10.0/filter/base)
+234 -90 filter_ocaml.ml

Changes by: Jason J. Hickey (jyh at cs.caltech.edu)
Date: 2008-07-11 14:52:11 -0700 (Fri, 11 Jul 2008)
Revision: 13114
Log message:

      Part way through str_item

Changes  Path(relative to metaprl-branches/ocaml-3.10.0/filter/base)
+12 -33 filter_ocaml.ml

Changes by: Yegor Bryukhov (ybryukhov at gmail.com)
Date: 2008-07-13 12:38:23 -0700 (Sun, 13 Jul 2008)
Revision: 13115
Log message:

      added connection with JProver.
     Now one can feed a statement for JProver to prove and then realize it in LP.
     
     ToDo:
     1.Currently only implicational fragment + NegLeft rule are implemented;
     NegRight and And/Or rules have to be added
     2.Multi-agent system is not supported though datatypes are already multi-modal and some code is but it is not complete

Changes  Path(relative to metaprl/theories/s4lp)
+1 -1 MetaprlInfo
+34 -23 hilbert_internal.ml
+16 -1 hilbert_internal.mli
+4 -0 s4_logic.mli

Changes by: Yegor Bryukhov (ybryukhov at gmail.com)
Date: 2008-07-13 15:09:55 -0700 (Sun, 13 Jul 2008)
Revision: 13116
Log message:

      a tiny simplification

Changes  Path(relative to metaprl/theories/s4lp)
+12 -12 hilbert_internal.ml

Changes by: Jason J. Hickey (jyh at cs.caltech.edu)
Date: 2008-07-14 14:29:25 -0700 (Mon, 14 Jul 2008)
Revision: 13118
Log message:

      filter_ocaml.ml now almost compiles.  Except, the compiler keeps complaining that
     "this expression is not allowed on the rhs ot a let rec".  Not sure what is causing this...

Changes  Path(relative to metaprl-branches/ocaml-3.10.0/filter/base)
+864 -638 filter_ocaml.ml
+3 -3 filter_ocaml.mli

Changes by: Jason J. Hickey (jyh at cs.caltech.edu)
Date: 2008-07-14 14:45:32 -0700 (Mon, 14 Jul 2008)
Revision: 13119
Log message:

      Hoist some definitions out of the big recursive definition, and it compiles.

Changes  Path(relative to metaprl-branches/ocaml-3.10.0/filter/base)
+149 -124 filter_ocaml.ml

Changes by: Jason J. Hickey (jyh at cs.caltech.edu)
Date: 2008-07-14 15:28:54 -0700 (Mon, 14 Jul 2008)
Revision: 13120
Log message:

      Filter compiles and runs, but we get this:
     
     Failure:
         No interface printer

Changes  Path(relative to metaprl-branches/ocaml-3.10.0)
+1 -1 OMakefile_theories
+2 -0 filter/base/filter_cache.ml
+66 -66 filter/base/filter_ocaml.ml
+9 -9 filter/base/filter_util.ml
+4 -4 filter/filter/filter_main.ml
+4 -3 filter/filter/filter_parse.ml
+10 -6 filter/filter/filter_patt.ml
+41 -40 filter/filter/filter_prog.ml
+4 -3 mk/prlcomp

Changes by: Yegor Bryukhov (ybryukhov at gmail.com)
Date: 2008-07-14 17:42:47 -0700 (Mon, 14 Jul 2008)
Revision: 13121
Log message:

      eliminated explicit references to axiom indices and arithmetic over them (where necessitation was needed)

Changes  Path(relative to metaprl/theories/s4lp)
+30 -19 hilbert_internal.ml

Changes by: Yegor Bryukhov (ybryukhov at gmail.com)
Date: 2008-07-14 19:07:58 -0700 (Mon, 14 Jul 2008)
Revision: 13122
Log message:

      Added Nec rule, in its generic (not restricted to axioms) form.
     As a result, deduction theorem has to consider two cases - hyps-free and non-hyp-free but for an axiom. May, be it would be more straightforward to use axiom-nly Nec.
     But for now we follow Artemov's TCS paper.

Changes  Path(relative to metaprl/theories/s4lp)
+57 -18 hilbert_internal.ml
+1 -0 hilbert_internal.mli

Changes by: Jason J. Hickey (jyh at cs.caltech.edu)
Date: 2008-07-14 19:13:19 -0700 (Mon, 14 Jul 2008)
Revision: 13123
Log message:

      New Campl4 uses an undocumented scheme for the printers, that I
     think is supposed to implement dynamic binding.  I can't figure it
     out, so just set the printer references manually.
     
     Tracking down the next problem, "illegal begin of interf".

Changes  Path(relative to metaprl-branches/ocaml-3.10.0/filter/filter)
+7 -0 filter_main.ml
+3 -0 filter_parse.ml

Changes by: Yegor Bryukhov (ybryukhov at gmail.com)
Date: 2008-07-14 20:56:30 -0700 (Mon, 14 Jul 2008)
Revision: 13124
Log message:

      more progress towards multi-modal case

Changes  Path(relative to metaprl/theories/s4lp)
+59 -30 hilbert_internal.ml

Changes by: Jason J. Hickey (jyh at cs.caltech.edu)
Date: 2008-07-15 19:17:14 -0700 (Tue, 15 Jul 2008)
Revision: 13125
Log message:

      Finally, all the basic stuff is port to Camlp4 3.10.
     
     However, I didn't bother to be careful in keep the new term format
     compatible.  The AST has changed so much, it seems almost impossible
     to do that.
     
     That means that the .prla file are filled with terms in the old format
     that cause errors.  Basically, we just need to ignore the errors.

Changes  Path(relative to metaprl-branches/ocaml-3.10.0)
+15 -6 filter/OMakefile
Properties filter/base/
+1 -0 filter/base/Files
+11 -0 filter/base/OMakefile
Added filter/base/filter_camlp4.ml
+3 -1 filter/base/filter_exn.ml
Copied filter/base/infix-src.ml (from rev 13114, metaprl-branches/ocaml-3.10.0/filter/base/infix.ml)
+14 -9 filter/base/infix-src.ml (from rev 13114, metaprl-branches/ocaml-3.10.0/filter/base/infix.ml)
Deleted filter/base/infix.ml
+6 -5 filter/filter/filter_main.ml
+14 -16 filter/filter/filter_parse.ml
+9 -13 filter/filter/filter_patt.ml
+25 -19 filter/filter/filter_prog.ml
+25 -21 filter/filter/term_grammar.ml
+1 -1 support/display/perv.ml
+4 -2 support/editor/shell_mp.ml
+1 -0 support/shell/mptop.mli
+17 -16 support/shell/package_info.mli
+2 -1 support/shell/proof_edit.ml
+1 -0 support/shell/proof_edit.mli
+7 -6 support/tactics/auto_tactic.ml
+8 -7 support/tactics/dtactic.ml
+5 -4 support/tactics/forward.ml
+1 -0 support/tactics/forward.mli
+3 -2 support/tactics/top_conversionals.ml
+1 -0 support/tactics/top_tacticals.ml
+134 -1 x.ml

Changes by: Yegor Bryukhov (ybryukhov at gmail.com)
Date: 2008-07-15 22:05:36 -0700 (Tue, 15 Jul 2008)
Revision: 13126
Log message:

      Added AndRight rule and it exposed an error g2h code for BoxRight (lemma3 was implemented incorrectly and worked only for one hypothesis).
     fixed

Changes  Path(relative to metaprl/theories/s4lp)
+171 -4 hilbert_internal.ml
+1 -0 hilbert_internal.mli

Changes by: Yegor Bryukhov (ybryukhov at gmail.com)
Date: 2008-07-16 08:54:44 -0700 (Wed, 16 Jul 2008)
Revision: 13127
Log message:

      added AndLeft

Changes  Path(relative to metaprl/theories/s4lp)
+26 -1 hilbert_internal.ml
+1 -0 hilbert_internal.mli

Changes by: Yegor Bryukhov (ybryukhov at gmail.com)
Date: 2008-07-16 08:55:43 -0700 (Wed, 16 Jul 2008)
Revision: 13128
Log message:

      forgot to add these files a couple of days ago

Changes  Path(relative to metaprl/theories/s4lp)
Added hilbert_logic.ml
Added hilbert_logic.mli

Changes by: Yegor Bryukhov (ybryukhov at gmail.com)
Date: 2008-07-16 09:26:50 -0700 (Wed, 16 Jul 2008)
Revision: 13129
Log message:

      added OrLeft

Changes  Path(relative to metaprl/theories/s4lp)
+30 -0 hilbert_internal.ml
+1 -0 hilbert_internal.mli
+30 -0 hilbert_logic.ml

Changes by: Yegor Bryukhov (ybryukhov at gmail.com)
Date: 2008-07-16 09:55:23 -0700 (Wed, 16 Jul 2008)
Revision: 13130
Log message:

      OrRight added

Changes  Path(relative to metaprl/theories/s4lp)
+25 -0 hilbert_internal.ml
+1 -0 hilbert_internal.mli
+29 -0 hilbert_logic.ml

Changes by: Jason J. Hickey (jyh at cs.caltech.edu)
Date: 2008-07-16 13:09:41 -0700 (Wed, 16 Jul 2008)
Revision: 13131
Log message:

      _Almost_ compiles with 3.10.  Term errors during .prla parsing are warnings only.
     
     I don't know how we did the backslash-opnames, like \subtype, but for now it is
     turned off.  You have to write "subtype".
     
     Note, the sequence [< is a single token.  A quotation needs a space around it.
     
        [<< 'A + 'B >>]    (* Incorrect *)
        [ << 'A + 'B >>]   (* Correct *)

Changes  Path(relative to metaprl-branches/ocaml-3.10.0)
Properties filter/base/
+5 -2 filter/base/filter_cache.ml
+3 -2 filter/base/filter_camlp4.ml
+31 -2 filter/base/filter_ocaml.ml
+4 -0 filter/base/filter_ocaml.mli
+3 -2 filter/base/filter_util.ml
+16 -15 filter/filter/filter_prog.ml
+7 -2 filter/filter/term_grammar.ml
+1 -1 refiner/term_ds/term_base_ds.ml
+2 -1 support/shell/package_info.ml
+1 -0 support/shell/shell.ml
+2 -1 support/shell/shell_core.ml
+1 -1 support/shell/shell_p4_sig.mlz
+2 -0 support/shell/shell_package.ml
+2 -1 support/shell/shell_rule.ml
+5 -4 support/shell/shell_rule.mli
+42 -39 support/shell/shell_state.ml
+4 -3 support/shell/shell_state.mli
+4 -4 theories/itt/core/itt_dfun.ml
+7 -7 theories/itt/core/itt_dfun.mli
+4 -4 theories/itt/core/itt_disect.ml
+4 -4 theories/itt/core/itt_dprod.ml
+2 -2 theories/itt/core/itt_ext_equal.ml
+2 -2 theories/itt/core/itt_ext_equal.mli
+6 -5 theories/itt/core/itt_int_arith.ml
+12 -12 theories/itt/core/itt_isect.ml
+4 -4 theories/itt/core/itt_isect.mli
+3 -3 theories/itt/core/itt_list.ml
+2 -2 theories/itt/core/itt_list.mli
+14 -14 theories/itt/core/itt_list2.ml
+1 -1 theories/itt/core/itt_list2.mli
+7 -7 theories/itt/core/itt_list_set.ml
+2 -2 theories/itt/core/itt_logic.ml
+2 -2 theories/itt/core/itt_match.mli
+7 -7 theories/itt/core/itt_nat.ml
+3 -3 theories/itt/core/itt_prec.ml
+3 -3 theories/itt/core/itt_prec.mli
+4 -4 theories/itt/core/itt_prod.ml
+3 -3 theories/itt/core/itt_prod.mli
+3 -3 theories/itt/core/itt_quotient.ml
+2 -2 theories/itt/core/itt_quotient.mli
+4 -4 theories/itt/core/itt_record_exm.ml
+1 -1 theories/itt/core/itt_set.ml
+2 -1 theories/itt/core/itt_sqsimple.ml
+3 -2 theories/itt/core/itt_squash.ml
+4 -4 theories/itt/core/itt_srec.ml
+3 -3 theories/itt/core/itt_srec.mli
+1 -1 theories/itt/core/itt_struct.ml
+2 -2 theories/itt/core/itt_subtype.ml
+1 -1 theories/itt/core/itt_subtype.mli
+3 -3 theories/itt/core/itt_union.ml
+3 -3 theories/itt/core/itt_union.mli
+8 -8 theories/meta/base/base_grammar.mli
+11 -11 theories/meta/base/base_reflection.ml

Changes by: Yegor Bryukhov (ybryukhov at gmail.com)
Date: 2008-07-16 14:09:40 -0700 (Wed, 16 Jul 2008)
Revision: 13132
Log message:

      added NegRight.
     todo: finish multi-modal support.

Changes  Path(relative to metaprl/theories/s4lp)
+23 -0 hilbert_internal.ml
+1 -0 hilbert_internal.mli
+33 -0 hilbert_logic.ml

Changes by: Jason J. Hickey (jyh at cs.caltech.edu)
Date: 2008-07-16 14:41:09 -0700 (Wed, 16 Jul 2008)
Revision: 13134
Log message:

      Compiles with OCaml 3.10 (using omake 0.9.9).

Changes  Path(relative to metaprl-branches/ocaml-3.10.0)
+1 -0 editor/ml/OMakefile
+1 -1 filter/base/filter_ocaml.ml
+1 -1 filter/filter/filter_parse.ml
+5 -6 support/editor/shell_mp.ml
+2 -2 support/shell/browser_resource.ml
+81 -74 support/shell/mptop.ml
Deleted x.ml

Changes by: Jason J. Hickey (jyh at cs.caltech.edu)
Date: 2008-07-16 15:50:32 -0700 (Wed, 16 Jul 2008)
Revision: 13137
Log message:

      Fix all the theory files.

Changes  Path(relative to metaprl-branches/ocaml-3.10.0)
+3 -0 filter/base/filter_exn.ml
+1 -1 filter/filter/filter_bin.ml
+6 -7 filter/filter/term_grammar.ml
+5 -1 mk/vars
+52 -52 theories/cic/cic_ind_elim.ml
+39 -39 theories/cic/cic_ind_elim.mli
+153 -153 theories/cic/cic_ind_elim_dep.ml
+59 -59 theories/cic/cic_ind_elim_dep.mli
+5 -5 theories/cic/cic_ind_type.ml
+4 -4 theories/cic/cic_ind_type.mli
+2 -2 theories/czf/czf_itt_coset.ml
+2 -2 theories/czf/czf_itt_group_bvd.ml
+1 -1 theories/czf/czf_itt_group_bvd.mli
+1 -1 theories/czf/czf_itt_hom.ml
+2 -2 theories/czf/czf_itt_subgroup.ml
+1 -1 theories/czf/czf_itt_subgroup.mli
+5 -5 theories/czf/czf_itt_subset.ml
+2 -2 theories/czf/czf_itt_subset.mli
+1 -1 theories/experimental/compile/m_arith.ml
+1 -1 theories/experimental/compile/m_closure.ml
+1 -1 theories/experimental/compile/m_dead.ml
+1 -1 theories/experimental/compile/m_prog.ml
+2 -2 theories/experimental/compile/m_x86_opt.ml
+1 -1 theories/experimental/compile/m_x86_spill.ml
+5 -5 theories/fir/mfir_int_set.ml
+1 -1 theories/itt/applications/algebra/itt_field2.ml
+1 -1 theories/itt/applications/algebra/itt_field_e.ml
+8 -8 theories/itt/applications/algebra/itt_group.ml
+5 -5 theories/itt/applications/algebra/itt_grouplikeobj.ml
+1 -1 theories/itt/applications/algebra/itt_intdomain.ml
+1 -1 theories/itt/applications/algebra/itt_intdomain_e.ml
+2 -2 theories/itt/applications/algebra/itt_ring2.ml
+1 -1 theories/itt/applications/algebra/itt_ring_e.ml
+1 -1 theories/itt/applications/algebra/itt_ring_uce.ml
+1 -1 theories/itt/applications/datatypes/itt_bintree.ml
+8 -8 theories/itt/applications/datatypes/itt_rbtree.ml
+8 -8 theories/itt/applications/datatypes/itt_set_str.ml
+4 -4 theories/itt/applications/datatypes/itt_sort.ml
+2 -2 theories/itt/applications/datatypes/itt_sortedtree.ml
+1 -1 theories/itt/applications/function_spaces/itt_closure.ml
+1 -1 theories/itt/applications/function_spaces/itt_functions.ml
+3 -3 theories/itt/extensions/base/itt_antiquotient.ml
+8 -8 theories/itt/extensions/rfun/itt_dfun_imp.ml
+7 -7 theories/itt/extensions/rfun/itt_dfun_imp.mli
+3 -3 theories/itt/extensions/rfun/itt_dprod_imp.ml
+4 -4 theories/itt/extensions/rfun/itt_rfun.ml
+1 -1 theories/itt/extensions/vector/itt_vec_bind.ml
+9 -9 theories/itt/extensions/vector/itt_vec_list1.ml
+1 -1 theories/itt/extensions/vector/itt_vec_sequent_term.ml
+1 -1 theories/itt/reflection/core/itt_hoas_vbind.ml
+1 -1 theories/itt/reflection/experimental/itt_hoas_bterm.ml
+2 -2 theories/itt/reflection/experimental/itt_hoas_bterm_wf.ml
+3 -3 theories/itt/reflection/experimental/itt_hoas_lof.ml
+3 -3 theories/itt/reflection/experimental/itt_hoas_normalize.ml
+3 -3 theories/itt/reflection/experimental/itt_hoas_sequent.ml
+2 -2 theories/itt/reflection/experimental/itt_hoas_sequent_normalize.ml
+6 -6 theories/itt/reflection/experimental/itt_hoas_sequent_term.ml
+9 -9 theories/itt/reflection/experimental/itt_hoas_sequent_term_wf.ml
+4 -3 theories/itt/reflection/experimental/itt_hoas_util.ml
+4 -3 theories/meta/extensions/meta_dtactic.ml
+2 -2 theories/meta/extensions/meta_implies.ml
+2 -2 theories/tptp/tptp_load.ml
+1 -1 theories/tptp/tptp_prove.ml