IOA/meta_theory/Option.ML
author clasohm
Tue, 24 Oct 1995 14:59:17 +0100
changeset 251 f04b33ce250f
parent 171 16c4ea954511
permissions -rw-r--r--
added calls of init_html and make_chart

(*  Title:      Option.ML
    ID:         $Id$
    Author:     Tobias Nipkow
    Copyright   1994  TU Muenchen

Derived rules
*)

val option_rws = Let_def :: Option.option.simps;
val SS = arith_ss addsimps option_rws;

val [prem] = goal Option.thy "P(opt) ==> P(None) | (? x. P(Some(x)))";
 br (prem RS rev_mp) 1;
 by (Option.option.induct_tac "opt" 1);
 by (ALLGOALS(fast_tac HOL_cs));
val optE = store_thm("optE", standard(result() RS disjE));