5737
|
1 |
(* Title: HOL/Induct/ABexp.ML
|
|
2 |
ID: $Id$
|
|
3 |
Author: Stefan Berghofer, TU Muenchen
|
|
4 |
Copyright 1998 TU Muenchen
|
|
5 |
|
|
6 |
Arithmetic and boolean expressions
|
|
7 |
*)
|
|
8 |
|
|
9 |
(** substitution theorem for arithmetic and boolean expressions **)
|
|
10 |
|
|
11 |
Goal
|
|
12 |
"eval_aexp env (subst_aexp (Var(v := a')) a) = eval_aexp (env(v := eval_aexp env a')) a & \
|
|
13 |
\ eval_bexp env (subst_bexp (Var(v := a')) b) = eval_bexp (env(v := eval_aexp env a')) b";
|
|
14 |
by (mutual_induct_tac ["a","b"] 1);
|
|
15 |
by (ALLGOALS Asm_full_simp_tac);
|
|
16 |
qed "subst_aexp_bexp";
|