CakeML:6962b92182c1a0668e77491b535176cd80e566a4
Pancake 16bit ShMem: updates for backend/{arch}/proofs for each arch
#1212 (16bit)
Merging into:b68e46f49bc81902b1785c5861e13b9385818aa4
Merge pull request #1218 from CakeML/build-tweaks
HOL:466a40abe43a384327cf9fd1ada840fa176b961d
Change bossLib.oneline to preserve input hypotheses as hypotheses
Machine:lammmington
Claimed job
Reusing HOL
Starting developers
Finished developers 3s 140MB
Starting developers/bin
Finished developers/bin 4s 594MB
Starting misc
Finished misc 39s 1GB
Starting compiler/proofs
Finished compiler/proofs 1h26m13s 22GB
Starting compiler/bootstrap/compilation/x64/64/proofs
FAILED: compiler/bootstrap/compilation/x64/64/proofs
Scanning $(HOLDIR)/src/TeX
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)/src/real/analysis
Scanning $(HOLDIR)/examples/misc
Scanning $(HOLDIR)/examples/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)/src/coalgebras
Scanning $(HOLDIR)/examples/fun-op-sem/lprefix_lub
Scanning $(HOLDIR)/examples/machine-code/hoare-triple
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 $(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 $(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 $(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/serialiser
Scanning $(CAKEMLDIR)/compiler/encoders/monadic_enc
Scanning $(CAKEMLDIR)/compiler/parsing/ocaml
Scanning $(CAKEMLDIR)/compiler/inference/proofs
Scanning $(CAKEMLDIR)/compiler/printing
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 114 directories
Starting work on basis_cvTheory
Starting work on ml_monadStoreTheory
Starting work on lisp_valuesTheory
Starting work on holSyntaxLibTheory
lisp_valuesTheory candle/standard/ml_kernel/lisp (1s) OK
Starting work on lisp_parsingTheory
lisp_parsingTheory candle/standard/ml_kernel/lisp (1s) OK
Starting work on lisp_printingTheory
lisp_printingTheory candle/standard/ml_kernel/lisp (1s) OK
Starting work on lisp_parsing_proofsTheory
basis_cvTheory basis/pure (5s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 1] (5.710s)
Starting work on ast_extrasTheory
lisp_parsing_proofsTheory candle/standard/ml_kernel/lisp (3s) OK
Finished $(CAKEMLDIR)/candle/standard/ml_kernel/lisp [#theories: 4] (8.580s)
Finished $(CAKEMLDIR)/unverified/reg_alloc (0.000s)
Finished $(CAKEMLDIR)/compiler/backend/reg_alloc (0.000s)
Starting work on x64_targetProofTheory
holSyntaxLibTheory candle/syntax-lib (11s) OK
Finished $(CAKEMLDIR)/candle/syntax-lib [#theories: 1] (11.510s)
Starting work on holSyntaxTheory
ml_monadStoreTheory translator/monadic (17s) OK
Finished $(CAKEMLDIR)/translator/monadic [#theories: 1] (17.480s)
Starting work on unify_cvTheory
ast_extrasTheory candle/prover (11s) OK
Starting work on permsTheory
holSyntaxTheory candle/standard/syntax (19s) OK
Starting work on holSyntaxExtraTheory
unify_cvTheory compiler/inference (15s) OK
Starting work on infer_cvTheory
holSyntaxExtraTheory candle/standard/syntax (38s) OK
Starting work on holBoolSyntaxTheory
infer_cvTheory compiler/inference (63s) OK
Starting work on holKernelTheory
permsTheory candle/prover (84s) OK
Finished $(CAKEMLDIR)/compiler/inference [#theories: 2] (79.150s)
Starting work on num_list_enc_decTheory
holBoolSyntaxTheory candle/standard/syntax (30s) OK
Starting work on holAxiomsSyntaxTheory
holAxiomsSyntaxTheory candle/standard/syntax (16s) OK
Finished $(CAKEMLDIR)/candle/standard/syntax [#theories: 4] (103.890s)
Starting work on monadic_encTheory
num_list_enc_decTheory compiler/backend/serialiser (22s) OK
Starting work on num_tree_enc_decTheory
holKernelTheory candle/standard/monadic (30s) OK
Starting work on holKernelPmatchTheory
monadic_encTheory compiler/encoders/monadic_enc (11s) OK
Starting work on holKernelProofTheory
num_tree_enc_decTheory compiler/backend/serialiser (16s) OK
Starting work on runtime_checkTheory
holKernelPmatchTheory candle/standard/monadic (20s) OK
Starting work on print_thmTheory
runtime_checkTheory candle/standard/ml_kernel (15s) OK
Starting work on ml_hol_kernel_funsProgTheory
print_thmTheory candle/standard/ml_kernel (13s) OK
Starting work on backend_enc_decTheory
holKernelProofTheory candle/standard/monadic (63s) OK
Finished $(CAKEMLDIR)/candle/standard/monadic [#theories: 3] (114.190s)
Starting work on compute_syntaxTheory
compute_syntaxTheory candle/prover/compute (22s) OK
Starting work on compute_evalTheory
backend_enc_decTheory compiler/backend/serialiser (56s) OK
Starting work on compute_syntaxProofTheory
compute_evalTheory candle/prover/compute (20s) OK
Starting work on compute_execTheory
compute_execTheory candle/prover/compute (17s) OK
Starting work on computeTheory
computeTheory candle/prover/compute (14s) OK
Starting work on compute_pmatchTheory
compute_pmatchTheory candle/prover/compute (20s) OK
Finished $(CAKEMLDIR)/compiler/backend/serialiser [#theories: 3] (95.720s)
Starting work on monadic_enc64Theory
monadic_enc64Theory compiler/encoders/monadic_enc (17s) OK
Finished $(CAKEMLDIR)/compiler/encoders/monadic_enc [#theories: 2] (28.520s)
Starting work on caml_lexTheory
compute_syntaxProofTheory candle/prover/compute(102s) OK
Starting work on compute_evalProofTheory
compute_evalProofTheory candle/prover/compute (82s) OK
Starting work on compute_execProofTheory
compute_execProofTheory candle/prover/compute (14s) OK
Starting work on computeProofTheory
ml_hol_kernel_funsProgTheory candle/standard/ml_kernel(275s) OK
Finished $(CAKEMLDIR)/candle/standard/ml_kernel [#theories: 3] (305.420s)
Starting work on candle_kernelProgTheory
computeProofTheory candle/prover/compute (48s) OK
Finished $(CAKEMLDIR)/candle/prover/compute [#theories: 9] (344.670s)
Starting work on addPrintValsTheory
addPrintValsTheory compiler/printing (10s) OK
Starting work on addTypePPTheory
addTypePPTheory compiler/printing (6s) OK
Starting work on printTweaksTheory
printTweaksTheory compiler/printing (9s) OK
Finished $(CAKEMLDIR)/compiler/printing [#theories: 3] (27.480s)
Starting work on evaluate_skipTheory
caml_lexTheory compiler/parsing/ocaml(233s) OK
Starting work on camlPEGTheory
candle_kernelProgTheory candle/prover(148s) OK
Starting work on candle_kernel_valsTheory
x64_targetProofTheory compiler/encoders/x64/proofs(632s) OK
Finished $(CAKEMLDIR)/compiler/encoders/x64/proofs [#theories: 1] (632.820s)
Starting work on x64_configProofTheory
x64_configProofTheory compiler/backend/x64/proofs (28s) OK
Finished $(CAKEMLDIR)/compiler/backend/x64/proofs [#theories: 1] (28.180s)
Starting work on repl_moduleProgTheory
camlPEGTheory compiler/parsing/ocaml(118s) OK
Starting work on camlPtreeConversionTheory
evaluate_skipTheory compiler/repl(193s) OK
Starting work on evaluate_initTheory
candle_kernel_valsTheory candle/prover(112s) OK
Starting work on candle_prover_invTheory
candle_prover_invTheory candle/prover (31s) OK
Starting work on candle_kernel_permsTheory
evaluate_initTheory compiler/repl (58s) OK
Starting work on repl_decs_allowedTheory
repl_moduleProgTheory compiler/repl (91s) OK
Starting work on repl_init_envProgTheory
camlPtreeConversionTheory compiler/parsing/ocaml (74s) OK
Starting work on caml_parserTheory
repl_decs_allowedTheory compiler/repl (30s) OK
Starting work on repl_check_and_tweakTheory
caml_parserTheory compiler/parsing/ocaml (14s) OK
Finished $(CAKEMLDIR)/compiler/parsing/ocaml [#theories: 4] (440.140s)
Starting work on backend_asmTheory
backend_asmTheory compiler/backend/cv_compute (25s) OK
Starting work on backend_arm8Theory
repl_init_envProgTheory compiler/repl (48s) OK
Starting work on decProgTheory
repl_check_and_tweakTheory compiler/repl (42s) OK
Starting work on repl_init_typesTheory
backend_arm8Theory compiler/backend/cv_compute (18s) OK
Starting work on repl_typesTheory
repl_init_typesTheory compiler/repl (62s) OK
Starting work on backend_x64Theory
backend_x64Theory compiler/backend/cv_compute (18s) OK
Finished $(CAKEMLDIR)/compiler/backend/cv_compute [#theories: 3] (62.750s)
Starting work on to_data_cvTheory
repl_typesTheory compiler/repl (83s) OK
Starting work on repl_initTheory
candle_kernel_permsTheory candle/prover(191s) OK
Starting work on candle_kernel_funsTheory
decProgTheory compiler/bootstrap/translation(175s) OK
Starting work on to_flatProgTheory
candle_kernel_funsTheory candle/prover (70s) OK
Starting work on candle_prover_evaluateTheory
repl_initTheory compiler/repl (95s) OK
Finished $(CAKEMLDIR)/compiler/repl [#theories: 9] (706.090s)
Starting work on README.md
README.md compiler/bootstrap/compilation/x64/64/proofs (0s) OK
candle_prover_evaluateTheory candle/prover(109s) OK
Starting work on candle_basis_evaluateTheory
candle_basis_evaluateTheory candle/prover (41s) OK
Starting work on candle_prover_semanticsTheory
candle_prover_semanticsTheory candle/prover (94s) OK
Finished $(CAKEMLDIR)/candle/prover [#theories: 10] (897.110s)
to_flatProgTheory compiler/bootstrap/translation(325s) OK
Starting work on to_closProgTheory
to_data_cvTheory cv_translator(451s) OK
Starting work on backend_cvTheory
backend_cvTheory cv_translator(225s) OK
Starting work on backend_64_cvTheory
backend_64_cvTheory cv_translator(189s) OK
Starting work on backend_arm8_cvTheory
Starting work on backend_x64_cvTheory
to_closProgTheory compiler/bootstrap/translation(508s) OK
Starting work on to_bvlProgTheory
backend_arm8_cvTheory cv_translator (70s)FAIL<1>
| Mem Load32 v2 (Addr v4 v5) => arm8_load_store_ast32 MemOp_LOAD v2 v4 v5
| Mem Store v2 (Addr v4 v5) => arm8_load_store_ast MemOp_STORE v2 v4 v5
| Mem Store8 v2 (Addr v4 v5) =>
[LoadStore
(LoadStoreImmediate@8
(0w,F,MemOp_STORE,AccType_NORMAL,F,F,F,F,F,... ,... ,... ))]
| Mem Store16 v2 (Addr v4 v5) => arm8_load_store_ast16 MemOp_STORE v2 v4 v5
| Mem Store32 v2 (Addr v4 v5) => arm8_load_store_ast32 MemOp_STORE v2 v4 v5
| FP v1 => arm8_encode_fail
Translation failed inside:
case v0 of
Load => (case v2 of Addr v4 v5 => arm8_load_store_ast MemOp_LOAD v1 v4 v5)
| Load8 =>
(case v2 of
Addr v4 v5 =>
[LoadStore
(LoadStoreImmediate@8
(0w,F,MemOp_LOAD,AccType_NORMAL,F,F,F,F,F,... ,... ))])
| Load16 =>
(case v2 of Addr v4 v5 => arm8_load_store_ast16 MemOp_LOAD v1 v4 v5)
| Load32 =>
(case v2 of Addr v4 v5 => arm8_load_store_ast32 MemOp_LOAD v1 v4 v5)
| Store =>
(case v2 of Addr v4 v5 => arm8_load_store_ast MemOp_STORE v1 v4 v5)
| Store8 =>
(case v2 of
Addr v4 v5 =>
[LoadStore
(LoadStoreImmediate@8
(0w,F,MemOp_STORE,AccType_NORMAL,F,F,F,F,F,... ,... ))])
| Store16 =>
(case v2 of Addr v4 v5 => arm8_load_store_ast16 MemOp_STORE v1 v4 v5)
| Store32 =>
case v2 of Addr v4 v5 => arm8_load_store_ast32 MemOp_STORE v1 v4 v5
Translation failed inside:
case v2 of Addr v4 v5 => arm8_load_store_ast16 MemOp_LOAD v1 v4 v5
Translation failed at:
arm8_load_store_ast16 MemOp_LOAD v1 v0 v1'
Translation of arm8_ast needs arm8_load_store_ast16 : :MemOp -> num -> num -> word64 -> instruction list.
Stopping.
error in quse /scratch/cakeml/regression3/cakeml-2947/cv_translator/backend_arm8_cvScript.sml : HOL_ERR {message = "Unable to translate arm8_load_store_ast16", origin_function = "failwith", origin_structure = "??", source_location = Loc_Unknown}
error in load /scratch/cakeml/regression3/cakeml-2947/cv_translator/backend_arm8_cvScript : HOL_ERR {message = "Unable to translate arm8_load_store_ast16", origin_function = "failwith", origin_structure = "??", source_location = Loc_Unknown}
Uncaught exception at /scratch/cakeml/regression3/HOL-466a40abe43a384327cf9fd1ada840fa176b961d/src/prekernel/Feedback.sml:131: HOL_ERR {message = "Unable to translate arm8_load_store_ast16", origin_function = "failwith", origin_structure = "??", source_location = Loc_Unknown}
Full log: /scratch/cakeml/regression3/cakeml-2947/cv_translator/.hol/logs/backend_arm8_cvTheory
backend_x64_cvTheory cv_translator (73s)MKILLED
to_bvlProgTheory compiler/bootstrap/translation (44s)MKILLED