CakeML:9ad8b96881f0112ad0b464bf4d41efa106654951
Alpha-Rename some variables to provide human intuition
#1047 (alpha-renaming)
Merging into:a61f2812e286bddf33d858448ec9dd5d671bbfcb
Merge pull request #1025 from talsewell/word_simp_separated_if
HOL:5fc7a6047d48839800489adfb2c2eac7f3ffd5fc
Add missing export
Machine:pavlova
Claimed job
Reusing HOL
Starting developers
Finished developers 2s 207MB
Starting developers/bin
Finished developers/bin 9s 1GB
Starting compiler/proofs
Finished compiler/proofs 1h54m02s 34GB
Starting compiler/bootstrap/translation
FAILED: compiler/bootstrap/translation
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)/examples/formal-languages/context-free
Scanning $(HOLDIR)/examples/machine-code/hoare-triple
Scanning $(HOLDIR)/src/ring/src
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/monad/more_monads
Scanning $(HOLDIR)/src/update
Scanning $(HOLDIR)/examples/l3-machine-code/common
Scanning $(HOLDIR)/examples/l3-machine-code/lib
Scanning $(HOLDIR)/examples/l3-machine-code/arm/model
Scanning $(HOLDIR)/examples/l3-machine-code/arm8/model
Scanning $(HOLDIR)/examples/l3-machine-code/mips/model
Scanning $(HOLDIR)/examples/l3-machine-code/riscv/model
Scanning $(HOLDIR)/examples/l3-machine-code/x64/model
Scanning $(HOLDIR)/examples/balanced_bst
Scanning $(HOLDIR)/examples/formal-languages
Scanning $(HOLDIR)/examples/formal-languages/regular
Scanning $(HOLDIR)/src/coalgebras
Scanning $(HOLDIR)/examples/fun-op-sem/lprefix_lub
Scanning $(CAKEMLDIR)/developers
Scanning $(CAKEMLDIR)/misc
Scanning $(CAKEMLDIR)/semantics/ffi
Scanning $(CAKEMLDIR)/semantics
Scanning $(CAKEMLDIR)/basis/pure
Scanning $(CAKEMLDIR)/semantics/proofs
Scanning $(CAKEMLDIR)/compiler/parsing
Scanning $(CAKEMLDIR)/translator
Scanning $(CAKEMLDIR)/characteristic
Scanning $(CAKEMLDIR)/translator/monadic/monad_base
Scanning $(CAKEMLDIR)/translator/monadic
Scanning $(CAKEMLDIR)/basis
Scanning $(HOLDIR)/examples/algorithms
Scanning $(HOLDIR)/examples/machine-code/multiword
Scanning $(CAKEMLDIR)/compiler/backend/pattern_matching
Scanning $(CAKEMLDIR)/unverified/reg_alloc
Scanning $(CAKEMLDIR)/compiler/backend/reg_alloc
Scanning $(CAKEMLDIR)/compiler/encoders/asm
Scanning $(CAKEMLDIR)/compiler/backend
Scanning $(CAKEMLDIR)/compiler/encoders/ag32
Scanning $(CAKEMLDIR)/compiler/backend/ag32
Scanning $(HOLDIR)/examples/machine-code/decompiler
Scanning $(HOLDIR)/examples/l3-machine-code
Scanning $(HOLDIR)/examples/l3-machine-code/arm/step
Scanning $(CAKEMLDIR)/compiler/encoders/arm7
Scanning $(CAKEMLDIR)/compiler/backend/arm7
Scanning $(HOLDIR)/examples/l3-machine-code/arm8/step
Scanning $(CAKEMLDIR)/compiler/encoders/arm8
Scanning $(CAKEMLDIR)/compiler/backend/arm8
Scanning $(HOLDIR)/examples/l3-machine-code/mips/step
Scanning $(CAKEMLDIR)/compiler/encoders/mips
Scanning $(CAKEMLDIR)/compiler/backend/mips
Scanning $(HOLDIR)/examples/l3-machine-code/riscv/step
Scanning $(CAKEMLDIR)/compiler/encoders/riscv
Scanning $(CAKEMLDIR)/compiler/backend/riscv
Scanning $(HOLDIR)/examples/l3-machine-code/x64/step
Scanning $(CAKEMLDIR)/compiler/encoders/x64
Scanning $(CAKEMLDIR)/compiler/backend/x64
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)/pancake
Scanning $(CAKEMLDIR)/pancake/parser
Scanning $(CAKEMLDIR)/compiler
Scanning $(CAKEMLDIR)/compiler/backend/reg_alloc/proofs
Scanning $(CAKEMLDIR)/compiler/backend/serialiser
Scanning $(CAKEMLDIR)/compiler/encoders/monadic_enc
Scanning $(CAKEMLDIR)/compiler/parsing/ocaml
Scanning $(CAKEMLDIR)/candle/standard/ml_kernel/lisp
Scanning $(CAKEMLDIR)/candle/syntax-lib
Scanning $(CAKEMLDIR)/candle/standard/syntax
Scanning $(CAKEMLDIR)/candle/standard/monadic
Scanning $(CAKEMLDIR)/candle/standard/ml_kernel
Scanning $(CAKEMLDIR)/candle/set-theory
Scanning $(CAKEMLDIR)/candle/standard/semantics
Scanning $(CAKEMLDIR)/candle/prover/compute
Scanning $(CAKEMLDIR)/candle/prover
Scanning $(CAKEMLDIR)/compiler/inference/proofs
Scanning $(CAKEMLDIR)/compiler/printing
Scanning $(CAKEMLDIR)/compiler/repl
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 (19s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 1] (19.710s)
Starting work on basis_ffiTheory
ml_monadStoreTheory translator/monadic (33s) OK
Finished $(CAKEMLDIR)/translator/monadic [#theories: 1] (33.580s)
Starting work on unify_cvTheory
ListProofTheory basis (35s) OK
Starting work on num_list_enc_decTheory
unify_cvTheory compiler/inference (24s) OK
Starting work on infer_cvTheory
num_list_enc_decTheory compiler/backend/serialiser (30s) OK
Starting work on num_tree_enc_decTheory
ArrayProofTheory basis (72s) OK
Starting work on monadic_encTheory
monadic_encTheory compiler/encoders/monadic_enc (18s) OK
Starting work on monadic_enc32Theory
num_tree_enc_decTheory compiler/backend/serialiser (23s) OK
Starting work on backend_enc_decTheory
basis_ffiTheory basis (71s) OK
Finished $(CAKEMLDIR)/basis [#theories: 3] (179.570s)
Starting work on monadic_enc64Theory
monadic_enc32Theory compiler/encoders/monadic_enc (24s) OK
Starting work on caml_lexTheory
monadic_enc64Theory compiler/encoders/monadic_enc (24s) OK
Finished $(CAKEMLDIR)/compiler/encoders/monadic_enc [#theories: 3] (67.320s)
Starting work on lisp_valuesTheory
lisp_valuesTheory candle/standard/ml_kernel/lisp (2s) 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
infer_cvTheory compiler/inference (67s) OK
Finished $(CAKEMLDIR)/compiler/inference [#theories: 2] (91.880s)
Starting work on holSyntaxLibTheory
lisp_parsing_proofsTheory candle/standard/ml_kernel/lisp (4s) OK
Finished $(CAKEMLDIR)/candle/standard/ml_kernel/lisp [#theories: 4] (11.880s)
Starting work on ast_extrasTheory
holSyntaxLibTheory candle/syntax-lib (18s) OK
Finished $(CAKEMLDIR)/candle/syntax-lib [#theories: 1] (18.900s)
Starting work on holSyntaxTheory
backend_enc_decTheory compiler/backend/serialiser (55s) OK
Finished $(CAKEMLDIR)/compiler/backend/serialiser [#theories: 3] (108.550s)
Starting work on addPrintValsTheory
ast_extrasTheory candle/prover (18s) OK
Starting work on permsTheory
addPrintValsTheory compiler/printing (17s) OK
Starting work on addTypePPTheory
holSyntaxTheory candle/standard/syntax (30s) OK
Starting work on holSyntaxExtraTheory
addTypePPTheory compiler/printing (13s) OK
Starting work on printTweaksTheory
printTweaksTheory compiler/printing (16s) OK
Finished $(CAKEMLDIR)/compiler/printing [#theories: 3] (48.440s)
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 (45s) OK
Starting work on holKernelPmatchTheory
Starting work on holKernelProofTheory
holAxiomsSyntaxTheory candle/standard/syntax (24s) OK
Finished $(CAKEMLDIR)/candle/standard/syntax [#theories: 4] (139.100s)
Starting work on runtime_checkTheory
holKernelPmatchTheory candle/standard/monadic (28s) OK
Starting work on print_thmTheory
runtime_checkTheory candle/standard/ml_kernel (23s) OK
Starting work on ml_hol_kernel_funsProgTheory
print_thmTheory candle/standard/ml_kernel (20s) OK
holKernelProofTheory candle/standard/monadic (69s) OK
Finished $(CAKEMLDIR)/candle/standard/monadic [#theories: 3] (143.510s)
Starting work on compute_syntaxTheory
compute_syntaxTheory candle/prover/compute (28s) OK
Starting work on compute_evalTheory
caml_lexTheory compiler/parsing/ocaml(249s) OK
Starting work on camlPEGTheory
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
compute_pmatchTheory candle/prover/compute (27s) OK
Finished $(CAKEMLDIR)/candle/prover/compute [#theories: 5] (128.240s)
camlPEGTheory compiler/parsing/ocaml(120s) OK
Starting work on camlPtreeConversionTheory
camlPtreeConversionTheory compiler/parsing/ocaml (69s) OK
Starting work on caml_parserTheory
caml_parserTheory compiler/parsing/ocaml (20s) OK
Finished $(CAKEMLDIR)/compiler/parsing/ocaml [#theories: 4] (460.040s)
ml_hol_kernel_funsProgTheory candle/standard/ml_kernel(283s) OK
Finished $(CAKEMLDIR)/candle/standard/ml_kernel [#theories: 3] (327.430s)
Starting work on candle_kernelProgTheory
candle_kernelProgTheory candle/prover(618s) OK
Starting work on candle_kernel_valsTheory
Starting work on repl_moduleProgTheory
repl_moduleProgTheory compiler/repl(107s) OK
Starting work on repl_init_envProgTheory
candle_kernel_valsTheory candle/prover(115s) OK
Starting work on candle_prover_invTheory
candle_prover_invTheory candle/prover (37s) OK
Finished $(CAKEMLDIR)/candle/prover [#theories: 5] (877.650s)
Starting work on repl_decs_allowedTheory
repl_init_envProgTheory compiler/repl (52s) OK
repl_decs_allowedTheory compiler/repl (37s) OK
Starting work on repl_check_and_tweakTheory
Starting work on decProgTheory
repl_check_and_tweakTheory compiler/repl (66s) OK
Starting work on repl_init_typesTheory
repl_init_typesTheory compiler/repl (89s)FAIL<1>
Starting translation of init_config from inferTheory.
Starting translation of recordtype.type_env.seldef.c from typeSystemTheory.
Saved theorem _______ "cv_recordtype_type_env_seldef_c_thm"
Finished translating recordtype.type_env.seldef.c, stored in cv_recordtype_type_env_seldef_c_thm
Starting translation of init_config from inferTheory.
Saved theorem _______ "cv_init_config_thm"
Finished translating init_config, stored in cv_init_config_thm
error in quse /scratch/cakeml/regression/cakeml-2571/compiler/repl/repl_init_typesScript.sml : HOL_ERR {message = "Type inference failed with message: Undefined variable: f", origin_function = "failwith", origin_structure = "??"}
error in load /scratch/cakeml/regression/cakeml-2571/compiler/repl/repl_init_typesScript : HOL_ERR {message = "Type inference failed with message: Undefined variable: f", origin_function = "failwith", origin_structure = "??"}
Uncaught exception: HOL_ERR {message = "Type inference failed with message: Undefined variable: f", origin_function = "failwith", origin_structure = "??"}
decProgTheory compiler/bootstrap/translation(164s)MKILLED