OverviewCakeML:f7a5cb842cf0a30f4d3b067f254f26d59b51330f
First-order version of PEG exec for CakeML with translation for cv_co
#1407 (mzh-100:pegexec_fo)
Merging into:3755e17b474bbfedaee7e6914718dd189a144ea6
Merge pull request #1405 from mrichards30/feature/little-theories
HOL:bf0dec986904cecbd1a1c6bce62ccf1c256eaca1
Holmake: defer execname computation to message-emission time
Machine:lammmington
Claimed job
Reusing HOL
Starting developers
Finished developers 4s 217MB
Starting developers/bin
Finished developers/bin 2s 93MB
Starting misc
Finished misc 46s 1GB
Starting compiler/proofs
Finished compiler/proofs 1h10m07s 9GB
Starting compiler/bootstrap/compilation/x64/64/proofs
Finished compiler/bootstrap/compilation/x64/64/proofs 6h43m56s 100GB
Starting semantics/ffi
Finished semantics/ffi 11s 547MB
Starting semantics
Finished semantics 1s 107MB
Starting semantics/proofs
Finished semantics/proofs 24s 819MB
Starting semantics/alt_semantics
Finished semantics/alt_semantics 16s 564MB
Starting semantics/alt_semantics/proofs
Finished semantics/alt_semantics/proofs 3m49s 1GB
Starting basis/pure
Finished basis/pure 1s 104MB
Starting translator
Finished translator 1m13s 2GB
Starting compiler/parsing
Finished compiler/parsing 1m27s 3GB
Starting characteristic
Finished characteristic 1s 139MB
Starting translator/monadic
Finished translator/monadic 1s 131MB
Starting translator/monadic/monad_base
Finished translator/monadic/monad_base 1s 103MB
Starting profiler
Finished profiler 29s 1GB
Starting basis
Finished basis 1m40s 4GB
Starting compiler
Finished compiler 2s 233MB
Starting compiler/inference
Finished compiler/inference 1s 130MB
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 155MB
Starting compiler/encoders/asm
Finished compiler/encoders/asm 1s 123MB
Starting compiler/encoders/x64
Finished compiler/encoders/x64 1s 118MB
Starting compiler/encoders/arm7
Finished compiler/encoders/arm7 1s 119MB
Starting compiler/encoders/arm8
Finished compiler/encoders/arm8 1s 116MB
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 127MB
Starting compiler/encoders/tests
Finished compiler/encoders/tests 1s 148MB
Starting compiler/encoders/monadic_enc
Finished compiler/encoders/monadic_enc 22s 1GB
Starting compiler/backend/x64
Finished compiler/backend/x64 1s 159MB
Starting compiler/backend/arm7
Finished compiler/backend/arm7 1s 161MB
Starting compiler/backend/arm8
Finished compiler/backend/arm8 1s 161MB
Starting compiler/backend/mips
Finished compiler/backend/mips 1s 162MB
Starting compiler/backend/riscv
Finished compiler/backend/riscv 1s 153MB
Starting compiler/backend/ag32
Finished compiler/backend/ag32 1m04s 2GB
Starting compiler/backend/pattern_matching
Finished compiler/backend/pattern_matching 1s 105MB
Starting compiler/parsing/ocaml
Finished compiler/parsing/ocaml 2m08s 1GB
Starting compiler/printing
Finished compiler/printing 53s 1GB
Starting compiler/parsing/proofs
Finished compiler/parsing/proofs 1s 114MB
Starting compiler/inference/proofs
Finished compiler/inference/proofs 1s 140MB
Starting compiler/backend/semantics
Finished compiler/backend/semantics 3m03s 3GB
Starting compiler/backend/reg_alloc/proofs
Finished compiler/backend/reg_alloc/proofs 1s 133MB
Starting compiler/backend/proofs
Finished compiler/backend/proofs 45s 3GB
Starting compiler/backend/serialiser
Finished compiler/backend/serialiser 1s 172MB
Starting compiler/encoders/x64/proofs
Finished compiler/encoders/x64/proofs 1s 128MB
Starting compiler/encoders/arm7/proofs
Finished compiler/encoders/arm7/proofs 12m30s 7GB
Starting compiler/encoders/arm8/proofs
Finished compiler/encoders/arm8/proofs 8m03s 3GB
Starting compiler/encoders/arm8_asl/proofs
Finished compiler/encoders/arm8_asl/proofs 17m31s 2GB
Starting compiler/encoders/mips/proofs
Finished compiler/encoders/mips/proofs 10m57s 5GB
Starting compiler/encoders/riscv/proofs
Finished compiler/encoders/riscv/proofs 9m29s 3GB
Starting compiler/encoders/ag32/proofs
Finished compiler/encoders/ag32/proofs 3m09s 2GB
Starting compiler/backend/x64/proofs
Finished compiler/backend/x64/proofs 2s 239MB
Starting compiler/backend/arm7/proofs
Finished compiler/backend/arm7/proofs 38s 2GB
Starting compiler/backend/arm8/proofs
Finished compiler/backend/arm8/proofs 39s 2GB
Starting compiler/backend/arm8_asl
Finished compiler/backend/arm8_asl 26s 1GB
Starting compiler/backend/mips/proofs
Finished compiler/backend/mips/proofs 38s 2GB
Starting compiler/backend/riscv/proofs
Finished compiler/backend/riscv/proofs 43s 2GB
Starting compiler/backend/ag32/proofs
Finished compiler/backend/ag32/proofs 9m30s 5GB
Starting compiler/backend/cv_compute
Finished compiler/backend/cv_compute 30s 1GB
Starting cv_translator
Finished cv_translator 5m02s 3GB
Starting candle
Finished candle 0s 6MB
Starting candle/set-theory
Finished candle/set-theory 31s 879MB
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 14s 792MB
Starting candle/standard/syntax/little_theories
Finished candle/standard/syntax/little_theories 1m12s 1GB
Starting candle/standard/semantics
Finished candle/standard/semantics 2m10s 1GB
Starting candle/standard/monadic
Finished candle/standard/monadic 1s 148MB
Starting candle/standard/ml_kernel
Finished candle/standard/ml_kernel 2m05s 4GB
Starting candle/overloading
Finished candle/overloading 0s 6MB
Starting candle/overloading/syntax
Finished candle/overloading/syntax 3m13s 2GB
Starting candle/overloading/semantics
Finished candle/overloading/semantics 9m45s 7GB
Starting candle/overloading/monadic
Finished candle/overloading/monadic 2m04s 1GB
Starting candle/overloading/ml_kernel
Finished candle/overloading/ml_kernel 6m49s 6GB
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 181MB
Starting pancake
Finished pancake 1s 156MB
Starting pancake/semantics
Finished pancake/semantics 2m54s 1GB
Starting pancake/parser
Finished pancake/parser 40s 607MB
Starting pancake/static_checker
Finished pancake/static_checker 2m34s 1GB
Starting pancake/proofs
Finished pancake/proofs 17m16s 4GB
Starting compiler/dafny
Finished compiler/dafny 23s 659MB
Starting compiler/dafny/translation
Finished compiler/dafny/translation 10m07s 6GB
Starting compiler/dafny/compilation
Finished compiler/dafny/compilation 1m46s 6GB
Starting compiler/dafny/semantics
Finished compiler/dafny/semantics 38s 493MB
Starting compiler/dafny/proofs
Finished compiler/dafny/proofs 1m36s 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 6m37s 7GB
Starting compiler/scheme/compilation
Finished compiler/scheme/compilation 1m23s 4GB
Starting compiler/scheme/proofs
Finished compiler/scheme/proofs 6m55s 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 3m04s 4GB
Starting examples
Finished examples 4m45s 3GB
Starting examples/compilation
Finished examples/compilation 0s 6MB
Starting examples/compilation/x64
Finished examples/compilation/x64 7m20s 4GB
Starting examples/compilation/x64/proofs
Finished examples/compilation/x64/proofs 3m19s 4GB
Starting examples/compilation/ag32
Finished examples/compilation/ag32 2m15s 3GB
Starting examples/compilation/ag32/proofs
Finished examples/compilation/ag32/proofs 1m19s 4GB
Starting examples/lpr_checker
Finished examples/lpr_checker 39s 1GB
Starting examples/lpr_checker/array
Finished examples/lpr_checker/array 13m23s 7GB
Starting examples/lpr_checker/array/compilation
Finished examples/lpr_checker/array/compilation 3m29s 6GB
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 5GB
Starting .
Finished . 4s 357MB
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 (27s) 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/regression3/cakeml-3381/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/regression3/cakeml-3381/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/regression3/cakeml-3381/examples/xlrup_checker/pegexec_foScript.sml : Fail "Static Errors"
error in load /scratch/cakeml/regression3/cakeml-3381/examples/xlrup_checker/pegexec_foScript : Fail "Static Errors"
Uncaught exception at ./basis/FinalPolyML.sml:492: Fail "Static Errors"
Full log: /scratch/cakeml/regression3/cakeml-3381/examples/xlrup_checker/.hol/logs/pegexec_foTheory