author | clasohm |
Wed, 02 Nov 1994 11:50:09 +0100 | |
changeset 156 | fd1be45b64bf |
child 168 | 44ff2275d44f |
permissions | -rw-r--r-- |
156 | 1 |
val option_rws = Let_def :: Option.option.simps; |
2 |
val SS = arith_ss addsimps option_rws; |
|
3 |
||
4 |
val [prem] = goal Option.thy "P(opt) ==> P(None) | (? x. P(Some(x)))"; |
|
5 |
br (prem RS rev_mp) 1; |
|
6 |
by (Option.option.induct_tac "opt" 1); |
|
7 |
by (ALLGOALS(fast_tac HOL_cs)); |
|
8 |
val optE = standard(result() RS disjE); |