Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2005-02-05 17:14:46 -0800 (Sat, 05 Feb 2005)
Revision: 6603
Log message:

      Added display-form type checking.  This was a little painful because
      some theories were using xlist as a normal list.  In the end, I changed
      the declarations to the following.
      
         declare xcons{'a : Dform; 'b : Dform} : Dform
         declare xnil : Dform
      
      Base_reflection has its own list, using rcons and rnil.
      You need to use the functions mk_rlist_term, is_rlist_term, etc.,
      instead of mk_xlist_term, is_xlist_term.
      
      The .prla updates are just for the opname renaming.
      

Changes  Path
+2 -0 metaprl-branches/opname_classes4/filter/base/filter_cache_fun.ml
+48 -45 metaprl-branches/opname_classes4/filter/base/filter_exn.ml
+1 -0 metaprl-branches/opname_classes4/filter/base/filter_summary_type.ml
+34 -28 metaprl-branches/opname_classes4/filter/base/filter_type.ml
+21 -23 metaprl-branches/opname_classes4/filter/filter/filter_parse.ml
+32 -4 metaprl-branches/opname_classes4/filter/filter/term_grammar.ml
+3 -2 metaprl-branches/opname_classes4/refiner/refbase/opname.ml
+5 -4 metaprl-branches/opname_classes4/refiner/refbase/opname.mli
+12 -0 metaprl-branches/opname_classes4/refiner/refiner/refiner_debug.ml
+34 -15 metaprl-branches/opname_classes4/refiner/reflib/refine_exn.ml
+98 -9 metaprl-branches/opname_classes4/refiner/reflib/term_ty_infer.ml
+5 -4 metaprl-branches/opname_classes4/refiner/reflib/term_ty_infer.mli
+5 -0 metaprl-branches/opname_classes4/refiner/refsig/term_man_sig.ml
+1 -0 metaprl-branches/opname_classes4/refiner/refsig/term_meta_sig.ml
+4 -2 metaprl-branches/opname_classes4/refiner/term_ds/term_base_ds.ml
+1 -0 metaprl-branches/opname_classes4/refiner/term_ds/term_ds_sig.ml
+2 -0 metaprl-branches/opname_classes4/refiner/term_ds/term_man_ds.ml
+9 -5 metaprl-branches/opname_classes4/refiner/term_gen/term_man_gen.ml
+5 -0 metaprl-branches/opname_classes4/refiner/term_gen/term_meta_gen.ml
+19 -21 metaprl-branches/opname_classes4/support/display/base_dform.ml
+9 -9 metaprl-branches/opname_classes4/support/display/base_dform.mli
+68 -68 metaprl-branches/opname_classes4/support/display/comment.ml
+3 -3 metaprl-branches/opname_classes4/support/display/comment.mli
+2 -2 metaprl-branches/opname_classes4/support/display/nuprl_font.ml
+5 -0 metaprl-branches/opname_classes4/support/display/ocaml.mlz
+22 -101 metaprl-branches/opname_classes4/support/display/ocaml_base_df.ml
+67 -67 metaprl-branches/opname_classes4/support/display/ocaml_base_df.mli
+23 -23 metaprl-branches/opname_classes4/support/display/ocaml_expr_df.ml
+2 -2 metaprl-branches/opname_classes4/support/display/ocaml_mt_df.ml
+57 -57 metaprl-branches/opname_classes4/support/display/ocaml_patt_df.ml
+10 -10 metaprl-branches/opname_classes4/support/display/ocaml_sig_df.ml
+4 -4 metaprl-branches/opname_classes4/support/display/ocaml_str_df.ml
+23 -23 metaprl-branches/opname_classes4/support/display/ocaml_type_df.ml
+6 -7 metaprl-branches/opname_classes4/support/display/perv.ml
+34 -26 metaprl-branches/opname_classes4/support/display/perv.mli
+134 -127 metaprl-branches/opname_classes4/support/display/summary.ml
+9 -9 metaprl-branches/opname_classes4/support/shell/shell_fs.ml
+10 -10 metaprl-branches/opname_classes4/support/shell/shell_root.ml
+47 -38 metaprl-branches/opname_classes4/support/shell/shell_state.ml
+63 -5 metaprl-branches/opname_classes4/theories/base/base_reflection.ml
+13 -0 metaprl-branches/opname_classes4/theories/base/base_reflection.mli
+7 -7 metaprl-branches/opname_classes4/theories/base/base_rewrite.prla
+2 -2 metaprl-branches/opname_classes4/theories/cic/cic_lambda.prla
+2 -2 metaprl-branches/opname_classes4/theories/cic/cic_list.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_abel_group.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_all.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_and.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_axioms.prla
+18 -18 metaprl-branches/opname_classes4/theories/czf/czf_itt_bool.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_comment.prla
+12 -12 metaprl-branches/opname_classes4/theories/czf/czf_itt_coset.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_cyclic_group.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_cyclic_subgroup.prla
+19 -19 metaprl-branches/opname_classes4/theories/czf/czf_itt_dall.prla
+14 -14 metaprl-branches/opname_classes4/theories/czf/czf_itt_dexists.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_empty.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_eq.prla
+28 -28 metaprl-branches/opname_classes4/theories/czf/czf_itt_equiv.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_exists.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_false.prla
+16 -16 metaprl-branches/opname_classes4/theories/czf/czf_itt_group.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_group_bvd.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_group_power.prla
+24 -24 metaprl-branches/opname_classes4/theories/czf/czf_itt_hom.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_implies.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_infinity.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_inv_image.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_isect.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_iso.prla
+20 -20 metaprl-branches/opname_classes4/theories/czf/czf_itt_ker.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_kleingroup.prla
+15 -15 metaprl-branches/opname_classes4/theories/czf/czf_itt_member.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_nat.prla
+8 -8 metaprl-branches/opname_classes4/theories/czf/czf_itt_normal_subgroup.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_or.prla
+9 -9 metaprl-branches/opname_classes4/theories/czf/czf_itt_pair.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_power.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_pre_theory.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_rel.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_sall.prla
+17 -17 metaprl-branches/opname_classes4/theories/czf/czf_itt_sep.prla
+19 -19 metaprl-branches/opname_classes4/theories/czf/czf_itt_set.prla
+10 -10 metaprl-branches/opname_classes4/theories/czf/czf_itt_set_bvd.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_set_ind.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_setdiff.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_sexists.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_singleton.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_subgroup.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_subset.prla
+2 -2 metaprl-branches/opname_classes4/theories/czf/czf_itt_true.prla
+19 -19 metaprl-branches/opname_classes4/theories/czf/czf_itt_union.prla
+0 -1 metaprl-branches/opname_classes4/theories/experimental/compile/m_ir.ml
+5 -0 metaprl-branches/opname_classes4/theories/experimental/compile/m_ir.mli
+4 -2 metaprl-branches/opname_classes4/theories/experimental/syntax/syntax_test.ml
+0 -2 metaprl-branches/opname_classes4/theories/fir/mfir_sequent.ml
+2 -2 metaprl-branches/opname_classes4/theories/fir/mfir_test.prla
+6 -6 metaprl-branches/opname_classes4/theories/fol/cfol_itt_all.prla
+9 -9 metaprl-branches/opname_classes4/theories/fol/cfol_itt_and.prla
+2 -2 metaprl-branches/opname_classes4/theories/fol/cfol_itt_base.prla
+2 -2 metaprl-branches/opname_classes4/theories/fol/fol_ctheory.prla
+12 -12 metaprl-branches/opname_classes4/theories/fol/fol_itt_and.prla
+2 -2 metaprl-branches/opname_classes4/theories/fol/fol_itt_false.prla
+2 -2 metaprl-branches/opname_classes4/theories/fol/fol_itt_implies.prla
+10 -10 metaprl-branches/opname_classes4/theories/fol/fol_itt_or.prla
+2 -2 metaprl-branches/opname_classes4/theories/fol/fol_itt_true.prla
+5 -5 metaprl-branches/opname_classes4/theories/fol/fol_not.prla
+11 -11 metaprl-branches/opname_classes4/theories/fol/fol_prop.prla
+13 -13 metaprl-branches/opname_classes4/theories/fol/fol_struct.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/ctt_markov.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_antiquotient.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_atom.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_bintree.prla
+17 -17 metaprl-branches/opname_classes4/theories/itt/itt_bisect.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_bool.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_bunion.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_closure.prla
+32 -32 metaprl-branches/opname_classes4/theories/itt/itt_collection.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_cyclic_group.prla
+8 -8 metaprl-branches/opname_classes4/theories/itt/itt_decidable.prla
+9 -9 metaprl-branches/opname_classes4/theories/itt/itt_derive.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_dfun.prla
+22 -22 metaprl-branches/opname_classes4/theories/itt/itt_disect.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_dprod.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_dprod_imp.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_eq_base.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_equal.prla
+14 -14 metaprl-branches/opname_classes4/theories/itt/itt_esquash.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_ext_equal.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_field2.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_field_e.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_fset.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_fun.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_fun2.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_functions.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_group.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_grouplikeobj.prla
+11 -7 metaprl-branches/opname_classes4/theories/itt/itt_int_arith.ml
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_int_arith.prla
+26 -15 metaprl-branches/opname_classes4/theories/itt/itt_int_base.ml
+1 -0 metaprl-branches/opname_classes4/theories/itt/itt_int_base.mli
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_int_base.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_int_bench.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_int_bench2.prla
+9 -9 metaprl-branches/opname_classes4/theories/itt/itt_int_ext.ml
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_int_ext.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_int_test.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_intdomain.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_intdomain_e.prla
+23 -23 metaprl-branches/opname_classes4/theories/itt/itt_isect.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_list.prla
+3 -1 metaprl-branches/opname_classes4/theories/itt/itt_list2.ml
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_list2.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_logic.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_mpoly.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_mpoly2.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_mpoly2_bench.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_mpoly3.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_mpoly3_bench.prla
+6 -5 metaprl-branches/opname_classes4/theories/itt/itt_nat.ml
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_nat.prla
+18 -18 metaprl-branches/opname_classes4/theories/itt/itt_nequal.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_obj_base_rewrite.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_order.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_pairwise.prla
+5 -5 metaprl-branches/opname_classes4/theories/itt/itt_pointwise.prla
+5 -5 metaprl-branches/opname_classes4/theories/itt/itt_pointwise2.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_poly.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_prod.prla
+6 -6 metaprl-branches/opname_classes4/theories/itt/itt_prop_decide.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_quotient.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_quotient_group.prla
+5 -1 metaprl-branches/opname_classes4/theories/itt/itt_rat.ml
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_rat.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_rat2.prla
+12 -6 metaprl-branches/opname_classes4/theories/itt/itt_record.ml
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_record.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_record0.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_record_exm.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_record_label.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_record_label0.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_record_renaming.prla
+20 -19 metaprl-branches/opname_classes4/theories/itt/itt_reflection.ml
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_reflection.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_reflection_example_lambda.prla
+20 -19 metaprl-branches/opname_classes4/theories/itt/itt_reflection_new.ml
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_reflection_test.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_rfun.ml
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_rfun.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_ring2.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_ring_e.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_ring_uce.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_set.prla
+13 -13 metaprl-branches/opname_classes4/theories/itt/itt_singleton.prla
+7 -3 metaprl-branches/opname_classes4/theories/itt/itt_sort.ml
+23 -23 metaprl-branches/opname_classes4/theories/itt/itt_sort.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_sortedtree.prla
+21 -21 metaprl-branches/opname_classes4/theories/itt/itt_squash.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_squiggle.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_struct.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_struct2.prla
+5 -5 metaprl-branches/opname_classes4/theories/itt/itt_struct3.prla
+21 -21 metaprl-branches/opname_classes4/theories/itt/itt_subset.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_subset2.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_subtype.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_supinf.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_synt_operator.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_synt_var.prla
+9 -9 metaprl-branches/opname_classes4/theories/itt/itt_tsquash.prla
+14 -14 metaprl-branches/opname_classes4/theories/itt/itt_tunion.prla
+31 -31 metaprl-branches/opname_classes4/theories/itt/itt_union.prla
+5 -5 metaprl-branches/opname_classes4/theories/itt/itt_unit.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/itt_unitring.prla
+5 -5 metaprl-branches/opname_classes4/theories/itt/itt_void.prla
+26 -26 metaprl-branches/opname_classes4/theories/itt/itt_w.prla
+11 -11 metaprl-branches/opname_classes4/theories/itt/itt_well_founded.prla
+2 -2 metaprl-branches/opname_classes4/theories/itt/jprover_tests.prla
+2 -2 metaprl-branches/opname_classes4/theories/kat/kat_axioms.prla
+2 -2 metaprl-branches/opname_classes4/theories/mesa/ma_message__automata.prla
+2 -2 metaprl-branches/opname_classes4/theories/mesa/nuprl_Dconstant_object_directory.prla
+2 -2 metaprl-branches/opname_classes4/theories/mesa/nuprl_once_object_directory.prla
+2 -2 metaprl-branches/opname_classes4/theories/mesa/nuprl_recognizer1_object_directory.prla
+2 -2 metaprl-branches/opname_classes4/theories/mesa/nuprl_ring__leader1_object_directory.prla
+2 -2 metaprl-branches/opname_classes4/theories/mesa/nuprl_send__once_object_directory.prla
+2 -2 metaprl-branches/opname_classes4/theories/mesa/nuprl_trigger1_object_directory.prla
+4 -4 metaprl-branches/opname_classes4/theories/sil/sil_state.ml
+2 -2 metaprl-branches/opname_classes4/theories/tptp/tptp.prla
+6 -6 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_asm.mli
+1 -1 mpcompiler-branches/opname_classes4/mmc/arch/x86/mmc_x86_prologue.mli
+6 -6 mpcompiler-branches/opname_classes4/mmc/base/mmc_base_judgment.mli
+1 -1 mpcompiler-branches/opname_classes4/mmc/base/mmc_base_meta.mli
+2 -2 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_ast.mli
+5 -5 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_closure.ml
+2 -2 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_cps.prla
+6 -9 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_tast.ml
+3 -3 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_tast.mli
+2 -2 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_type_check.prla
+1 -1 mpcompiler-branches/opname_classes4/mmc/core/mmc_core_value.mli
+2 -2 mpcompiler-branches/opname_classes4/mmc/extensions/bool/mmc_ext_boolean.prla
+1 -1 mpcompiler-branches/opname_classes4/mmc/extensions/operator/mmc_ext_operator.mli
+2 -2 mpcompiler-branches/opname_classes4/mmc/test/mmc_core_test.prla
+2 -2 mpcompiler-branches/opname_classes4/util/mm_dform_util.ml
+4 -4 mpcompiler-branches/opname_classes4/util/mm_dform_util.mli