OverviewCakeML:527465d58f2fe326e0d5236699dad76e8a923058
Fix wrong constant
#1357 (noparse)
Merging into:4e312c0f7e18b9c5789c8ac4e0af257bff895cf5
Define a C function for customFFI
HOL:63f2eb9c146352dfd0bab8c5604a096d1e554d03
minor fixes to examples and updated internal docs
Machine:pavlova
Claimed job
Reusing HOL
Starting developers
Finished developers 4s 142MB
Starting developers/bin
Finished developers/bin 3s 90MB
Starting misc
Finished misc 42s 1GB
Starting compiler/proofs
Finished compiler/proofs 1h01m30s 10GB
Starting compiler/bootstrap/compilation/x64/64/proofs
Finished compiler/bootstrap/compilation/x64/64/proofs 6h01m48s 93GB
Starting semantics/ffi
Finished semantics/ffi 10s 556MB
Starting semantics
Finished semantics 1s 97MB
Starting semantics/proofs
Finished semantics/proofs 21s 960MB
Starting semantics/alt_semantics
Finished semantics/alt_semantics 16s 599MB
Starting semantics/alt_semantics/proofs
Finished semantics/alt_semantics/proofs 3m15s 2GB
Starting basis/pure
Finished basis/pure 0s 88MB
Starting translator
Finished translator 57s 3GB
Starting compiler/parsing
Finished compiler/parsing 1s 95MB
Starting characteristic
Finished characteristic 1s 119MB
Starting translator/monadic
Finished translator/monadic 1s 123MB
Starting translator/monadic/monad_base
Finished translator/monadic/monad_base 0s 96MB
Starting profiler
Finished profiler 29s 1GB
Starting basis
Finished basis 1m27s 4GB
Starting compiler
Finished compiler 2s 217MB
Starting compiler/inference
Finished compiler/inference 1s 117MB
Starting compiler/backend/reg_alloc
Finished compiler/backend/reg_alloc 1s 91MB
Starting compiler/backend/gc
Finished compiler/backend/gc 1s 139MB
Starting compiler/backend
Finished compiler/backend 4s 247MB
Starting compiler/encoders/asm
Finished compiler/encoders/asm 1s 104MB
Starting compiler/encoders/x64
Finished compiler/encoders/x64 1s 104MB
Starting compiler/encoders/arm7
Finished compiler/encoders/arm7 1s 105MB
Starting compiler/encoders/arm8
Finished compiler/encoders/arm8 1s 110MB
Starting compiler/encoders/arm8_asl
Finished compiler/encoders/arm8_asl 58s 20GB
Starting compiler/encoders/mips
Finished compiler/encoders/mips 1s 107MB
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 125MB
Starting compiler/encoders/monadic_enc
Finished compiler/encoders/monadic_enc 21s 1GB
Starting compiler/backend/x64
Finished compiler/backend/x64 1s 144MB
Starting compiler/backend/arm7
Finished compiler/backend/arm7 1s 144MB
Starting compiler/backend/arm8
Finished compiler/backend/arm8 1s 145MB
Starting compiler/backend/mips
Finished compiler/backend/mips 1s 144MB
Starting compiler/backend/riscv
Finished compiler/backend/riscv 1s 144MB
Starting compiler/backend/ag32
Finished compiler/backend/ag32 57s 3GB
Starting compiler/backend/pattern_matching
Finished compiler/backend/pattern_matching 0s 91MB
Starting compiler/parsing/ocaml
Finished compiler/parsing/ocaml 1m48s 1GB
Starting compiler/printing
Finished compiler/printing 55s 1GB
Starting compiler/parsing/proofs
Finished compiler/parsing/proofs 1s 100MB
Starting compiler/inference/proofs
Finished compiler/inference/proofs 1s 120MB
Starting compiler/backend/semantics
Finished compiler/backend/semantics 2m43s 3GB
Starting compiler/backend/reg_alloc/proofs
Finished compiler/backend/reg_alloc/proofs 1s 116MB
Starting compiler/backend/proofs
Finished compiler/backend/proofs 39s 2GB
Starting compiler/backend/serialiser
Finished compiler/backend/serialiser 1s 148MB
Starting compiler/encoders/x64/proofs
Finished compiler/encoders/x64/proofs 1s 107MB
Starting compiler/encoders/arm7/proofs
Finished compiler/encoders/arm7/proofs 10m58s 11GB
Starting compiler/encoders/arm8/proofs
Finished compiler/encoders/arm8/proofs 6m38s 7GB
Starting compiler/encoders/arm8_asl/proofs
Finished compiler/encoders/arm8_asl/proofs 15m23s 6GB
Starting compiler/encoders/mips/proofs
Finished compiler/encoders/mips/proofs 9m36s 14GB
Starting compiler/encoders/riscv/proofs
Finished compiler/encoders/riscv/proofs 8m00s 4GB
Starting compiler/encoders/ag32/proofs
Finished compiler/encoders/ag32/proofs 2m30s 2GB
Starting compiler/backend/x64/proofs
Finished compiler/backend/x64/proofs 2s 212MB
Starting compiler/backend/arm7/proofs
Finished compiler/backend/arm7/proofs 34s 2GB
Starting compiler/backend/arm8/proofs
Finished compiler/backend/arm8/proofs 32s 2GB
Starting compiler/backend/arm8_asl
Finished compiler/backend/arm8_asl 25s 2GB
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 7m35s 5GB
Starting compiler/backend/cv_compute
Finished compiler/backend/cv_compute 25s 1GB
Starting cv_translator
Finished cv_translator 4m46s 5GB
Starting candle
Finished candle 0s 16MB
Starting candle/set-theory
Finished candle/set-theory 28s 952MB
Starting candle/syntax-lib
Finished candle/syntax-lib 0s 90MB
Starting candle/standard
Finished candle/standard 0s 16MB
Starting candle/standard/syntax
Finished candle/standard/syntax 13s 784MB
Starting candle/standard/semantics
Finished candle/standard/semantics 2m03s 2GB
Starting candle/standard/monadic
Finished candle/standard/monadic 1s 118MB
Starting candle/standard/ml_kernel
Finished candle/standard/ml_kernel 1m53s 4GB
Starting candle/overloading
Finished candle/overloading 0s 16MB
Starting candle/overloading/syntax
Finished candle/overloading/syntax 2m52s 2GB
Starting candle/overloading/semantics
Finished candle/overloading/semantics 8m40s 8GB
Starting candle/overloading/monadic
Finished candle/overloading/monadic 1m55s 1GB
Starting candle/overloading/ml_kernel
Finished candle/overloading/ml_kernel 6m07s 6GB
Starting candle/overloading/ml_checker
Finished candle/overloading/ml_checker 2m18s 6GB
Starting candle/prover
Finished candle/prover 2s 185MB
Starting candle/prover/compute
Finished candle/prover/compute 1s 169MB
Starting pancake
Finished pancake 1s 144MB
Starting pancake/semantics
Finished pancake/semantics 2m39s 2GB
Starting pancake/parser
Finished pancake/parser 29s 471MB
Starting pancake/static_checker
Finished pancake/static_checker 1m05s 1GB
Starting pancake/proofs
Finished pancake/proofs 15m38s 6GB
Starting compiler/dafny
Finished compiler/dafny 22s 740MB
Starting compiler/dafny/translation
Finished compiler/dafny/translation 9m05s 6GB
Starting compiler/dafny/compilation
Finished compiler/dafny/compilation 1m44s 6GB
Starting compiler/dafny/semantics
Finished compiler/dafny/semantics 36s 563MB
Starting compiler/dafny/proofs
Finished compiler/dafny/proofs 1m27s 2GB
Starting compiler/dafny/vcg
Finished compiler/dafny/vcg 1s 112MB
Starting compiler/dafny/vcg/examples
Finished compiler/dafny/vcg/examples 24s 1GB
Starting compiler/scheme
Finished compiler/scheme 25s 1GB
Starting compiler/scheme/translation
Finished compiler/scheme/translation 5m59s 7GB
Starting compiler/scheme/compilation
Finished compiler/scheme/compilation 1m24s 5GB
Starting compiler/scheme/proofs
Finished compiler/scheme/proofs 5m34s 3GB
Starting characteristic/examples
Finished characteristic/examples 1m23s 5GB
Starting tutorial/solutions
Finished tutorial/solutions 2m33s 3GB
Starting translator/monadic/examples
FAILED: translator/monadic/examples
Scanning $(HOLDIR)/src/bag
Scanning $(HOLDIR)/src/sort
Scanning $(HOLDIR)/src/string
Scanning $(HOLDIR)/src/n-bit
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)/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 $(HOLDIR)/src/coalgebras
Scanning $(HOLDIR)/examples/pl-semantics/lprefix_lub
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 43 directories
Starting work on README.md
Starting work on array_global_stateProgTheory
Starting work on array_local_stateProgTheory
Starting work on array_searchProgTheory
README.md (0s) OK
Starting work on doubleArgProgTheory
doubleArgProgTheory (26s) OK
Starting work on exceptionProgTheory
array_searchProgTheory (29s) OK
Starting work on exception_arity_testProgTheory
array_local_stateProgTheory (34s)FAIL<1>
Saved theorem __ "rarray2_update_thm"
Saved theorem _______ "rarray2_alloc_thm"
Saved theorem __ "rarray2_alloc_thm"
Saved theorem _______ "farray1_length_thm"
Saved theorem __ "farray1_length_thm"
Saved theorem _______ "farray1_sub_thm"
Saved theorem __ "farray1_sub_thm"
Saved theorem _______ "farray1_update_thm"
Saved theorem __ "farray1_update_thm"
Saved theorem _______ "farray2_length_thm"
Saved theorem __ "farray2_length_thm"
Saved theorem _______ "farray2_sub_thm"
Saved theorem __ "farray2_sub_thm"
Saved theorem _______ "farray2_update_thm"
Saved theorem __ "farray2_update_thm"
Saved theorem _______ "EvalM_raise_Fail"
Saved theorem __ "EvalM_raise_Fail"
Saved theorem _______ "EvalM_raise_Subscript"
Saved theorem __ "EvalM_raise_Subscript"
Saved theorem _______ "EvalM_handle_Fail"
Saved theorem __ "EvalM_handle_Fail"
Saved theorem _______ "EvalM_handle_Subscript"
Saved theorem __ "EvalM_handle_Subscript"
Saved definition ____ "test1_def"
Instantiated polymorphic monadic exceptions
Translating test1
Added a dynamic specification for test1
Saved definition ____ "test2_def"
Translating test2
Added a dynamic specification for test2
Saved definition ____ "test3_def"
Translating test3
Added a dynamic specification for test3
Saved definition ____ "test4_def"
Translating test4
Added a dynamic specification for test4
Saved definition ____ "test5_def"
Translating test5
Added a dynamic specification for test5
Saved definition ____ "test6_def"
Translating test6
ml_translate: unexpected error when translating definition:
n x. test6 n x = alloc_rarray1 n x
error in quse /scratch/cakeml/regression/cakeml-3292/translator/monadic/examples/array_local_stateProgScript.sml : HOL_ERR (HOL_ERROR {message = "cannot translate: alloc_rarray1", origins = [{origin_function = "failwith", origin_structure = "??", source_location = Loc_Unknown}]})
error in load /scratch/cakeml/regression/cakeml-3292/translator/monadic/examples/array_local_stateProgScript : HOL_ERR (HOL_ERROR {message = "cannot translate: alloc_rarray1", origins = [{origin_function = "failwith", origin_structure = "??", source_location = Loc_Unknown}]})
Uncaught exception at /scratch/cakeml/regression/cakeml-3292/translator/monadic/ml_monad_translatorLib.sml:3374: HOL_ERR (HOL_ERROR {message = "cannot translate: alloc_rarray1", origins = [{origin_function = "failwith", origin_structure = "??", source_location = Loc_Unknown}]})
Full log: /scratch/cakeml/regression/cakeml-3292/translator/monadic/examples/.hol/logs/array_local_stateProgTheory
array_global_stateProgTheory (35s)MKILLED
exceptionProgTheory (6s)MKILLED
exception_arity_testProgTheory (3s)MKILLED