equal
deleted
inserted
replaced
32 section "Factorial"; |
32 section "Factorial"; |
33 |
33 |
34 val step = resolve_tac evalc.intrs 1; |
34 val step = resolve_tac evalc.intrs 1; |
35 val simp = Asm_simp_tac 1; |
35 val simp = Asm_simp_tac 1; |
36 Goalw [factorial_def] "a~=b ==> \ |
36 Goalw [factorial_def] "a~=b ==> \ |
37 \ <factorial a b, Mem(a:=3)> -c-> Mem(b:=6,a:=Numeral0)"; |
37 \ <factorial a b, Mem(a:=3)> -c-> Mem(b:=6, a:=0)"; |
38 by (ftac not_sym 1); |
38 by (ftac not_sym 1); |
39 by step; |
39 by step; |
40 by step; |
40 by step; |
41 by simp; |
41 by simp; |
42 by step; |
42 by step; |