Skip to content

Commit

Permalink
Fix another parse error in Theorem-Proof syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
mn200 committed Jun 21, 2023
1 parent ca3e595 commit 754414b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/lpr_checker/lpr_parsingScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -484,10 +484,11 @@ val parse_until_nn_def = Define`
parse_until_nn xs (Num l::acc)
)`

val parse_until_nn_length = Q.prove(`
Theorem parse_until_nn_length[local]:
∀ls acc a b c.
parse_until_nn ls acc = SOME(a,b,c) ⇒
LENGTH c < LENGTH ls`,
LENGTH c < LENGTH ls
Proof
Induct>>fs[parse_until_nn_def]>>
rw[]>>every_case_tac>>fs[]>>
first_x_assum drule>>
Expand Down

0 comments on commit 754414b

Please sign in to comment.