CakeML:8248fcd201378984643c5725b234d4b5b37e435e
Move example to example theory
#927 (translation_update)
Merging into:a4a3f0b318b9eef32403ec5fbcc2157b8da0f120
Merge pull request #930 from CakeML/print_app_list
HOL:ff6e145992db7e75ae6798231ce09c3cc03538df
Modernise a theorem's syntax
Machine:stove 4.15.0-143-generic x86_64 GNU/Linux
Claimed job
Reusing HOL
Starting developers
Finished developers 5s 103MB
Starting developers/bin
Finished developers/bin 6s 1GB
Starting compiler/proofs
Finished compiler/proofs 1h49m44s 17GB
Starting compiler/bootstrap/translation
FAILED: compiler/bootstrap/translation
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)/src/quotient/src[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/hol88[0m
Scanning [1m$(HOLDIR)/src/transfer[0m
Scanning [1m$(HOLDIR)/src/pred_set/src/more_theories[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)/examples/algorithms/unification/triangular/first-order[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/inference/proofs[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/printing[0m
Scanning [1m$(CAKEMLDIR)/compiler/repl[0m
Scanned 91 directories
Starting work on ml_monadStoreTheory
Starting work on ArrayProofTheory
Starting work on ListProofTheory
Starting work on basis_ffiTheory
ml_monadStoreTheory translator/monadic (25s) OK
Finished $(CAKEMLDIR)/translator/monadic [#theories: 1] (25.530s)
Finished $(CAKEMLDIR)/compiler/inference (0.000s)
Starting work on num_list_enc_decTheory
ListProofTheory basis (30s) OK
Starting work on monadic_encTheory
monadic_encTheory compiler/encoders/monadic_enc (14s) OK
Starting work on monadic_enc32Theory
num_list_enc_decTheory compiler/backend/serialiser (26s) OK
Starting work on num_tree_enc_decTheory
monadic_enc32Theory compiler/encoders/monadic_enc (21s) OK
Starting work on monadic_enc64Theory
num_tree_enc_decTheory compiler/backend/serialiser (18s) OK
Starting work on backend_enc_decTheory
basis_ffiTheory basis (79s) OK
Starting work on caml_lexTheory
monadic_enc64Theory compiler/encoders/monadic_enc (20s) OK
Finished $(CAKEMLDIR)/compiler/encoders/monadic_enc [#theories: 3] (55.887s)
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 (1s) 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] (9.661s)
Starting work on holSyntaxLibTheory
ArrayProofTheory basis(106s) OK
Finished $(CAKEMLDIR)/basis [#theories: 3] (215.922s)
Starting work on ast_extrasTheory
holSyntaxLibTheory candle/syntax-lib (13s) OK
Finished $(CAKEMLDIR)/candle/syntax-lib [#theories: 1] (13.926s)
Starting work on holSyntaxTheory
ast_extrasTheory candle/prover (11s) OK
Starting work on permsTheory
backend_enc_decTheory compiler/backend/serialiser (57s) OK
Finished $(CAKEMLDIR)/compiler/backend/serialiser [#theories: 3] (102.622s)
Starting work on addPrintValsTheory
addPrintValsTheory compiler/printing (8s) OK
Starting work on addTypePPTheory
holSyntaxTheory candle/standard/syntax (29s) OK
Starting work on holSyntaxExtraTheory
addTypePPTheory compiler/printing (4s) OK
Starting work on printTweaksTheory
printTweaksTheory compiler/printing (8s) OK
Finished $(CAKEMLDIR)/compiler/printing [#theories: 3] (22.369s)
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 (95s) OK
holBoolSyntaxTheory candle/standard/syntax (39s) OK
Starting work on holAxiomsSyntaxTheory
holKernelTheory candle/standard/monadic (50s) OK
Starting work on holKernelPmatchTheory
Starting work on holKernelProofTheory
holAxiomsSyntaxTheory candle/standard/syntax (18s) OK
Finished $(CAKEMLDIR)/candle/standard/syntax [#theories: 4] (133.395s)
Starting work on runtime_checkTheory
holKernelPmatchTheory candle/standard/monadic (23s) OK
Starting work on print_thmTheory
runtime_checkTheory candle/standard/ml_kernel (16s) OK
Starting work on ml_hol_kernel_funsProgTheory
print_thmTheory candle/standard/ml_kernel (15s) OK
caml_lexTheory compiler/parsing/ocaml(230s) OK
Starting work on camlPEGTheory
holKernelProofTheory candle/standard/monadic (71s) OK
Finished $(CAKEMLDIR)/candle/standard/monadic [#theories: 3] (145.750s)
Starting work on compute_syntaxTheory
compute_syntaxTheory candle/prover/compute (26s) OK
Starting work on compute_evalTheory
compute_evalTheory candle/prover/compute (22s) OK
Starting work on compute_execTheory
compute_execTheory candle/prover/compute (17s) OK
Starting work on computeTheory
computeTheory candle/prover/compute (16s) OK
Starting work on compute_pmatchTheory
compute_pmatchTheory candle/prover/compute (20s) OK
Finished $(CAKEMLDIR)/candle/prover/compute [#theories: 5] (103.031s)
camlPEGTheory compiler/parsing/ocaml(131s) OK
Starting work on camlPtreeConversionTheory
camlPtreeConversionTheory compiler/parsing/ocaml (64s) OK
Starting work on caml_parserTheory
caml_parserTheory compiler/parsing/ocaml (13s) OK
Finished $(CAKEMLDIR)/compiler/parsing/ocaml [#theories: 4] (440.501s)
ml_hol_kernel_funsProgTheory candle/standard/ml_kernel(314s) OK
Finished $(CAKEMLDIR)/candle/standard/ml_kernel [#theories: 3] (345.999s)
Starting work on candle_kernelProgTheory
candle_kernelProgTheory candle/prover(628s) OK
Starting work on candle_kernel_valsTheory
Starting work on repl_moduleProgTheory
repl_moduleProgTheory compiler/repl(100s) OK
Starting work on repl_init_envProgTheory
candle_kernel_valsTheory candle/prover(119s) OK
Starting work on candle_prover_invTheory
repl_init_envProgTheory compiler/repl (40s) OK
candle_prover_invTheory candle/prover (28s) OK
Finished $(CAKEMLDIR)/candle/prover [#theories: 5] (884.180s)
Starting work on repl_decs_allowedTheory
repl_decs_allowedTheory compiler/repl (27s) OK
Starting work on repl_check_and_tweakTheory
Starting work on decProgTheory
repl_check_and_tweakTheory compiler/repl (41s) OK
Starting work on repl_init_typesTheory
decProgTheory compiler/bootstrap/translation(175s) OK
Starting work on to_flatProgTheory
to_flatProgTheory compiler/bootstrap/translation(350s) OK
Starting work on to_closProgTheory
to_closProgTheory compiler/bootstrap/translation(791s) OK
Starting work on to_bvlProgTheory
to_bvlProgTheory compiler/bootstrap/translation(570s) OK
Starting work on to_bviProgTheory
to_bviProgTheory compiler/bootstrap/translation(470s) OK
Starting work on to_dataProgTheory
to_dataProgTheory compiler/bootstrap/translation(282s) OK
Starting work on lexerProgTheory
lexerProgTheory compiler/bootstrap/translation(210s) OK
Starting work on parserProgTheory
parserProgTheory compiler/bootstrap/translation(757s) OK
Starting work on caml_lexProgTheory
caml_lexProgTheory compiler/bootstrap/translation(525s) OK
Starting work on caml_parserProgTheory
caml_parserProgTheory compiler/bootstrap/translation (26m) OK
Starting work on pancake_lexProgTheory
pancake_lexProgTheory compiler/bootstrap/translation(156s) OK
Starting work on pancake_parseProgTheory
pancake_parseProgTheory compiler/bootstrap/translation(184s) OK
Starting work on reg_allocProgTheory
reg_allocProgTheory compiler/bootstrap/translation (18m) OK
Starting work on inferProgTheory
repl_init_typesTheory compiler/repl(150m) OK
Finished $(CAKEMLDIR)/compiler/repl [#theories: 5] (9250.665s)
inferProgTheory compiler/bootstrap/translation (42m) OK
Starting work on explorerProgTheory
explorerProgTheory compiler/bootstrap/translation(969s) OK
Starting work on decodeProgTheory
decodeProgTheory compiler/bootstrap/translation(291s) OK
Starting work on sexp_parserProgTheory
sexp_parserProgTheory compiler/bootstrap/translation(374s) OK
Starting work on to_word32ProgTheory
Starting work on printingProgTheory
printingProgTheory compiler/bootstrap/translation(200s) OK
Starting work on to_word64ProgTheory
to_word32ProgTheory compiler/bootstrap/translation (34m) OK
Starting work on to_target32ProgTheory
to_word64ProgTheory compiler/bootstrap/translation (34m) 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(567s)FAIL<1>
error in load /home/cug/hk324/cml-regression/cakeml-2107/compiler/bootstrap/translation/from_pancake32ProgScript : HOL_ERR {message = "first subgoal not solved by second tactic (THEN1 on line 380)", origin_function = "THEN1", origin_structure = "Tactical"}
Proof of
(tree. conv_Shape_alt tree = conv_Shape tree)
(tree. conv_ShapeComb_alt tree = conv_ShapeComb tree)
xs. conv_ShapeList xs = OPT_MMAP (tree. conv_Shape tree) xs
failed.
Failed to prove theorem conv_Shapelist_thm.
Uncaught exception: HOL_ERR {message = "first subgoal not solved by second tactic (THEN1 on line 380)", origin_function = "THEN1", origin_structure = "Tactical"}
from_pancake64ProgTheory compiler/bootstrap/translation(359s)MKILLED