src/HOL/Option.ML
changeset 2056 93c093620c28
parent 2031 03a843f0f447
child 2935 998cb95fdd43
equal deleted inserted replaced
2055:cc274e47f607 2056:93c093620c28
    25 goal Option.thy "P(case opt of None => a | Some(x) => b(x)) = \
    25 goal Option.thy "P(case opt of None => a | Some(x) => b(x)) = \
    26 \                ((opt = None --> P a) & (!x. opt = Some x --> P(b(x))))";
    26 \                ((opt = None --> P a) & (!x. opt = Some x --> P(b(x))))";
    27 by (option.induct_tac "opt" 1);
    27 by (option.induct_tac "opt" 1);
    28 by (Simp_tac 1);
    28 by (Simp_tac 1);
    29 by (Asm_full_simp_tac 1);
    29 by (Asm_full_simp_tac 1);
    30 by (Fast_tac 1);
       
    31 qed"expand_option_case";
    30 qed"expand_option_case";