CakeML:a1782b6c01ebb17fe5dd585d0de35fec71b2fd22
pancake: also for pan_to_wordProofScript
#1016 (master)
Merging into:1791142331ecadf0de62e3834aa2785ffbd51f8b
Make a theorem name unambiguous
HOL:c37de731916a5fe5fdc6218d4b2e19234435e4ce
Add lots of regexp matching regression tests for DBSearchParser
Machine:lammmington
Claimed job
Reusing HOL
Starting developers
Finished developers 2s 218MB
Starting developers/bin
Finished developers/bin 9s 1GB
Starting compiler/proofs
Finished compiler/proofs 1h50m40s 42GB
Starting compiler/bootstrap/translation
FAILED: compiler/bootstrap/translation
Scanning [1m$(HOLDIR)/src/bag[0m
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/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/transfer[0m
Scanning [1m$(HOLDIR)/src/pred_set/src/more_theories[0m
Scanning [1m$(HOLDIR)/src/algebra/base[0m
Scanning [1m$(HOLDIR)/src/algebra/construction[0m
Scanning [1m$(HOLDIR)/src/algebra[0m
Scanning [1m$(HOLDIR)/src/hol88[0m
Scanning [1m$(HOLDIR)/src/rational[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)/src/transfer/examples[0m
Scanning [1m$(HOLDIR)/examples/algorithms/unification/triangular/first-order[0m
Scanning [1m$(HOLDIR)/examples/algorithms/unification/triangular/first-order/compilation[0m
Scanning [1m$(CAKEMLDIR)/compiler/inference[0m
Scanning [1m$(CAKEMLDIR)/pancake[0m
Scanning [1m$(CAKEMLDIR)/pancake/parser[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/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/compute[0m
Scanning [1m$(CAKEMLDIR)/candle/prover[0m
Scanning [1m$(CAKEMLDIR)/compiler/inference/proofs[0m
Scanning [1m$(CAKEMLDIR)/compiler/printing[0m
Scanning [1m$(CAKEMLDIR)/compiler/repl[0m
Scanned 97 directories
Starting work on basis_cvTheory
Starting work on ml_monadStoreTheory
Starting work on ArrayProofTheory
Starting work on ListProofTheory
basis_cvTheory basis/pure (18s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 1] (18.990s)
Starting work on basis_ffiTheory
ml_monadStoreTheory translator/monadic (31s) OK
Finished $(CAKEMLDIR)/translator/monadic [#theories: 1] (31.580s)
Starting work on unify_cvTheory
ListProofTheory basis (34s) OK
Starting work on num_list_enc_decTheory
unify_cvTheory compiler/inference (22s) OK
Starting work on infer_cvTheory
num_list_enc_decTheory compiler/backend/serialiser (28s) OK
Starting work on num_tree_enc_decTheory
ArrayProofTheory basis (72s) OK
Starting work on monadic_encTheory
basis_ffiTheory basis (66s) OK
Finished $(CAKEMLDIR)/basis [#theories: 3] (174.330s)
Starting work on caml_lexTheory
num_tree_enc_decTheory compiler/backend/serialiser (21s) OK
Starting work on backend_enc_decTheory
monadic_encTheory compiler/encoders/monadic_enc (19s) OK
Starting work on monadic_enc32Theory
monadic_enc32Theory compiler/encoders/monadic_enc (22s) OK
Starting work on monadic_enc64Theory
infer_cvTheory compiler/inference (66s) OK
Finished $(CAKEMLDIR)/compiler/inference [#theories: 2] (88.900s)
Starting work on lisp_valuesTheory
lisp_valuesTheory candle/standard/ml_kernel/lisp (1s) OK
Starting work on lisp_parsingTheory
lisp_parsingTheory candle/standard/ml_kernel/lisp (2s) OK
Starting work on lisp_printingTheory
lisp_printingTheory candle/standard/ml_kernel/lisp (2s) OK
Starting work on lisp_parsing_proofsTheory
lisp_parsing_proofsTheory candle/standard/ml_kernel/lisp (4s) OK
Finished $(CAKEMLDIR)/candle/standard/ml_kernel/lisp [#theories: 4] (11.580s)
Starting work on holSyntaxLibTheory
backend_enc_decTheory compiler/backend/serialiser (53s) OK
Finished $(CAKEMLDIR)/compiler/backend/serialiser [#theories: 3] (104.190s)
Starting work on ast_extrasTheory
monadic_enc64Theory compiler/encoders/monadic_enc (24s) OK
Finished $(CAKEMLDIR)/compiler/encoders/monadic_enc [#theories: 3] (67.030s)
Starting work on addPrintValsTheory
holSyntaxLibTheory candle/syntax-lib (17s) OK
Finished $(CAKEMLDIR)/candle/syntax-lib [#theories: 1] (17.880s)
Starting work on holSyntaxTheory
addPrintValsTheory compiler/printing (14s) OK
Starting work on addTypePPTheory
ast_extrasTheory candle/prover (17s) OK
Starting work on permsTheory
addTypePPTheory compiler/printing (9s) OK
Starting work on printTweaksTheory
holSyntaxTheory candle/standard/syntax (27s) OK
Starting work on holSyntaxExtraTheory
printTweaksTheory compiler/printing (13s) OK
Finished $(CAKEMLDIR)/compiler/printing [#theories: 3] (37.510s)
Starting work on README.md
README.md compiler/bootstrap/translation (0s) OK
holSyntaxExtraTheory candle/standard/syntax (46s) OK
Starting work on holBoolSyntaxTheory
Starting work on holKernelTheory
permsTheory candle/prover (88s) OK
holBoolSyntaxTheory candle/standard/syntax (38s) OK
Starting work on holAxiomsSyntaxTheory
holKernelTheory candle/standard/monadic (46s) OK
Starting work on holKernelPmatchTheory
Starting work on holKernelProofTheory
holAxiomsSyntaxTheory candle/standard/syntax (22s) OK
Finished $(CAKEMLDIR)/candle/standard/syntax [#theories: 4] (134.970s)
Starting work on runtime_checkTheory
holKernelPmatchTheory candle/standard/monadic (28s) OK
Starting work on print_thmTheory
runtime_checkTheory candle/standard/ml_kernel (21s) OK
Starting work on ml_hol_kernel_funsProgTheory
print_thmTheory candle/standard/ml_kernel (20s) OK
caml_lexTheory compiler/parsing/ocaml(242s) OK
Starting work on camlPEGTheory
holKernelProofTheory candle/standard/monadic (70s) OK
Finished $(CAKEMLDIR)/candle/standard/monadic [#theories: 3] (144.350s)
Starting work on compute_syntaxTheory
compute_syntaxTheory candle/prover/compute (28s) OK
Starting work on compute_evalTheory
compute_evalTheory candle/prover/compute (26s) OK
Starting work on compute_execTheory
compute_execTheory candle/prover/compute (23s) OK
Starting work on computeTheory
computeTheory candle/prover/compute (21s) OK
Starting work on compute_pmatchTheory
camlPEGTheory compiler/parsing/ocaml(117s) OK
Starting work on camlPtreeConversionTheory
compute_pmatchTheory candle/prover/compute (26s) OK
Finished $(CAKEMLDIR)/candle/prover/compute [#theories: 5] (126.810s)
camlPtreeConversionTheory compiler/parsing/ocaml (67s) OK
Starting work on caml_parserTheory
caml_parserTheory compiler/parsing/ocaml (19s) OK
Finished $(CAKEMLDIR)/compiler/parsing/ocaml [#theories: 4] (447.870s)
ml_hol_kernel_funsProgTheory candle/standard/ml_kernel(274s) OK
Finished $(CAKEMLDIR)/candle/standard/ml_kernel [#theories: 3] (317.220s)
Starting work on candle_kernelProgTheory
candle_kernelProgTheory candle/prover(597s) OK
Starting work on candle_kernel_valsTheory
Starting work on repl_moduleProgTheory
repl_moduleProgTheory compiler/repl(103s) OK
Starting work on repl_init_envProgTheory
candle_kernel_valsTheory candle/prover(113s) OK
Starting work on candle_prover_invTheory
candle_prover_invTheory candle/prover (35s) OK
Finished $(CAKEMLDIR)/candle/prover [#theories: 5] (853.360s)
Starting work on repl_decs_allowedTheory
repl_init_envProgTheory compiler/repl (49s) OK
repl_decs_allowedTheory compiler/repl (35s) OK
Starting work on repl_check_and_tweakTheory
Starting work on decProgTheory
repl_check_and_tweakTheory compiler/repl (62s) OK
Starting work on repl_init_typesTheory
decProgTheory compiler/bootstrap/translation(156s) OK
Starting work on to_flatProgTheory
repl_init_typesTheory compiler/repl (86s) OK
Finished $(CAKEMLDIR)/compiler/repl [#theories: 5] (337.130s)
to_flatProgTheory compiler/bootstrap/translation(323s) OK
Starting work on to_closProgTheory
to_closProgTheory compiler/bootstrap/translation(720s) OK
Starting work on to_bvlProgTheory
to_bvlProgTheory compiler/bootstrap/translation(541s) OK
Starting work on to_bviProgTheory
to_bviProgTheory compiler/bootstrap/translation(445s) OK
Starting work on to_dataProgTheory
to_dataProgTheory compiler/bootstrap/translation(261s) OK
Starting work on lexerProgTheory
lexerProgTheory compiler/bootstrap/translation(203s) OK
Starting work on parserProgTheory
parserProgTheory compiler/bootstrap/translation(684s) OK
Starting work on caml_lexProgTheory
caml_lexProgTheory compiler/bootstrap/translation(492s) OK
Starting work on caml_parserProgTheory
caml_parserProgTheory compiler/bootstrap/translation (27m) OK
Starting work on pancake_lexProgTheory
pancake_lexProgTheory compiler/bootstrap/translation(172s) OK
Starting work on pancake_parseProgTheory
pancake_parseProgTheory compiler/bootstrap/translation(262s) OK
Starting work on reg_allocProgTheory
reg_allocProgTheory compiler/bootstrap/translation (16m) OK
Starting work on inferProgTheory
inferProgTheory compiler/bootstrap/translation (39m) OK
Starting work on explorerProgTheory
explorerProgTheory compiler/bootstrap/translation(976s) OK
Starting work on decodeProgTheory
decodeProgTheory compiler/bootstrap/translation(309s) OK
Starting work on sexp_parserProgTheory
sexp_parserProgTheory compiler/bootstrap/translation(327s) OK
Starting work on to_word32ProgTheory
Starting work on printingProgTheory
printingProgTheory compiler/bootstrap/translation(209s) OK
Starting work on to_word64ProgTheory
to_word32ProgTheory compiler/bootstrap/translation (31m) OK
Starting work on to_target32ProgTheory
to_word64ProgTheory compiler/bootstrap/translation (32m) OK
Starting work on to_target64ProgTheory
to_target32ProgTheory compiler/bootstrap/translation (17m) OK
Starting work on from_pancake32ProgTheory
to_target64ProgTheory compiler/bootstrap/translation (17m) OK
Starting work on from_pancake64ProgTheory
from_pancake32ProgTheory compiler/bootstrap/translation(521s)FAIL<1>
Saved theorem _______ "nsLookup_from_pancake32Prog_env_96_pfun_eqs"
Adding nsLookup representation thms for [from_pancake32Prog_env_96]
Saved theorem _______ "crep_to_loop_compile_exp_v_thm"
Saved theorem _______ "crep_to_loop_compile_exps_v_thm"
Adding type : crepLang$exp
Failed translation: call_label
Failed translation: !
error in quse /scratch/cakeml/regression2/cakeml-2466/compiler/bootstrap/translation/from_pancake32ProgScript.sml : HOL_ERR {message = "\"fcp$cart\" is not a datatype", origin_function = "axiom_of", origin_structure = "TypeBasePure"}
error in load /scratch/cakeml/regression2/cakeml-2466/compiler/bootstrap/translation/from_pancake32ProgScript : HOL_ERR {message = "\"fcp$cart\" is not a datatype", origin_function = "axiom_of", origin_structure = "TypeBasePure"}
Uncaught exception: HOL_ERR {message = "\"fcp$cart\" is not a datatype", origin_function = "axiom_of", origin_structure = "TypeBasePure"}
from_pancake64ProgTheory compiler/bootstrap/translation(256s)MKILLED