CakeML:cd277c48afbd72fe2071b571c53ddc32e352dac1
Fix sexp_to_dafny
#1280 (mlsexp)
Merging into:3c7122a14a373c06ab0fd744837c8be8069a5bfc
Merge pull request #1276 from CakeML/checkthm_fastbuild
HOL:f02a261b181e0408a16745877f3feb8f1b8c1cb6
Modernise syntax in milawa_proofp
Machine:timtam
Claimed job
Reusing HOL
Starting developers
Finished developers 3s 193MB
Starting developers/bin
Finished developers/bin 3s 91MB
Starting misc
Finished misc 38s 1GB
Starting compiler/proofs
Finished compiler/proofs 57m56s 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)/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/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 111 directories
Starting work on basis_cvTheory
Starting work on ml_monadStoreTheory
Starting work on holSyntaxLibTheory
Starting work on ast_extrasTheory
basis_cvTheory basis/pure (9s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 1] (9.140s)
Finished $(CAKEMLDIR)/unverified/reg_alloc (0.000s)
Finished $(CAKEMLDIR)/compiler/backend/reg_alloc (0.000s)
Starting work on x64_targetProofTheory
holSyntaxLibTheory candle/syntax-lib (10s) OK
Finished $(CAKEMLDIR)/candle/syntax-lib [#theories: 1] (10.740s)
Starting work on holSyntaxTheory
ast_extrasTheory candle/prover (10s) OK
Starting work on permsTheory
ml_monadStoreTheory translator/monadic (16s) OK
Finished $(CAKEMLDIR)/translator/monadic [#theories: 1] (16.280s)
Starting work on unify_cvTheory
holSyntaxTheory candle/standard/syntax (17s) OK
Starting work on holSyntaxExtraTheory
unify_cvTheory compiler/inference (15s) OK
Starting work on infer_cvTheory
permsTheory candle/prover (45s) OK
Starting work on num_list_enc_decTheory
holSyntaxExtraTheory candle/standard/syntax (34s) OK
Starting work on holBoolSyntaxTheory
num_list_enc_decTheory compiler/backend/serialiser (19s) OK
Starting work on holKernelTheory
infer_cvTheory compiler/inference (55s) OK
Finished $(CAKEMLDIR)/compiler/inference [#theories: 2] (70.920s)
Starting work on num_tree_enc_decTheory
holBoolSyntaxTheory candle/standard/syntax (26s) OK
Starting work on holAxiomsSyntaxTheory
holKernelTheory candle/standard/monadic (28s) OK
Starting work on holKernelPmatchTheory
num_tree_enc_decTheory compiler/backend/serialiser (14s) OK
Starting work on holKernelProofTheory
holAxiomsSyntaxTheory candle/standard/syntax (15s) OK
Finished $(CAKEMLDIR)/candle/standard/syntax [#theories: 4] (94.310s)
Starting work on runtime_checkTheory
holKernelPmatchTheory candle/standard/monadic (18s) OK
Starting work on print_thmTheory
runtime_checkTheory candle/standard/ml_kernel (14s) OK
Starting work on ml_hol_kernel_funsProgTheory
print_thmTheory candle/standard/ml_kernel (12s) OK
Starting work on backend_enc_decTheory
holKernelProofTheory candle/standard/monadic (52s) OK
Finished $(CAKEMLDIR)/candle/standard/monadic [#theories: 3] (98.840s)
Starting work on compute_syntaxTheory
compute_syntaxTheory candle/prover/compute (20s) OK
Starting work on compute_evalTheory
backend_enc_decTheory compiler/backend/serialiser (53s) OK
Starting work on compute_syntaxProofTheory
compute_evalTheory candle/prover/compute (18s) OK
Starting work on compute_execTheory
compute_execTheory candle/prover/compute (16s) OK
Starting work on computeTheory
computeTheory candle/prover/compute (12s) OK
Starting work on compute_pmatchTheory
compute_pmatchTheory candle/prover/compute (16s) OK
Finished $(CAKEMLDIR)/compiler/backend/serialiser [#theories: 3] (87.520s)
Starting work on monadic_encTheory
monadic_encTheory compiler/encoders/monadic_enc (10s) OK
Starting work on monadic_enc64Theory
compute_syntaxProofTheory candle/prover/compute (82s) OK
Starting work on compute_evalProofTheory
monadic_enc64Theory compiler/encoders/monadic_enc (15s) OK
Finished $(CAKEMLDIR)/compiler/encoders/monadic_enc [#theories: 2] (26.040s)
Starting work on caml_lexTheory
ml_hol_kernel_funsProgTheory candle/standard/ml_kernel(200s) OK
Finished $(CAKEMLDIR)/candle/standard/ml_kernel [#theories: 3] (227.620s)
Starting work on candle_kernelProgTheory
compute_evalProofTheory candle/prover/compute (68s) OK
Starting work on compute_execProofTheory
compute_execProofTheory candle/prover/compute (13s) OK
Starting work on computeProofTheory
computeProofTheory candle/prover/compute (40s) OK
Finished $(CAKEMLDIR)/candle/prover/compute [#theories: 9] (288.700s)
Starting work on addPrintValsTheory
addPrintValsTheory compiler/printing (10s) OK
Starting work on addTypePPTheory
caml_lexTheory compiler/parsing/ocaml(131s) OK
Starting work on camlPEGTheory
addTypePPTheory compiler/printing (6s) OK
Starting work on printTweaksTheory
printTweaksTheory compiler/printing (8s) OK
Finished $(CAKEMLDIR)/compiler/printing [#theories: 3] (25.330s)
Starting work on evaluate_skipTheory
candle_kernelProgTheory candle/prover(119s) OK
Starting work on candle_kernel_valsTheory
evaluate_skipTheory compiler/repl (90s) OK
Starting work on evaluate_initTheory
camlPEGTheory compiler/parsing/ocaml(103s) OK
Starting work on camlPtreeConversionTheory
candle_kernel_valsTheory candle/prover (85s) OK
Starting work on candle_prover_invTheory
x64_targetProofTheory compiler/encoders/x64/proofs(539s) OK
Finished $(CAKEMLDIR)/compiler/encoders/x64/proofs [#theories: 1] (539.250s)
Starting work on x64_configProofTheory
candle_prover_invTheory candle/prover (27s) OK
Starting work on candle_kernel_permsTheory
x64_configProofTheory compiler/backend/x64/proofs (26s) OK
Finished $(CAKEMLDIR)/compiler/backend/x64/proofs [#theories: 1] (26.070s)
Starting work on repl_decs_allowedTheory
camlPtreeConversionTheory compiler/parsing/ocaml (49s) OK
Starting work on caml_parserTheory
caml_parserTheory compiler/parsing/ocaml (12s) OK
Finished $(CAKEMLDIR)/compiler/parsing/ocaml [#theories: 4] (296.950s)
Starting work on repl_moduleProgTheory
repl_decs_allowedTheory compiler/repl (24s) OK
Starting work on repl_check_and_tweakTheory
evaluate_initTheory compiler/repl (90s) OK
Starting work on backend_asmTheory
backend_asmTheory compiler/backend/cv_compute (21s) OK
Starting work on backend_arm8Theory
repl_check_and_tweakTheory compiler/repl (38s) OK
Starting work on repl_typesTheory
backend_arm8Theory compiler/backend/cv_compute (16s) OK
Starting work on backend_x64Theory
backend_x64Theory compiler/backend/cv_compute (17s) OK
Finished $(CAKEMLDIR)/compiler/backend/cv_compute [#theories: 3] (55.820s)
Starting work on to_data_cvTheory
repl_moduleProgTheory compiler/repl (90s) OK
Starting work on repl_init_envProgTheory
repl_typesTheory compiler/repl (64s) OK
Starting work on repl_init_typesTheory
candle_kernel_permsTheory candle/prover(141s) OK
Starting work on candle_kernel_funsTheory
repl_init_envProgTheory compiler/repl (44s) OK
Starting work on decProgTheory
candle_kernel_funsTheory candle/prover (62s) OK
Starting work on candle_prover_evaluateTheory
repl_init_typesTheory compiler/repl (60s) OK
Starting work on repl_initTheory
candle_prover_evaluateTheory candle/prover (61s) OK
Starting work on candle_basis_evaluateTheory
repl_initTheory compiler/repl (86s) OK
Finished $(CAKEMLDIR)/compiler/repl [#theories: 9] (589.830s)
Starting work on README.md
README.md compiler/bootstrap/compilation/x64/64/proofs (0s) OK
candle_basis_evaluateTheory candle/prover (35s) OK
Starting work on candle_prover_semanticsTheory
decProgTheory compiler/bootstrap/translation(142s) OK
Starting work on to_flatProgTheory
candle_prover_semanticsTheory candle/prover (94s) OK
Finished $(CAKEMLDIR)/candle/prover [#theories: 10] (686.110s)
to_data_cvTheory cv_translator(386s) OK
Starting work on backend_cvTheory
to_flatProgTheory compiler/bootstrap/translation(286s) OK
Starting work on to_closProgTheory
backend_cvTheory cv_translator(205s) OK
Starting work on backend_64_cvTheory
backend_64_cvTheory cv_translator(179s) OK
Starting work on backend_arm8_cvTheory
Starting work on backend_x64_cvTheory
backend_x64_cvTheory cv_translator(128s) OK
to_closProgTheory compiler/bootstrap/translation(399s) OK
Starting work on to_bvlProgTheory
backend_arm8_cvTheory cv_translator(145s) OK
Starting work on cake_compile_heap
cake_compile_heap cv_translator (75s) OK
Finished $(CAKEMLDIR)/cv_translator [#theories: 5] (1120.810s)
to_bvlProgTheory compiler/bootstrap/translation(277s) OK
Starting work on to_bviProgTheory
to_bviProgTheory compiler/bootstrap/translation(231s) OK
Starting work on to_dataProgTheory
to_dataProgTheory compiler/bootstrap/translation(164s) OK
Starting work on lexerProgTheory
lexerProgTheory compiler/bootstrap/translation(171s) OK
Starting work on parserProgTheory
parserProgTheory compiler/bootstrap/translation(460s) OK
Starting work on caml_lexProgTheory
caml_lexProgTheory compiler/bootstrap/translation(381s) OK
Starting work on caml_parserProgTheory
caml_parserProgTheory compiler/bootstrap/translation (19m) OK
Starting work on pancake_lexProgTheory
pancake_lexProgTheory compiler/bootstrap/translation(159s) OK
Starting work on pancake_parseProgTheory
pancake_parseProgTheory compiler/bootstrap/translation(177s) OK
Starting work on reg_allocProgTheory
reg_allocProgTheory compiler/bootstrap/translation(963s) OK
Starting work on inferProgTheory
inferProgTheory compiler/bootstrap/translation (19m) OK
Starting work on explorerProgTheory
explorerProgTheory compiler/bootstrap/translation(123s)FAIL<1>
Translator now uses checked subtraction on num.
Translating num_to_hex_digit
Adding nsLookup representation thms for 1995 consts [inferProg_env_103, reg_allocProg_env_152, ..., inferProg_env]
Saved theorem _______ "nsLookup_explorerProg_env_pfun_eqs"
Saved theorem _______ "num_to_hex_digit_v_thm"
Translating printable
Saved theorem _______ "nsLookup_explorerProg_env_0_pfun_eqs"
Saved theorem _______ "printable_v_thm"
Translating n_rev_hex_digs
Saved theorem _______ "nsLookup_explorerProg_env_1_pfun_eqs"
Adding nsLookup representation thms for [explorerProg_env_0, explorerProg_env]
Adding nsLookup representation thms for [explorerProg_env_1]
Saved theorem _______ "n_rev_hex_digs_v_thm"
Translating encode_str
Saved theorem _______ "nsLookup_explorerProg_env_2_pfun_eqs"
Saved theorem _______ "encode_str_v_thm"
Translating concat_with
Saved theorem _______ "nsLookup_explorerProg_env_3_pfun_eqs"
Adding nsLookup representation thms for [explorerProg_env_2]
Adding nsLookup representation thms for [explorerProg_env_3]
Saved theorem _______ "concat_with_v_thm"
Adding type :obj
Saved definition ____ "JSONLANG_OBJ_TYPE_def"
Saved induction _____ "JSONLANG_OBJ_TYPE_ind"
<<HOL warning: ThmSetData.revise_data:
Theorems in set "compute":
ADD<explorerProg$JSONLANG_OBJ_TYPE_def>
invalidated by NewBinding("JSONLANG_OBJ_TYPE_def", {private=false,loc=Unknown,class=Thm})>>
Saved theorem _______ "JSONLANG_OBJ_TYPE_def"
Attempting proof of: EqualityType JSONLANG_OBJ_TYPE
.. done EqualityType proof.
Adding type :obj to module explorerProg.
Saved theorem _______ "nsLookup_explorerProg_env_4_pfun_eqs"
Translating json_to_mlstring, mem_to_string
Saved definition ____ "json_to_mlstring_ind_def"
Saved theorem _______ "nsLookup_explorerProg_env_5_pfun_eqs"
Adding nsLookup representation thms for [explorerProg_env_4]
Adding nsLookup representation thms for [explorerProg_env_5]
Saved theorem _______ "json_to_mlstring_v_thm"
Saved theorem _______ "mem_to_string_v_thm"
Proved triviality ___ "json_to_mlstring_ind"
Updating mem_to_string_v_thm
Saved theorem _______ "mem_to_string_v_thm"
Updating json_to_mlstring_v_thm
Saved theorem _______ "json_to_mlstring_v_thm"
/scratch/cakeml/regression2/cakeml-3078/compiler/bootstrap/translation/explorerProgScript.sml:61: error: Structure (str_treeTheory) has not been declared
Found near translate str_treeTheory.v2strs_def
error in quse /scratch/cakeml/regression2/cakeml-3078/compiler/bootstrap/translation/explorerProgScript.sml : Fail "Static Errors"
error in load /scratch/cakeml/regression2/cakeml-3078/compiler/bootstrap/translation/explorerProgScript : Fail "Static Errors"
Uncaught exception at ./basis/FinalPolyML.sml:492: Fail "Static Errors"
Full log: /scratch/cakeml/regression2/cakeml-3078/compiler/bootstrap/translation/.hol/logs/explorerProgTheory