Skip to content

Commit 16f8188

Browse files
committed
Imp: fix proofs
1 parent 0a03935 commit 16f8188

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Imp.lidr

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@ readability:
11601160
\[
11611161
\begin{prooftree}
11621162
\hypo{\idr{aeval st a1 = n}}
1163-
\infer2[\idr{E_Ass}]{\idr{x := a1 / st |/ (t_update st x n)}}
1163+
\infer1[\idr{E_Ass}]{\idr{x := a1 / st |/ (t_update st x n)}}
11641164
\end{prooftree}
11651165
\]
11661166
@@ -1191,7 +1191,7 @@ readability:
11911191
\[
11921192
\begin{prooftree}
11931193
\hypo{\idr{beval st b = False}}
1194-
\infer2[\idr{E_WhileEnd}]{\idr{WHILE b DO c END / st |/ st}}
1194+
\infer1[\idr{E_WhileEnd}]{\idr{WHILE b DO c END / st |/ st}}
11951195
\end{prooftree}
11961196
\]
11971197
@@ -1200,9 +1200,9 @@ readability:
12001200
\hypo{\idr{beval st b = True}}
12011201
\hypo{\idr{c / st |/ st'}}
12021202
\hypo{\idr{WHILE b DO c END / st' |/ st''}}
1203-
\infer2[\idr{E_WhileLoop}]{\idr{WHILE b DO c END / st |/ st''}}
1203+
\infer3[\idr{E_WhileLoop}]{\idr{WHILE b DO c END / st |/ st''}}
12041204
\end{prooftree}
1205-
\]
1205+
\]
12061206
12071207
Here is the formal definition. Make sure you understand how it corresponds to
12081208
the inference rules.
@@ -1696,4 +1696,4 @@ free to play with this too if you like.)
16961696
16971697
> -- FILL IN HERE
16981698
1699-
$\square$
1699+
$\square$

0 commit comments

Comments
 (0)