week4 tweaking
authorJim Pryor <profjim@jimpryor.net>
Sun, 3 Oct 2010 19:41:04 +0000 (15:41 -0400)
committerJim Pryor <profjim@jimpryor.net>
Sun, 3 Oct 2010 19:41:04 +0000 (15:41 -0400)
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
week4.mdwn

index 78e2d37..4bddeaa 100644 (file)
@@ -119,7 +119,7 @@ fact 2
 ~~> mul 2 ([prefact ((\x. prefact (x x)) (\x. prefact (x x)))] 1)
 ...
 ~~> mul 2 (mul 1 ([prefact ((\x. prefact (x x)) (\x. prefact (x x)))] 0))
-&equiv; mul 2 (mul 1 (iszero 0 1 ([prefact ((\x. prefact (x x)) (\x. prefact (x x)))] (pred 0))))
+&equiv; mul 2 (mul 1 (iszero 0 1 (mul 1 ([prefact ((\x. prefact (x x)) (\x. prefact (x x)))] (pred 0)))))
 ~~> mul 2 (mul 1 1)
 ~~> mul 2 1
 ~~> 2