CakeML:408f2a2ad6a50c336b5f97b54287a70e54dc874c
fix pan_passes
#1395 (loop-break-n)
Merging into:7ed0687ad18fbde4e9755a2d2efcf900ae85b78f
Merge pull request #1393 from talsewell/pan_shape_merge3
HOL:60700bdf7cbbfca4f59cf0a84c07c2ce018801cc
Check for mlton in the PATH when building postkernel/prooftrace
Machine:timtam
Claimed job
Reusing HOL
Starting developers
Finished developers 4s 124MB
Starting developers/bin
Finished developers/bin 3s 94MB
Starting misc
Finished misc 44s 1GB
Starting compiler/proofs
Finished compiler/proofs 1h01m25s 11GB
Starting compiler/bootstrap/compilation/x64/64/proofs
FAILED: compiler/bootstrap/compilation/x64/64/proofs
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
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 $(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 $(HOLDIR)/src/floating-point
Scanning $(HOLDIR)/src/monad/more_monads
Scanning $(HOLDIR)/src/update
Scanning $(HOLDIR)/examples/l3-machine-code/common
Scanning $(CAKEMLDIR)/compiler/encoders/asm
Scanning $(CAKEMLDIR)/compiler/backend
Scanning $(CAKEMLDIR)/compiler/backend/gc
Scanning $(CAKEMLDIR)/compiler/backend/reg_alloc/proofs
Scanning $(CAKEMLDIR)/semantics/alt_semantics
Scanning $(CAKEMLDIR)/semantics/alt_semantics/proofs
Scanning $(CAKEMLDIR)/compiler/backend/semantics
Scanning $(CAKEMLDIR)/compiler/backend/proofs
Scanning $(HOLDIR)/examples/l3-machine-code/lib
Scanning $(HOLDIR)/examples/l3-machine-code/x64/model
Scanning $(HOLDIR)/examples/machine-code/decompiler
Scanning $(HOLDIR)/examples/l3-machine-code
Scanning $(HOLDIR)/examples/l3-machine-code/x64/step
Scanning $(CAKEMLDIR)/compiler/encoders/x64
Scanning $(CAKEMLDIR)/compiler/backend/x64
Scanning $(HOLDIR)/examples/l3-machine-code/x64/prog
Scanning $(CAKEMLDIR)/compiler/encoders/x64/proofs
Scanning $(CAKEMLDIR)/compiler/backend/x64/proofs
Scanning $(CAKEMLDIR)/compiler/encoders/ag32
Scanning $(CAKEMLDIR)/compiler/backend/ag32
Scanning $(HOLDIR)/examples/l3-machine-code/arm/model
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/model
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/model
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/model
Scanning $(HOLDIR)/examples/l3-machine-code/riscv/step
Scanning $(CAKEMLDIR)/compiler/encoders/riscv
Scanning $(CAKEMLDIR)/compiler/backend/riscv
Scanning $(CAKEMLDIR)/pancake
Scanning $(CAKEMLDIR)/pancake/parser
Scanning $(CAKEMLDIR)/compiler
Scanning $(CAKEMLDIR)/compiler/backend/serialiser
Scanning $(CAKEMLDIR)/compiler/encoders/monadic_enc
Scanning $(CAKEMLDIR)/compiler/parsing/ocaml
Scanning $(CAKEMLDIR)/compiler/inference/proofs
Scanning $(CAKEMLDIR)/compiler/repl
Scanning $(CAKEMLDIR)/compiler/bootstrap/translation
Scanning $(HOLDIR)/src/num/theories/cv_compute/automation
Scanning $(HOLDIR)/examples/bootstrap
Scanning $(CAKEMLDIR)/compiler/backend/cv_compute
Scanning $(CAKEMLDIR)/cv_translator
Scanning $(CAKEMLDIR)/unverified/sexpr-bootstrap
Scanning $(CAKEMLDIR)/compiler/bootstrap/compilation/x64/64
Scanned 111 directories
Starting work on basis_cvTheory
Starting work on addPrintValsTheory
Starting work on ml_monadStoreTheory
Starting work on holSyntaxLibTheory
basis_cvTheory basis/pure (11s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 1] (11.250s)
Starting work on source_cvTheory
holSyntaxLibTheory candle/syntax-lib (13s) OK
Starting work on unify_cvTheory
addPrintValsTheory compiler/printing (14s) OK
Starting work on printTweaksTheory
ml_monadStoreTheory translator/monadic (19s) OK
Finished $(CAKEMLDIR)/translator/monadic [#theories: 1] (19.040s)
Finished $(CAKEMLDIR)/candle/syntax-lib [#theories: 1] (13.480s)
Starting work on holSyntaxTheory
source_cvTheory semantics/proofs (12s) OK
Finished $(CAKEMLDIR)/semantics/proofs [#theories: 1] (12.120s)
Starting work on ast_extrasTheory
printTweaksTheory compiler/printing (11s) OK
Finished $(CAKEMLDIR)/compiler/printing [#theories: 2] (25.750s)
Finished $(CAKEMLDIR)/unverified/reg_alloc (0.000s)
Finished $(CAKEMLDIR)/compiler/backend/reg_alloc (0.000s)
Starting work on x64_targetProofTheory
unify_cvTheory compiler/inference (19s) OK
Starting work on infer_cvTheory
ast_extrasTheory candle/prover (13s) OK
Starting work on permsTheory
holSyntaxTheory candle/standard/syntax (22s) OK
Starting work on holSyntaxExtraTheory
permsTheory candle/prover (39s) OK
Starting work on num_list_enc_decTheory
holSyntaxExtraTheory candle/standard/syntax (35s) OK
Starting work on holBoolSyntaxTheory
infer_cvTheory compiler/inference (46s) OK
Finished $(CAKEMLDIR)/compiler/inference [#theories: 2] (66.460s)
Starting work on holKernelTheory
num_list_enc_decTheory compiler/backend/serialiser (23s) OK
Starting work on num_tree_enc_decTheory
holBoolSyntaxTheory candle/standard/syntax (28s) OK
Starting work on holAxiomsSyntaxTheory
holKernelTheory candle/standard/monadic (33s) OK
Starting work on holKernelPmatchTheory
num_tree_enc_decTheory compiler/backend/serialiser (17s) OK
Starting work on holKernelProofTheory
holAxiomsSyntaxTheory candle/standard/syntax (16s) OK
Finished $(CAKEMLDIR)/candle/standard/syntax [#theories: 4] (103.540s)
Starting work on runtime_checkTheory
holKernelPmatchTheory candle/standard/monadic (20s) OK
Starting work on print_thmTheory
runtime_checkTheory candle/standard/ml_kernel (18s) OK
Starting work on ml_hol_kernel_funsProgTheory
print_thmTheory candle/standard/ml_kernel (16s) OK
Starting work on backend_enc_decTheory
holKernelProofTheory candle/standard/monadic (48s) OK
Finished $(CAKEMLDIR)/candle/standard/monadic [#theories: 3] (101.900s)
Starting work on compute_syntaxTheory
compute_syntaxTheory candle/prover/compute (24s) OK
Starting work on compute_evalTheory
compute_evalTheory candle/prover/compute (22s) OK
Starting work on compute_execTheory
backend_enc_decTheory compiler/backend/serialiser (58s) OK
Starting work on compute_syntaxProofTheory
compute_execTheory candle/prover/compute (18s) OK
Starting work on computeTheory
computeTheory candle/prover/compute (17s) OK
Starting work on compute_pmatchTheory
compute_pmatchTheory candle/prover/compute (19s) OK
Finished $(CAKEMLDIR)/compiler/backend/serialiser [#theories: 3] (99.480s)
Starting work on monadic_encTheory
monadic_encTheory compiler/encoders/monadic_enc (13s) OK
Starting work on monadic_enc64Theory
compute_syntaxProofTheory candle/prover/compute (76s) OK
Starting work on compute_evalProofTheory
monadic_enc64Theory compiler/encoders/monadic_enc (17s) OK
Finished $(CAKEMLDIR)/compiler/encoders/monadic_enc [#theories: 2] (31.070s)
Starting work on caml_lexTheory
compute_evalProofTheory candle/prover/compute (50s) OK
Starting work on compute_execProofTheory
ml_hol_kernel_funsProgTheory candle/standard/ml_kernel(200s) OK
Finished $(CAKEMLDIR)/candle/standard/ml_kernel [#theories: 3] (235.710s)
Starting work on candle_kernelProgTheory
compute_execProofTheory candle/prover/compute (16s) OK
Starting work on computeProofTheory
computeProofTheory candle/prover/compute (39s) OK
Finished $(CAKEMLDIR)/candle/prover/compute [#theories: 9] (282.820s)
Starting work on evaluate_skipTheory
x64_targetProofTheory compiler/encoders/x64/proofs(465s) OK
Finished $(CAKEMLDIR)/compiler/encoders/x64/proofs [#theories: 1] (465.780s)
Starting work on x64_configProofTheory
candle_kernelProgTheory candle/prover(130s) OK
Starting work on candle_kernel_valsTheory
evaluate_skipTheory compiler/repl (89s) OK
Starting work on evaluate_initTheory
x64_configProofTheory compiler/backend/x64/proofs (31s) OK
Finished $(CAKEMLDIR)/compiler/backend/x64/proofs [#theories: 1] (31.620s)
Starting work on repl_moduleProgTheory
candle_kernel_valsTheory candle/prover (83s) OK
Starting work on candle_prover_invTheory
caml_lexTheory compiler/parsing/ocaml(258s) OK
Starting work on camlPEGTheory
candle_prover_invTheory candle/prover (33s) OK
Starting work on candle_kernel_permsTheory
repl_moduleProgTheory compiler/repl(101s) OK
Starting work on repl_decs_allowedTheory
repl_decs_allowedTheory compiler/repl (33s) OK
Starting work on repl_check_and_tweakTheory
camlPEGTheory compiler/parsing/ocaml(100s) OK
Starting work on camlPtreeConversionTheory
repl_check_and_tweakTheory compiler/repl (52s) OK
Starting work on repl_init_envProgTheory
candle_kernel_permsTheory candle/prover(136s) OK
Starting work on candle_kernel_funsTheory
camlPtreeConversionTheory compiler/parsing/ocaml (63s) OK
Starting work on caml_parserTheory
repl_init_envProgTheory compiler/repl (53s) OK
Starting work on repl_init_typesTheory
caml_parserTheory compiler/parsing/ocaml (15s) OK
Finished $(CAKEMLDIR)/compiler/parsing/ocaml [#theories: 4] (438.020s)
Starting work on decProgTheory
candle_kernel_funsTheory candle/prover (62s) OK
Starting work on candle_prover_evaluateTheory
evaluate_initTheory compiler/repl(336s) OK
Starting work on repl_typesTheory
repl_init_typesTheory compiler/repl (76s) OK
Starting work on backend_asmTheory
candle_prover_evaluateTheory candle/prover (61s) OK
Starting work on candle_basis_evaluateTheory
backend_asmTheory compiler/backend/cv_compute (23s) OK
Starting work on backend_arm8Theory
repl_typesTheory compiler/repl (70s) OK
Starting work on repl_initTheory
decProgTheory compiler/bootstrap/translation(123s) OK
Starting work on to_flatProgTheory
backend_arm8Theory compiler/backend/cv_compute (20s) OK
Starting work on backend_x64Theory
candle_basis_evaluateTheory candle/prover (39s) OK
Starting work on candle_prover_semanticsTheory
backend_x64Theory compiler/backend/cv_compute (21s) OK
Finished $(CAKEMLDIR)/compiler/backend/cv_compute [#theories: 3] (65.210s)
Starting work on to_data_cvTheory
repl_initTheory compiler/repl(101s) OK
Finished $(CAKEMLDIR)/compiler/repl [#theories: 9] (915.640s)
Starting work on README.md
README.md compiler/bootstrap/compilation/x64/64/proofs (0s) OK
candle_prover_semanticsTheory candle/prover (98s) OK
Finished $(CAKEMLDIR)/candle/prover [#theories: 10] (699.840s)
to_flatProgTheory compiler/bootstrap/translation(209s) OK
Starting work on to_closProgTheory
to_data_cvTheory cv_translator(327s) OK
Starting work on backend_cvTheory
backend_cvTheory cv_translator(202s) OK
Starting work on backend_64_cvTheory
to_closProgTheory compiler/bootstrap/translation(352s) OK
Starting work on to_bvlProgTheory
backend_64_cvTheory cv_translator(176s) OK
Starting work on backend_arm8_cvTheory
Starting work on backend_x64_cvTheory
to_bvlProgTheory compiler/bootstrap/translation(271s) OK
Starting work on to_bviProgTheory
backend_x64_cvTheory cv_translator(124s) OK
backend_arm8_cvTheory cv_translator(134s) OK
Starting work on cake_compile_heap
cake_compile_heap cv_translator (75s) OK
Finished $(CAKEMLDIR)/cv_translator [#theories: 5] (1040.200s)
to_bviProgTheory compiler/bootstrap/translation(237s) OK
Starting work on to_dataProgTheory
to_dataProgTheory compiler/bootstrap/translation(168s) OK
Starting work on lexerProgTheory
lexerProgTheory compiler/bootstrap/translation(185s) OK
Starting work on parserProgTheory
parserProgTheory compiler/bootstrap/translation(455s) OK
Starting work on caml_lexProgTheory
caml_lexProgTheory compiler/bootstrap/translation(387s) OK
Starting work on caml_parserProgTheory
caml_parserProgTheory compiler/bootstrap/translation (19m) OK
Starting work on pancake_lexProgTheory
pancake_lexProgTheory compiler/bootstrap/translation(189s) OK
Starting work on pancake_parseProgTheory
pancake_parseProgTheory compiler/bootstrap/translation(220s) OK
Starting work on reg_allocProgTheory
reg_allocProgTheory compiler/bootstrap/translation(851s) OK
Starting work on inferProgTheory
inferProgTheory compiler/bootstrap/translation (20m) OK
Starting work on explorerProgTheory
explorerProgTheory compiler/bootstrap/translation(326s) OK
Starting work on decodeProgTheory
decodeProgTheory compiler/bootstrap/translation(314s) OK
Starting work on sexp_parserProgTheory
sexp_parserProgTheory compiler/bootstrap/translation(301s) OK
Starting work on basis_defProgTheory
basis_defProgTheory compiler/bootstrap/translation(587s) OK
Starting work on printingProgTheory
printingProgTheory compiler/bootstrap/translation(242s) OK
Starting work on to_word64ProgTheory
to_word64ProgTheory compiler/bootstrap/translation (22m) OK
Starting work on to_target64ProgTheory
to_target64ProgTheory compiler/bootstrap/translation(776s) OK
Starting work on from_pancake64ProgTheory
from_pancake64ProgTheory compiler/bootstrap/translation(651s)FAIL<1>
Translating list_nub
Saved theorem _______ "nsLookup_from_pancake64Prog_env_150_pfun_eqs"
Adding nsLookup representation thms for [from_pancake64Prog_env_149]
Adding nsLookup representation thms for [from_pancake64Prog_env_150]
Saved theorem _______ "list_nub_v_thm"
Translating pan_to_crep_get_eids
Saved theorem _______ "nsLookup_from_pancake64Prog_env_151_pfun_eqs"
Saved theorem _______ "pan_to_crep_get_eids_v_thm"
Translating pan_to_crep_crep_vars
Adding nsLookup representation thms for [from_pancake64Prog_env_151]
Saved theorem _______ "nsLookup_from_pancake64Prog_env_152_pfun_eqs"
Saved theorem _______ "pan_to_crep_crep_vars_v_thm"
Translating pan_to_crep_compile_to_crep
Adding nsLookup representation thms for [from_pancake64Prog_env_152]
Saved theorem _______ "nsLookup_from_pancake64Prog_env_153_pfun_eqs"
Saved theorem _______ "pan_to_crep_compile_to_crep_v_thm"
Translating pan_to_crep_compile_prog
Adding nsLookup representation thms for [from_pancake64Prog_env_153]
Saved theorem _______ "nsLookup_from_pancake64Prog_env_154_pfun_eqs"
Saved theorem _______ "pan_to_crep_compile_prog_v_thm"
Translating loop_call_comp
Saved theorem _______ "nsLookup_from_pancake64Prog_env_155_pfun_eqs"
Adding nsLookup representation thms for [from_pancake64Prog_env_154]
Adding nsLookup representation thms for [from_pancake64Prog_env_155]
Saved theorem _______ "loop_call_comp_v_thm"
Translating loop_live_vars_of_exp, loop_live_vars_of_exp_list
Saved theorem _______ "nsLookup_from_pancake64Prog_env_156_pfun_eqs"
Adding nsLookup representation thms for [from_pancake64Prog_env_156]
Saved theorem _______ "loop_live_vars_of_exp_v_thm"
Saved theorem _______ "loop_live_vars_of_exp_list_v_thm"
Translating loop_live_arith_vars
Saved theorem _______ "nsLookup_from_pancake64Prog_env_157_pfun_eqs"
Saved theorem _______ "loop_live_arith_vars_v_thm"
Translating loop_live_list_delete
Saved theorem _______ "nsLookup_from_pancake64Prog_env_158_pfun_eqs"
Adding nsLookup representation thms for [from_pancake64Prog_env_157]
Adding nsLookup representation thms for [from_pancake64Prog_env_158]
Saved theorem _______ "loop_live_list_delete_v_thm"
Translating sptree_size
Saved theorem _______ "nsLookup_from_pancake64Prog_env_159_pfun_eqs"
Adding nsLookup representation thms for [from_pancake64Prog_env_159]
Saved theorem _______ "sptree_size_v_thm"
Translating loop_live_shrink, loop_live_fixedpoint
Saved theorem _______ "nsLookup_from_pancake64Prog_env_160_pfun_eqs"
Adding nsLookup representation thms for [from_pancake64Prog_env_160]
Saved theorem _______ "loop_live_shrink_v_thm"
Saved theorem _______ "loop_live_fixedpoint_v_thm"
error in quse /scratch/cakeml/regression2/cakeml-3347/compiler/bootstrap/translation/from_pancake64ProgScript.sml : Empty
error in load /scratch/cakeml/regression2/cakeml-3347/compiler/bootstrap/translation/from_pancake64ProgScript : Empty
Uncaught exception at ./basis/List.sml:47: Empty
Full log: /scratch/cakeml/regression2/cakeml-3347/compiler/bootstrap/translation/.hol/logs/from_pancake64ProgTheory