Skip to content

Commit d78cf7f

Browse files
committed
fix parse errors
1 parent 49f0d44 commit d78cf7f

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

examples/bot/MonitorProofScript.sml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1322,7 +1322,8 @@ Theorem stop_spec:
13221322
(IOBOT w)
13231323
(POSTv bv.
13241324
IOBOT w *
1325-
&BOOL (w.wo.stop_oracle 0) bv)`,
1325+
&BOOL (w.wo.stop_oracle 0) bv)
1326+
Proof
13261327
rw [IOBOT_def] \\ qpat_abbrev_tac `Q = $POSTv _`
13271328
\\ simp [bot_ffi_part_def, IOx_def, IO_def]
13281329
\\ xpull \\ qunabbrev_tac `Q` >>
@@ -1360,7 +1361,8 @@ Theorem stop_spec:
13601361
qexists_tac`b`>>
13611362
qexists_tac`WORD8`>>simp[Abbr`b`]>>rw[]>>
13621363
simp[ml_translatorTheory.EqualityType_NUM_BOOL]>>
1363-
simp[IOBOT_def]>>xsimpl);
1364+
simp[IOBOT_def]>>xsimpl
1365+
QED
13641366

13651367
(* eventually on oracle sequences *)
13661368
val eventually_def = Define`

pancake/proofs/crep_to_loopProofScript.sml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3017,7 +3017,7 @@ Proof
30173017
>- (
30183018
(* general call case *)
30193019
rw []
3020-
\\ qmatch_goalsub_abbrev_tac ‘domain l SUBSET rhs`
3020+
\\ qmatch_goalsub_abbrev_tac ‘domain l SUBSET rhs
30213021
\\ reverse (qsuff_tac `domain l SUBSET rhs`)
30223022
>- (
30233023
fs [Abbr `rhs`]

tutorial/wordfreqProgScript.sml

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ Theorem wordfreq_spec:
253253
(* EXERCISE: write the specification for the wordfreq program *)
254254
(* hint: it should be very similar to wordcount_spec (in wordcountProgScript.sml) *)
255255
(* hint: use wordfreq_output_spec to produce the desired output *)
256-
256+
Proof
257257
(* The following proof sketch should work when you have roughly the right
258258
specification
259259

0 commit comments

Comments
 (0)