OverviewCakeML:199c333f4429032b933554741be4d01d92f3d98c
Fix a bug and make it easier to spot in future
#1331 (string_cmp)
Merging into:c98da7fc904c5d6d0e9a75a18fac1796a9bfb1f9
Adds simple optimization of store reads/writes in wordLang (#1327)
HOL:b725f6e8834462a5b4bb2fb67b35e36f368cb8b6
Tweak regular Holmakefile to clean selftest's log
Machine:timtam
Claimed job
Reusing HOL
Starting developers
Finished developers 4s 111MB
Starting developers/bin
Finished developers/bin 3s 90MB
Starting misc
Finished misc 43s 1GB
Starting compiler/proofs
Finished compiler/proofs 1h00m06s 11GB
Starting compiler/bootstrap/compilation/x64/64/proofs
Finished compiler/bootstrap/compilation/x64/64/proofs 6h00m01s 104GB
Starting semantics/ffi
Finished semantics/ffi 10s 539MB
Starting semantics
Finished semantics 1s 98MB
Starting semantics/proofs
Finished semantics/proofs 22s 985MB
Starting semantics/alt_semantics
Finished semantics/alt_semantics 18s 711MB
Starting semantics/alt_semantics/proofs
Finished semantics/alt_semantics/proofs 3m29s 2GB
Starting basis/pure
Finished basis/pure 0s 92MB
Starting translator
Finished translator 1m03s 2GB
Starting compiler/parsing
Finished compiler/parsing 1s 101MB
Starting characteristic
Finished characteristic 1s 127MB
Starting translator/monadic
Finished translator/monadic 1s 116MB
Starting translator/monadic/monad_base
Finished translator/monadic/monad_base 0s 97MB
Starting profiler
Finished profiler 24s 1GB
Starting basis
Finished basis 1m34s 4GB
Starting compiler
Finished compiler 2s 216MB
Starting compiler/inference
Finished compiler/inference 1s 119MB
Starting compiler/backend/reg_alloc
Finished compiler/backend/reg_alloc 1s 96MB
Starting compiler/backend/gc
Finished compiler/backend/gc 1s 139MB
Starting compiler/backend
Finished compiler/backend 5s 252MB
Starting compiler/encoders/asm
Finished compiler/encoders/asm 1s 95MB
Starting compiler/encoders/x64
Finished compiler/encoders/x64 1s 107MB
Starting compiler/encoders/arm7
Finished compiler/encoders/arm7 1s 111MB
Starting compiler/encoders/arm8
Finished compiler/encoders/arm8 1s 105MB
Starting compiler/encoders/arm8_asl
Finished compiler/encoders/arm8_asl 13s 1GB
Starting compiler/encoders/mips
Finished compiler/encoders/mips 1s 108MB
Starting compiler/encoders/riscv
Finished compiler/encoders/riscv 1s 106MB
Starting compiler/encoders/ag32
Finished compiler/encoders/ag32 1s 104MB
Starting compiler/encoders/tests
Finished compiler/encoders/tests 1s 119MB
Starting compiler/encoders/monadic_enc
Finished compiler/encoders/monadic_enc 23s 1GB
Starting compiler/backend/x64
Finished compiler/backend/x64 1s 145MB
Starting compiler/backend/arm7
Finished compiler/backend/arm7 1s 146MB
Starting compiler/backend/arm8
Finished compiler/backend/arm8 1s 147MB
Starting compiler/backend/mips
Finished compiler/backend/mips 1s 145MB
Starting compiler/backend/riscv
Finished compiler/backend/riscv 1s 146MB
Starting compiler/backend/ag32
Finished compiler/backend/ag32 59s 3GB
Starting compiler/backend/pattern_matching
Finished compiler/backend/pattern_matching 1s 90MB
Starting compiler/parsing/ocaml
Finished compiler/parsing/ocaml 1m41s 1GB
Starting compiler/printing
Finished compiler/printing 52s 1GB
Starting compiler/parsing/proofs
Finished compiler/parsing/proofs 1s 102MB
Starting compiler/inference/proofs
Finished compiler/inference/proofs 1s 121MB
Starting compiler/backend/semantics
Finished compiler/backend/semantics 2m01s 1GB
Starting compiler/backend/reg_alloc/proofs
Finished compiler/backend/reg_alloc/proofs 1s 118MB
Starting compiler/backend/proofs
Finished compiler/backend/proofs 41s 2GB
Starting compiler/backend/serialiser
Finished compiler/backend/serialiser 1s 151MB
Starting compiler/encoders/x64/proofs
Finished compiler/encoders/x64/proofs 1s 105MB
Starting compiler/encoders/arm7/proofs
Finished compiler/encoders/arm7/proofs 10m49s 10GB
Starting compiler/encoders/arm8/proofs
Finished compiler/encoders/arm8/proofs 6m34s 6GB
Starting compiler/encoders/arm8_asl/proofs
Finished compiler/encoders/arm8_asl/proofs 15m13s 4GB
Starting compiler/encoders/mips/proofs
Finished compiler/encoders/mips/proofs 8m43s 10GB
Starting compiler/encoders/riscv/proofs
Finished compiler/encoders/riscv/proofs 7m55s 4GB
Starting compiler/encoders/ag32/proofs
Finished compiler/encoders/ag32/proofs 2m35s 3GB
Starting compiler/backend/x64/proofs
Finished compiler/backend/x64/proofs 2s 208MB
Starting compiler/backend/arm7/proofs
Finished compiler/backend/arm7/proofs 34s 2GB
Starting compiler/backend/arm8/proofs
Finished compiler/backend/arm8/proofs 35s 2GB
Starting compiler/backend/arm8_asl
Finished compiler/backend/arm8_asl 24s 1GB
Starting compiler/backend/mips/proofs
Finished compiler/backend/mips/proofs 34s 2GB
Starting compiler/backend/riscv/proofs
Finished compiler/backend/riscv/proofs 36s 2GB
Starting compiler/backend/ag32/proofs
Finished compiler/backend/ag32/proofs 10m47s 4GB
Starting compiler/backend/cv_compute
Finished compiler/backend/cv_compute 27s 1GB
Starting cv_translator
Finished cv_translator 5m34s 5GB
Starting candle
Finished candle 0s 15MB
Starting candle/set-theory
Finished candle/set-theory 28s 957MB
Starting candle/syntax-lib
Finished candle/syntax-lib 0s 86MB
Starting candle/standard
Finished candle/standard 0s 14MB
Starting candle/standard/syntax
Finished candle/standard/syntax 13s 775MB
Starting candle/standard/semantics
Finished candle/standard/semantics 2m08s 3GB
Starting candle/standard/monadic
Finished candle/standard/monadic 1s 120MB
Starting candle/standard/ml_kernel
Finished candle/standard/ml_kernel 1m54s 4GB
Starting candle/overloading
Finished candle/overloading 0s 16MB
Starting candle/overloading/syntax
Finished candle/overloading/syntax 3m03s 2GB
Starting candle/overloading/semantics
Finished candle/overloading/semantics 10m02s 3GB
Starting candle/overloading/monadic
Finished candle/overloading/monadic 2m01s 1GB
Starting candle/overloading/ml_kernel
Finished candle/overloading/ml_kernel 6m07s 7GB
Starting candle/overloading/ml_checker
Finished candle/overloading/ml_checker 2m17s 6GB
Starting candle/prover
Finished candle/prover 2s 176MB
Starting candle/prover/compute
Finished candle/prover/compute 1s 165MB
Starting pancake
Finished pancake 1s 150MB
Starting pancake/semantics
Finished pancake/semantics 2m40s 1GB
Starting pancake/parser
Finished pancake/parser 29s 558MB
Starting pancake/static_checker
Finished pancake/static_checker 1m04s 1GB
Starting pancake/proofs
Finished pancake/proofs 14m28s 5GB
Starting compiler/dafny
Finished compiler/dafny 24s 721MB
Starting compiler/dafny/translation
Finished compiler/dafny/translation 9m07s 6GB
Starting compiler/dafny/compilation
Finished compiler/dafny/compilation 1m43s 6GB
Starting compiler/dafny/semantics
Finished compiler/dafny/semantics 35s 594MB
Starting compiler/dafny/proofs
Finished compiler/dafny/proofs 1m28s 1GB
Starting compiler/dafny/vcg
Finished compiler/dafny/vcg 1s 113MB
Starting compiler/dafny/vcg/examples
Finished compiler/dafny/vcg/examples 24s 838MB
Starting compiler/scheme
Finished compiler/scheme 27s 1GB
Starting compiler/scheme/translation
Finished compiler/scheme/translation 6m03s 6GB
Starting compiler/scheme/compilation
Finished compiler/scheme/compilation 1m18s 4GB
Starting compiler/scheme/proofs
Finished compiler/scheme/proofs 6m23s 2GB
Starting characteristic/examples
Finished characteristic/examples 1m23s 5GB
Starting tutorial/solutions
Finished tutorial/solutions 2m33s 3GB
Starting translator/monadic/examples
Finished translator/monadic/examples 2m59s 4GB
Starting examples
FAILED: examples
Scanning $(HOLDIR)/src/string
Scanning $(HOLDIR)/src/n-bit
Scanning $(HOLDIR)/examples/Crypto/AES
Scanning $(HOLDIR)/src/TeX
Scanning $(HOLDIR)/src/bag
Scanning $(HOLDIR)/src/res_quan/src
Scanning $(HOLDIR)/src/finite_maps
Scanning $(HOLDIR)/src/integer
Scanning $(HOLDIR)/src/transfer
Scanning $(HOLDIR)/src/pred_set/src/more_theories
Scanning $(HOLDIR)/src/algebra/base
Scanning $(HOLDIR)/src/algebra/construction
Scanning $(HOLDIR)/src/algebra
Scanning $(HOLDIR)/src/hol88
Scanning $(HOLDIR)/src/rational
Scanning $(HOLDIR)/src/real
Scanning $(HOLDIR)/src/floating-point
Scanning $(HOLDIR)/src/real/analysis
Scanning $(HOLDIR)/src/probability
Scanning $(HOLDIR)/examples/Crypto/DES
Scanning $(HOLDIR)/examples/Crypto/IDEA
Scanning $(HOLDIR)/src/num/theories/cv_compute/automation
Scanning $(HOLDIR)/examples/Crypto/Keccak
Scanning $(HOLDIR)/examples/Crypto/MARS
Scanning $(HOLDIR)/examples/Crypto/MD5
Scanning $(HOLDIR)/examples/Crypto/RC6
Scanning $(HOLDIR)/examples/Crypto/MD
Scanning $(HOLDIR)/examples/Crypto/RIPEMD
Scanning $(HOLDIR)/examples/Crypto/SHA-1
Scanning $(HOLDIR)/examples/Crypto/SHA-2
Scanning $(HOLDIR)/examples/Crypto/Serpent/Bitslice
Scanning $(HOLDIR)/examples/Crypto/Serpent/Reference
Scanning $(HOLDIR)/src/coalgebras
Scanning $(HOLDIR)/src/monad/more_monads
Scanning $(HOLDIR)/src/emit
Scanning $(HOLDIR)/examples/Crypto/TEA
Scanning $(HOLDIR)/examples/Crypto/TWOFISH
Scanning $(HOLDIR)/examples/Crypto
Scanning $(HOLDIR)/examples/pl-semantics/lprefix_lub
Scanning $(HOLDIR)/examples/bootstrap
Scanning $(HOLDIR)/examples/data-structures/balanced_bst
Scanning $(HOLDIR)/examples/formal-languages
Scanning $(HOLDIR)/examples/formal-languages/context-free
Scanning $(HOLDIR)/src/search
Scanning $(HOLDIR)/examples/formal-languages/regular
Scanning $(HOLDIR)/examples/machine-code/hoare-triple
Scanning $(CAKEMLDIR)/developers
Scanning $(CAKEMLDIR)/misc
Scanning $(CAKEMLDIR)/basis/pure
Scanning $(CAKEMLDIR)/semantics/ffi
Scanning $(CAKEMLDIR)/semantics
Scanning $(CAKEMLDIR)/semantics/proofs
Scanning $(CAKEMLDIR)/compiler/parsing
Scanning $(CAKEMLDIR)/translator
Scanning $(CAKEMLDIR)/characteristic
Scanning $(HOLDIR)/examples/algorithms/unification/triangular
Scanning $(HOLDIR)/src/transfer/examples
Scanning $(HOLDIR)/examples/algorithms/unification/triangular/first-order
Scanning $(HOLDIR)/examples/algorithms/unification/triangular/first-order/compilation
Scanning $(CAKEMLDIR)/compiler/inference
Scanning $(CAKEMLDIR)/compiler/printing
Scanning $(CAKEMLDIR)/translator/monadic/monad_base
Scanning $(CAKEMLDIR)/translator/monadic
Scanning $(CAKEMLDIR)/basis
Scanned 66 directories
Starting work on README.md
Starting work on quicksortProgTheory
Starting work on catProgTheory
Starting work on lcsTheory
README.md (0s) OK
Starting work on divTheory
lcsTheory (6s) OK
Starting work on diffTheory
diffTheory (27s) OK
Starting work on diffProgTheory
quicksortProgTheory (42s) OK
Starting work on array_searchProgTheory
catProgTheory (42s) OK
Starting work on doubleArgProgTheory
divTheory (50s) OK
Starting work on echoProgTheory
doubleArgProgTheory (26s) OK
Starting work on filterProgTheory
array_searchProgTheory (37s) OK
Starting work on grepProgTheory
diffProgTheory (50s) OK
Starting work on helloErrProgTheory
echoProgTheory (35s) OK
Starting work on helloProgTheory
filterProgTheory (47s) OK
Starting work on insertSortProgTheory
helloProgTheory (32s) OK
Starting work on lispProgTheory
helloErrProgTheory (40s) OK
Starting work on md5ProgTheory
insertSortProgTheory (22s) OK
Starting work on patchProgTheory
lispProgTheory (24s) OK
Starting work on queueProgTheory
md5ProgTheory (45s) OK
Starting work on sortProgTheory
queueProgTheory (31s) OK
Starting work on splitwordsTheory
splitwordsTheory (2s) OK
Starting work on stackProgTheory
patchProgTheory (55s) OK
Starting work on wordcountProgTheory
sortProgTheory (23s)FAIL<1>
Using translator specification append_1_v_thm from theory mlbasicsProg
xlet_auto : using heuristics
Post condition: POSTv v. STDIO fs * &LIST_TYPE STRING_TYPE (all_lines_file fs h ++ acc) v
Using a CF specification from the assumptions
Saved theorem _______ "get_files_contents_spec"
Saved theorem _______ "nsLookup_sortProg_env_1_pfun_eqs"
Saved definition ____ "good_args_def"
Adding nsLookup representation thms for [sortProg_env_1]
Using CF specification inputLinesStdIn_spec from theory TextIOProof
xlet_auto : using heuristics
Post condition: POSTv sv.
STDIO (fastForwardFD fs 0) *
&LIST_TYPE STRING_TYPE (lines_of_gen #"\n" (implode text)) sv
Post condition: POSTv v. &(v = Conv (SOME (TypeStamp [] 1)) []) * STDIO fs
Using CF specification get_files_contents_spec from theory sortProg
Post condition: POSTv v. &(v = Conv (SOME (TypeStamp [] 1)) []) * STDIO fs
Using CF specification get_files_contents_spec from theory sortProg
Saved theorem _______ "get_contents_spec"
Saved theorem _______ "nsLookup_sortProg_env_2_pfun_eqs"
Saved definition ____ "valid_sort_result_def"
Saved theorem _______ "valid_sort_result_unique"
Saved theorem _______ "valid_sort_result_exists"
Saved theorem _______ "valid_sort_result_numchars"
Saved theorem _______ "sort_sem_intro"
Saved theorem _______ "sort_sem_numchars"
Proved triviality ___ "SORTED_mlstring_le"
/scratch/cakeml/regression2/cakeml-3215/examples/sortProgScript.sml:402: error: Value or constructor (mlstring_lt_v_thm) has not been declared in structure StringProgTheory
Found near
Q.store_thm_at
(
DB_dtype.mkloc
(
"/scratch/cakeml/regression2/cakeml-3215/examples/sortProgScript.sml",
340,
...
))
(
"sort_spec",
[
QUOTE
" (*#loc 340 19*)\n (if LENGTH cl \226\137\164 1\n then \226\136\131text. stdin_content fs = SOME text\n else hasFreeFD fs)\n \226\135\146\n app (p : 'ffi ffi_proj) "
,
... ...,
...
],
(fn ... => ...)
)
error in quse /scratch/cakeml/regression2/cakeml-3215/examples/sortProgScript.sml : Fail "Static Errors"
error in load /scratch/cakeml/regression2/cakeml-3215/examples/sortProgScript : Fail "Static Errors"
Uncaught exception at ./basis/FinalPolyML.sml:492: Fail "Static Errors"
Full log: /scratch/cakeml/regression2/cakeml-3215/examples/.hol/logs/sortProgTheory
grepProgTheory (125s)MKILLED
stackProgTheory (22s)MKILLED
wordcountProgTheory (2s)MKILLED