OverviewCakeML:82501423542d4d31947ed0aa682d087dbee5736b
monad translator: fix up store_inv confusion
#1349 (talsewell:array-heap-sort-cleanup)
Merging into:48ce8d3f3d18621a5da67f004dfd21efbc459a6b
Merge pull request #1344 from CakeML/mcandidate-fix
HOL:e6d0417424f6e780d9ef01ffce6d7f69f789a706
Mention change in remove_user_printer's type in release notes
Machine:pavlova
Claimed job
Reusing HOL
Starting developers
Finished developers 4s 153MB
Starting developers/bin
Finished developers/bin 3s 90MB
Starting misc
Finished misc 41s 1GB
Starting compiler/proofs
Finished compiler/proofs 59m26s 16GB
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)/examples/formal-languages/context-free
Scanning $(HOLDIR)/examples/machine-code/hoare-triple
Scanning $(HOLDIR)/src/transfer
Scanning $(HOLDIR)/src/pred_set/src/more_theories
Scanning $(HOLDIR)/src/coalgebras
Scanning $(HOLDIR)/examples/pl-semantics/lprefix_lub
Scanning $(CAKEMLDIR)/developers
Scanning $(CAKEMLDIR)/misc
Scanning $(HOLDIR)/src/integer
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)/src/search
Scanning $(HOLDIR)/examples/formal-languages/regular
Scanning $(CAKEMLDIR)/basis/pure
Scanning $(CAKEMLDIR)/semantics/ffi
Scanning $(CAKEMLDIR)/semantics
Scanning $(CAKEMLDIR)/semantics/proofs
Scanning $(CAKEMLDIR)/translator
Scanning $(CAKEMLDIR)/compiler/parsing
Scanning $(CAKEMLDIR)/characteristic
Scanning $(CAKEMLDIR)/translator/monadic/monad_base
Scanning $(CAKEMLDIR)/translator/monadic
Scanning $(CAKEMLDIR)/basis/monadic
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)/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 112 directories
Starting work on basis_cvTheory
Starting work on addPrintValsTheory
Starting work on holSyntaxLibTheory
Starting work on ast_extrasTheory
basis_cvTheory basis/pure (11s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 1] (11.660s)
Starting work on source_cvTheory
holSyntaxLibTheory candle/syntax-lib (12s) OK
Starting work on unify_cvTheory
addPrintValsTheory compiler/printing (12s) OK
Starting work on printTweaksTheory
ast_extrasTheory candle/prover (12s) OK
Finished $(CAKEMLDIR)/candle/syntax-lib [#theories: 1] (12.790s)
Starting work on holSyntaxTheory
printTweaksTheory compiler/printing (10s) OK
Finished $(CAKEMLDIR)/compiler/printing [#theories: 2] (23.150s)
Starting work on permsTheory
unify_cvTheory compiler/inference (16s) OK
Finished $(CAKEMLDIR)/unverified/reg_alloc (0.000s)
Finished $(CAKEMLDIR)/compiler/backend/reg_alloc (0.000s)
Starting work on x64_targetProofTheory
source_cvTheory semantics/proofs (21s) OK
Finished $(CAKEMLDIR)/semantics/proofs [#theories: 1] (21.030s)
Starting work on infer_cvTheory
holSyntaxTheory candle/standard/syntax (20s) OK
Starting work on holSyntaxExtraTheory
permsTheory candle/prover (39s) OK
Starting work on num_list_enc_decTheory
holSyntaxExtraTheory candle/standard/syntax (33s) OK
Starting work on holBoolSyntaxTheory
infer_cvTheory compiler/inference (46s) OK
Finished $(CAKEMLDIR)/compiler/inference [#theories: 2] (63.210s)
Starting work on holKernelTheory
num_list_enc_decTheory compiler/backend/serialiser (23s) OK
Starting work on num_tree_enc_decTheory
holBoolSyntaxTheory candle/standard/syntax (29s) OK
Starting work on holAxiomsSyntaxTheory
num_tree_enc_decTheory compiler/backend/serialiser (18s) OK
Starting work on backend_enc_decTheory
holKernelTheory candle/standard/monadic (30s) OK
Starting work on holKernelPmatchTheory
holAxiomsSyntaxTheory candle/standard/syntax (17s) OK
Finished $(CAKEMLDIR)/candle/standard/syntax [#theories: 4] (100.330s)
Starting work on holKernelProofTheory
holKernelPmatchTheory candle/standard/monadic (19s) OK
Starting work on runtime_checkTheory
runtime_checkTheory candle/standard/ml_kernel (17s) OK
Starting work on ml_hol_kernel_funsProgTheory
holKernelProofTheory candle/standard/monadic (48s) OK
Finished $(CAKEMLDIR)/candle/standard/monadic [#theories: 3] (98.900s)
Starting work on print_thmTheory
backend_enc_decTheory compiler/backend/serialiser (58s) OK
Starting work on compute_syntaxTheory
print_thmTheory candle/standard/ml_kernel (14s) OK
Finished $(CAKEMLDIR)/compiler/backend/serialiser [#theories: 3] (100.910s)
Starting work on monadic_encTheory
compute_syntaxTheory candle/prover/compute (23s) OK
Starting work on compute_evalTheory
monadic_encTheory compiler/encoders/monadic_enc (12s) OK
Starting work on compute_syntaxProofTheory
compute_evalTheory candle/prover/compute (21s) 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_syntaxProofTheory candle/prover/compute (76s) OK
Starting work on compute_evalProofTheory
compute_pmatchTheory candle/prover/compute (19s) OK
Starting work on monadic_enc64Theory
monadic_enc64Theory compiler/encoders/monadic_enc (18s) OK
Finished $(CAKEMLDIR)/compiler/encoders/monadic_enc [#theories: 2] (31.270s)
Starting work on caml_lexTheory
ml_hol_kernel_funsProgTheory candle/standard/ml_kernel(161s)FAIL<1>
Saved theorem _______ "new_specification_v_thm"
<<HOL message: mk_functional:
pattern completion has added 2 clauses to the original specification.>>
Translating new_basic_definition
Adding nsLookup representation thms for [ml_hol_kernel_funsProg_env_111]
Saved theorem _______ "nsLookup_ml_hol_kernel_funsProg_env_112_pfun_eqs"
Saved theorem _______ "new_basic_definition_v_thm"
<<HOL warning: ThmSetData.revise_data:
Theorems in set "compute":
ADD<ml_hol_kernel_funsProg$generated_definition_def>
invalidated by DelConstant(ml_hol_kernel_funsProg$generated_definition)>>
Translating inst_type
Adding nsLookup representation thms for [ml_hol_kernel_funsProg_env_112]
Saved theorem _______ "nsLookup_ml_hol_kernel_funsProg_env_113_pfun_eqs"
Saved theorem _______ "inst_type_v_thm"
<<HOL warning: ThmSetData.revise_data:
Theorems in set "compute":
ADD<ml_hol_kernel_funsProg$generated_definition_def>
invalidated by DelConstant(ml_hol_kernel_funsProg$generated_definition)>>
Translating inst_1
Adding nsLookup representation thms for [ml_hol_kernel_funsProg_env_113]
Saved theorem _______ "nsLookup_ml_hol_kernel_funsProg_env_114_pfun_eqs"
Saved theorem _______ "inst_1_v_thm"
<<HOL warning: ThmSetData.revise_data:
Theorems in set "compute":
ADD<ml_hol_kernel_funsProg$generated_definition_def>
invalidated by DelConstant(ml_hol_kernel_funsProg$generated_definition)>>
Translating new_basic_type_definition
Cannot translate term: sort
which has type:
:(string -> string -> bool) -> string list -> string list
Failed translation: new_basic_type_definition
ml_translate: cannot translate term: sort
which has type:
:(string -> string -> bool) -> string list -> string list
error in quse /scratch/cakeml/regression/cakeml-3245/candle/standard/ml_kernel/ml_hol_kernel_funsProgScript.sml : UnableToTranslate ?
error in load /scratch/cakeml/regression/cakeml-3245/candle/standard/ml_kernel/ml_hol_kernel_funsProgScript : UnableToTranslate ?
Uncaught exception at /scratch/cakeml/regression/cakeml-3245/translator/monadic/ml_monad_translatorLib.sml:3350: UnableToTranslate ?
Full log: /scratch/cakeml/regression/cakeml-3245/candle/standard/ml_kernel/.hol/logs/ml_hol_kernel_funsProgTheory
x64_targetProofTheory compiler/encoders/x64/proofs(289s)MKILLED
compute_evalProofTheory candle/prover/compute (43s)MKILLED
caml_lexTheory compiler/parsing/ocaml (17s)MKILLED