CakeML:b2b7f2a824e0d73f23b96c586956e54f5b2cc051
pancake: add crepLang arithmetic-simplifying pass
#1031 (talsewell:pancake_mul_to_exp)
Merging into:edb91977566df1f21bc65d79cbad114386a77d8f
fix broken instantiation order in ml_monadBaseLib
HOL:718d989039b65d4ab82e8b979876c68c04869da1
Implement general Quote syntax
Machine:pavlova
Claimed job
Reusing HOL
Starting developers
Finished developers 2s 212MB
Starting developers/bin
Finished developers/bin 9s 1GB
Starting compiler/proofs
FAILED: compiler/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)/examples/formal-languages/context-free
Scanning $(HOLDIR)/examples/balanced_bst
Scanning $(HOLDIR)/examples/formal-languages
Scanning $(HOLDIR)/examples/formal-languages/regular
Scanning $(HOLDIR)/src/transfer
Scanning $(HOLDIR)/src/pred_set/src/more_theories
Scanning $(HOLDIR)/src/coalgebras
Scanning $(HOLDIR)/examples/fun-op-sem/lprefix_lub
Scanning $(HOLDIR)/examples/machine-code/hoare-triple
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 $(HOLDIR)/examples/algorithms
Scanning $(HOLDIR)/src/ring/src
Scanning $(HOLDIR)/src/integer
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/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)/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/encoders/ag32
Scanning $(CAKEMLDIR)/compiler/backend/ag32
Scanning $(HOLDIR)/examples/l3-machine-code/lib
Scanning $(HOLDIR)/examples/l3-machine-code/arm/model
Scanning $(HOLDIR)/examples/machine-code/decompiler
Scanning $(HOLDIR)/examples/l3-machine-code
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/l3-machine-code/x64/model
Scanning $(HOLDIR)/examples/l3-machine-code/x64/step
Scanning $(CAKEMLDIR)/compiler/encoders/x64
Scanning $(CAKEMLDIR)/compiler/backend/x64
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/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 $(CAKEMLDIR)/compiler/inference/proofs
Scanning $(CAKEMLDIR)/compiler/parsing/proofs
Scanned 89 directories
Starting work on libTheory
Starting work on ag32Theory
Finished $(HOLDIR)/examples/l3-machine-code/arm/step (0.000s)
Finished $(HOLDIR)/examples/l3-machine-code/mips/model (0.000s)
Starting work on mips-heap
Finished $(HOLDIR)/examples/l3-machine-code/riscv/model (0.000s)
Starting work on riscv-heap
libTheory misc (7s) OK
Starting work on miscTheory
ag32Theory compiler/encoders/ag32 (10s) OK
Starting work on ffiTheory
riscv-heap examples/l3-machine-code/riscv/step (52s) OK
Starting work on riscv_stepTheory
mips-heap examples/l3-machine-code/mips/step (46s) OK
Starting work on mips_stepTheory
ffiTheory semantics/ffi (7s) OK
Finished $(CAKEMLDIR)/semantics/ffi [#theories: 1] (7.390s)
Starting work on x64Theory
mips_stepTheory examples/l3-machine-code/mips/step (13s) OK
Finished $(HOLDIR)/examples/l3-machine-code/mips/step [#theories: 1] (60.580s)
Starting work on commonUnifTheory
commonUnifTheory examples/algorithms/unification/triangular (1s) OK
Finished $(HOLDIR)/examples/algorithms/unification/triangular [#theories: 1] (1.610s)
Starting work on cpsTheory
cpsTheory src/transfer/examples (0s) OK
Starting work on fmspTheory
fmspTheory src/transfer/examples (2s) OK
Finished $(HOLDIR)/src/transfer/examples [#theories: 2] (2.750s)
Starting work on termTheory
termTheory examples/algorithms/unification/triangular/first-order (2s) OK
Starting work on substTheory
x64Theory examples/l3-machine-code/x64/model (18s) OK
Finished $(HOLDIR)/examples/l3-machine-code/x64/model [#theories: 1] (18.470s)
Starting work on x64-heap
substTheory examples/algorithms/unification/triangular/first-order (4s) OK
Starting work on walkTheory
riscv_stepTheory examples/l3-machine-code/riscv/step (27s) OK
Finished $(HOLDIR)/examples/l3-machine-code/riscv/step [#theories: 1] (79.870s)
Starting work on README.md
README.md compiler/proofs (0s) OK
walkTheory examples/algorithms/unification/triangular/first-order (3s) OK
Starting work on walkstarTheory
x64-heap examples/l3-machine-code/x64/step (21s) OK
Starting work on x64_stepTheory
miscTheory misc (37s) OK
Starting work on cakeml-heap
Starting work on mllistTheory
walkstarTheory ...es/algorithms/unification/triangular/first-order (2s) OK
Starting work on mloptionTheory
cakeml-heap misc (30s) OK
Finished $(CAKEMLDIR)/misc [#theories: 2] (74.310s)
Starting work on fpValTreeTheory
fpValTreeTheory semantics (1s) OK
Starting work on fpOptTheory
mllistTheory basis/pure (15s) OK
Starting work on namespaceTheory
x64_stepTheory examples/l3-machine-code/x64/step (17s) OK
Starting work on realOpsTheory
mloptionTheory basis/pure (15s) OK
Starting work on tokensTheory
realOpsTheory semantics (1s) OK
Starting work on mlstringTheory
namespaceTheory semantics (2s) OK
Starting work on mlmapTheory
fpOptTheory semantics (5s) OK
Starting work on fpSemTheory
tokensTheory semantics (3s) OK
Starting work on gramTheory
fpSemTheory semantics (2s) OK
Starting work on astTheory
gramTheory semantics (7s) OK
Starting work on tokenUtilsTheory
astTheory semantics (7s) OK
Starting work on semanticPrimitivesTheory
mlmapTheory basis/pure (17s) OK
Starting work on lexer_funTheory
tokenUtilsTheory semantics (9s) OK
Starting work on cmlPtreeConversionTheory
lexer_funTheory semantics (8s) OK
Starting work on mlvectorTheory
mlstringTheory basis/pure (28s) OK
Starting work on mlintTheory
cmlPtreeConversionTheory semantics (18s) OK
Starting work on gramPropsTheory
mlvectorTheory basis/pure (19s) OK
Starting work on namespacePropsTheory
mlintTheory basis/pure (21s) OK
Starting work on mlprettyprinterTheory
semanticPrimitivesTheory semantics (37s) OK
Starting work on evaluateTheory
evaluateTheory semantics (6s) OK
Starting work on typeSystemTheory
namespacePropsTheory semantics/proofs (19s) OK
Starting work on mlratTheory
gramPropsTheory semantics/proofs (26s) OK
Starting work on typeDecToPPTheory
mlprettyprinterTheory basis/pure (20s) OK
Starting work on astPropsTheory
typeSystemTheory semantics (20s) OK
Starting work on primTypesTheory
typeDecToPPTheory basis/pure (10s) OK
Starting work on fpOptPropsTheory
primTypesTheory semantics (3s) OK
Starting work on semanticsTheory
mlratTheory basis/pure (16s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 9] (166.010s)
Starting work on semanticPrimitivesPropsTheory
astPropsTheory semantics/proofs (16s) OK
Starting work on typeSoundInvariantsTheory
semanticsTheory semantics (5s) OK
Finished $(CAKEMLDIR)/semantics [#theories: 16] (142.100s)
Starting work on cmlPEGTheory
fpOptPropsTheory semantics/proofs (18s) OK
Starting work on fpSemPropsTheory
typeSoundInvariantsTheory semantics/proofs (15s) OK
Starting work on fromSexpTheory
semanticPrimitivesPropsTheory semantics/proofs (51s) OK
Starting work on typeSysPropsTheory
cmlPEGTheory compiler/parsing (63s) OK
Starting work on cmlParseTheory
cmlParseTheory compiler/parsing (11s) OK
Starting work on lexer_implTheory
typeSysPropsTheory semantics/proofs (34s) OK
Starting work on primSemEnvTheory
fromSexpTheory compiler/parsing (74s) OK
Starting work on weakeningTheory
primSemEnvTheory semantics/proofs (21s) OK
Starting work on cfFFITypeTheory
fpSemPropsTheory semantics/proofs(102s) OK
Starting work on evaluatePropsTheory
weakeningTheory semantics/proofs (20s) OK
Starting work on ml_monadBaseTheory
cfFFITypeTheory characteristic (18s) OK
Starting work on MarshallingTheory
lexer_implTheory compiler/parsing (51s) OK
Finished $(CAKEMLDIR)/compiler/parsing [#theories: 4] (200.620s)
Starting work on pattern_commonTheory
ml_monadBaseTheory translator/monadic/monad_base (24s) OK
Finished $(CAKEMLDIR)/translator/monadic/monad_base [#theories: 1] (24.510s)
Starting work on reg_allocTheory
MarshallingTheory basis (17s) OK
Starting work on parmoveTheory
pattern_commonTheory compiler/backend/pattern_matching (15s) OK
Starting work on pattern_semanticsTheory
pattern_semanticsTheory compiler/backend/pattern_matching (18s) OK
Starting work on pattern_compTheory
parmoveTheory compiler/backend/reg_alloc (28s) OK
Starting work on asmTheory
asmTheory compiler/encoders/asm (14s) OK
Starting work on asmSemTheory
pattern_compTheory compiler/backend/pattern_matching (22s) OK
Finished $(CAKEMLDIR)/compiler/backend/pattern_matching [#theories: 3] (57.300s)
Starting work on backend_commonTheory
reg_allocTheory compiler/backend/reg_alloc (51s) OK
Starting work on linear_scanTheory
evaluatePropsTheory semantics/proofs (92s) OK
Starting work on typeSoundTheory
backend_commonTheory compiler/backend (17s) OK
Starting work on ml_progTheory
asmSemTheory compiler/encoders/asm (17s) OK
Starting work on asmPropsTheory
asmPropsTheory compiler/encoders/asm (23s) OK
Finished $(CAKEMLDIR)/compiler/encoders/asm [#theories: 3] (55.910s)
Starting work on closLangTheory
ml_progTheory translator (28s) OK
Starting work on ml_translatorTheory
linear_scanTheory compiler/backend/reg_alloc (43s) OK
Starting work on cfHeapsBaseTheory
closLangTheory compiler/backend (22s) OK
Finished $(CAKEMLDIR)/compiler/backend/reg_alloc [#theories: 3] (123.660s)
Starting work on bviTheory
cfHeapsBaseTheory characteristic (32s) OK
Starting work on clFFITheory
bviTheory compiler/backend (17s) OK
Starting work on runtimeFFITheory
clFFITheory basis (20s) OK
Starting work on fsFFITheory
runtimeFFITheory basis (19s) OK
Starting work on dataLangTheory
ml_translatorTheory translator (68s) OK
Starting work on ml_optimiseTheory
dataLangTheory compiler/backend (17s) OK
Starting work on ml_pmatchTheory
fsFFITheory basis (26s) OK
Starting work on fsFFIPropsTheory
ml_optimiseTheory translator (29s) OK
Starting work on data_liveTheory
ml_pmatchTheory translator (27s) OK
Starting work on std_preludeTheory
data_liveTheory compiler/backend (19s) OK
Starting work on cfHeapsTheory
std_preludeTheory translator (22s)FAIL<1>
Adding type :ordering.
Saved theorem _______ "nsLookup_std_prelude_env_0_pfun_eqs"
Adding type : list
Attempting proof of: EqualityType (LIST_TYPE a)
.. done EqualityType proof.
Adding type : list.
Adding type : #
error in quse /scratch/cakeml/regression/cakeml-2509/translator/std_preludeScript.sml : HOL_ERR {message = "list too short", origin_function = "end_itlist", origin_structure = "Lib"}
error in load /scratch/cakeml/regression/cakeml-2509/translator/std_preludeScript : HOL_ERR {message = "list too short", origin_function = "end_itlist", origin_structure = "Lib"}
Uncaught exception: HOL_ERR {message = "list too short", origin_function = "end_itlist", origin_structure = "Lib"}
typeSoundTheory semantics/proofs(169s)MKILLED
fsFFIPropsTheory basis (46s)MKILLED
cfHeapsTheory characteristic (11s)MKILLED