Skip to content

Commit

Permalink
Remove a few mentions of mlnum
Browse files Browse the repository at this point in the history
  • Loading branch information
myreen committed Jan 19, 2019
1 parent e8b6a02 commit 48fec8b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions basis/pure/basisComputeLib.sml
Expand Up @@ -20,10 +20,7 @@ val add_basis_compset = computeLib.extend_compset
mlintTheory.padLen_DEC_eq,
mlintTheory.toChars_def,
mlintTheory.toString_def,
mlnumTheory.toString_def,
mlnumTheory.num_toString_def,
mlnumTheory.fromString_def,
mlnumTheory.fromString_unsafe_def
mlintTheory.num_to_str_def
]
]

Expand Down
2 changes: 1 addition & 1 deletion compiler/backend/proofs/word_elimProofScript.sml
Expand Up @@ -2,7 +2,7 @@
Correctness proof for word_elim
*)

open preamble backendComputeLib wordLangTheory
open preamble wordLangTheory
word_elimTheory wordSemTheory wordPropsTheory
flat_elimProofTheory

Expand Down
4 changes: 2 additions & 2 deletions examples/compilation/ag32/proofs/wordcountProofScript.sml
Expand Up @@ -15,8 +15,8 @@ val is_ag32_init_state_def = ag32_targetTheory.is_ag32_init_state_def;

(* TODO: move *)
Theorem int_toString_num
`mlint$toString (&n) = mlnum$toString n`
(rw[mlintTheory.toString_thm, mlnumTheory.toString_thm]);
`mlint$toString ((&(n:num)):int) = toString n`
(rw[mlintTheory.num_to_str_def]);
(* -- *)

val wordcount_stdin_semantics = Q.prove(
Expand Down

0 comments on commit 48fec8b

Please sign in to comment.