CakeML:ef834361101c6d69a7b88d79bfc73bda8b0f41c6
Collapse nested suspend/Resume to canonical form in backend/pancake p
HOL:d456022724bd61e57303339e998313b6580c592d
build_help: derive sibling/stem manuals from Manual/mdbook.mk
Machine:lammmington
Claimed job
Reusing HOL
Starting developers
Finished developers 4s 191MB
Starting developers/bin
Finished developers/bin 2s 93MB
Starting misc
Finished misc 43s 1GB
Starting compiler/proofs
Finished compiler/proofs 1h10m10s 12GB
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 (10s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 1] (10.940s)
Starting work on source_cvTheory
addPrintValsTheory compiler/printing (13s) OK
Starting work on unify_cvTheory
holSyntaxLibTheory candle/syntax-lib (13s) OK
Starting work on printTweaksTheory
ml_monadStoreTheory translator/monadic (19s) OK
Finished $(CAKEMLDIR)/translator/monadic [#theories: 1] (19.300s)
Finished $(CAKEMLDIR)/candle/syntax-lib [#theories: 1] (13.290s)
Starting work on holSyntaxTheory
source_cvTheory semantics/proofs (12s) OK
Finished $(CAKEMLDIR)/semantics/proofs [#theories: 1] (12.340s)
Starting work on ast_extrasTheory
printTweaksTheory compiler/printing (11s) OK
Finished $(CAKEMLDIR)/compiler/printing [#theories: 2] (25.120s)
Finished $(CAKEMLDIR)/unverified/reg_alloc (0.000s)
Finished $(CAKEMLDIR)/compiler/backend/reg_alloc (0.000s)
Starting work on x64_targetProofTheory
unify_cvTheory compiler/inference (17s) OK
Starting work on infer_cvTheory
ast_extrasTheory candle/prover (14s) OK
Starting work on permsTheory
holSyntaxTheory candle/standard/syntax (19s) OK
Starting work on holSyntaxExtraTheory
holSyntaxExtraTheory candle/standard/syntax (37s) OK
Starting work on holBoolSyntaxTheory
infer_cvTheory compiler/inference (48s) OK
Finished $(CAKEMLDIR)/compiler/inference [#theories: 2] (66.840s)
Starting work on holKernelTheory
permsTheory candle/prover (46s) OK
Starting work on num_list_enc_decTheory
num_list_enc_decTheory compiler/backend/serialiser (23s) OK
Starting work on num_tree_enc_decTheory
holBoolSyntaxTheory candle/standard/syntax (31s) OK
Starting work on holAxiomsSyntaxTheory
holKernelTheory candle/standard/monadic (30s) OK
Starting work on holKernelPmatchTheory
holAxiomsSyntaxTheory candle/standard/syntax (18s) OK
Finished $(CAKEMLDIR)/candle/standard/syntax [#theories: 4] (107.410s)
Starting work on holKernelProofTheory
num_tree_enc_decTheory compiler/backend/serialiser (19s) OK
Starting work on runtime_checkTheory
holKernelPmatchTheory candle/standard/monadic (27s) OK
Starting work on print_thmTheory
runtime_checkTheory candle/standard/ml_kernel (19s) OK
Starting work on ml_hol_kernel_funsProgTheory
print_thmTheory candle/standard/ml_kernel (15s) OK
Starting work on backend_enc_decTheory
holKernelProofTheory candle/standard/monadic (60s) OK
Finished $(CAKEMLDIR)/candle/standard/monadic [#theories: 3] (118.180s)
Starting work on compute_syntaxTheory
compute_syntaxTheory candle/prover/compute (24s) OK
Starting work on compute_evalTheory
backend_enc_decTheory compiler/backend/serialiser (60s) OK
Starting work on compute_syntaxProofTheory
compute_evalTheory candle/prover/compute (21s) OK
Starting work on compute_execTheory
compute_execTheory candle/prover/compute (19s) OK
Starting work on computeTheory
computeTheory candle/prover/compute (17s) OK
Starting work on compute_pmatchTheory
compute_pmatchTheory candle/prover/compute (21s) OK
Finished $(CAKEMLDIR)/compiler/backend/serialiser [#theories: 3] (103.090s)
Starting work on monadic_encTheory
monadic_encTheory compiler/encoders/monadic_enc (13s) OK
Starting work on monadic_enc64Theory
compute_syntaxProofTheory candle/prover/compute (99s) OK
Starting work on compute_evalProofTheory
monadic_enc64Theory compiler/encoders/monadic_enc (17s) OK
Finished $(CAKEMLDIR)/compiler/encoders/monadic_enc [#theories: 2] (31.190s)
Starting work on caml_lexTheory
ml_hol_kernel_funsProgTheory candle/standard/ml_kernel(209s) OK
Finished $(CAKEMLDIR)/candle/standard/ml_kernel [#theories: 3] (244.480s)
Starting work on candle_kernelProgTheory
compute_evalProofTheory candle/prover/compute (59s) OK
Starting work on compute_execProofTheory
compute_execProofTheory candle/prover/compute (16s) OK
Starting work on computeProofTheory
computeProofTheory candle/prover/compute (45s) OK
Finished $(CAKEMLDIR)/candle/prover/compute [#theories: 9] (324.520s)
Starting work on evaluate_skipTheory
candle_kernelProgTheory candle/prover(142s) OK
Starting work on candle_kernel_valsTheory
evaluate_skipTheory compiler/repl(113s) OK
Starting work on evaluate_initTheory
x64_targetProofTheory compiler/encoders/x64/proofs(541s) OK
Finished $(CAKEMLDIR)/compiler/encoders/x64/proofs [#theories: 1] (541.000s)
Starting work on x64_configProofTheory
x64_configProofTheory compiler/backend/x64/proofs (32s) OK
Finished $(CAKEMLDIR)/compiler/backend/x64/proofs [#theories: 1] (32.500s)
Starting work on repl_moduleProgTheory
candle_kernel_valsTheory candle/prover (95s) OK
Starting work on candle_prover_invTheory
caml_lexTheory compiler/parsing/ocaml(264s) OK
Starting work on camlPEGTheory
candle_prover_invTheory candle/prover (34s) OK
Starting work on candle_kernel_permsTheory
repl_moduleProgTheory compiler/repl(108s) OK
Starting work on repl_decs_allowedTheory
repl_decs_allowedTheory compiler/repl (34s) OK
Starting work on repl_check_and_tweakTheory
camlPEGTheory compiler/parsing/ocaml(138s) OK
Starting work on camlPtreeConversionTheory
candle_kernel_permsTheory candle/prover(160s) OK
Starting work on candle_kernel_funsTheory
repl_check_and_tweakTheory compiler/repl (52s) OK
Starting work on repl_init_envProgTheory
camlPtreeConversionTheory compiler/parsing/ocaml (67s) OK
Starting work on caml_parserTheory
caml_parserTheory compiler/parsing/ocaml (14s) OK
Finished $(CAKEMLDIR)/compiler/parsing/ocaml [#theories: 4] (484.440s)
Starting work on repl_init_typesTheory
repl_init_envProgTheory compiler/repl (55s) OK
Starting work on decProgTheory
candle_kernel_funsTheory candle/prover (75s) OK
Starting work on candle_prover_evaluateTheory
repl_init_typesTheory compiler/repl (77s) OK
Starting work on backend_asmTheory
candle_prover_evaluateTheory candle/prover (64s) OK
Starting work on candle_basis_evaluateTheory
backend_asmTheory compiler/backend/cv_compute (22s) OK
Starting work on backend_arm8Theory
evaluate_initTheory compiler/repl(426s) OK
Starting work on repl_typesTheory
backend_arm8Theory compiler/backend/cv_compute (21s) OK
Starting work on backend_x64Theory
candle_basis_evaluateTheory candle/prover (41s) OK
Starting work on candle_prover_semanticsTheory
backend_x64Theory compiler/backend/cv_compute (21s) OK
Finished $(CAKEMLDIR)/compiler/backend/cv_compute [#theories: 3] (65.290s)
Starting work on to_data_cvTheory
decProgTheory compiler/bootstrap/translation(132s) OK
Starting work on to_flatProgTheory
repl_typesTheory compiler/repl (73s) OK
Starting work on repl_initTheory
candle_prover_semanticsTheory candle/prover(110s) OK
Finished $(CAKEMLDIR)/candle/prover [#theories: 10] (785.700s)
Starting work on README.md
README.md compiler/bootstrap/compilation/x64/64/proofs (0s) OK
repl_initTheory compiler/repl(105s) OK
Finished $(CAKEMLDIR)/compiler/repl [#theories: 9] (1047.780s)
to_flatProgTheory compiler/bootstrap/translation(228s) OK
Starting work on to_closProgTheory
to_data_cvTheory cv_translator(281s)FAIL<1>
to_closProgTheory compiler/bootstrap/translation (44s) killed
*** Holmake aborted - 1 target failed:
*** to_data_cvTheory in cv_translator (status 1)
Finished translating genlist_0_Var, stored in cv_genlist_0_Var_thm
Saved theorem _______ "genlist_0_Var_ho"
Starting translation of compile_sing, compile_list from bvi_to_dataTheory.
Saved definition ____ "genlist_0_lam___1_def"
Saved induction _____ "genlist_0_lam___1_ind"
Starting translation of genlist_0_lam__ from to_data_cvTheory.
Saved definition ____ "cv_genlist_0_lam___def"
Saved induction _____ "cv_genlist_0_lam___ind"
Saved theorem _______ "cv_genlist_0_lam___thm"
Finished translating genlist_0_lam__, stored in cv_genlist_0_lam___thm
Saved theorem _______ "genlist_0_lam___ho"
Starting translation of compile_sing, compile_list from bvi_to_dataTheory.
Saved definition ____ "cv_bvi_to_data_compile_sing_def"
Saved induction _____ "cv_bvi_to_data_compile_sing_ind"
Saved theorem _______ "bvi_to_data_compile_sing_pre_rules"
Saved theorem _______ "bvi_to_data_compile_sing_pre_ind"
Saved theorem _______ "bvi_to_data_compile_sing_pre_strongind"
Saved theorem _______ "bvi_to_data_compile_sing_pre_cases"
Saved theorem _______ "cv_bvi_to_data_compile_sing_thm"
Finished translating compile_sing, compile_list, stored in cv_bvi_to_data_compile_sing_thm
WARNING: definition of cv_bvi_to_data_compile_sing has a precondition.
You can set up the precondition proof as follows:
Theorem bvi_to_data_compile_sing_pre[cv_pre]:
(n env tail live v. bvi_to_data_compile_sing_pre n env tail live v)
(n env live v. bvi_to_data_compile_list_pre n env live v)
Proof
ho_match_mp_tac bvi_to_dataTheory.compile_sing_ind (* for example *)
...
QED
Proof of
(n env tail live v. bvi_to_data_compile_sing_pre n env tail live v)
n env live v. bvi_to_data_compile_list_pre n env live v
failed.
First unsolved sub-goal is
v0' v1.
compile_list n env live xs = (v0',v1)
v0' v1'.
v1 = (v0',v1')
y Return (genlist 0 Var rets)
bvi_to_data_compile_sing_pre (rets + v1')
(genlist 0 (v10. v1' + v10) rets ++ env) tail' live y
Tactic failure proving "bvi_to_data_compile_sing_pre"; heap saved to to_data_cv.bvi_to_data_compile_sing_pre.dumpedheap.
Resume with: bin/hol --holstate=to_data_cv.bvi_to_data_compile_sing_pre.dumpedheap
Full log: /scratch/cakeml/regression3/cakeml-3405/cv_translator/.hol/logs/to_data_cvTheory