OverviewCakeML:91c65a0dce25352477c78c5b785808249f3e6c44
fix top-level proofs
#1068 (preserve)
Merging into:b9843ac59b40ad1a8adc0dfdfcd5e0656f44ab6e
Merge pull request #1064 from CakeML/remove-define
HOL:4d1b16443810923d9832780d757d1b868bc9eef4
cv translator: allow known fun types in ctors
Machine:stove 5.15.0-86-generic x86_64 GNU/Linux
Claimed job
Reusing HOL
Starting developers
Finished developers 6s 155MB
Starting developers/bin
Finished developers/bin 5s 1GB
Starting compiler/proofs
Finished compiler/proofs 1h55m22s 14GB
Starting compiler/bootstrap/translation
Finished compiler/bootstrap/translation 8h58m11s 38GB
Starting semantics/ffi
Finished semantics/ffi 5s 410MB
Starting semantics
Finished semantics 1s 20MB
Starting semantics/proofs
Finished semantics/proofs 25s 413MB
Starting semantics/alt_semantics
Finished semantics/alt_semantics 22s 524MB
Starting semantics/alt_semantics/proofs
Finished semantics/alt_semantics/proofs 11m38s 1GB
Starting basis/pure
Finished basis/pure 1s 19MB
Starting translator
Finished translator 1m41s 1GB
Starting compiler/parsing
Finished compiler/parsing 1s 18MB
Starting characteristic
Finished characteristic 1s 25MB
Starting translator/monadic
Finished translator/monadic 1s 22MB
Starting basis
Finished basis 2m33s 2GB
Starting compiler/inference
Finished compiler/inference 1s 24MB
Starting compiler/backend/reg_alloc
Finished compiler/backend/reg_alloc 1s 20MB
Starting compiler/backend/gc
Finished compiler/backend/gc 2s 24MB
Starting compiler/backend
Finished compiler/backend 5s 294MB
Starting compiler/encoders/asm
Finished compiler/encoders/asm 1s 23MB
Starting compiler/encoders/x64
Finished compiler/encoders/x64 1s 25MB
Starting compiler/encoders/arm7
Finished compiler/encoders/arm7 1s 23MB
Starting compiler/encoders/arm8
Finished compiler/encoders/arm8 1s 27MB
Starting compiler/encoders/arm8_asl
Finished compiler/encoders/arm8_asl 2h29m51s 31GB
Starting compiler/encoders/mips
Finished compiler/encoders/mips 1s 22MB
Starting compiler/encoders/riscv
Finished compiler/encoders/riscv 1s 24MB
Starting compiler/encoders/ag32
Finished compiler/encoders/ag32 1s 26MB
Starting compiler/backend/x64
Finished compiler/backend/x64 2s 29MB
Starting compiler/backend/arm7
Finished compiler/backend/arm7 2s 33MB
Starting compiler/backend/arm8
Finished compiler/backend/arm8 2s 28MB
Starting compiler/backend/mips
Finished compiler/backend/mips 2s 25MB
Starting compiler/backend/riscv
Finished compiler/backend/riscv 2s 28MB
Starting compiler/backend/ag32
Finished compiler/backend/ag32 1m11s 1GB
Starting compiler/parsing/proofs
Finished compiler/parsing/proofs 1s 22MB
Starting compiler/inference/proofs
Finished compiler/inference/proofs 1s 20MB
Starting compiler/backend/semantics
Finished compiler/backend/semantics 3m30s 1GB
Starting compiler/backend/reg_alloc/proofs
Finished compiler/backend/reg_alloc/proofs 1s 23MB
Starting compiler/backend/proofs
Finished compiler/backend/proofs 52s 2GB
Starting compiler/backend/serialiser
Finished compiler/backend/serialiser 2s 25MB
Starting compiler/encoders/x64/proofs
Finished compiler/encoders/x64/proofs 10m44s 4GB
Starting compiler/encoders/arm7/proofs
Finished compiler/encoders/arm7/proofs 13m48s 5GB
Starting compiler/encoders/arm8/proofs
Finished compiler/encoders/arm8/proofs 7m32s 1GB
Starting compiler/encoders/arm8_asl/proofs
Finished compiler/encoders/arm8_asl/proofs 55m44s 5GB
Starting compiler/encoders/mips/proofs
Finished compiler/encoders/mips/proofs 10m50s 2GB
Starting compiler/encoders/riscv/proofs
Finished compiler/encoders/riscv/proofs 9m09s 1GB
Starting compiler/encoders/ag32/proofs
Finished compiler/encoders/ag32/proofs 3m18s 1GB
Starting compiler/backend/x64/proofs
Finished compiler/backend/x64/proofs 32s 2GB
Starting compiler/backend/arm7/proofs
Finished compiler/backend/arm7/proofs 33s 1GB
Starting compiler/backend/arm8/proofs
Finished compiler/backend/arm8/proofs 32s 1GB
Starting compiler/backend/arm8_asl
Finished compiler/backend/arm8_asl 24s 1GB
Starting compiler/backend/mips/proofs
Finished compiler/backend/mips/proofs 34s 2GB
Starting compiler/backend/riscv/proofs
Finished compiler/backend/riscv/proofs 36s 2GB
Starting compiler/backend/ag32/proofs
Finished compiler/backend/ag32/proofs 14m49s 5GB
Starting compiler/backend/cv_compute
Finished compiler/backend/cv_compute 1m18s 2GB
Starting cv_translator
Finished cv_translator 21m20s 5GB
Starting candle/set-theory
Finished candle/set-theory 36s 1GB
Starting candle/syntax-lib
Finished candle/syntax-lib 1s 23MB
Starting candle/standard/syntax
Finished candle/standard/syntax 13s 802MB
Starting candle/standard/semantics
Finished candle/standard/semantics 2m13s 1GB
Starting candle/standard/monadic
Finished candle/standard/monadic 1s 21MB
Starting candle/standard/ml_kernel
Finished candle/standard/ml_kernel 1m54s 3GB
Starting candle/overloading/syntax
Finished candle/overloading/syntax 3m30s 1GB
Starting candle/overloading/semantics
Finished candle/overloading/semantics 12m34s 3GB
Starting candle/overloading/monadic
Finished candle/overloading/monadic 2m31s 1GB
Starting candle/overloading/ml_kernel
Finished candle/overloading/ml_kernel 8m14s 4GB
Starting candle/overloading/ml_checker
Finished candle/overloading/ml_checker 2m47s 2GB
Starting candle/prover
Finished candle/prover 10m39s 3GB
Starting pancake
Finished pancake 25s 849MB
Starting pancake/ffi
Finished pancake/ffi 0s 13MB
Starting pancake/semantics
Finished pancake/semantics 2m23s 1GB
Starting pancake/parser
Finished pancake/parser 25s 433MB
Starting pancake/proofs
Finished pancake/proofs 18m42s 3GB
Starting compiler/dafny
Finished compiler/dafny 2m31s 10GB
Starting compiler/dafny/translation
Finished compiler/dafny/translation 30m04s 16GB
Starting compiler/dafny/compilation
Finished compiler/dafny/compilation 3m23s 10GB
Starting compiler/dafny/semantics
Finished compiler/dafny/semantics 37s 824MB
Starting characteristic/examples
Finished characteristic/examples 1m31s 2GB
Starting tutorial/solutions
Finished tutorial/solutions 2m51s 4GB
Starting translator/monadic/examples
Finished translator/monadic/examples 3m37s 2GB
Starting examples
Finished examples 14m48s 2GB
Starting examples/compilation/x64
Finished examples/compilation/x64 9m04s 6GB
Starting examples/compilation/x64/proofs
Finished examples/compilation/x64/proofs 2m56s 4GB
Starting examples/compilation/ag32
Finished examples/compilation/ag32 2m15s 3GB
Starting examples/compilation/ag32/proofs
Finished examples/compilation/ag32/proofs 1m15s 5GB
Starting examples/compilation/to_word
Finished examples/compilation/to_word 3m28s 5GB
Starting examples/lpr_checker
Finished examples/lpr_checker 30s 559MB
Starting examples/lpr_checker/array
Finished examples/lpr_checker/array 28m09s 6GB
Starting examples/lpr_checker/array/compilation
Finished examples/lpr_checker/array/compilation 2m48s 7GB
Starting examples/lpr_checker/array/compilation/proofs
Finished examples/lpr_checker/array/compilation/proofs 1m24s 5GB
Starting examples/lpr_checker/array/compilation/proofsARM8
Finished examples/lpr_checker/array/compilation/proofsARM8 1m20s 5GB
Starting examples/xlrup_checker
Finished examples/xlrup_checker 37s 622MB
Starting examples/xlrup_checker/array
Finished examples/xlrup_checker/array 14m30s 2GB
Starting examples/xlrup_checker/array/compilation
Finished examples/xlrup_checker/array/compilation 1m25s 4GB
Starting examples/xlrup_checker/array/compilation/proofs
Finished examples/xlrup_checker/array/compilation/proofs 1m05s 4GB
Starting examples/pseudo_bool
Finished examples/pseudo_bool 1m39s 1GB
Starting examples/pseudo_bool/cnf_encoding
Finished examples/pseudo_bool/cnf_encoding 30s 952MB
Starting examples/pseudo_bool/graph_encoding
Finished examples/pseudo_bool/graph_encoding 46s 1GB
Starting examples/pseudo_bool/array
Finished examples/pseudo_bool/array 1h11m47s 8GB
Starting examples/pseudo_bool/array/compilation
Finished examples/pseudo_bool/array/compilation 15m59s 25GB
Starting examples/pseudo_bool/array/compilation/proofs
FAILED: examples/pseudo_bool/array/compilation/proofs
Scanning [1m$(HOLDIR)/src/bag[0m
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/algorithms[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)/examples/machine-code/multiword[0m
Scanning [1m$(HOLDIR)/examples/balanced_bst[0m
Scanning [1m$(HOLDIR)/examples/formal-languages[0m
Scanning [1m$(HOLDIR)/examples/formal-languages/context-free[0m
Scanning [1m$(HOLDIR)/examples/formal-languages/regular[0m
Scanning [1m$(HOLDIR)/src/transfer[0m
Scanning [1m$(HOLDIR)/src/pred_set/src/more_theories[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)/compiler/backend/pattern_matching[0m
Scanning [1m$(CAKEMLDIR)/translator/monadic/monad_base[0m
Scanning [1m$(CAKEMLDIR)/unverified/reg_alloc[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/reg_alloc[0m
Scanning [1m$(HOLDIR)/src/algebra/base[0m
Scanning [1m$(HOLDIR)/src/algebra/construction[0m
Scanning [1m$(HOLDIR)/src/algebra[0m
Scanning [1m$(HOLDIR)/src/hol88[0m
Scanning [1m$(HOLDIR)/src/rational[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$(CAKEMLDIR)/compiler/encoders/asm[0m
Scanning [1m$(CAKEMLDIR)/semantics/proofs[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/gc[0m
Scanning [1m$(CAKEMLDIR)/compiler/parsing[0m
Scanning [1m$(CAKEMLDIR)/translator[0m
Scanning [1m$(CAKEMLDIR)/characteristic[0m
Scanning [1m$(CAKEMLDIR)/translator/monadic[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/reg_alloc/proofs[0m
Scanning [1m$(CAKEMLDIR)/semantics/alt_semantics[0m
Scanning [1m$(CAKEMLDIR)/semantics/alt_semantics/proofs[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/semantics[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/proofs[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/lib[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/x64/model[0m
Scanning [1m$(HOLDIR)/examples/machine-code/decompiler[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code[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/l3-machine-code/x64/prog[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/x64/proofs[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/x64/proofs[0m
Scanning [1m$(CAKEMLDIR)/basis[0m
Scanning [1m$(HOLDIR)/src/num/theories/cv_compute/automation[0m
Scanning [1m$(HOLDIR)/examples/bootstrap[0m
Scanning [1m$(CAKEMLDIR)/examples[0m
Scanning [1m$(CAKEMLDIR)/examples/pseudo_bool[0m
Scanning [1m$(CAKEMLDIR)/examples/lpr_checker[0m
Scanning [1m$(CAKEMLDIR)/examples/pseudo_bool/cnf_encoding[0m
Scanning [1m$(CAKEMLDIR)/examples/pseudo_bool/graph_encoding[0m
Scanning [1m$(CAKEMLDIR)/examples/pseudo_bool/array[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/ag32[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/ag32[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/arm/model[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/model[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/model[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/model[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/algorithms/unification/triangular[0m
Scanning [1m$(HOLDIR)/src/transfer/examples[0m
Scanning [1m$(HOLDIR)/examples/algorithms/unification/triangular/first-order[0m
Scanning [1m$(HOLDIR)/examples/algorithms/unification/triangular/first-order/compilation[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/serialiser[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/cv_compute[0m
Scanning [1m$(CAKEMLDIR)/cv_translator[0m
Scanning [1m$(CAKEMLDIR)/unverified/sexpr-bootstrap[0m
Scanning [1m$(CAKEMLDIR)/examples/pseudo_bool/array/compilation[0m
Scanned 103 directories
Starting work on README.md
Starting work on cliqueProofTheory
Starting work on cnfProofTheory
Starting work on mccisProofTheory
README.md (0s) OK
Starting work on mcisProofTheory
mcisProofTheory (75s) OK
Starting work on npbc_fullProofTheory
mccisProofTheory (81s) OK
Starting work on subgraph_isoProofTheory
cliqueProofTheory (81s) OK
Starting work on wcnfProofTheory
cnfProofTheory (81s)FAIL<1>
<<HOL message: Created theory "cnfProof">>
Saved theorem _______ "cake_pb_cnf_compiled_thm"
Saved definition ____ "installed_x64_def"
Saved definition ____ "cake_pb_cnf_code_def"
Saved definition ____ "cake_pb_cnf_run_def"
Exception raised at Tactical.THEN1:
first subgoal not solved by second tactic (THEN1 on line 103)
error in quse /home/cug/hk324/cml-regression/cakeml-2652/examples/pseudo_bool/array/compilation/proofs/cnfProofScript.sml : HOL_ERR {message = "first subgoal not solved by second tactic (THEN1 on line 103)", origin_function = "THEN1", origin_structure = "Tactical"}
error in load /home/cug/hk324/cml-regression/cakeml-2652/examples/pseudo_bool/array/compilation/proofs/cnfProofScript : HOL_ERR {message = "first subgoal not solved by second tactic (THEN1 on line 103)", origin_function = "THEN1", origin_structure = "Tactical"}
Proof of
cake_pb_cnf_run cl fs mc ms
machine_sem mc (basis_ffi cl fs) ms
extend_with_resource_limit {Terminate Success (cake_pb_cnf_io_events cl fs)}
out err.
extract_fs fs (cake_pb_cnf_io_events cl fs) =
SOME (add_stdout (add_stderr fs err) out)
(out
inFS_fname fs (EL 1 cl)
(LENGTH cl = 2
(fml.
parse_dimacs (all_lines fs (EL 1 cl)) = SOME fml
out = concat (print_prob (mk_prob (fml_to_pbf fml))))
LENGTH cl = 3
fml.
parse_dimacs (all_lines fs (EL 1 cl)) = SOME fml
(out = UNSAT_string unsatisfiable (interp fml)
out = SAT_string satisfiable (interp fml))))
failed.
Failed to prove theorem machine_code_sound.
Uncaught exception at /home/cug/hk324/cml-regression/HOL-4d1b16443810923d9832780d757d1b868bc9eef4/src/prekernel/Feedback.sml:106: HOL_ERR {message = "first subgoal not solved by second tactic (THEN1 on line 103)", origin_function = "THEN1", origin_structure = "Tactical"}
npbc_fullProofTheory (6s)MKILLED
subgraph_isoProofTheory (1s)MKILLED
wcnfProofTheory (0s)MKILLED