OverviewCakeML:b6cf9a9d247a029f52768317b3e8e4bd70489de5
Fix another broken proof
#1288 (new-prims)
Merging into:0c53e4377f46736d155ab5548e1d56ac8fcfe8ac
Remove custom opt_rel_def
HOL:f02a261b181e0408a16745877f3feb8f1b8c1cb6
Modernise syntax in milawa_proofp
Machine:timtam
Claimed job
Reusing HOL
Starting developers
Finished developers 4s 182MB
Starting developers/bin
Finished developers/bin 4s 91MB
Starting misc
Finished misc 39s 1GB
Starting compiler/proofs
Finished compiler/proofs 1h01m42s 11GB
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 (8s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 1] (8.860s)
Finished $(CAKEMLDIR)/unverified/reg_alloc (0.000s)
Finished $(CAKEMLDIR)/compiler/backend/reg_alloc (0.000s)
Starting work on x64_targetProofTheory
holSyntaxLibTheory candle/syntax-lib (12s) OK
Finished $(CAKEMLDIR)/candle/syntax-lib [#theories: 1] (12.620s)
Starting work on holSyntaxTheory
ast_extrasTheory candle/prover (12s) OK
Starting work on permsTheory
ml_monadStoreTheory translator/monadic (20s) OK
Finished $(CAKEMLDIR)/translator/monadic [#theories: 1] (20.290s)
Starting work on unify_cvTheory
holSyntaxTheory candle/standard/syntax (20s) OK
Starting work on holSyntaxExtraTheory
unify_cvTheory compiler/inference (16s) OK
Starting work on infer_cvTheory
permsTheory candle/prover (51s) OK
Starting work on num_list_enc_decTheory
holSyntaxExtraTheory candle/standard/syntax (37s) OK
Starting work on holBoolSyntaxTheory
num_list_enc_decTheory compiler/backend/serialiser (21s) OK
Starting work on holKernelTheory
infer_cvTheory compiler/inference (61s) OK
Finished $(CAKEMLDIR)/compiler/inference [#theories: 2] (78.210s)
Starting work on num_tree_enc_decTheory
holBoolSyntaxTheory candle/standard/syntax (29s) OK
Starting work on holAxiomsSyntaxTheory
num_tree_enc_decTheory compiler/backend/serialiser (16s) OK
Starting work on backend_enc_decTheory
holKernelTheory candle/standard/monadic (31s) OK
Starting work on holKernelPmatchTheory
holAxiomsSyntaxTheory candle/standard/syntax (17s) OK
Finished $(CAKEMLDIR)/candle/standard/syntax [#theories: 4] (103.970s)
Starting work on holKernelProofTheory
holKernelPmatchTheory candle/standard/monadic (20s) 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 (53s) OK
Finished $(CAKEMLDIR)/candle/standard/monadic [#theories: 3] (105.020s)
Starting work on print_thmTheory
backend_enc_decTheory compiler/backend/serialiser (55s) OK
Starting work on compute_syntaxTheory
print_thmTheory candle/standard/ml_kernel (14s) OK
Finished $(CAKEMLDIR)/compiler/backend/serialiser [#theories: 3] (92.690s)
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 (19s) OK
Starting work on compute_execTheory
compute_execTheory candle/prover/compute (19s) OK
Starting work on computeTheory
computeTheory candle/prover/compute (15s) OK
Starting work on compute_pmatchTheory
compute_pmatchTheory candle/prover/compute (19s) OK
Starting work on monadic_enc64Theory
compute_syntaxProofTheory candle/prover/compute (85s) OK
Starting work on compute_evalProofTheory
monadic_enc64Theory compiler/encoders/monadic_enc (16s) OK
Finished $(CAKEMLDIR)/compiler/encoders/monadic_enc [#theories: 2] (29.240s)
Starting work on caml_lexTheory
compute_evalProofTheory candle/prover/compute (70s) OK
Starting work on compute_execProofTheory
ml_hol_kernel_funsProgTheory candle/standard/ml_kernel(205s) OK
Finished $(CAKEMLDIR)/candle/standard/ml_kernel [#theories: 3] (236.710s)
Starting work on candle_kernelProgTheory
compute_execProofTheory candle/prover/compute (15s) OK
Starting work on computeProofTheory
computeProofTheory candle/prover/compute (42s) OK
Finished $(CAKEMLDIR)/candle/prover/compute [#theories: 9] (311.530s)
Starting work on addPrintValsTheory
addPrintValsTheory compiler/printing (12s) OK
Starting work on addTypePPTheory
addTypePPTheory compiler/printing (7s) OK
Starting work on printTweaksTheory
printTweaksTheory compiler/printing (10s) OK
Finished $(CAKEMLDIR)/compiler/printing [#theories: 3] (30.310s)
Starting work on evaluate_skipTheory
caml_lexTheory compiler/parsing/ocaml(139s) OK
Starting work on camlPEGTheory
candle_kernelProgTheory candle/prover(132s) OK
Starting work on candle_kernel_valsTheory
evaluate_skipTheory compiler/repl (96s) OK
Starting work on evaluate_initTheory
x64_targetProofTheory compiler/encoders/x64/proofs(550s) OK
Finished $(CAKEMLDIR)/compiler/encoders/x64/proofs [#theories: 1] (550.770s)
Starting work on x64_configProofTheory
camlPEGTheory compiler/parsing/ocaml(107s) OK
Starting work on camlPtreeConversionTheory
x64_configProofTheory compiler/backend/x64/proofs (29s) OK
Finished $(CAKEMLDIR)/compiler/backend/x64/proofs [#theories: 1] (29.400s)
Starting work on repl_moduleProgTheory
candle_kernel_valsTheory candle/prover (90s) OK
Starting work on candle_prover_invTheory
camlPtreeConversionTheory compiler/parsing/ocaml (54s) OK
Starting work on caml_parserTheory
candle_prover_invTheory candle/prover (31s) OK
Starting work on candle_kernel_permsTheory
caml_parserTheory compiler/parsing/ocaml (13s) OK
Finished $(CAKEMLDIR)/compiler/parsing/ocaml [#theories: 4] (314.370s)
Starting work on repl_decs_allowedTheory
evaluate_initTheory compiler/repl (94s) OK
Starting work on backend_asmTheory
backend_asmTheory compiler/backend/cv_compute (24s) OK
Starting work on backend_arm8Theory
repl_decs_allowedTheory compiler/repl (29s) OK
Starting work on repl_check_and_tweakTheory
backend_arm8Theory compiler/backend/cv_compute (18s) OK
Starting work on backend_x64Theory
repl_moduleProgTheory compiler/repl (97s) OK
Starting work on repl_init_envProgTheory
backend_x64Theory compiler/backend/cv_compute (20s) OK
Finished $(CAKEMLDIR)/compiler/backend/cv_compute [#theories: 3] (63.630s)
Starting work on to_data_cvTheory
repl_check_and_tweakTheory compiler/repl (41s) OK
Starting work on repl_init_typesTheory
repl_init_envProgTheory compiler/repl (49s) OK
Starting work on repl_typesTheory
repl_init_typesTheory compiler/repl (54s)FAIL<1>
Saved theorem _______ "cv_recordtype_type_env_seldef_t_thm"
Finished translating recordtype.type_env.seldef.t, stored in cv_recordtype_type_env_seldef_t_thm
Starting translation of init_config from inferTheory.
Starting translation of prim_tenv from primTypesTheory.
Starting translation of Tlist from typeSystemTheory.
Saved theorem _______ "cv_Tlist_thm"
Finished translating Tlist, stored in cv_Tlist_thm
Starting translation of prim_tenv from primTypesTheory.
Saved theorem _______ "cv_prim_tenv_thm"
Finished translating prim_tenv, stored in cv_prim_tenv_thm
Starting translation of init_config from inferTheory.
Starting translation of recordtype.type_env.seldef.c from typeSystemTheory.
Saved theorem _______ "cv_recordtype_type_env_seldef_c_thm"
Finished translating recordtype.type_env.seldef.c, stored in cv_recordtype_type_env_seldef_c_thm
Starting translation of init_config from inferTheory.
Saved theorem _______ "cv_init_config_thm"
Finished translating init_config, stored in cv_init_config_thm
ERROR: Encountered non-cv constant: Mod
This appears in definition:
cv_supported_arith cv_a cv_v =
cv_if (cv_ispair cv_v) (cv$Num 0)
(cv_if (cv_lt (cv$Num 1) cv_v)
(cv_if (cv_lt (cv$Num 2) cv_v)
(cv_if (cv_lt (cv$Num 3) cv_v)
(cv_if
(cv_list_mem cv_a
(from_list from_ast_temp_ast_temp_arith [Abs; Neg; Sqrt]))
(cv$Pair (cv$Num 1) (cv$Num 1))
(cv_if
(cv_list_mem cv_a
(from_list from_ast_temp_ast_temp_arith
[Add; Sub; Mul; Div]))
(cv$Pair (cv$Num 1) (cv$Num 2))
(cv_if
(cv_list_mem cv_a
(from_list from_ast_temp_ast_temp_arith [FMA]))
(cv$Pair (cv$Num 1) (cv$Num 3)) (cv$Num 0))))
(cv$Num 0)) (cv$Num 0))
(cv_if (cv_lt (cv$Num 0) cv_v)
(cv_if
(cv_list_mem cv_a
(from_list from_ast_temp_ast_temp_arith
[Add; Sub; Mul; Div; Mod]))
(cv$Pair (cv$Num 1) (cv$Num 2)) (cv$Num 0)) (cv$Num 0)))
error in quse /scratch/cakeml/regression2/cakeml-3093/compiler/repl/repl_init_typesScript.sml : HOL_ERR (HOL_ERROR {message = "Encountered non-cv constant: Mod", origins = [{origin_function = "failwith", origin_structure = "??", source_location = Loc_Unknown}]})
error in load /scratch/cakeml/regression2/cakeml-3093/compiler/repl/repl_init_typesScript : HOL_ERR (HOL_ERROR {message = "Encountered non-cv constant: Mod", origins = [{origin_function = "failwith", origin_structure = "??", source_location = Loc_Unknown}]})
Uncaught exception at /scratch/cakeml/regression2/HOL-f02a261b181e0408a16745877f3feb8f1b8c1cb6/src/num/theories/cv_compute/automation/cv_transLib.sml:921: HOL_ERR (HOL_ERROR {message = "Encountered non-cv constant: Mod", origins = [{origin_function = "failwith", origin_structure = "??", source_location = Loc_Unknown}]})
Full log: /scratch/cakeml/regression2/cakeml-3093/compiler/repl/.hol/logs/repl_init_typesTheory
candle_kernel_permsTheory candle/prover(146s)MKILLED
to_data_cvTheory cv_translator (65s)MKILLED
repl_typesTheory compiler/repl (30s)MKILLED