CakeML:6e8b556608f5e130892b03a2d26bed71702d4e31
fix ag32_memoryProof
#1304 (mcandidate-fix)
Merging into:680922ba96c3158bcdb7f7becd76a1976dbcbe16
Use mlstring in ast and related theories (#1298)
HOL:ec2580f47550bf224fbbcb8063c4ece8e08de73c
Sketch implementation of facility to handle script chunks
Machine:timtam
Claimed job
Reusing HOL
Starting developers
Finished developers 4s 201MB
Starting developers/bin
Finished developers/bin 3s 90MB
Starting misc
Finished misc 41s 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)/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)/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 $(CAKEMLDIR)/translator/monadic/monad_base
Scanning $(CAKEMLDIR)/translator/monadic
Scanning $(CAKEMLDIR)/basis
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/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 mllistTheory
Starting work on mlmapTheory
Starting work on mloptionTheory
Starting work on mlsetTheory
mloptionTheory basis/pure (1s) OK
Starting work on namespaceTheory
mlsetTheory basis/pure (3s) OK
Starting work on MarshallingTheory
namespaceTheory semantics (2s) OK
Starting work on ast_tempTheory
mllistTheory basis/pure (4s) OK
Starting work on mlstringTheory
ast_tempTheory semantics (0s) OK
Starting work on mlvectorTheory
mlmapTheory basis/pure (5s) OK
Starting work on pattern_commonTheory
MarshallingTheory basis (3s) OK
Starting work on parmoveTheory
mlvectorTheory basis/pure (7s) OK
Starting work on backend_commonTheory
pattern_commonTheory compiler/backend/pattern_matching (10s) OK
Starting work on db_varsTheory
backend_commonTheory compiler/backend (4s) OK
Starting work on ag32Theory
mlstringTheory basis/pure (12s) OK
Starting work on mlintTheory
db_varsTheory compiler/backend (2s) OK
Starting work on mlsexpTheory
mlintTheory basis/pure (7s) OK
Starting work on mlprettyprinterTheory
ag32Theory compiler/encoders/ag32 (9s) OK
Starting work on mlratTheory
mlsexpTheory basis/pure (9s) OK
Starting work on ffiTheory
parmoveTheory compiler/backend/reg_alloc (22s) OK
Starting work on astTheory
mlratTheory basis/pure (4s) OK
Starting work on tokensTheory
mlprettyprinterTheory basis/pure (8s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 10] (63.660s)
Starting work on cfFFITypeTheory
tokensTheory semantics (4s) OK
Starting work on gramTheory
ffiTheory semantics/ffi (8s) OK
Finished $(CAKEMLDIR)/semantics/ffi [#theories: 1] (8.420s)
Starting work on tokenUtilsTheory
astTheory semantics (9s) OK
Starting work on fpSemTheory
cfFFITypeTheory characteristic (5s) OK
Starting work on lexer_funTheory
fpSemTheory semantics (2s) OK
Starting work on semanticPrimitivesTheory
gramTheory semantics (8s) OK
Starting work on typeDecToPPTheory
tokenUtilsTheory semantics (9s) OK
Starting work on cmlPtreeConversionTheory
typeDecToPPTheory semantics (3s) OK
Starting work on gramPropsTheory
lexer_funTheory semantics (11s) OK
Starting work on namespacePropsTheory
namespacePropsTheory semantics/proofs (5s) OK
Starting work on cmlPEGTheory
gramPropsTheory semantics/proofs (13s) OK
Starting work on fromSexpTheory
semanticPrimitivesTheory semantics (25s) OK
Starting work on evaluateTheory
cmlPtreeConversionTheory semantics (22s) OK
Starting work on typeSystemTheory
evaluateTheory semantics (5s) OK
Starting work on semanticPrimitivesPropsTheory
typeSystemTheory semantics (14s) OK
Starting work on primTypesTheory
primTypesTheory semantics (2s) OK
Starting work on semanticsTheory
semanticsTheory semantics (4s) OK
Finished $(CAKEMLDIR)/semantics [#theories: 15] (126.420s)
Starting work on typeSoundInvariantsTheory
typeSoundInvariantsTheory semantics/proofs (4s) OK
Starting work on lexer_implTheory
semanticPrimitivesPropsTheory semantics/proofs (25s) OK
Starting work on evaluatePropsTheory
cmlPEGTheory compiler/parsing (63s) OK
Starting work on typeSysPropsTheory
fromSexpTheory compiler/parsing (56s) OK
Starting work on cmlParseTheory
cmlParseTheory compiler/parsing (9s) OK
Starting work on ml_monadBaseTheory
typeSysPropsTheory semantics/proofs (17s) OK
Starting work on primSemEnvTheory
lexer_implTheory compiler/parsing (38s) OK
Starting work on weakeningTheory
primSemEnvTheory semantics/proofs (7s) OK
Finished $(CAKEMLDIR)/compiler/parsing [#theories: 4] (167.320s)
Starting work on pattern_semanticsTheory
weakeningTheory semantics/proofs (6s) OK
Starting work on asmTheory
ml_monadBaseTheory translator/monadic/monad_base (17s) OK
Finished $(CAKEMLDIR)/translator/monadic/monad_base [#theories: 1] (17.200s)
Starting work on reg_allocTheory
asmTheory compiler/encoders/asm (12s) OK
Starting work on asmSemTheory
pattern_semanticsTheory compiler/backend/pattern_matching (15s) OK
Starting work on pattern_compTheory
evaluatePropsTheory semantics/proofs (66s) OK
Starting work on typeSoundTheory
asmSemTheory compiler/encoders/asm (11s) OK
Starting work on evaluate_decTheory
pattern_compTheory compiler/backend/pattern_matching (15s) OK
Finished $(CAKEMLDIR)/compiler/backend/pattern_matching [#theories: 3] (41.760s)
Starting work on asmPropsTheory
evaluate_decTheory translator (6s) OK
Starting work on ml_progTheory
ml_progTheory translator (11s) OK
Starting work on ml_translatorTheory
reg_allocTheory compiler/backend/reg_alloc (38s) OK
Starting work on cfHeapsBaseTheory
asmPropsTheory compiler/encoders/asm (15s) OK
Starting work on linear_scanTheory
cfHeapsBaseTheory characteristic (16s) OK
Starting work on clFFITheory
clFFITheory basis (5s) OK
Starting work on runtimeFFITheory
runtimeFFITheory basis (5s) OK
Starting work on fsFFITheory
ml_translatorTheory translator (32s) OK
Starting work on ml_optimiseTheory
linear_scanTheory compiler/backend/reg_alloc (34s) OK
Starting work on ml_pmatchTheory
fsFFITheory basis (9s) OK
Starting work on fsFFIPropsTheory
ml_optimiseTheory translator (12s) OK
Finished $(CAKEMLDIR)/compiler/backend/reg_alloc [#theories: 3] (94.300s)
Finished $(CAKEMLDIR)/compiler/encoders/asm [#theories: 3] (39.810s)
Starting work on closLangTheory
ml_pmatchTheory translator (10s) OK
Starting work on std_preludeTheory
closLangTheory compiler/backend (7s) OK
Starting work on cfHeapsTheory
typeSoundTheory semantics/proofs (94s) OK
Starting work on semanticsPropsTheory
std_preludeTheory translator (13s) OK
Finished $(CAKEMLDIR)/translator [#theories: 6] (86.070s)
Starting work on bviTheory
cfHeapsTheory characteristic (13s) OK
Starting work on cfStoreTheory
bviTheory compiler/backend (3s) OK
Starting work on dataLangTheory
semanticsPropsTheory semantics/proofs (6s) OK
Finished $(CAKEMLDIR)/semantics/proofs [#theories: 10] (248.760s)
Starting work on bvi_letTheory
dataLangTheory compiler/backend (3s) OK
Starting work on data_liveTheory
bvi_letTheory compiler/backend (4s) OK
Starting work on data_simpTheory
data_simpTheory compiler/backend (2s) OK
Starting work on data_spaceTheory
data_liveTheory compiler/backend (5s) OK
Starting work on bvi_tailrecTheory
fsFFIPropsTheory basis (39s) OK
Starting work on bvlTheory
cfStoreTheory characteristic (16s) OK
Starting work on cfNormaliseTheory
bvlTheory compiler/backend (3s) OK
Starting work on bvl_constTheory
data_spaceTheory compiler/backend (6s) OK
Starting work on bvi_to_dataTheory
cfNormaliseTheory characteristic (14s) OK
Starting work on cfAppTheory
bvi_to_dataTheory compiler/backend (17s) OK
Starting work on bvl_jumpTheory
bvi_tailrecTheory compiler/backend (24s) OK
Starting work on clos_annotateTheory
bvl_jumpTheory compiler/backend (2s) OK
Starting work on clos_callTheory
bvl_constTheory compiler/backend (22s) OK
Starting work on bvl_handleTheory
clos_annotateTheory compiler/backend (6s) OK
Starting work on clos_fvsTheory
clos_callTheory compiler/backend (7s) OK
Starting work on clos_letopTheory
clos_fvsTheory compiler/backend (3s) OK
Starting work on clos_opTheory
clos_letopTheory compiler/backend (4s) OK
Starting work on clos_ticksTheory
cfAppTheory characteristic (21s) OK
Starting work on cfTheory
clos_ticksTheory compiler/backend (3s) OK
Starting work on clos_mtiTheory
clos_mtiTheory compiler/backend (5s) OK
Starting work on clos_numberTheory
bvl_handleTheory compiler/backend (19s) OK
Starting work on bvl_inlineTheory
clos_opTheory compiler/backend (15s) OK
Starting work on clos_knownTheory
clos_numberTheory compiler/backend (3s) OK
Starting work on stackLangTheory
bvl_inlineTheory compiler/backend (7s) OK
Starting work on bvl_to_bviTheory
stackLangTheory compiler/backend (8s) OK
Starting work on wordLangTheory
clos_knownTheory compiler/backend (18s) OK
Starting work on clos_to_bvlTheory
wordLangTheory compiler/backend (10s) OK
Starting work on word_bignumTheory
bvl_to_bviTheory compiler/backend (32s) OK
Starting work on word_depthTheory
word_depthTheory compiler/backend (7s) OK
Starting work on word_allocTheory
word_bignumTheory compiler/backend (29s) OK
Starting work on word_copyTheory
cfTheory characteristic (66s) OK
Starting work on cfTacticsTheory
word_copyTheory compiler/backend (7s) OK
Starting work on xcfTheory
xcfTheory characteristic (4s) OK
Starting work on word_cseTheory
clos_to_bvlTheory compiler/backend (44s) OK
Starting work on word_instTheory
cfTacticsTheory characteristic (12s) OK
Starting work on cfDivTheory
word_cseTheory compiler/backend (11s) OK
Starting work on cfLetAutoTheory
word_instTheory compiler/backend (23s) OK
Starting work on cfMainTheory
cfLetAutoTheory characteristic (21s) OK
Starting work on ml_monad_translatorBaseTheory
cfMainTheory characteristic (19s) OK
Starting work on word_removeTheory
ml_monad_translatorBaseTheory translator/monadic (20s) OK
Starting work on ml_monad_translatorTheory
word_removeTheory compiler/backend (7s) OK
Starting work on word_simpTheory
word_allocTheory compiler/backend (77s) OK
Starting work on word_unreachTheory
word_unreachTheory compiler/backend (5s) OK
Starting work on clos_interpTheory
word_simpTheory compiler/backend (16s) OK
Starting work on word_to_wordTheory
clos_interpTheory compiler/backend (14s) OK
Starting work on flatLangTheory
word_to_wordTheory compiler/backend (5s) OK
Starting work on data_to_wordTheory
flatLangTheory compiler/backend (9s) OK
Starting work on flat_to_closTheory
cfDivTheory characteristic (91s) OK
Finished $(CAKEMLDIR)/characteristic [#theories: 12] (302.500s)
Starting work on RuntimeProgTheory
ml_monad_translatorTheory translator/monadic (36s) OK
Starting work on cfMonadTheory
flat_to_closTheory compiler/backend (12s) OK
Starting work on jsonLangTheory
jsonLangTheory compiler/backend (3s) OK
Starting work on labLangTheory
labLangTheory compiler/backend (3s) OK
Starting work on lab_filterTheory
cfMonadTheory translator/monadic (19s) OK
Finished $(CAKEMLDIR)/translator/monadic [#theories: 3] (75.690s)
Starting work on displayLangTheory
lab_filterTheory compiler/backend (2s) OK
Starting work on lab_to_targetTheory
displayLangTheory compiler/backend (2s) OK
Starting work on flat_elimTheory
RuntimeProgTheory basis (23s) OK
Starting work on OptionProgTheory
flat_elimTheory compiler/backend (9s) OK
Starting work on RuntimeProofTheory
lab_to_targetTheory compiler/backend (13s) OK
Starting work on flat_patternTheory
OptionProgTheory basis (11s) OK
Starting work on ListProgTheory
data_to_wordTheory compiler/backend (52s) OK
Starting work on source_letTheory
flat_patternTheory compiler/backend (8s) OK
Starting work on source_to_flatTheory
source_letTheory compiler/backend (3s) OK
Starting work on source_to_sourceTheory
source_to_sourceTheory compiler/backend (2s) OK
Starting work on stack_allocTheory
source_to_flatTheory compiler/backend (11s) OK
Starting work on presLangTheory
RuntimeProofTheory basis (23s) OK
Starting work on stack_namesTheory
stack_namesTheory compiler/backend (8s) OK
Starting work on stack_rawcallTheory
stack_allocTheory compiler/backend (20s) OK
Starting work on stack_removeTheory
stack_removeTheory compiler/backend (8s) OK
Starting work on word_to_stackTheory
ListProgTheory basis (42s) OK
Starting work on VectorProgTheory
presLangTheory compiler/backend (24s) OK
Starting work on ListProofTheory
word_to_stackTheory compiler/backend (14s) OK
Starting work on exportTheory
exportTheory compiler/backend (5s) OK
Starting work on word_elimTheory
stack_rawcallTheory compiler/backend (32s) OK
Starting work on stack_to_labTheory
word_elimTheory compiler/backend (3s) OK
Starting work on ag32_targetTheory
ListProofTheory basis (24s) OK
Starting work on export_ag32Theory
VectorProgTheory basis (30s) OK
Starting work on StringProgTheory
ag32_targetTheory compiler/encoders/ag32 (14s) OK
Finished $(CAKEMLDIR)/compiler/encoders/ag32 [#theories: 2] (23.510s)
Starting work on arm7_targetTheory
export_ag32Theory compiler/backend/ag32 (11s) OK
Starting work on export_arm7Theory
stack_to_labTheory compiler/backend (22s) OK
Starting work on backendTheory
export_arm7Theory compiler/backend/arm7 (11s) OK
Starting work on arm8_targetTheory
arm7_targetTheory compiler/encoders/arm7 (16s) OK
Starting work on arm7_eval_encodeTheory
StringProgTheory basis (33s) OK
Starting work on mlbasicsProgTheory
arm8_targetTheory compiler/encoders/arm8 (15s) OK
Finished $(CAKEMLDIR)/compiler/encoders/arm8 [#theories: 1] (15.330s)
Starting work on export_arm8Theory
backendTheory compiler/backend (25s) OK
Starting work on backend_passesTheory
export_arm8Theory compiler/backend/arm8 (11s) OK
Starting work on ag32_configTheory
backend_passesTheory compiler/backend (17s) OK
Finished $(CAKEMLDIR)/compiler/backend [#theories: 64] (832.620s)
Starting work on arm8_configTheory
arm7_eval_encodeTheory compiler/encoders/arm7 (36s) OK
Finished $(CAKEMLDIR)/compiler/encoders/arm7 [#theories: 2] (52.500s)
Starting work on arm7_configTheory
mlbasicsProgTheory basis (33s) OK
Starting work on IntProgTheory
ag32_configTheory compiler/backend/ag32 (21s) OK
Finished $(CAKEMLDIR)/compiler/backend/ag32 [#theories: 2] (33.070s)
Starting work on mips_targetTheory
arm8_configTheory compiler/backend/arm8 (22s) OK
Finished $(CAKEMLDIR)/compiler/backend/arm8 [#theories: 2] (33.840s)
Starting work on export_mipsTheory
arm7_configTheory compiler/backend/arm7 (24s) OK
Finished $(CAKEMLDIR)/compiler/backend/arm7 [#theories: 2] (36.210s)
Starting work on riscv_stepTheory
riscv_stepTheory examples/l3-machine-code/riscv/step (0s)FAIL<1>
/scratch/cakeml/regression2/HOL-ec2580f47550bf224fbbcb8063c4ece8e08de73c/examples/l3-machine-code/riscv/step/riscv_stepScript.sml:6: error: Structure (riscvTheory) has not been declared
Found near open HolKernel boolLib bossLib Parse holTheory ...
error in quse /scratch/cakeml/regression2/HOL-ec2580f47550bf224fbbcb8063c4ece8e08de73c/examples/l3-machine-code/riscv/step/riscv_stepScript.sml : Fail "Static Errors"
error in load /scratch/cakeml/regression2/HOL-ec2580f47550bf224fbbcb8063c4ece8e08de73c/examples/l3-machine-code/riscv/step/riscv_stepScript : Fail "Static Errors"
Uncaught exception at ./basis/FinalPolyML.sml:492: Fail "Static Errors"
Full log: /scratch/cakeml/regression2/HOL-ec2580f47550bf224fbbcb8063c4ece8e08de73c/examples/l3-machine-code/riscv/step/.hol/logs/riscv_stepTheory
IntProgTheory basis (21s)MKILLED
mips_targetTheory compiler/encoders/mips (15s)MKILLED
export_mipsTheory compiler/backend/mips (4s)MKILLED