CakeML:f6eb345c7897adaf0f4973d0213542fa4208e898
Remove dead code from xletauto
#1200 (xletautodeadcode)
Merging into:721c4576e928f80357fb304bf107af03c4b93ee3
Update NEWS.md
HOL:dcf84a0556f94db0ad53525e5ad0aacb09549819
Remove a stray mention of "Kananaskis" from top-level README.md
Machine:pavlova
Claimed job
Reusing HOL
Starting developers
Finished developers 3s 202MB
Starting developers/bin
Finished developers/bin 3s 594MB
Starting misc
Finished misc 42s 2GB
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)/src/real/analysis
Scanning $(HOLDIR)/examples/misc
Scanning $(HOLDIR)/examples/balanced_bst
Scanning $(HOLDIR)/examples/formal-languages
Scanning $(HOLDIR)/src/search
Scanning $(HOLDIR)/examples/formal-languages/regular
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)/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 91 directories
Starting work on ffiTheory
Starting work on namespaceTheory
Starting work on tokensTheory
Starting work on mllistTheory
namespaceTheory semantics (2s) OK
Starting work on astTheory
tokensTheory semantics (3s) OK
Starting work on gramTheory
mllistTheory basis/pure (3s) OK
Starting work on tokenUtilsTheory
ffiTheory semantics/ffi (7s) OK
Finished $(CAKEMLDIR)/semantics/ffi [#theories: 1] (7.600s)
Starting work on lexer_funTheory
astTheory semantics (7s) OK
Starting work on fpSemTheory
fpSemTheory semantics (1s) OK
Starting work on semanticPrimitivesTheory
tokenUtilsTheory semantics (7s) OK
Starting work on mlstringTheory
gramTheory semantics (7s) OK
Starting work on cmlPtreeConversionTheory
mlstringTheory basis/pure (12s) OK
Starting work on mlintTheory
cmlPtreeConversionTheory semantics (19s) OK
Starting work on mloptionTheory
mlintTheory basis/pure (7s) OK
Starting work on mlmapTheory
mloptionTheory basis/pure (1s) OK
Starting work on mlvectorTheory
semanticPrimitivesTheory semantics (22s) OK
Starting work on evaluateTheory
mlmapTheory basis/pure (4s) OK
Starting work on typeSystemTheory
mlvectorTheory basis/pure (6s) OK
Starting work on mlprettyprinterTheory
evaluateTheory semantics (4s) OK
Starting work on mlratTheory
lexer_funTheory semantics (37s) OK
Starting work on mlsetTheory
mlratTheory basis/pure (4s) OK
Starting work on typeDecToPPTheory
mlsetTheory basis/pure (2s) OK
Starting work on astPropsTheory
typeDecToPPTheory basis/pure (3s) OK
Starting work on gramPropsTheory
mlprettyprinterTheory basis/pure (7s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 10] (53.320s)
Starting work on namespacePropsTheory
astPropsTheory semantics/proofs (2s) OK
Starting work on cmlPEGTheory
typeSystemTheory semantics (12s) OK
Starting work on primTypesTheory
primTypesTheory semantics (1s) OK
Starting work on semanticsTheory
namespacePropsTheory semantics/proofs (5s) OK
Starting work on semanticPrimitivesPropsTheory
semanticsTheory semantics (4s) OK
Finished $(CAKEMLDIR)/semantics [#theories: 13] (131.240s)
Starting work on typeSoundInvariantsTheory
typeSoundInvariantsTheory semantics/proofs (4s) OK
Starting work on fromSexpTheory
gramPropsTheory semantics/proofs (14s) OK
Starting work on lexer_implTheory
semanticPrimitivesPropsTheory semantics/proofs (27s) OK
Starting work on evaluatePropsTheory
lexer_implTheory compiler/parsing (40s) OK
Starting work on typeSysPropsTheory
cmlPEGTheory compiler/parsing (60s) OK
Starting work on cmlParseTheory
evaluatePropsTheory semantics/proofs (38s) OK
cmlParseTheory compiler/parsing (8s) OK
Starting work on evaluate_decTheory
Starting work on cfFFITypeTheory
cfFFITypeTheory characteristic (2s) OK
Starting work on ml_monadBaseTheory
evaluate_decTheory translator (5s) OK
Starting work on MarshallingTheory
fromSexpTheory compiler/parsing (56s) OK
Finished $(CAKEMLDIR)/compiler/parsing [#theories: 4] (165.620s)
Starting work on pattern_commonTheory
typeSysPropsTheory semantics/proofs (19s) OK
Starting work on primSemEnvTheory
MarshallingTheory basis (3s) OK
Starting work on weakeningTheory
primSemEnvTheory semantics/proofs (7s) OK
Starting work on ml_progTheory
weakeningTheory semantics/proofs (5s) OK
Starting work on typeSoundTheory
pattern_commonTheory compiler/backend/pattern_matching (8s) OK
Starting work on pattern_semanticsTheory
ml_monadBaseTheory translator/monadic/monad_base (14s) OK
Finished $(CAKEMLDIR)/translator/monadic/monad_base [#theories: 1] (14.430s)
Starting work on reg_allocTheory
ml_progTheory translator (12s) OK
Starting work on ml_translatorTheory
pattern_semanticsTheory compiler/backend/pattern_matching (13s) OK
Starting work on cfHeapsBaseTheory
cfHeapsBaseTheory characteristic (14s) OK
Starting work on clFFITheory
clFFITheory basis (5s) OK
Starting work on runtimeFFITheory
runtimeFFITheory basis (4s) OK
Starting work on fsFFITheory
reg_allocTheory compiler/backend/reg_alloc (36s) OK
Starting work on pattern_compTheory
ml_translatorTheory translator (36s) OK
Starting work on ml_optimiseTheory
fsFFITheory basis (9s) OK
Starting work on ml_pmatchTheory
pattern_compTheory compiler/backend/pattern_matching (14s) OK
Starting work on fsFFIPropsTheory
ml_optimiseTheory translator (11s) OK
Finished $(CAKEMLDIR)/compiler/backend/pattern_matching [#theories: 3] (36.240s)
Starting work on linear_scanTheory
ml_pmatchTheory translator (11s) OK
Starting work on std_preludeTheory
std_preludeTheory translator (12s) OK
Finished $(CAKEMLDIR)/translator [#theories: 6] (90.020s)
Starting work on cfHeapsTheory
cfHeapsTheory characteristic (11s) OK
Starting work on cfStoreTheory
fsFFIPropsTheory basis (36s) OK
Starting work on parmoveTheory
linear_scanTheory compiler/backend/reg_alloc (31s) OK
Starting work on asmTheory
typeSoundTheory semantics/proofs (96s) OK
Starting work on semanticsPropsTheory
semanticsPropsTheory semantics/proofs (6s) OK
Finished $(CAKEMLDIR)/semantics/proofs [#theories: 11] (227.340s)
Starting work on backend_commonTheory
asmTheory compiler/encoders/asm (9s) OK
Starting work on asmSemTheory
cfStoreTheory characteristic (15s) OK
Starting work on cfNormaliseTheory
backend_commonTheory compiler/backend (4s) OK
Starting work on closLangTheory
closLangTheory compiler/backend (7s) OK
Starting work on bviTheory
asmSemTheory compiler/encoders/asm (9s) OK
Starting work on asmPropsTheory
parmoveTheory compiler/backend/reg_alloc (21s) OK
Finished $(CAKEMLDIR)/compiler/backend/reg_alloc [#theories: 3] (89.860s)
Starting work on dataLangTheory
bviTheory compiler/backend (2s) OK
Starting work on bvi_letTheory
cfNormaliseTheory characteristic (12s) OK
Starting work on cfAppTheory
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
data_spaceTheory compiler/backend (6s) OK
Starting work on bvi_to_dataTheory
asmPropsTheory compiler/encoders/asm (14s) OK
Finished $(CAKEMLDIR)/compiler/encoders/asm [#theories: 3] (34.410s)
Starting work on bvlTheory
bvlTheory compiler/backend (2s) OK
Starting work on bvl_constTheory
cfAppTheory characteristic (19s) OK
Starting work on cfTheory
bvi_to_dataTheory compiler/backend (17s) OK
Starting work on db_varsTheory
db_varsTheory compiler/backend (2s) OK
Starting work on bvl_jumpTheory
bvl_jumpTheory compiler/backend (2s) OK
Starting work on clos_annotateTheory
bvi_tailrecTheory compiler/backend (26s) 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 (3s) OK
Starting work on clos_ticksTheory
clos_ticksTheory compiler/backend (3s) OK
Starting work on clos_mtiTheory
clos_mtiTheory compiler/backend (4s) OK
Starting work on clos_numberTheory
clos_numberTheory compiler/backend (2s) OK
Starting work on stackLangTheory
bvl_handleTheory compiler/backend (18s) OK
Starting work on bvl_inlineTheory
clos_opTheory compiler/backend (14s) OK
Starting work on clos_knownTheory
stackLangTheory compiler/backend (5s) OK
Starting work on wordLangTheory
bvl_inlineTheory compiler/backend (6s) OK
Starting work on bvl_to_bviTheory
wordLangTheory compiler/backend (10s) OK
Starting work on word_bignumTheory
clos_knownTheory compiler/backend (19s) OK
Starting work on clos_to_bvlTheory
cfTheory characteristic (83s) OK
Starting work on cfTacticsTheory
word_bignumTheory compiler/backend (28s) OK
Starting work on xcfTheory
bvl_to_bviTheory compiler/backend (35s) OK
Starting work on word_depthTheory
xcfTheory characteristic (4s) OK
Starting work on word_allocTheory
cfTacticsTheory characteristic (11s) OK
Starting work on cfDivTheory
word_depthTheory compiler/backend (8s) OK
Starting work on cfLetAutoTheory
clos_to_bvlTheory compiler/backend (44s) OK
Starting work on cfMainTheory
cfLetAutoTheory characteristic (19s) OK
Starting work on ml_monad_translatorBaseTheory
cfMainTheory characteristic (18s) OK
Starting work on word_copyTheory
ml_monad_translatorBaseTheory translator/monadic (18s) OK
Starting work on ml_monad_translatorTheory
word_copyTheory compiler/backend (6s) OK
Starting work on word_cseTheory
word_cseTheory compiler/backend (9s) OK
Starting work on word_instTheory
ml_monad_translatorTheory translator/monadic (35s) OK
Starting work on cfMonadTheory
word_allocTheory compiler/backend (86s) OK
Starting work on word_removeTheory
word_instTheory compiler/backend (26s) 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
cfMonadTheory translator/monadic (18s) OK
Finished $(CAKEMLDIR)/translator/monadic [#theories: 3] (72.860s)
Starting work on flatLangTheory
word_simpTheory compiler/backend (16s) OK
Starting work on word_to_wordTheory
word_to_wordTheory compiler/backend (4s) OK
Starting work on data_to_wordTheory
flatLangTheory compiler/backend (8s) OK
Starting work on jsonLangTheory
cfDivTheory characteristic(111s) OK
Finished $(CAKEMLDIR)/characteristic [#theories: 12] (324.390s)
Starting work on RuntimeProgTheory
jsonLangTheory compiler/backend (3s) OK
Starting work on labLangTheory
clos_interpTheory compiler/backend (16s) OK
Starting work on flat_to_closTheory
labLangTheory compiler/backend (2s) OK
Starting work on lab_filterTheory
lab_filterTheory compiler/backend (2s) OK
Starting work on lab_to_targetTheory
flat_to_closTheory compiler/backend (11s) OK
Starting work on str_treeTheory
str_treeTheory compiler/backend (3s) OK
Starting work on displayLangTheory
lab_to_targetTheory compiler/backend (11s) OK
Starting work on flat_elimTheory
RuntimeProgTheory basis (19s) OK
Starting work on OptionProgTheory
displayLangTheory compiler/backend (2s) OK
Starting work on RuntimeProofTheory
data_to_wordTheory compiler/backend (23s)FAIL<1>
Saved definition ____ "AllocVar_def"
Saved definition ____ "MakeBytes_def"
Saved definition ____ "SmallLsr_def"
Saved definition ____ "WriteLastByte_aux_def"
Saved definition ____ "WriteLastBytes_def"
Saved definition ____ "RefByte_code_def"
Saved definition ____ "Maxout_bits_code_def"
Saved definition ____ "Make_ptr_bits_code_def"
Saved definition ____ "FromList_code_def"
Saved definition ____ "FromList1_code_def"
Saved definition ____ "RefArray_code_def"
Saved definition ____ "Replicate_code_def"
Saved definition ____ "AddNumSize_def"
Saved definition ____ "AnyHeader_def"
Saved definition ____ "ShiftVar_def"
Saved definition ____ "AnyArith_code_def"
Saved definition ____ "Add_code_def"
Saved definition ____ "Sub_code_def"
Saved definition ____ "Mul_code_def"
Saved definition ____ "Div_code_def"
Saved definition ____ "Mod_code_def"
Saved definition ____ "Install_code_def"
Saved definition ____ "InstallCode_code_def"
Saved definition ____ "InstallData_code_def"
Saved definition ____ "Compare1_code_def"
Saved definition ____ "Compare_code_def"
Saved definition ____ "Equal1_code_def"
Saved definition ____ "Equal_code_def"
Saved definition ____ "LongDiv_code_def"
Saved definition ____ "LongDiv1_code_def"
Saved definition ____ "Append_code_def"
Saved definition ____ "AppendMainLoop_code_def"
Saved definition ____ "AppendLenLoop_code_def"
Saved definition ____ "XorLoop_code_def"
Saved definition ____ "get_names_def"
Saved definition ____ "LoadWord64_def"
Saved definition ____ "LoadBignum_def"
Saved definition ____ "WriteWord64_def"
Saved definition ____ "WriteWord64_on_32_def"
Saved definition ____ "WriteWord32_on_32_def"
Saved definition ____ "WordOp64_on_32_def"
Saved definition ____ "WordShift64_on_32_def"
Saved definition ____ "Smallnum_def"
Saved definition ____ "MemEqList_def"
Saved definition ____ "get_gen_size_def"
Saved definition ____ "fp_cmp_inst_def"
Saved definition ____ "fp_top_inst_def"
error in quse /scratch/cakeml/regression/cakeml-2962/compiler/backend/data_to_wordScript.sml : HOL_ERR {message = "at Pmatch.mk_case0:\ncould not get case constructors for type :rounding -> (\206\177, \206\178) float -> (\206\177, \206\178) float -> (\206\177, \206\178) fp_op", origin_function = "Hol_defn", origin_structure = "Defn", source_location = Loc (LocA (1106, 2), LocA (1109, 33))}
error in load /scratch/cakeml/regression/cakeml-2962/compiler/backend/data_to_wordScript : HOL_ERR {message = "at Pmatch.mk_case0:\ncould not get case constructors for type :rounding -> (\206\177, \206\178) float -> (\206\177, \206\178) float -> (\206\177, \206\178) fp_op", origin_function = "Hol_defn", origin_structure = "Defn", source_location = Loc (LocA (1106, 2), LocA (1109, 33))}
Uncaught exception at /scratch/cakeml/regression/HOL-dcf84a0556f94db0ad53525e5ad0aacb09549819/src/num/termination/TotalDefn.sml:37: HOL_ERR {message = "at Pmatch.mk_case0:\ncould not get case constructors for type :rounding -> (\206\177, \206\178) float -> (\206\177, \206\178) float -> (\206\177, \206\178) fp_op", origin_function = "Hol_defn", origin_structure = "Defn", source_location = Loc (LocA (1106, 2), LocA (1109, 33))}
Full log: /scratch/cakeml/regression/cakeml-2962/compiler/backend/.hol/logs/data_to_wordTheory
flat_elimTheory compiler/backend (1s)MKILLED
OptionProgTheory basis (1s)MKILLED
RuntimeProofTheory basis (0s)MKILLED