OverviewCakeML:f7a5cb842cf0a30f4d3b067f254f26d59b51330f
First-order version of PEG exec for CakeML with translation for cv_co
#1407 (mzh-100:pegexec_fo)
Merging into:9bb446659dfd105c31f7cdf75aaa151f1cb21419
Updates for dataLang cutsets semantics change (#1403)
HOL:bf0dec986904cecbd1a1c6bce62ccf1c256eaca1
Holmake: defer execname computation to message-emission time
Machine:pavlova
Claimed job
Reusing HOL
Starting developers
Finished developers 4s 152MB
Starting developers/bin
Finished developers/bin 10s 93MB
Starting misc
Finished misc 45s 1GB
Starting compiler/proofs
Finished compiler/proofs 1h09m45s 12GB
Starting compiler/bootstrap/compilation/x64/64/proofs
Finished compiler/bootstrap/compilation/x64/64/proofs 6h47m15s 84GB
Starting semantics/ffi
Finished semantics/ffi 11s 525MB
Starting semantics
Finished semantics 1s 114MB
Starting semantics/proofs
Finished semantics/proofs 24s 749MB
Starting semantics/alt_semantics
Finished semantics/alt_semantics 16s 489MB
Starting semantics/alt_semantics/proofs
Finished semantics/alt_semantics/proofs 3m43s 2GB
Starting basis/pure
Finished basis/pure 1s 105MB
Starting translator
Finished translator 1m06s 2GB
Starting compiler/parsing
Finished compiler/parsing 1m27s 3GB
Starting characteristic
Finished characteristic 1s 132MB
Starting translator/monadic
Finished translator/monadic 1s 131MB
Starting translator/monadic/monad_base
Finished translator/monadic/monad_base 1s 102MB
Starting profiler
Finished profiler 29s 1GB
Starting basis
Finished basis 1m41s 4GB
Starting compiler
Finished compiler 2s 230MB
Starting compiler/inference
Finished compiler/inference 1s 139MB
Starting compiler/backend/reg_alloc
Finished compiler/backend/reg_alloc 1s 109MB
Starting compiler/backend/gc
Finished compiler/backend/gc 1s 161MB
Starting compiler/backend
Finished compiler/backend 1s 151MB
Starting compiler/encoders/asm
Finished compiler/encoders/asm 1s 119MB
Starting compiler/encoders/x64
Finished compiler/encoders/x64 1s 117MB
Starting compiler/encoders/arm7
Finished compiler/encoders/arm7 1s 129MB
Starting compiler/encoders/arm8
Finished compiler/encoders/arm8 1s 118MB
Starting compiler/encoders/arm8_asl
Finished compiler/encoders/arm8_asl 17s 1GB
Starting compiler/encoders/mips
Finished compiler/encoders/mips 1s 129MB
Starting compiler/encoders/riscv
Finished compiler/encoders/riscv 1s 124MB
Starting compiler/encoders/ag32
Finished compiler/encoders/ag32 1s 121MB
Starting compiler/encoders/tests
Finished compiler/encoders/tests 1s 145MB
Starting compiler/encoders/monadic_enc
Finished compiler/encoders/monadic_enc 22s 1GB
Starting compiler/backend/x64
Finished compiler/backend/x64 1s 166MB
Starting compiler/backend/arm7
Finished compiler/backend/arm7 1s 160MB
Starting compiler/backend/arm8
Finished compiler/backend/arm8 1s 160MB
Starting compiler/backend/mips
Finished compiler/backend/mips 1s 159MB
Starting compiler/backend/riscv
Finished compiler/backend/riscv 1s 164MB
Starting compiler/backend/ag32
Finished compiler/backend/ag32 1m00s 1GB
Starting compiler/backend/pattern_matching
Finished compiler/backend/pattern_matching 1s 101MB
Starting compiler/parsing/ocaml
Finished compiler/parsing/ocaml 2m07s 1GB
Starting compiler/printing
Finished compiler/printing 56s 1GB
Starting compiler/parsing/proofs
Finished compiler/parsing/proofs 1s 115MB
Starting compiler/inference/proofs
Finished compiler/inference/proofs 1s 140MB
Starting compiler/backend/semantics
Finished compiler/backend/semantics 3m04s 3GB
Starting compiler/backend/reg_alloc/proofs
Finished compiler/backend/reg_alloc/proofs 1s 131MB
Starting compiler/backend/proofs
Finished compiler/backend/proofs 43s 2GB
Starting compiler/backend/serialiser
Finished compiler/backend/serialiser 1s 163MB
Starting compiler/encoders/x64/proofs
Finished compiler/encoders/x64/proofs 1s 119MB
Starting compiler/encoders/arm7/proofs
Finished compiler/encoders/arm7/proofs 12m35s 6GB
Starting compiler/encoders/arm8/proofs
Finished compiler/encoders/arm8/proofs 8m01s 3GB
Starting compiler/encoders/arm8_asl/proofs
Finished compiler/encoders/arm8_asl/proofs 17m07s 3GB
Starting compiler/encoders/mips/proofs
Finished compiler/encoders/mips/proofs 10m56s 4GB
Starting compiler/encoders/riscv/proofs
Finished compiler/encoders/riscv/proofs 9m45s 3GB
Starting compiler/encoders/ag32/proofs
Finished compiler/encoders/ag32/proofs 3m08s 1GB
Starting compiler/backend/x64/proofs
Finished compiler/backend/x64/proofs 2s 237MB
Starting compiler/backend/arm7/proofs
Finished compiler/backend/arm7/proofs 37s 2GB
Starting compiler/backend/arm8/proofs
Finished compiler/backend/arm8/proofs 39s 2GB
Starting compiler/backend/arm8_asl
Finished compiler/backend/arm8_asl 27s 2GB
Starting compiler/backend/mips/proofs
Finished compiler/backend/mips/proofs 38s 2GB
Starting compiler/backend/riscv/proofs
Finished compiler/backend/riscv/proofs 40s 2GB
Starting compiler/backend/ag32/proofs
Finished compiler/backend/ag32/proofs 9m50s 5GB
Starting compiler/backend/cv_compute
Finished compiler/backend/cv_compute 31s 1GB
Starting cv_translator
Finished cv_translator 5m03s 4GB
Starting candle
Finished candle 0s 6MB
Starting candle/set-theory
Finished candle/set-theory 32s 893MB
Starting candle/syntax-lib
Finished candle/syntax-lib 1s 110MB
Starting candle/standard
Finished candle/standard 0s 7MB
Starting candle/standard/syntax
Finished candle/standard/syntax 14s 780MB
Starting candle/standard/semantics
Finished candle/standard/semantics 2m16s 2GB
Starting candle/standard/monadic
Finished candle/standard/monadic 1s 139MB
Starting candle/standard/ml_kernel
Finished candle/standard/ml_kernel 2m02s 4GB
Starting candle/overloading
Finished candle/overloading 0s 6MB
Starting candle/overloading/syntax
Finished candle/overloading/syntax 3m10s 2GB
Starting candle/overloading/semantics
Finished candle/overloading/semantics 9m38s 7GB
Starting candle/overloading/monadic
Finished candle/overloading/monadic 2m05s 1GB
Starting candle/overloading/ml_kernel
Finished candle/overloading/ml_kernel 6m40s 6GB
Starting candle/overloading/ml_checker
Finished candle/overloading/ml_checker 2m41s 6GB
Starting candle/prover
Finished candle/prover 2s 202MB
Starting candle/prover/compute
Finished candle/prover/compute 2s 172MB
Starting pancake
Finished pancake 1s 165MB
Starting pancake/semantics
Finished pancake/semantics 2m54s 2GB
Starting pancake/parser
Finished pancake/parser 41s 508MB
Starting pancake/static_checker
Finished pancake/static_checker 2m33s 1GB
Starting pancake/proofs
Finished pancake/proofs 17m14s 5GB
Starting compiler/dafny
Finished compiler/dafny 23s 628MB
Starting compiler/dafny/translation
Finished compiler/dafny/translation 10m05s 6GB
Starting compiler/dafny/compilation
Finished compiler/dafny/compilation 1m44s 6GB
Starting compiler/dafny/semantics
Finished compiler/dafny/semantics 37s 484MB
Starting compiler/dafny/proofs
Finished compiler/dafny/proofs 1m40s 1GB
Starting compiler/dafny/vcg
Finished compiler/dafny/vcg 1s 131MB
Starting compiler/dafny/vcg/examples
Finished compiler/dafny/vcg/examples 27s 1GB
Starting compiler/scheme
Finished compiler/scheme 27s 1GB
Starting compiler/scheme/translation
Finished compiler/scheme/translation 6m46s 8GB
Starting compiler/scheme/compilation
Finished compiler/scheme/compilation 1m21s 4GB
Starting compiler/scheme/proofs
Finished compiler/scheme/proofs 6m45s 3GB
Starting characteristic/examples
Finished characteristic/examples 1m33s 5GB
Starting tutorial/solutions
Finished tutorial/solutions 2m41s 3GB
Starting translator/monadic/examples
Finished translator/monadic/examples 3m03s 4GB
Starting examples
Finished examples 4m52s 5GB
Starting examples/compilation
Finished examples/compilation 0s 6MB
Starting examples/compilation/x64
Finished examples/compilation/x64 7m29s 4GB
Starting examples/compilation/x64/proofs
Finished examples/compilation/x64/proofs 3m11s 4GB
Starting examples/compilation/ag32
Finished examples/compilation/ag32 2m18s 3GB
Starting examples/compilation/ag32/proofs
Finished examples/compilation/ag32/proofs 1m15s 4GB
Starting examples/lpr_checker
Finished examples/lpr_checker 38s 1GB
Starting examples/lpr_checker/array
Finished examples/lpr_checker/array 13m06s 8GB
Starting examples/lpr_checker/array/compilation
Finished examples/lpr_checker/array/compilation 3m28s 5GB
Starting examples/lpr_checker/array/compilation/proofs
Finished examples/lpr_checker/array/compilation/proofs 1m20s 5GB
Starting examples/lpr_checker/array/compilation/proofsARM8
Finished examples/lpr_checker/array/compilation/proofsARM8 1m23s 6GB
Starting .
Finished . 4s 374MB
Starting examples/xlrup_checker
FAILED: examples/xlrup_checker
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)/basis/pure
Scanning $(CAKEMLDIR)/semantics/ffi
Scanning $(CAKEMLDIR)/semantics
Scanning $(CAKEMLDIR)/semantics/proofs
Scanning $(CAKEMLDIR)/compiler/parsing
Scanning $(CAKEMLDIR)/translator
Scanning $(CAKEMLDIR)/characteristic
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)/translator/monadic/monad_base
Scanning $(CAKEMLDIR)/translator/monadic
Scanning $(CAKEMLDIR)/basis
Scanned 43 directories
Starting work on README.md
Starting work on cnf_extTheory
README.md (0s) OK
cnf_extTheory (10s) OK
Starting work on xlrupTheory
xlrupTheory (26s) OK
Starting work on xlrup_parsingTheory
xlrup_parsingTheory (8s) OK
Starting work on pegexec_foTheory
pegexec_foTheory (39s)FAIL<1>
*** Holmake aborted - 1 target failed:
*** pegexec_foTheory (status 1)
Saved theorem _______ "cv_split_hint_thm"
Finished translating split_hint, stored in cv_split_hint_thm
Saved theorem _______ "cv_parse_badd_thm"
Finished translating parse_badd, stored in cv_parse_badd_thm
Saved theorem _______ "cv_parse_badd_bdel_thm"
Finished translating parse_badd_bdel, stored in cv_parse_badd_bdel_thm
Saved theorem _______ "cv_parse_rup_del_thm"
Finished translating parse_rup_del, stored in cv_parse_rup_del_thm
Saved theorem _______ "cv_parse_xlrup_thm"
Finished translating parse_xlrup, stored in cv_parse_xlrup_thm
Saved definition ____ "map_tokenize_def"
Saved induction _____ "map_tokenize_ind"
Saved theorem _______ "map_tokenize_thm"
Saved theorem _______ "cv_is_lowercase_thm"
Finished translating is_lowercase, stored in cv_is_lowercase_thm
Saved theorem _______ "cv_strlen'_thm"
Finished translating strlen, stored in cv_strlen'_thm
Saved theorem _______ "cv_exp_for_dec_enc_thm"
Finished translating exp_for_dec_enc, stored in cv_exp_for_dec_enc_thm
Saved theorem _______ "cv_padLen_DEC_thm"
Finished translating padLen_DEC, stored in cv_padLen_DEC_thm
Saved theorem _______ "cv_fromChar_unsafe_thm"
Finished translating fromChar_unsafe, stored in cv_fromChar_unsafe_thm
Saved definition ____ "cv_fromChars_range_unsafe_def"
Saved induction _____ "cv_fromChars_range_unsafe_ind"
Saved theorem _______ "fcru_pre_rules"
Saved theorem _______ "fcru_pre_ind"
Saved theorem _______ "fcru_pre_strongind"
Saved theorem _______ "fcru_pre_cases"
Saved theorem _______ "cv_fromChars_range_unsafe_thm"
Finished translating fromChars_range_unsafe, stored in cv_fromChars_range_unsafe_thm
WARNING: definition of cv_fromChars_range_unsafe has a precondition.
You can set up the precondition proof as follows:
Theorem fcru_pre[cv_pre]:
l v str. fcru_pre l v str
Proof
ho_match_mp_tac mlintTheory.fromChars_range_unsafe_ind (* for example *)
...
QED
Saved theorem _______ "fcru_pre"
/scratch/cakeml/regression/cakeml-3378/examples/xlrup_checker/pegexec_foScript.sml:1944: error: Value or constructor (fromChars_unsafe_ind) has not been declared
Found near fromChars_unsafe_ind |> update_precondition
/scratch/cakeml/regression/cakeml-3378/examples/xlrup_checker/pegexec_foScript.sml:1944: error: Value or constructor (update_precondition) has not been declared
Found near fromChars_unsafe_ind |> update_precondition
error in quse /scratch/cakeml/regression/cakeml-3378/examples/xlrup_checker/pegexec_foScript.sml : Fail "Static Errors"
error in load /scratch/cakeml/regression/cakeml-3378/examples/xlrup_checker/pegexec_foScript : Fail "Static Errors"
Uncaught exception at ./basis/FinalPolyML.sml:492: Fail "Static Errors"
Full log: /scratch/cakeml/regression/cakeml-3378/examples/xlrup_checker/.hol/logs/pegexec_foTheory