Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix parse errors #1085

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions examples/bot/MonitorProofScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,8 @@ Theorem stop_spec:
(IOBOT w)
(POSTv bv.
IOBOT w *
&BOOL (w.wo.stop_oracle 0) bv)`,
&BOOL (w.wo.stop_oracle 0) bv)
Proof
rw [IOBOT_def] \\ qpat_abbrev_tac `Q = $POSTv _`
\\ simp [bot_ffi_part_def, IOx_def, IO_def]
\\ xpull \\ qunabbrev_tac `Q` >>
Expand Down Expand Up @@ -1360,7 +1361,8 @@ Theorem stop_spec:
qexists_tac`b`>>
qexists_tac`WORD8`>>simp[Abbr`b`]>>rw[]>>
simp[ml_translatorTheory.EqualityType_NUM_BOOL]>>
simp[IOBOT_def]>>xsimpl);
simp[IOBOT_def]>>xsimpl
QED

(* eventually on oracle sequences *)
val eventually_def = Define`
Expand Down
2 changes: 1 addition & 1 deletion pancake/proofs/crep_to_loopProofScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -3017,7 +3017,7 @@ Proof
>- (
(* general call case *)
rw []
\\ qmatch_goalsub_abbrev_tac ‘domain l SUBSET rhs`
\\ qmatch_goalsub_abbrev_tac ‘domain l SUBSET rhs
\\ reverse (qsuff_tac `domain l SUBSET rhs`)
>- (
fs [Abbr `rhs`]
Expand Down
2 changes: 1 addition & 1 deletion tutorial/wordfreqProgScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ Theorem wordfreq_spec:
(* EXERCISE: write the specification for the wordfreq program *)
(* hint: it should be very similar to wordcount_spec (in wordcountProgScript.sml) *)
(* hint: use wordfreq_output_spec to produce the desired output *)

Proof
(* The following proof sketch should work when you have roughly the right
specification

Expand Down