CakeML:54bced0fb206e4445fc3165cda89c064b1fedb4e
add flag to rest of bootstrap
#1114 (issue427)
Merging into:bad29406cfc21b9ac36dda1a3925e67f2f78b901
Merge pull request #1110 from CakeML/efficient-cases-peg
HOL:1ad60c442e11205f88ccc1b399bf09dcdbc0d934
rename to lameta_completeTheory
Machine:lammmington
Claimed job
Building HOL
Starting developers
Finished developers 3s 188MB
Starting developers/bin
Finished developers/bin 5s 745MB
Starting compiler/proofs
Finished compiler/proofs 1h41m52s 40GB
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 precparserTheory
Starting work on basis_cvTheory
Starting work on ml_monadStoreTheory
Starting work on num_list_enc_decTheory
precparserTheory examples/formal-languages/context-free (0s) OK
Finished $(HOLDIR)/examples/formal-languages/context-free [#theories: 1] (0.870s)
Starting work on monadic_encTheory
basis_cvTheory basis/pure (6s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 1] (6.260s)
Starting work on unify_cvTheory
monadic_encTheory compiler/encoders/monadic_enc (11s) OK
Starting work on monadic_enc32Theory
ml_monadStoreTheory translator/monadic (17s) OK
Finished $(CAKEMLDIR)/translator/monadic [#theories: 1] (17.710s)
Starting work on monadic_enc64Theory
unify_cvTheory compiler/inference (15s) OK
Starting work on infer_cvTheory
num_list_enc_decTheory compiler/backend/serialiser (22s) OK
Starting work on num_tree_enc_decTheory
monadic_enc32Theory compiler/encoders/monadic_enc (17s) OK
Starting work on caml_lexTheory
monadic_enc64Theory compiler/encoders/monadic_enc (16s) OK
Finished $(CAKEMLDIR)/compiler/encoders/monadic_enc [#theories: 3] (44.990s)
Starting work on lisp_valuesTheory
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
num_tree_enc_decTheory compiler/backend/serialiser (15s) OK
Starting work on backend_enc_decTheory
lisp_printingTheory candle/standard/ml_kernel/lisp (1s) OK
Starting work on lisp_parsing_proofsTheory
lisp_parsing_proofsTheory candle/standard/ml_kernel/lisp (3s) OK
Finished $(CAKEMLDIR)/candle/standard/ml_kernel/lisp [#theories: 4] (8.410s)
Starting work on holSyntaxLibTheory
holSyntaxLibTheory candle/syntax-lib (11s) OK
Finished $(CAKEMLDIR)/candle/syntax-lib [#theories: 1] (11.550s)
Starting work on holSyntaxTheory
holSyntaxTheory candle/standard/syntax (19s) OK
Starting work on holSyntaxExtraTheory
infer_cvTheory compiler/inference (64s) OK
Finished $(CAKEMLDIR)/compiler/inference [#theories: 2] (79.860s)
Starting work on ast_extrasTheory
backend_enc_decTheory compiler/backend/serialiser (48s) OK
Finished $(CAKEMLDIR)/compiler/backend/serialiser [#theories: 3] (86.580s)
Starting work on addPrintValsTheory
addPrintValsTheory compiler/printing (11s) OK
Starting work on addTypePPTheory
ast_extrasTheory candle/prover (12s) OK
Starting work on permsTheory
addTypePPTheory compiler/printing (7s) OK
Starting work on printTweaksTheory
holSyntaxExtraTheory candle/standard/syntax (39s) OK
Starting work on holBoolSyntaxTheory
printTweaksTheory compiler/printing (10s) OK
Starting work on holKernelTheory
holBoolSyntaxTheory candle/standard/syntax (30s) OK
Starting work on holAxiomsSyntaxTheory
holKernelTheory candle/standard/monadic (31s) OK
Starting work on holKernelPmatchTheory
holAxiomsSyntaxTheory candle/standard/syntax (17s) OK
Finished $(CAKEMLDIR)/candle/standard/syntax [#theories: 4] (105.950s)
Starting work on holKernelProofTheory
holKernelPmatchTheory candle/standard/monadic (21s) OK
Starting work on runtime_checkTheory
permsTheory candle/prover (84s) 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 (14s) OK
Finished $(CAKEMLDIR)/compiler/printing [#theories: 3] (28.870s)
Starting work on README.md
README.md compiler/bootstrap/translation (0s) OK
holKernelProofTheory candle/standard/monadic (62s) OK
Finished $(CAKEMLDIR)/candle/standard/monadic [#theories: 3] (114.850s)
Starting work on compute_syntaxTheory
compute_syntaxTheory candle/prover/compute (22s) OK
Starting work on compute_evalTheory
compute_evalTheory candle/prover/compute (19s) OK
Starting work on compute_execTheory
caml_lexTheory compiler/parsing/ocaml(237s) OK
Starting work on camlPEGTheory
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)/candle/prover/compute [#theories: 5] (93.920s)
camlPEGTheory compiler/parsing/ocaml(114s) OK
Starting work on camlPtreeConversionTheory
ml_hol_kernel_funsProgTheory candle/standard/ml_kernel(271s) OK
Finished $(CAKEMLDIR)/candle/standard/ml_kernel [#theories: 3] (301.540s)
Starting work on candle_kernelProgTheory
camlPtreeConversionTheory compiler/parsing/ocaml (62s) OK
Starting work on caml_parserTheory
caml_parserTheory compiler/parsing/ocaml (13s) OK
Finished $(CAKEMLDIR)/compiler/parsing/ocaml [#theories: 4] (427.770s)
candle_kernelProgTheory candle/prover(144s) OK
Starting work on candle_kernel_valsTheory
Starting work on repl_moduleProgTheory
candle_kernel_valsTheory candle/prover(106s) OK
Starting work on candle_prover_invTheory
repl_moduleProgTheory compiler/repl (95s) OK
Starting work on repl_init_envProgTheory
candle_prover_invTheory candle/prover (28s) OK
Finished $(CAKEMLDIR)/candle/prover [#theories: 5] (375.620s)
Starting work on repl_decs_allowedTheory
repl_init_envProgTheory compiler/repl (43s) OK
repl_decs_allowedTheory compiler/repl (27s) OK
Starting work on repl_check_and_tweakTheory
Starting work on decProgTheory
repl_check_and_tweakTheory compiler/repl (39s) OK
Starting work on repl_init_typesTheory
repl_init_typesTheory compiler/repl (57s) OK
Finished $(CAKEMLDIR)/compiler/repl [#theories: 5] (263.150s)
decProgTheory compiler/bootstrap/translation(158s) OK
Starting work on to_flatProgTheory
to_flatProgTheory compiler/bootstrap/translation(317s) OK
Starting work on to_closProgTheory
to_closProgTheory compiler/bootstrap/translation(647s) OK
Starting work on to_bvlProgTheory
to_bvlProgTheory compiler/bootstrap/translation(531s) OK
Starting work on to_bviProgTheory
to_bviProgTheory compiler/bootstrap/translation(432s) OK
Starting work on to_dataProgTheory
to_dataProgTheory compiler/bootstrap/translation(261s) OK
Starting work on lexerProgTheory
lexerProgTheory compiler/bootstrap/translation(183s) OK
Starting work on parserProgTheory
parserProgTheory compiler/bootstrap/translation(526s) OK
Starting work on caml_lexProgTheory
caml_lexProgTheory compiler/bootstrap/translation(448s) OK
Starting work on caml_parserProgTheory
caml_parserProgTheory compiler/bootstrap/translation (23m) OK
Starting work on pancake_lexProgTheory
pancake_lexProgTheory compiler/bootstrap/translation(166s) OK
Starting work on pancake_parseProgTheory
pancake_parseProgTheory compiler/bootstrap/translation(188s) OK
Starting work on reg_allocProgTheory
reg_allocProgTheory compiler/bootstrap/translation (17m) OK
Starting work on inferProgTheory
inferProgTheory compiler/bootstrap/translation(152s)FAIL<1>
Adding nsLookup representation thms for [inferProg_env_31]
Saved theorem _______ "generalise_v_thm"
Saved theorem _______ "generalise_list_v_thm"
Translating infer_type_subst, infer_type_subst_list
Saved theorem _______ "nsLookup_inferProg_env_32_pfun_eqs"
Adding nsLookup representation thms for [inferProg_env_32]
Saved theorem _______ "infer_type_subst_v_thm"
Saved theorem _______ "infer_type_subst_list_v_thm"
Translating count_list_aux
Saved theorem _______ "nsLookup_inferProg_env_33_pfun_eqs"
Adding nsLookup representation thms for [inferProg_env_33]
Saved theorem _______ "count_list_aux_v_thm"
Translating count_list
Saved theorem _______ "nsLookup_inferProg_env_34_pfun_eqs"
Saved theorem _______ "count_list_v_thm"
Proved triviality ___ "pair_abs_hack"
Proved triviality ___ "if_apply"
Proved triviality ___ "option_case_apply"
Proved triviality ___ "pr_CASE"
Proved triviality ___ "list_apply"
Translating apply_subst
Adding nsLookup representation thms for [inferProg_env_34]
Saved theorem _______ "nsLookup_inferProg_env_35_pfun_eqs"
WARNING: apply_subst has a precondition.
Saved theorem _______ "apply_subst_v_thm"
Updating apply_subst_v_thm
Saved theorem _______ "apply_subst_v_thm"
Translating apply_subst_list
Adding nsLookup representation thms for [inferProg_env_35]
Saved theorem _______ "nsLookup_inferProg_env_36_pfun_eqs"
WARNING: apply_subst_list has a precondition.
Saved theorem _______ "apply_subst_list_v_thm"
Updating apply_subst_list_v_thm
Saved theorem _______ "apply_subst_list_v_thm"
Translating get_tyname
Saved theorem _______ "nsLookup_inferProg_env_37_pfun_eqs"
Adding nsLookup representation thms for [inferProg_env_36]
Adding nsLookup representation thms for [inferProg_env_37]
Saved theorem _______ "get_tyname_v_thm"
Saved theorem _______ "ty_var_name_eq"
Translating ty_var_name
Saved theorem _______ "nsLookup_inferProg_env_38_pfun_eqs"
Saved theorem _______ "ty_var_name_v_thm"
error in quse /scratch/cakeml/regression2/cakeml-2749/compiler/bootstrap/translation/inferProgScript.sml : HOL_ERR {message = "theorem inferProg$ty_var_name_side_def not found", origin_function = "fetch", origin_structure = "DB", source_location = Loc_Unknown}
error in load /scratch/cakeml/regression2/cakeml-2749/compiler/bootstrap/translation/inferProgScript : HOL_ERR {message = "theorem inferProg$ty_var_name_side_def not found", origin_function = "fetch", origin_structure = "DB", source_location = Loc_Unknown}
Uncaught exception at /scratch/cakeml/regression2/HOL-1ad60c442e11205f88ccc1b399bf09dcdbc0d934/src/postkernel/DB.sml:504: HOL_ERR {message = "theorem inferProg$ty_var_name_side_def not found", origin_function = "fetch", origin_structure = "DB", source_location = Loc_Unknown}