OverviewCakeML:f7a5cb842cf0a30f4d3b067f254f26d59b51330f
First-order version of PEG exec for CakeML with translation for cv_co
#1407 (mzh-100:pegexec_fo)
Merging into:f56a9dabae658b10a25796fcc993a1181962b7ca
Merge pull request #1404 from CakeML/build-flover
HOL:bf0dec986904cecbd1a1c6bce62ccf1c256eaca1
Holmake: defer execname computation to message-emission time
Machine:timtam
Claimed job
Reusing HOL
Starting developers
Finished developers 4s 117MB
Starting developers/bin
Finished developers/bin 2s 92MB
Starting misc
Finished misc 45s 1GB
Starting compiler/proofs
Finished compiler/proofs 1h11m24s 12GB
Starting compiler/bootstrap/compilation/x64/64/proofs
Finished compiler/bootstrap/compilation/x64/64/proofs 6h42m44s 103GB
Starting semantics/ffi
Finished semantics/ffi 11s 547MB
Starting semantics
Finished semantics 1s 107MB
Starting semantics/proofs
Finished semantics/proofs 24s 716MB
Starting semantics/alt_semantics
Finished semantics/alt_semantics 16s 563MB
Starting semantics/alt_semantics/proofs
Finished semantics/alt_semantics/proofs 3m46s 1GB
Starting basis/pure
Finished basis/pure 1s 104MB
Starting translator
Finished translator 1m07s 2GB
Starting compiler/parsing
Finished compiler/parsing 1m26s 2GB
Starting characteristic
Finished characteristic 1s 137MB
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 1m37s 4GB
Starting compiler
Finished compiler 2s 232MB
Starting compiler/inference
Finished compiler/inference 1s 125MB
Starting compiler/backend/reg_alloc
Finished compiler/backend/reg_alloc 1s 115MB
Starting compiler/backend/gc
Finished compiler/backend/gc 1s 158MB
Starting compiler/backend
Finished compiler/backend 1s 148MB
Starting compiler/encoders/asm
Finished compiler/encoders/asm 1s 122MB
Starting compiler/encoders/x64
Finished compiler/encoders/x64 1s 117MB
Starting compiler/encoders/arm7
Finished compiler/encoders/arm7 1s 119MB
Starting compiler/encoders/arm8
Finished compiler/encoders/arm8 1s 115MB
Starting compiler/encoders/arm8_asl
Finished compiler/encoders/arm8_asl 17s 1GB
Starting compiler/encoders/mips
Finished compiler/encoders/mips 1s 117MB
Starting compiler/encoders/riscv
Finished compiler/encoders/riscv 1s 117MB
Starting compiler/encoders/ag32
Finished compiler/encoders/ag32 1s 125MB
Starting compiler/encoders/tests
Finished compiler/encoders/tests 1s 147MB
Starting compiler/encoders/monadic_enc
Finished compiler/encoders/monadic_enc 22s 1GB
Starting compiler/backend/x64
Finished compiler/backend/x64 1s 160MB
Starting compiler/backend/arm7
Finished compiler/backend/arm7 1s 161MB
Starting compiler/backend/arm8
Finished compiler/backend/arm8 1s 162MB
Starting compiler/backend/mips
Finished compiler/backend/mips 1s 162MB
Starting compiler/backend/riscv
Finished compiler/backend/riscv 1s 161MB
Starting compiler/backend/ag32
Finished compiler/backend/ag32 1m00s 1GB
Starting compiler/backend/pattern_matching
Finished compiler/backend/pattern_matching 1s 104MB
Starting compiler/parsing/ocaml
Finished compiler/parsing/ocaml 2m06s 1GB
Starting compiler/printing
Finished compiler/printing 51s 1GB
Starting compiler/parsing/proofs
Finished compiler/parsing/proofs 1s 121MB
Starting compiler/inference/proofs
Finished compiler/inference/proofs 1s 141MB
Starting compiler/backend/semantics
Finished compiler/backend/semantics 3m05s 3GB
Starting compiler/backend/reg_alloc/proofs
Finished compiler/backend/reg_alloc/proofs 1s 139MB
Starting compiler/backend/proofs
Finished compiler/backend/proofs 42s 2GB
Starting compiler/backend/serialiser
Finished compiler/backend/serialiser 1s 173MB
Starting compiler/encoders/x64/proofs
Finished compiler/encoders/x64/proofs 1s 128MB
Starting compiler/encoders/arm7/proofs
Finished compiler/encoders/arm7/proofs 12m29s 7GB
Starting compiler/encoders/arm8/proofs
Finished compiler/encoders/arm8/proofs 8m14s 3GB
Starting compiler/encoders/arm8_asl/proofs
Finished compiler/encoders/arm8_asl/proofs 16m52s 3GB
Starting compiler/encoders/mips/proofs
Finished compiler/encoders/mips/proofs 10m56s 6GB
Starting compiler/encoders/riscv/proofs
Finished compiler/encoders/riscv/proofs 9m30s 3GB
Starting compiler/encoders/ag32/proofs
Finished compiler/encoders/ag32/proofs 3m07s 2GB
Starting compiler/backend/x64/proofs
Finished compiler/backend/x64/proofs 2s 239MB
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 28s 2GB
Starting compiler/backend/mips/proofs
Finished compiler/backend/mips/proofs 38s 2GB
Starting compiler/backend/riscv/proofs
Finished compiler/backend/riscv/proofs 42s 2GB
Starting compiler/backend/ag32/proofs
Finished compiler/backend/ag32/proofs 9m48s 5GB
Starting compiler/backend/cv_compute
Finished compiler/backend/cv_compute 30s 1GB
Starting cv_translator
Finished cv_translator 4m52s 3GB
Starting candle
Finished candle 0s 6MB
Starting candle/set-theory
Finished candle/set-theory 31s 895MB
Starting candle/syntax-lib
Finished candle/syntax-lib 1s 105MB
Starting candle/standard
Finished candle/standard 0s 7MB
Starting candle/standard/syntax
Finished candle/standard/syntax 15s 779MB
Starting candle/standard/semantics
Finished candle/standard/semantics 2m12s 2GB
Starting candle/standard/monadic
Finished candle/standard/monadic 1s 147MB
Starting candle/standard/ml_kernel
Finished candle/standard/ml_kernel 2m04s 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 9m39s 4GB
Starting candle/overloading/monadic
Finished candle/overloading/monadic 2m03s 1GB
Starting candle/overloading/ml_kernel
Finished candle/overloading/ml_kernel 6m39s 7GB
Starting candle/overloading/ml_checker
Finished candle/overloading/ml_checker 2m41s 6GB
Starting candle/prover
Finished candle/prover 2s 194MB
Starting candle/prover/compute
Finished candle/prover/compute 2s 190MB
Starting pancake
Finished pancake 1s 155MB
Starting pancake/semantics
Finished pancake/semantics 2m55s 1GB
Starting pancake/parser
Finished pancake/parser 41s 483MB
Starting pancake/static_checker
Finished pancake/static_checker 2m33s 1GB
Starting pancake/proofs
Finished pancake/proofs 17m26s 4GB
Starting compiler/dafny
Finished compiler/dafny 23s 658MB
Starting compiler/dafny/translation
Finished compiler/dafny/translation 9m59s 6GB
Starting compiler/dafny/compilation
Finished compiler/dafny/compilation 1m50s 6GB
Starting compiler/dafny/semantics
Finished compiler/dafny/semantics 37s 508MB
Starting compiler/dafny/proofs
Finished compiler/dafny/proofs 1m41s 1GB
Starting compiler/dafny/vcg
Finished compiler/dafny/vcg 1s 127MB
Starting compiler/dafny/vcg/examples
Finished compiler/dafny/vcg/examples 28s 1GB
Starting compiler/scheme
Finished compiler/scheme 26s 1GB
Starting compiler/scheme/translation
Finished compiler/scheme/translation 6m39s 6GB
Starting compiler/scheme/compilation
Finished compiler/scheme/compilation 1m21s 4GB
Starting compiler/scheme/proofs
Finished compiler/scheme/proofs 6m50s 2GB
Starting characteristic/examples
Finished characteristic/examples 1m29s 4GB
Starting tutorial/solutions
Finished tutorial/solutions 2m46s 3GB
Starting translator/monadic/examples
Finished translator/monadic/examples 3m06s 4GB
Starting examples
Finished examples 4m55s 4GB
Starting examples/compilation
Finished examples/compilation 0s 6MB
Starting examples/compilation/x64
Finished examples/compilation/x64 7m21s 3GB
Starting examples/compilation/x64/proofs
Finished examples/compilation/x64/proofs 3m03s 4GB
Starting examples/compilation/ag32
Finished examples/compilation/ag32 2m21s 3GB
Starting examples/compilation/ag32/proofs
Finished examples/compilation/ag32/proofs 1m18s 4GB
Starting examples/lpr_checker
Finished examples/lpr_checker 39s 1GB
Starting examples/lpr_checker/array
Finished examples/lpr_checker/array 13m05s 7GB
Starting examples/lpr_checker/array/compilation
Finished examples/lpr_checker/array/compilation 3m32s 7GB
Starting examples/lpr_checker/array/compilation/proofs
Finished examples/lpr_checker/array/compilation/proofs 1m18s 5GB
Starting examples/lpr_checker/array/compilation/proofsARM8
Finished examples/lpr_checker/array/compilation/proofsARM8 1m26s 5GB
Starting .
Finished . 4s 369MB
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 (7s) 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/regression2/cakeml-3376/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/regression2/cakeml-3376/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/regression2/cakeml-3376/examples/xlrup_checker/pegexec_foScript.sml : Fail "Static Errors"
error in load /scratch/cakeml/regression2/cakeml-3376/examples/xlrup_checker/pegexec_foScript : Fail "Static Errors"
Uncaught exception at ./basis/FinalPolyML.sml:492: Fail "Static Errors"
Full log: /scratch/cakeml/regression2/cakeml-3376/examples/xlrup_checker/.hol/logs/pegexec_foTheory