OverviewCakeML:5a20992414a3150735f26b6c6927a3961b0c9a10
Prove a cheat
#1288 (new-prims)
Merging into:9a6b1e38243770d39294d63a8360f894267210b9
Merge pull request #1280 from CakeML/mlsexp
HOL:f02a261b181e0408a16745877f3feb8f1b8c1cb6
Modernise syntax in milawa_proofp
Machine:timtam
Claimed job
Reusing HOL
Starting developers
Finished developers 4s 135MB
Starting developers/bin
Finished developers/bin 3s 91MB
Starting misc
Finished misc 38s 1GB
Starting compiler/proofs
Finished compiler/proofs 1h01m19s 10GB
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 (10s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 1] (10.500s)
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.540s)
Starting work on holSyntaxTheory
ast_extrasTheory candle/prover (13s) OK
Starting work on permsTheory
ml_monadStoreTheory translator/monadic (18s) OK
Finished $(CAKEMLDIR)/translator/monadic [#theories: 1] (18.110s)
Starting work on unify_cvTheory
holSyntaxTheory candle/standard/syntax (19s) OK
Starting work on holSyntaxExtraTheory
unify_cvTheory compiler/inference (16s) OK
Starting work on infer_cvTheory
permsTheory candle/prover (24s)FAIL<1>
Saved theorem _______ "perms_ok_env"
Saved theorem _______ "perms_ok_def"
Saved theorem _______ "perms_ok_env_def"
Saved theorem _______ "perms_ok_env_UNION"
Saved theorem _______ "perms_ok_env_BIGUNION"
Saved theorem _______ "perms_ok_bind_exn_v"
Saved theorem _______ "perms_ok_div_exn_v"
Saved theorem _______ "perms_ok_sub_exn_v"
Saved theorem _______ "perms_ok_chr_exn_v"
Saved definition ____ "perms_ok_ref_def"
Saved definition ____ "perms_ok_state_def"
Saved theorem _______ "perms_ok_state_with_clock"
Saved theorem _______ "pmatch_perms_ok"
Saved theorem _______ "perms_ok_env_extend_dec_env"
Saved theorem _______ "EVERY_perms_ok_env_BIGUNION"
Saved theorem _______ "perms_ok_env_EMPTY"
<<HOL message: mk_functional:
pattern completion has added 3 clauses to the original specification.>>
Saved definition ____ "dfreevars_def"
Saved induction _____ "dfreevars_ind"
Saved theorem _______ "perms_ok_v_to_list"
Proof of
do_app (refs,ffi) op vs = SOME ((refs1,ffi1),res) op Opapp op Eval
EVERY (perms_ok ps) vs (RefAlloc ps IMAGE RefMention (:num) ps)
(W8Alloc ps IMAGE RefMention (:num) ps)
(n. n < LENGTH refs RefMention n ps perms_ok_ref ps (EL n refs))
(op = Opref RefAlloc ps) (op = Aalloc RefAlloc ps)
(op = AallocEmpty RefAlloc ps) (op = AallocFixed RefAlloc ps)
(op = Aw8alloc W8Alloc ps) (op = Opassign RefUpdate ps)
(chn. op = FFI chn FFIWrite chn ps DoFFI ps)
(m. op = ThunkOp (AllocThunk m) RefAlloc ps)
(m. op = ThunkOp (UpdateThunk m) RefUpdate ps) op Opapp
(n. n < LENGTH refs1 RefMention n ps perms_ok_ref ps (EL n refs1))
(RefAlloc ps W8Alloc ps LENGTH refs1 = LENGTH refs)
(DoFFI ps ffi1 = ffi)
(ch out y.
MEM (IO_event (ExtCall ch) out y) ffi1.io_events
MEM (IO_event (ExtCall ch) out y) ffi.io_events FFIWrite ch ps)
case list_result res of
Rval vs => EVERY (perms_ok ps) vs
| Rerr (Rraise v) => perms_ok ps v
| Rerr (Rabort err) => T
failed.
Exception raised at boolLib.store_thm_at:
at Tactical.THEN1:
Failed to prove theorem "do_app_perms":
first subgoal not solved by second tactic
Full log: /scratch/cakeml/regression2/cakeml-3087/candle/prover/.hol/logs/permsTheory
x64_targetProofTheory compiler/encoders/x64/proofs (25s)MKILLED
holSyntaxExtraTheory candle/standard/syntax (5s)MKILLED
infer_cvTheory compiler/inference (2s)MKILLED