src/HOL/indrule.ML
author clasohm
Tue, 09 May 1995 10:42:23 +0200
changeset 1112 737a1a0df754
parent 923 ff1574a81019
child 1190 9d1bdce3a38e
permissions -rw-r--r--
added \CHOL
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
923
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
     1
(*  Title: 	HOL/indrule.ML
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
     2
    ID:         $Id$
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
     3
    Author: 	Lawrence C Paulson, Cambridge University Computer Laboratory
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
     4
    Copyright   1994  University of Cambridge
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
     5
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
     6
Induction rule module -- for Inductive/Coinductive Definitions
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
     7
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
     8
Proves a strong induction rule and a mutual induction rule
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
     9
*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    10
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    11
signature INDRULE =
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    12
  sig
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    13
  val induct        : thm			(*main induction rule*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    14
  val mutual_induct : thm			(*mutual induction rule*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    15
  end;
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    16
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    17
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    18
functor Indrule_Fun
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    19
    (structure Inductive: sig include INDUCTIVE_ARG INDUCTIVE_I end and
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    20
	 Intr_elim: INTR_ELIM) : INDRULE  =
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    21
struct
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    22
open Logic Ind_Syntax Inductive Intr_elim;
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    23
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    24
val sign = sign_of thy;
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    25
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    26
val (Const(_,recT),rec_params) = strip_comb (hd rec_tms);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    27
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    28
val elem_type = dest_setT (body_type recT);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    29
val domTs = summands(elem_type);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    30
val big_rec_name = space_implode "_" rec_names;
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    31
val big_rec_tm = list_comb(Const(big_rec_name,recT), rec_params);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    32
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    33
val _ = writeln "  Proving the induction rules...";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    34
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    35
(*** Prove the main induction rule ***)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    36
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    37
val pred_name = "P";		(*name for predicate variables*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    38
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    39
val big_rec_def::part_rec_defs = Intr_elim.defs;
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    40
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    41
(*Used to express induction rules: adds induction hypotheses.
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    42
   ind_alist = [(rec_tm1,pred1),...]  -- associates predicates with rec ops
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    43
   prem is a premise of an intr rule*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    44
fun add_induct_prem ind_alist (prem as Const("Trueprop",_) $ 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    45
		 (Const("op :",_)$t$X), iprems) =
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    46
     (case gen_assoc (op aconv) (ind_alist, X) of
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    47
	  Some pred => prem :: mk_Trueprop (pred $ t) :: iprems
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    48
	| None => (*possibly membership in M(rec_tm), for M monotone*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    49
	    let fun mk_sb (rec_tm,pred) = 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    50
		 (case binder_types (fastype_of pred) of
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    51
		      [T] => (rec_tm, 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    52
			      Int_const T $ rec_tm $ (Collect_const T $ pred))
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    53
		    | _ => error 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    54
		      "Bug: add_induct_prem called with non-unary predicate")
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    55
	    in  subst_free (map mk_sb ind_alist) prem :: iprems  end)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    56
  | add_induct_prem ind_alist (prem,iprems) = prem :: iprems;
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    57
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    58
(*Make a premise of the induction rule.*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    59
fun induct_prem ind_alist intr =
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    60
  let val quantfrees = map dest_Free (term_frees intr \\ rec_params)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    61
      val iprems = foldr (add_induct_prem ind_alist)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    62
			 (strip_imp_prems intr,[])
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    63
      val (t,X) = rule_concl intr
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    64
      val (Some pred) = gen_assoc (op aconv) (ind_alist, X)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    65
      val concl = mk_Trueprop (pred $ t)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    66
  in list_all_free (quantfrees, list_implies (iprems,concl)) end
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    67
  handle Bind => error"Recursion term not found in conclusion";
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    68
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    69
(*Avoids backtracking by delivering the correct premise to each goal*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    70
fun ind_tac [] 0 = all_tac
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    71
  | ind_tac(prem::prems) i = 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    72
	DEPTH_SOLVE_1 (ares_tac [Part_eqI, prem, refl] i) THEN
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    73
	ind_tac prems (i-1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    74
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    75
val pred = Free(pred_name, elem_type --> boolT);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    76
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    77
val ind_prems = map (induct_prem (map (rpair pred) rec_tms)) intr_tms;
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    78
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    79
val quant_induct = 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    80
    prove_goalw_cterm part_rec_defs 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    81
      (cterm_of sign (list_implies (ind_prems, 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    82
				    mk_Trueprop (mk_all_imp(big_rec_tm,pred)))))
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    83
      (fn prems =>
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    84
       [rtac (impI RS allI) 1,
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    85
	etac raw_induct 1,
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    86
	REPEAT (FIRSTGOAL (eresolve_tac [IntE, CollectE, exE, conjE, disjE] 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    87
			   ORELSE' hyp_subst_tac)),
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    88
	REPEAT (FIRSTGOAL (eresolve_tac [PartE, CollectE])),
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    89
	ind_tac (rev prems) (length prems)])
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    90
    handle e => print_sign_exn sign e;
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    91
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    92
(*** Prove the simultaneous induction rule ***)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    93
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    94
(*Make distinct predicates for each inductive set.
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    95
  Splits cartesian products in domT, IF nested to the right! *)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    96
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    97
(*Given a recursive set and its domain, return the "split" predicate
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    98
  and a conclusion for the simultaneous induction rule*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
    99
fun mk_predpair (rec_tm,domT) = 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   100
  let val rec_name = (#1 o dest_Const o head_of) rec_tm
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   101
      val T = factors domT ---> boolT
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   102
      val pfree = Free(pred_name ^ "_" ^ rec_name, T)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   103
      val frees = mk_frees "za" (binder_types T)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   104
      val qconcl = 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   105
	foldr mk_all (frees, 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   106
		      imp $ (mk_mem (foldr1 mk_Pair frees, rec_tm))
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   107
			  $ (list_comb (pfree,frees)))
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   108
  in  (ap_split boolT pfree (binder_types T), 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   109
      qconcl)  
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   110
  end;
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   111
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   112
val (preds,qconcls) = split_list (map mk_predpair (rec_tms~~domTs));
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   113
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   114
(*Used to form simultaneous induction lemma*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   115
fun mk_rec_imp (rec_tm,pred) = 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   116
    imp $ (mk_mem (Bound 0, rec_tm)) $  (pred $ Bound 0);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   117
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   118
(*To instantiate the main induction rule*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   119
val induct_concl = 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   120
 mk_Trueprop(mk_all_imp(big_rec_tm,
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   121
		     Abs("z", elem_type, 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   122
			 fold_bal (app conj) 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   123
			          (map mk_rec_imp (rec_tms~~preds)))))
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   124
and mutual_induct_concl = mk_Trueprop(fold_bal (app conj) qconcls);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   125
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   126
val lemma = (*makes the link between the two induction rules*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   127
    prove_goalw_cterm part_rec_defs 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   128
	  (cterm_of sign (mk_implies (induct_concl,mutual_induct_concl)))
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   129
	  (fn prems =>
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   130
	   [cut_facts_tac prems 1,
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   131
	    REPEAT (eresolve_tac [asm_rl, conjE, PartE, mp] 1
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   132
	     ORELSE resolve_tac [allI, impI, conjI, Part_eqI, refl] 1
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   133
	     ORELSE dresolve_tac [spec, mp, splitD] 1)])
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   134
    handle e => print_sign_exn sign e;
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   135
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   136
(*Mutual induction follows by freeness of Inl/Inr.*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   137
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   138
(*Removes Collects caused by M-operators in the intro rules*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   139
val cmonos = [subset_refl RS Int_Collect_mono] RL monos RLN (2,[rev_subsetD]);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   140
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   141
(*Avoids backtracking by delivering the correct premise to each goal*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   142
fun mutual_ind_tac [] 0 = all_tac
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   143
  | mutual_ind_tac(prem::prems) i = 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   144
      DETERM
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   145
       (SELECT_GOAL 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   146
	  ((*unpackage and use "prem" in the corresponding place*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   147
	   REPEAT (FIRSTGOAL
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   148
		   (etac conjE ORELSE' eq_mp_tac ORELSE' 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   149
		    ares_tac [impI, conjI]))
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   150
	   (*prem is not allowed in the REPEAT, lest it loop!*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   151
	   THEN TRYALL (rtac prem)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   152
	   THEN REPEAT
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   153
		  (FIRSTGOAL (ares_tac [impI] ORELSE' 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   154
			      eresolve_tac (mp::cmonos)))
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   155
	   (*prove remaining goals by contradiction*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   156
	   THEN rewrite_goals_tac (con_defs@part_rec_defs)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   157
	   THEN DEPTH_SOLVE (eresolve_tac (PartE :: sumprod_free_SEs) 1))
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   158
	  i)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   159
	THEN mutual_ind_tac prems (i-1);
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   160
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   161
val mutual_induct_split = 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   162
    prove_goalw_cterm []
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   163
	  (cterm_of sign
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   164
	   (list_implies (map (induct_prem (rec_tms~~preds)) intr_tms,
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   165
			  mutual_induct_concl)))
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   166
	  (fn prems =>
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   167
	   [rtac (quant_induct RS lemma) 1,
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   168
	    mutual_ind_tac (rev prems) (length prems)])
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   169
    handle e => print_sign_exn sign e;
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   170
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   171
(*Attempts to remove all occurrences of split*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   172
val split_tac =
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   173
    REPEAT (SOMEGOAL (FIRST' [rtac splitI, 
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   174
			      dtac splitD,
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   175
			      etac splitE,
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   176
			      bound_hyp_subst_tac]))
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   177
    THEN prune_params_tac;
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   178
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   179
(*strip quantifier*)
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   180
val induct = standard (quant_induct RS spec RSN (2,rev_mp));
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   181
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   182
val mutual_induct = rule_by_tactic split_tac mutual_induct_split;
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   183
ff1574a81019 new version of HOL with curried function application
clasohm
parents:
diff changeset
   184
end;