OverviewCakeML:8fdd0194b329a57cd807b1855f7e06df263a18a9
Improvement (again) in printing failure handling
#872 (printing-type-check-each-dec)
Merging into:4317d3f1cb4cafc7b1ea154c0e89e4dcae2700ba
Update COPYING
HOL:e4864e3ba3c8fea5d115169a4e7313252b80c5e5
Reformat tableauS4Script.sml, mostly to remove over-long lines
Machine:oven2 4.15.0-34-generic x86_64 GNU/Linux
Claimed job
Building HOL
Starting developers
Finished developers 3s 138MB
Starting developers/bin
Finished developers/bin 7s 1GB
Starting semantics/ffi
Finished semantics/ffi 11s 320MB
Starting semantics
Finished semantics 2m45s 1GB
Starting semantics/proofs
Finished semantics/proofs 5m07s 2GB
Starting semantics/alt_semantics
Finished semantics/alt_semantics 28s 537MB
Starting semantics/alt_semantics/proofs
Finished semantics/alt_semantics/proofs 4m42s 3GB
Starting basis/pure
Finished basis/pure 5m32s 1GB
Starting translator
Finished translator 5m02s 3GB
Starting compiler/parsing
Finished compiler/parsing 2m42s 4GB
Starting characteristic
Finished characteristic 11m17s 3GB
Starting translator/monadic
Finished translator/monadic 2m59s 3GB
Starting basis
Finished basis 1h14m53s 21GB
Starting compiler/inference
Finished compiler/inference 2m56s 1GB
Starting compiler/backend/reg_alloc
Finished compiler/backend/reg_alloc 3m31s 2GB
Starting compiler/backend/gc
Finished compiler/backend/gc 9m20s 3GB
Starting compiler/backend
Finished compiler/backend 12m25s 3GB
Starting compiler/encoders/asm
Finished compiler/encoders/asm 1m07s 1GB
Starting compiler/encoders/x64
Finished compiler/encoders/x64 2m38s 1GB
Starting compiler/encoders/arm7
Finished compiler/encoders/arm7 4m58s 1GB
Starting compiler/encoders/arm8
Finished compiler/encoders/arm8 1m42s 1GB
Starting compiler/encoders/arm8_asl
Finished compiler/encoders/arm8_asl 3h25m12s 37GB
Starting compiler/encoders/mips
Finished compiler/encoders/mips 1m52s 1GB
Starting compiler/encoders/riscv
Finished compiler/encoders/riscv 2m10s 1GB
Starting compiler/encoders/ag32
Finished compiler/encoders/ag32 26s 1GB
Starting compiler/backend/x64
Finished compiler/backend/x64 29s 1GB
Starting compiler/backend/arm7
Finished compiler/backend/arm7 32s 1GB
Starting compiler/backend/arm8
Finished compiler/backend/arm8 29s 1GB
Starting compiler/backend/mips
Finished compiler/backend/mips 30s 1GB
Starting compiler/backend/riscv
Finished compiler/backend/riscv 32s 1GB
Starting compiler/backend/ag32
Finished compiler/backend/ag32 1m44s 1GB
Starting compiler/parsing/proofs
Finished compiler/parsing/proofs 3m11s 1GB
Starting compiler/inference/proofs
Finished compiler/inference/proofs 3m04s 1GB
Starting compiler/backend/semantics
Finished compiler/backend/semantics 37m05s 5GB
Starting compiler/backend/reg_alloc/proofs
Finished compiler/backend/reg_alloc/proofs 3m58s 1GB
Starting compiler/backend/proofs
Finished compiler/backend/proofs 1h21m12s 16GB
Starting compiler/backend/serialiser
Finished compiler/backend/serialiser 2m23s 2GB
Starting compiler/encoders/x64/proofs
Finished compiler/encoders/x64/proofs 12m03s 5GB
Starting compiler/encoders/arm7/proofs
Finished compiler/encoders/arm7/proofs 15m51s 7GB
Starting compiler/encoders/arm8/proofs
Finished compiler/encoders/arm8/proofs 8m17s 2GB
Starting compiler/encoders/arm8_asl/proofs
Finished compiler/encoders/arm8_asl/proofs 1h06m40s 10GB
Starting compiler/encoders/mips/proofs
Finished compiler/encoders/mips/proofs 12m17s 3GB
Starting compiler/encoders/riscv/proofs
Finished compiler/encoders/riscv/proofs 11m29s 4GB
Starting compiler/encoders/ag32/proofs
Finished compiler/encoders/ag32/proofs 2m53s 1GB
Starting compiler/backend/x64/proofs
Finished compiler/backend/x64/proofs 34s 2GB
Starting compiler/backend/arm7/proofs
Finished compiler/backend/arm7/proofs 33s 1GB
Starting compiler/backend/arm8/proofs
Finished compiler/backend/arm8/proofs 32s 1GB
Starting compiler/backend/arm8_asl
Finished compiler/backend/arm8_asl 27s 1GB
Starting compiler/backend/mips/proofs
Finished compiler/backend/mips/proofs 34s 1GB
Starting compiler/backend/riscv/proofs
Finished compiler/backend/riscv/proofs 35s 2GB
Starting compiler/backend/ag32/proofs
Finished compiler/backend/ag32/proofs 16m35s 3GB
Starting compiler/proofs
Finished compiler/proofs 3m36s 3GB
Starting candle/set-theory
Finished candle/set-theory 56s 1GB
Starting candle/syntax-lib
Finished candle/syntax-lib 19s 860MB
Starting candle/standard/syntax
Finished candle/standard/syntax 2m32s 1GB
Starting candle/standard/semantics
Finished candle/standard/semantics 2m27s 2GB
Starting candle/standard/monadic
Finished candle/standard/monadic 2m26s 2GB
Starting candle/standard/ml_kernel
Finished candle/standard/ml_kernel 8m01s 5GB
Starting candle/overloading/syntax
Finished candle/overloading/syntax 4m25s 1GB
Starting candle/overloading/semantics
Finished candle/overloading/semantics 13m34s 5GB
Starting candle/overloading/monadic
Finished candle/overloading/monadic 3m00s 2GB
Starting candle/overloading/ml_kernel
Finished candle/overloading/ml_kernel 8m52s 4GB
Starting candle/overloading/ml_checker
Finished candle/overloading/ml_checker 2m57s 5GB
Starting candle/prover
Finished candle/prover 9m33s 4GB
Starting pancake
Finished pancake 5m01s 4GB
Starting pancake/ffi
Finished pancake/ffi 0s 35MB
Starting pancake/semantics
Finished pancake/semantics 3m36s 2GB
Starting pancake/proofs
Finished pancake/proofs 15m40s 5GB
Starting characteristic/examples
Finished characteristic/examples 1m53s 4GB
Starting tutorial/solutions
Finished tutorial/solutions 23m37s 17GB
Starting translator/monadic/examples
Finished translator/monadic/examples 7m06s 3GB
Starting examples
Finished examples 18m27s 5GB
Starting examples/compilation/x64
Finished examples/compilation/x64 4h06m22s 20GB
Starting examples/compilation/x64/proofs
Finished examples/compilation/x64/proofs 4m23s 4GB
Starting examples/compilation/ag32
Finished examples/compilation/ag32 54m55s 17GB
Starting examples/compilation/ag32/proofs
Finished examples/compilation/ag32/proofs 1m50s 5GB
Starting examples/cost
Finished examples/cost 1h59m57s 14GB
Starting examples/lpr_checker
Finished examples/lpr_checker 1m53s 2GB
Starting examples/lpr_checker/array
Finished examples/lpr_checker/array 52m00s 13GB
Starting examples/lpr_checker/array/compilation
Finished examples/lpr_checker/array/compilation 2h06m55s 35GB
Starting examples/lpr_checker/array/compilation/proofs
Finished examples/lpr_checker/array/compilation/proofs 2m22s 6GB
Starting examples/opentheory
Finished examples/opentheory 13m19s 6GB
Starting examples/opentheory
Finished examples/opentheory 1s 134MB
Starting examples/opentheory/compilation
Finished examples/opentheory/compilation 59m07s 38GB
Starting examples/opentheory/compilation/proofs
Finished examples/opentheory/compilation/proofs 1m33s 4GB
Starting examples/opentheory/compilation/ag32
Finished examples/opentheory/compilation/ag32 55m45s 34GB
Starting examples/opentheory/compilation/ag32/proofs
Finished examples/opentheory/compilation/ag32/proofs 2m24s 6GB
Starting examples/sat_encodings
Finished examples/sat_encodings 2m55s 1GB
Starting examples/sat_encodings/case_studies
Finished examples/sat_encodings/case_studies 2m20s 1GB
Starting examples/sat_encodings/translation
Finished examples/sat_encodings/translation 9m34s 4GB
Starting examples/sat_encodings/translation/compilation
Finished examples/sat_encodings/translation/compilation 1h55m00s 24GB
Starting translator/okasaki-examples
Finished translator/okasaki-examples 8m25s 3GB
Starting translator/other-examples
Finished translator/other-examples 2m57s 1GB
Starting compiler/parsing/tests
Finished compiler/parsing/tests 35s 701MB
Starting compiler/inference/tests
Finished compiler/inference/tests 8m47s 5GB
Starting compiler/printing/test
Finished compiler/printing/test 3m37s 4GB
Starting compiler/repl
Finished compiler/repl 13m48s 7GB
Starting compiler/bootstrap/translation
FAILED: compiler/bootstrap/translation
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/formal-languages/context-free[0m
Scanning [1m$(HOLDIR)/examples/machine-code/hoare-triple[0m
Scanning [1m$(HOLDIR)/src/ring/src[0m
Scanning [1m$(HOLDIR)/src/integer[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$(HOLDIR)/examples/l3-machine-code/lib[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/arm/model[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/arm8/model[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/mips/model[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/riscv/model[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/x64/model[0m
Scanning [1m$(HOLDIR)/examples/balanced_bst[0m
Scanning [1m$(HOLDIR)/examples/formal-languages[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$(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)/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$(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/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/step[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/arm8[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/arm8[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/step[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/riscv[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/riscv[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/reg_alloc/proofs[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/serialiser[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/monadic_enc[0m
Scanning [1m$(CAKEMLDIR)/compiler/inference/proofs[0m
Scanning [1m$(CAKEMLDIR)/compiler/parsing/ocaml[0m
Scanning [1m$(CAKEMLDIR)/candle/standard/ml_kernel/lisp[0m
Scanning [1m$(CAKEMLDIR)/candle/syntax-lib[0m
Scanning [1m$(CAKEMLDIR)/candle/standard/syntax[0m
Scanning [1m$(CAKEMLDIR)/candle/standard/monadic[0m
Scanning [1m$(CAKEMLDIR)/candle/standard/ml_kernel[0m
Scanning [1m$(CAKEMLDIR)/candle/set-theory[0m
Scanning [1m$(CAKEMLDIR)/candle/standard/semantics[0m
Scanning [1m$(CAKEMLDIR)/candle/prover[0m
Scanning [1m$(CAKEMLDIR)/compiler/printing[0m
Scanning [1m$(CAKEMLDIR)/compiler/repl[0m
Scanned 88 directories
Starting work on precparserTheory
Starting work on monadic_encTheory
Starting work on caml_lexTheory
Starting work on README.md
README.md compiler/bootstrap/translation (0s) OK
Starting work on decProgTheory
precparserTheory examples/formal-languages/context-free (1s) OK
Finished $(HOLDIR)/examples/formal-languages/context-free [#theories: 1] (1.580s)
monadic_encTheory compiler/encoders/monadic_enc (19s) OK
Starting work on monadic_enc32Theory
Starting work on monadic_enc64Theory
monadic_enc32Theory compiler/encoders/monadic_enc (28s) OK
monadic_enc64Theory compiler/encoders/monadic_enc (29s) OK
Finished $(CAKEMLDIR)/compiler/encoders/monadic_enc [#theories: 3] (77.750s)
decProgTheory compiler/bootstrap/translation(155s) OK
Starting work on to_flatProgTheory
caml_lexTheory compiler/parsing/ocaml(255s) OK
Starting work on camlPEGTheory
camlPEGTheory compiler/parsing/ocaml(118s) OK
Starting work on camlPtreeConversionTheory
camlPtreeConversionTheory compiler/parsing/ocaml (51s) OK
Starting work on caml_parserTheory
caml_parserTheory compiler/parsing/ocaml (15s) OK
Finished $(CAKEMLDIR)/compiler/parsing/ocaml [#theories: 4] (441.070s)
to_flatProgTheory compiler/bootstrap/translation(349s) OK
Starting work on to_closProgTheory
to_closProgTheory compiler/bootstrap/translation(480s) OK
Starting work on to_bvlProgTheory
to_bvlProgTheory compiler/bootstrap/translation(511s) OK
Starting work on to_bviProgTheory
to_bviProgTheory compiler/bootstrap/translation(401s) OK
Starting work on to_dataProgTheory
to_dataProgTheory compiler/bootstrap/translation(239s) OK
Starting work on lexerProgTheory
lexerProgTheory compiler/bootstrap/translation(192s) OK
Starting work on parserProgTheory
parserProgTheory compiler/bootstrap/translation(543s) OK
Starting work on caml_lexProgTheory
caml_lexProgTheory compiler/bootstrap/translation(445s) OK
Starting work on caml_parserProgTheory
caml_parserProgTheory compiler/bootstrap/translation(954s) OK
Starting work on reg_allocProgTheory
reg_allocProgTheory compiler/bootstrap/translation(992s) OK
Starting work on inferProgTheory
inferProgTheory compiler/bootstrap/translation (30m) OK
Starting work on explorerProgTheory
explorerProgTheory compiler/bootstrap/translation(864s) OK
Starting work on decodeProgTheory
decodeProgTheory compiler/bootstrap/translation(261s) OK
Starting work on sexp_parserProgTheory
sexp_parserProgTheory compiler/bootstrap/translation(237s) OK
Starting work on to_word32ProgTheory
Starting work on printingProgTheory
printingProgTheory compiler/bootstrap/translation(151s)FAIL<1>
Translating addprintvals_inf_t_to_ast_t_mono
Saved theorem _______ "nsLookup_printingProg_env_22_pfun_eqs"
Adding nsLookup representation thms for [printingProg_env_21]
Adding nsLookup representation thms for [printingProg_env_22]
Saved theorem _______ "addprintvals_inf_t_to_ast_t_mono_v_thm"
/home/myreen/regression/cakeml-1848/compiler/bootstrap/translation/printingProgScript.sml:68: error: Value or constructor (print_of_val_def) has not been declared in structure addPrintValsTheory
Found near translate addPrintValsTheory.print_of_val_def
error in quse /home/myreen/regression/cakeml-1848/compiler/bootstrap/translation/printingProgScript.sml : Fail "Static Errors"
error in load /home/myreen/regression/cakeml-1848/compiler/bootstrap/translation/printingProgScript : Fail "Static Errors"
Uncaught exception: Fail "Static Errors"
to_word32ProgTheory compiler/bootstrap/translation(152s)MKILLED