Overview

Job 3123

CakeML:f04dfbac753806d54e3a5769561ffe11fa8fc6d8
  Use existing prim_type_cases theorem
#1301 (new-prims)
Merging into:3164c9b611542b008be6d3a6da80968a2b7b3c6f
  Merge pull request #1296 from CakeML/new-prims
HOL:f02a261b181e0408a16745877f3feb8f1b8c1cb6
  Modernise syntax in milawa_proofp
Machine:lammmington

 Claimed job
 Reusing HOL
 Starting developers
 Finished developers                                               4s 180MB
 Starting developers/bin
 Finished developers/bin                                           3s  91MB
 Starting misc
 Finished misc                                                    39s   1GB
 Starting compiler/proofs
 Finished compiler/proofs                                    1h01m30s  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.530s) 
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.520s) 
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.680s) 
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 (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 (22s)     OK
Starting work on holKernelTheory
infer_cvTheory                                  compiler/inference (60s)     OK
Finished $(CAKEMLDIR)/compiler/inference [#theories: 2]               (77.190s) 
Starting work on num_tree_enc_decTheory
holBoolSyntaxTheory                         candle/standard/syntax (28s)     OK
Starting work on holAxiomsSyntaxTheory
num_tree_enc_decTheory                 compiler/backend/serialiser (16s)     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]          (103.710s) 
Starting work on holKernelProofTheory
holKernelPmatchTheory                      candle/standard/monadic (20s)     OK
Starting work on runtime_checkTheory
runtime_checkTheory                      candle/standard/ml_kernel (16s)     OK
Starting work on ml_hol_kernel_funsProgTheory
backend_enc_decTheory                  compiler/backend/serialiser (56s)     OK
Starting work on print_thmTheory
holKernelProofTheory                       candle/standard/monadic (53s)     OK
Finished $(CAKEMLDIR)/candle/standard/monadic [#theories: 3]         (104.970s) 
Starting work on compute_syntaxTheory
print_thmTheory                          candle/standard/ml_kernel (14s)     OK
Finished $(CAKEMLDIR)/compiler/backend/serialiser [#theories: 3]      (94.850s) 
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 (20s)     OK
Starting work on compute_execTheory
compute_execTheory                           candle/prover/compute (19s)     OK
Starting work on computeTheory
computeTheory                                candle/prover/compute (16s)     OK
Starting work on compute_pmatchTheory
compute_pmatchTheory                         candle/prover/compute (19s)     OK
Starting work on monadic_enc64Theory
compute_syntaxProofTheory                    candle/prover/compute (87s)     OK
Starting work on compute_evalProofTheory
monadic_enc64Theory                  compiler/encoders/monadic_enc (16s)     OK
Finished $(CAKEMLDIR)/compiler/encoders/monadic_enc [#theories: 2]    (28.960s) 
Starting work on caml_lexTheory
compute_evalProofTheory                      candle/prover/compute (71s)     OK
Starting work on compute_execProofTheory
ml_hol_kernel_funsProgTheory             candle/standard/ml_kernel(208s)     OK
Finished $(CAKEMLDIR)/candle/standard/ml_kernel [#theories: 3]       (239.480s) 
Starting work on candle_kernelProgTheory
compute_execProofTheory                      candle/prover/compute (16s)     OK
Starting work on computeProofTheory
computeProofTheory                           candle/prover/compute (42s)     OK
Finished $(CAKEMLDIR)/candle/prover/compute [#theories: 9]           (317.080s) 
Starting work on addPrintValsTheory
addPrintValsTheory                               compiler/printing (12s)     OK
Starting work on addTypePPTheory
addTypePPTheory                                  compiler/printing  (7s)     OK
Starting work on printTweaksTheory
caml_lexTheory                              compiler/parsing/ocaml(139s)     OK
Starting work on camlPEGTheory
printTweaksTheory                                compiler/printing (10s)     OK
Finished $(CAKEMLDIR)/compiler/printing [#theories: 3]                (30.690s) 
Starting work on evaluate_skipTheory
evaluate_skipTheory                                  compiler/repl (32s)FAIL<1>
 <<HOL message: mk_functional: 
   pattern completion has added 5 clauses to the original specification.>>
 Saved definition ____ "match_res_rel_def"
 Saved induction _____ "match_res_rel_ind"
 Saved theorem _______ "pmatch_update"
 Saved theorem _______ "evaluate_update_Nil"
 Saved theorem _______ "evaluate_update_Cons"
 Saved theorem _______ "evaluate_update_Lit"
 Saved theorem _______ "evaluate_update_Raise"
 Saved theorem _______ "can_pmatch_all_thm"
 Saved theorem _______ "evaluate_update_Handle"
 Saved theorem _______ "do_con_check_update"
 Saved theorem _______ "evaluate_update_Con"
 Saved theorem _______ "evaluate_update_Var"
 Saved theorem _______ "evaluate_update_Fun"
 Saved theorem _______ "evaluate_update_Eval"
 Saved theorem _______ "state_rel_store_lookup"
 Saved theorem _______ "state_rel_store_assign"
 Saved theorem _______ "v_rel_v_to_list"
 Saved theorem _______ "v_rel_vs_to_string"
 Saved theorem _______ "v_rel_list_to_v"
 Saved theorem _______ "v_rel_v_to_char_list"
 Saved theorem _______ "v_to_list_list_to_v"
 Saved theorem _______ "INJ_EQ_11_alt"
 Saved theorem _______ "v_rel_do_eq"
 Proved triviality ___ "v_rel_IMP_check_type_eq"
 Proved triviality ___ "v_rel_IMP_dest_Litv_eq"
 Proved triviality ___ "do_test_thm"
 /scratch/cakeml/regression3/cakeml-3123/compiler/repl/evaluate_skipScript.sml:864: error: Value or constructor (prim_type_cases) has not been declared
 Found near
   Q.store_thm_at
   (
   DB_dtype.mkloc
   (
      "/scratch/cakeml/regression3/cakeml-3123/compiler/repl/evaluate_skipScript.sml"
      ,
      852,
      ...
      ))
   (
      "do_arith_update",
      [
         QUOTE
         " (*#loc 852 25*)\n  state_rel l fr ft fe s t \226\136\167\n  LIST_REL (v_rel fr ft fe) vs ws \226\136\167\n  EVERY (check_type ty) vs\n  \226\135\146\n  OPTREL ((v_rel fr ft fe) +++ (v_rel fr ft fe))\n    (do_arith a ty vs) (do_arith a ty ws)"
         ],
      (fn ... => ...)
      )
 error in quse /scratch/cakeml/regression3/cakeml-3123/compiler/repl/evaluate_skipScript.sml : Fail "Static Errors"
 error in load /scratch/cakeml/regression3/cakeml-3123/compiler/repl/evaluate_skipScript : Fail "Static Errors"
 Uncaught exception at ./basis/FinalPolyML.sml:492: Fail "Static Errors"
 Full log: /scratch/cakeml/regression3/cakeml-3123/compiler/repl/.hol/logs/evaluate_skipTheory
x64_targetProofTheory                 compiler/encoders/x64/proofs(484s)MKILLED
candle_kernelProgTheory                              candle/prover(112s)MKILLED
camlPEGTheory                               compiler/parsing/ocaml (38s)MKILLED