OverviewCakeML:cf7ae1a42a17671bda4024a4dac0bcbca4fc134e
Fix `compilerProofTheory`
#869 (ffi-changes)
Merging into:94ac4b68ba71917ede94f5bb752deb85333acb21
Fix a build error caused by HOL-Theorem-Prover/HOL@60adf92493ffff
HOL:e423188b196a54551b2b4fddb00dc960d0ee96c4
Minkowski's inequality and its applications in Probability (#1009)
Machine:stove 4.15.0-143-generic x86_64 GNU/Linux
Claimed job
Reusing HOL
Starting developers
Finished developers 4s 147MB
Starting developers/bin
Finished developers/bin 6s 1GB
Starting semantics/ffi
Finished semantics/ffi 10s 237MB
Starting semantics
Finished semantics 1m56s 1GB
Starting semantics/proofs
Finished semantics/proofs 4m07s 3GB
Starting semantics/alt_semantics
Finished semantics/alt_semantics 16s 483MB
Starting semantics/alt_semantics/proofs
Finished semantics/alt_semantics/proofs 2m26s 853MB
Starting basis/pure
Finished basis/pure 1m05s 896MB
Starting translator
Finished translator 3m00s 2GB
Starting compiler/parsing
Finished compiler/parsing 1m15s 2GB
Starting characteristic
Finished characteristic 6m26s 1GB
Starting translator/monadic
Finished translator/monadic 1m57s 1GB
Starting basis
Finished basis 46m52s 13GB
Starting compiler/inference
Finished compiler/inference 1m21s 1GB
Starting compiler/backend/reg_alloc
Finished compiler/backend/reg_alloc 1m43s 1GB
Starting compiler/backend/gc
Finished compiler/backend/gc 4m20s 2GB
Starting compiler/backend
Finished compiler/backend 5m38s 2GB
Starting compiler/encoders/asm
Finished compiler/encoders/asm 29s 711MB
Starting compiler/encoders/x64
Finished compiler/encoders/x64 29s 1GB
Starting compiler/encoders/arm7
Finished compiler/encoders/arm7 53s 1GB
Starting compiler/encoders/arm8
Finished compiler/encoders/arm8 16s 767MB
Starting compiler/encoders/arm8_asl
Finished compiler/encoders/arm8_asl 2m30s 1GB
Starting compiler/encoders/mips
Finished compiler/encoders/mips 20s 1GB
Starting compiler/encoders/riscv
Finished compiler/encoders/riscv 18s 796MB
Starting compiler/encoders/ag32
Finished compiler/encoders/ag32 21s 691MB
Starting compiler/backend/x64
Finished compiler/backend/x64 22s 1GB
Starting compiler/backend/arm7
Finished compiler/backend/arm7 23s 1GB
Starting compiler/backend/arm8
Finished compiler/backend/arm8 22s 1GB
Starting compiler/backend/mips
Finished compiler/backend/mips 23s 1GB
Starting compiler/backend/riscv
Finished compiler/backend/riscv 23s 1GB
Starting compiler/backend/ag32
Finished compiler/backend/ag32 1m26s 1GB
Starting compiler/parsing/proofs
Finished compiler/parsing/proofs 3m42s 1GB
Starting compiler/inference/proofs
Finished compiler/inference/proofs 2m31s 1GB
Starting compiler/backend/semantics
Finished compiler/backend/semantics 28m46s 2GB
Starting compiler/backend/reg_alloc/proofs
Finished compiler/backend/reg_alloc/proofs 3m29s 1GB
Starting compiler/backend/proofs
Finished compiler/backend/proofs 49m51s 14GB
Starting compiler/backend/serialiser
Finished compiler/backend/serialiser 1m37s 2GB
Starting compiler/encoders/x64/proofs
Finished compiler/encoders/x64/proofs 9m28s 5GB
Starting compiler/encoders/arm7/proofs
Finished compiler/encoders/arm7/proofs 12m55s 3GB
Starting compiler/encoders/arm8/proofs
Finished compiler/encoders/arm8/proofs 6m43s 1GB
Starting compiler/encoders/arm8_asl/proofs
Finished compiler/encoders/arm8_asl/proofs 15m04s 2GB
Starting compiler/encoders/mips/proofs
Finished compiler/encoders/mips/proofs 10m01s 2GB
Starting compiler/encoders/riscv/proofs
Finished compiler/encoders/riscv/proofs 8m48s 1GB
Starting compiler/encoders/ag32/proofs
Finished compiler/encoders/ag32/proofs 2m33s 911MB
Starting compiler/backend/x64/proofs
Finished compiler/backend/x64/proofs 27s 1GB
Starting compiler/backend/arm7/proofs
Finished compiler/backend/arm7/proofs 28s 1GB
Starting compiler/backend/arm8/proofs
Finished compiler/backend/arm8/proofs 28s 1GB
Starting compiler/backend/arm8_asl
Finished compiler/backend/arm8_asl 22s 1GB
Starting compiler/backend/mips/proofs
Finished compiler/backend/mips/proofs 27s 1GB
Starting compiler/backend/riscv/proofs
Finished compiler/backend/riscv/proofs 27s 1GB
Starting compiler/backend/ag32/proofs
Finished compiler/backend/ag32/proofs 13m01s 2GB
Starting compiler/proofs
Finished compiler/proofs 2m09s 3GB
Starting candle/set-theory
Finished candle/set-theory 33s 1GB
Starting candle/syntax-lib
Finished candle/syntax-lib 13s 603MB
Starting candle/standard/syntax
Finished candle/standard/syntax 2m03s 1GB
Starting candle/standard/semantics
Finished candle/standard/semantics 1m50s 1GB
Starting candle/standard/monadic
Finished candle/standard/monadic 1m54s 1GB
Starting candle/standard/ml_kernel
Finished candle/standard/ml_kernel 6m10s 3GB
Starting candle/overloading/syntax
Finished candle/overloading/syntax 3m08s 939MB
Starting candle/overloading/semantics
Finished candle/overloading/semantics 11m43s 2GB
Starting candle/overloading/monadic
Finished candle/overloading/monadic 2m32s 1GB
Starting candle/overloading/ml_kernel
Finished candle/overloading/ml_kernel 7m03s 3GB
Starting candle/overloading/ml_checker
Finished candle/overloading/ml_checker 2m24s 3GB
Starting candle/prover
Finished candle/prover 8m06s 3GB
Starting pancake
Finished pancake 3m37s 3GB
Starting pancake/ffi
Finished pancake/ffi 0s 35MB
Starting pancake/semantics
Finished pancake/semantics 2m27s 1GB
Starting pancake/proofs
Finished pancake/proofs 11m58s 7GB
Starting characteristic/examples
Finished characteristic/examples 1m23s 3GB
Starting tutorial/solutions
FAILED: tutorial/solutions
Scanning [1m$(HOLDIR)/src/sort[0m
Scanning [1m$(HOLDIR)/src/string[0m
Scanning [1m$(HOLDIR)/src/n-bit[0m
Scanning [1m$(HOLDIR)/src/res_quan/src[0m
Scanning [1m$(HOLDIR)/src/quotient/src[0m
Scanning [1m$(HOLDIR)/src/transfer[0m
Scanning [1m$(HOLDIR)/src/pred_set/src/more_theories[0m
Scanning [1m$(HOLDIR)/src/finite_maps[0m
Scanning [1m$(HOLDIR)/examples/balanced_bst[0m
Scanning [1m$(HOLDIR)/examples/formal-languages[0m
Scanning [1m$(HOLDIR)/examples/formal-languages/context-free[0m
Scanning [1m$(HOLDIR)/examples/formal-languages/regular[0m
Scanning [1m$(HOLDIR)/src/coalgebras[0m
Scanning [1m$(HOLDIR)/examples/fun-op-sem/lprefix_lub[0m
Scanning [1m$(HOLDIR)/examples/machine-code/hoare-triple[0m
Scanning [1m$(CAKEMLDIR)/developers[0m
Scanning [1m$(CAKEMLDIR)/misc[0m
Scanning [1m$(CAKEMLDIR)/semantics/ffi[0m
Scanning [1m$(CAKEMLDIR)/semantics[0m
Scanning [1m$(CAKEMLDIR)/basis/pure[0m
Scanning [1m$(CAKEMLDIR)/semantics/proofs[0m
Scanning [1m$(CAKEMLDIR)/compiler/parsing[0m
Scanning [1m$(CAKEMLDIR)/translator[0m
Scanning [1m$(CAKEMLDIR)/characteristic[0m
Scanning [1m$(CAKEMLDIR)/translator/monadic/monad_base[0m
Scanning [1m$(CAKEMLDIR)/translator/monadic[0m
Scanning [1m$(CAKEMLDIR)/basis[0m
Scanning [1m$(HOLDIR)/examples/algorithms[0m
Scanning [1m$(HOLDIR)/src/ring/src[0m
Scanning [1m$(HOLDIR)/src/integer[0m
Scanning [1m$(HOLDIR)/examples/machine-code/multiword[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/pattern_matching[0m
Scanning [1m$(CAKEMLDIR)/unverified/reg_alloc[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/reg_alloc[0m
Scanning [1m$(HOLDIR)/src/hol88[0m
Scanning [1m$(HOLDIR)/src/real[0m
Scanning [1m$(HOLDIR)/src/floating-point[0m
Scanning [1m$(HOLDIR)/src/monad/more_monads[0m
Scanning [1m$(HOLDIR)/src/update[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/common[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/asm[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/ag32[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/ag32[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/lib[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/arm/model[0m
Scanning [1m$(HOLDIR)/examples/machine-code/decompiler[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/arm/step[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/arm7[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/arm7[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/arm8/model[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/arm8/step[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/arm8[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/arm8[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/mips/model[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/mips/step[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/mips[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/mips[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/riscv/model[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/riscv/step[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/riscv[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/riscv[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/x64/model[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/x64/step[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/x64[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/x64[0m
Scanning [1m$(HOLDIR)/examples/algorithms/unification/triangular[0m
Scanning [1m$(HOLDIR)/examples/algorithms/unification/triangular/first-order[0m
Scanning [1m$(CAKEMLDIR)/compiler/inference[0m
Scanning [1m$(CAKEMLDIR)/compiler[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/gc[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/reg_alloc/proofs[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/semantics[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/proofs[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/x64/prog[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/x64/proofs[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/x64/proofs[0m
Scanned 80 directories
Starting work on README.md
Starting work on make_ex
Starting work on simple_bstTheory
Starting work on splitwordsTheory
README.md (0s) OK
make_ex (0s) OK
Starting work on exercises
exercises (0s) OK
splitwordsTheory (15s) OK
Starting work on wordfreqProgTheory
simple_bstTheory (16s) OK
wordfreqProgTheory (74s) OK
Starting work on wordfreqCompileTheory
wordfreqCompileTheory (21m) OK
Starting work on wordfreqProofTheory
wordfreqProofTheory (38s)FAIL<1>
on line 58, characters 7-55
which has type
:num # num
unification failure message: Attempt to unify different type operators: targetSem$machine_config and pair$prod
error in quse /home/cug/hk324/cml-regression/cakeml-1834/tutorial/solutions/wordfreqProofScript.sml : HOL_ERR {message = "on line 58, characters 7-55:\n\nType inference failure: unable to infer a type for the application of\n\n(installed (c :word8 list) (cbspace :num) (d :\206\177 word list) (data_sp :num)\n (conf :\206\180 config).lab_conf.ffi_names (ffi :num # num) :\n (\206\177, \206\178, \206\179) machine_config -> \206\178 -> bool)\n\non line 57, characters 4-70\n\nwhich has type\n\n:(\206\177, \206\178, \206\179) machine_config -> \206\178 -> bool\n\nto\n\nheap_regs x64_backend_config.stack_conf.reg_names\n\non line 58, characters 7-55\n\nwhich has type\n\n:num # num\n\nunification failure message: Attempt to unify different type operators: targetSem$machine_config and pair$prod\n", origin_function = "type-analysis", origin_structure = "Preterm"}
error in load /home/cug/hk324/cml-regression/cakeml-1834/tutorial/solutions/wordfreqProofScript : HOL_ERR {message = "on line 58, characters 7-55:\n\nType inference failure: unable to infer a type for the application of\n\n(installed (c :word8 list) (cbspace :num) (d :\206\177 word list) (data_sp :num)\n (conf :\206\180 config).lab_conf.ffi_names (ffi :num # num) :\n (\206\177, \206\178, \206\179) machine_config -> \206\178 -> bool)\n\non line 57, characters 4-70\n\nwhich has type\n\n:(\206\177, \206\178, \206\179) machine_config -> \206\178 -> bool\n\nto\n\nheap_regs x64_backend_config.stack_conf.reg_names\n\non line 58, characters 7-55\n\nwhich has type\n\n:num # num\n\nunification failure message: Attempt to unify different type operators: targetSem$machine_config and pair$prod\n", origin_function = "type-analysis", origin_structure = "Preterm"}
Uncaught exception: HOL_ERR {message = "on line 58, characters 7-55:\n\nType inference failure: unable to infer a type for the application of\n\n(installed (c :word8 list) (cbspace :num) (d :\206\177 word list) (data_sp :num)\n (conf :\206\180 config).lab_conf.ffi_names (ffi :num # num) :\n (\206\177, \206\178, \206\179) machine_config -> \206\178 -> bool)\n\non line 57, characters 4-70\n\nwhich has type\n\n:(\206\177, \206\178, \206\179) machine_config -> \206\178 -> bool\n\nto\n\nheap_regs x64_backend_config.stack_conf.reg_names\n\non line 58, characters 7-55\n\nwhich has type\n\n:num # num\n\nunification failure message: Attempt to unify different type operators: targetSem$machine_config and pair$prod\n", origin_function = "type-analysis", origin_structure = "Preterm"}