CakeML:322163ce2fe3da94c6554ba7597397fdfb0b0588
Start removing Dtype and Dexn from flatLang
#1305 (flatdec)
Merging into:feb7ea11530cdc079a6cc088d7c6deb8c6f9ccdc
fix divScript
HOL:46bd0daad63c7845609fb7d2a6773e52478faaaf
An update for change to MOD (and a new theorem too)
Machine:lammmington
Claimed job
Reusing HOL
Starting developers
Finished developers 4s 210MB
Starting developers/bin
Finished developers/bin 4s 91MB
Starting misc
Finished misc 39s 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] (64.540s)
Starting work on cfFFITypeTheory
tokensTheory semantics (4s) OK
Starting work on gramTheory
ffiTheory semantics/ffi (8s) OK
Finished $(CAKEMLDIR)/semantics/ffi [#theories: 1] (8.390s)
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 (10s) 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 (26s) OK
Starting work on evaluateTheory
cmlPtreeConversionTheory semantics (21s) 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] (128.340s)
Starting work on typeSoundInvariantsTheory
typeSoundInvariantsTheory semantics/proofs (5s) 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] (168.080s)
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.190s)
Starting work on reg_allocTheory
pattern_semanticsTheory compiler/backend/pattern_matching (14s) OK
Starting work on pattern_compTheory
asmTheory compiler/encoders/asm (13s) OK
Starting work on asmSemTheory
evaluatePropsTheory semantics/proofs (68s) 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.300s)
Starting work on asmPropsTheory
evaluate_decTheory translator (6s) OK
Starting work on ml_progTheory
reg_allocTheory compiler/backend/reg_alloc (36s) OK
Starting work on linear_scanTheory
ml_progTheory translator (11s) OK
Starting work on ml_translatorTheory
asmPropsTheory compiler/encoders/asm (15s) OK
Starting work on cfHeapsBaseTheory
cfHeapsBaseTheory characteristic (16s) OK
Starting work on clFFITheory
clFFITheory basis (5s) OK
Starting work on runtimeFFITheory
runtimeFFITheory basis (4s) OK
Starting work on fsFFITheory
linear_scanTheory compiler/backend/reg_alloc (33s) OK
Finished $(CAKEMLDIR)/compiler/backend/reg_alloc [#theories: 3] (92.330s)
Finished $(CAKEMLDIR)/compiler/encoders/asm [#theories: 3] (39.910s)
Starting work on closLangTheory
ml_translatorTheory translator (33s) OK
Starting work on ml_optimiseTheory
fsFFITheory basis (9s) OK
Starting work on ml_pmatchTheory
closLangTheory compiler/backend (7s) OK
Starting work on fsFFIPropsTheory
ml_optimiseTheory translator (12s) OK
Starting work on bviTheory
ml_pmatchTheory translator (10s) OK
Starting work on std_preludeTheory
bviTheory compiler/backend (3s) OK
Starting work on cfHeapsTheory
std_preludeTheory translator (13s) OK
Finished $(CAKEMLDIR)/translator [#theories: 6] (88.030s)
Starting work on dataLangTheory
cfHeapsTheory characteristic (12s) OK
Starting work on cfStoreTheory
typeSoundTheory semantics/proofs (96s) OK
Starting work on semanticsPropsTheory
dataLangTheory compiler/backend (3s) OK
Starting work on data_liveTheory
semanticsPropsTheory semantics/proofs (6s) OK
Finished $(CAKEMLDIR)/semantics/proofs [#theories: 10] (251.970s)
Starting work on data_simpTheory
data_liveTheory compiler/backend (5s) OK
Starting work on data_spaceTheory
data_simpTheory compiler/backend (2s) OK
Starting work on bvi_letTheory
fsFFIPropsTheory basis (39s) OK
Starting work on bvi_tailrecTheory
cfStoreTheory characteristic (15s) OK
Starting work on cfNormaliseTheory
bvi_letTheory compiler/backend (4s) OK
Starting work on bvlTheory
data_spaceTheory compiler/backend (6s) OK
Starting work on bvi_to_dataTheory
bvlTheory compiler/backend (3s) OK
Starting work on bvl_constTheory
cfNormaliseTheory characteristic (15s) OK
Starting work on cfAppTheory
bvi_to_dataTheory compiler/backend (16s) OK
Starting work on bvl_jumpTheory
bvl_jumpTheory compiler/backend (2s) OK
Starting work on clos_annotateTheory
bvi_tailrecTheory compiler/backend (25s) OK
Starting work on clos_callTheory
bvl_constTheory compiler/backend (21s) OK
Starting work on bvl_handleTheory
clos_annotateTheory compiler/backend (7s) OK
Starting work on clos_fvsTheory
clos_fvsTheory compiler/backend (3s) OK
Starting work on clos_letopTheory
clos_callTheory compiler/backend (7s) OK
Starting work on clos_opTheory
clos_letopTheory compiler/backend (4s) OK
Starting work on clos_ticksTheory
cfAppTheory characteristic (20s) 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 (18s) OK
Starting work on bvl_inlineTheory
clos_numberTheory compiler/backend (3s) OK
Starting work on stackLangTheory
clos_opTheory compiler/backend (14s) OK
Starting work on clos_knownTheory
bvl_inlineTheory compiler/backend (7s) OK
Starting work on bvl_to_bviTheory
stackLangTheory compiler/backend (8s) OK
Starting work on wordLangTheory
wordLangTheory compiler/backend (10s) OK
Starting work on word_bignumTheory
clos_knownTheory compiler/backend (19s) OK
Starting work on clos_to_bvlTheory
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 (30s) OK
Starting work on word_copyTheory
cfTheory characteristic (65s) OK
Starting work on cfTacticsTheory
word_copyTheory compiler/backend (6s) OK
Starting work on xcfTheory
xcfTheory characteristic (4s) OK
Starting work on word_cseTheory
cfTacticsTheory characteristic (13s) OK
Starting work on cfDivTheory
clos_to_bvlTheory compiler/backend (44s) OK
Starting work on cfLetAutoTheory
word_cseTheory compiler/backend (11s) OK
Starting work on cfMainTheory
cfLetAutoTheory characteristic (19s) OK
Starting work on ml_monad_translatorBaseTheory
cfMainTheory characteristic (19s) OK
Starting work on word_instTheory
ml_monad_translatorBaseTheory translator/monadic (21s) OK
Starting work on ml_monad_translatorTheory
word_instTheory compiler/backend (24s) OK
Starting work on word_removeTheory
word_allocTheory compiler/backend (77s) OK
Starting work on word_simpTheory
word_removeTheory compiler/backend (7s) 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
ml_monad_translatorTheory translator/monadic (34s) OK
Starting work on cfMonadTheory
word_to_wordTheory compiler/backend (5s) OK
Starting work on data_to_wordTheory
cfDivTheory characteristic (90s) OK
Finished $(CAKEMLDIR)/characteristic [#theories: 12] (299.040s)
Starting work on RuntimeProgTheory
clos_interpTheory compiler/backend (15s) OK
Starting work on flatLangTheory
flatLangTheory compiler/backend (9s) OK
Starting work on flat_to_closTheory
cfMonadTheory translator/monadic (19s) OK
Finished $(CAKEMLDIR)/translator/monadic [#theories: 3] (76.080s)
Starting work on jsonLangTheory
jsonLangTheory compiler/backend (3s) OK
Starting work on labLangTheory
labLangTheory compiler/backend (3s) OK
Starting work on lab_filterTheory
flat_to_closTheory compiler/backend (12s) OK
Starting work on displayLangTheory
RuntimeProgTheory basis (22s) OK
Starting work on OptionProgTheory
lab_filterTheory compiler/backend (2s) OK
Starting work on RuntimeProofTheory
displayLangTheory compiler/backend (3s) OK
Starting work on lab_to_targetTheory
OptionProgTheory basis (10s) OK
Starting work on ListProgTheory
lab_to_targetTheory compiler/backend (13s) OK
Starting work on flat_elimTheory
data_to_wordTheory compiler/backend (52s) OK
Starting work on flat_patternTheory
RuntimeProofTheory basis (23s) OK
Starting work on source_letTheory
flat_elimTheory compiler/backend (10s) OK
Starting work on stack_allocTheory
source_letTheory compiler/backend (3s) OK
Starting work on source_to_sourceTheory
flat_patternTheory compiler/backend (8s) OK
Starting work on source_to_flatTheory
source_to_sourceTheory compiler/backend (2s) OK
Starting work on stack_namesTheory
stack_namesTheory compiler/backend (8s) OK
Starting work on stack_rawcallTheory
source_to_flatTheory compiler/backend (10s) OK
Starting work on presLangTheory
stack_allocTheory compiler/backend (21s) OK
Starting work on stack_removeTheory
ListProgTheory basis (43s) OK
Starting work on VectorProgTheory
presLangTheory compiler/backend (12s)FAIL<1>
Saved definition ____ "item_with_word_def"
Saved definition ____ "lit_to_display_def"
Saved definition ____ "fp_cmp_to_display_def"
Saved definition ____ "fp_uop_to_display_def"
Saved definition ____ "fp_bop_to_display_def"
Saved definition ____ "fp_top_to_display_def"
Saved definition ____ "word_size_to_display_def"
Saved definition ____ "opn_to_display_def"
Saved definition ____ "opb_to_display_def"
Saved definition ____ "opw_to_display_def"
Saved definition ____ "shift_to_display_def"
Saved definition ____ "thunk_mode_to_display_def"
Saved definition ____ "thunk_op_to_display_def"
Saved definition ____ "test_to_display_def"
Saved definition ____ "arith_to_display_def"
Saved definition ____ "prim_type_to_display_def"
Saved induction _____ "prim_type_to_display_ind"
Saved definition ____ "op_to_display_def"
Saved definition ____ "lop_to_display_def"
Saved definition ____ "id_to_display_def"
Saved definition ____ "ast_t_to_display_def"
Saved induction _____ "ast_t_to_display_ind"
Saved definition ____ "pat_to_display_def"
Saved induction _____ "pat_to_display_ind"
Saved definition ____ "exp_to_display_def"
Saved induction _____ "exp_to_display_ind"
Saved definition ____ "source_to_display_dec_def"
Saved induction _____ "source_to_display_dec_ind"
Proved triviality ___ "MEM_pat_size"
Saved definition ____ "opt_con_to_display_def"
Saved definition ____ "flat_pat_to_display_def"
Saved induction _____ "flat_pat_to_display_ind"
Saved definition ____ "flat_op_to_display_def"
Proved triviality ___ "MEM_funs_size"
Proved triviality ___ "MEM_exps_size"
Proved triviality ___ "MEM_pats_size"
Saved definition ____ "add_name_hint_def"
Saved definition ____ "flat_to_display_def"
Saved induction _____ "flat_to_display_ind"
Exception raised at TotalDefn.xDefine:
at Defn.Hol_defn: between line 630, character 2 and line 634, character 61:
at Defn.parse_quote:
at Preterm.type-analysis: on line 633, characters 66-69:
Type error in function application.
Function: item_with_num dtype :num -> sExp
Argument: mods :locs
Reason: Attempt to unify different type operators: num$num and location$locs
Full log: /scratch/cakeml/regression3/cakeml-3144/compiler/backend/.hol/logs/presLangTheory
stack_rawcallTheory compiler/backend (13s)MKILLED
stack_removeTheory compiler/backend (4s)MKILLED
VectorProgTheory basis (2s)MKILLED