CakeML:15e07f971000e1f310353eb052ae9c3310c57997
Remove dead code from xletauto
#1200 (xletautodeadcode)
Merging into:d9c5fbbcff5584962881949bdfdbad0504034ec1
Merge pull request #1206 from CakeML/dev_sort
HOL:466a40abe43a384327cf9fd1ada840fa176b961d
Change bossLib.oneline to preserve input hypotheses as hypotheses
Machine:lammmington
Claimed job
Reusing HOL
Starting developers
Finished developers 3s 207MB
Starting developers/bin
Finished developers/bin 3s 592MB
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)/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 fpValTreeTheory
Starting work on namespaceTheory
Starting work on realOpsTheory
realOpsTheory semantics (1s) OK
Starting work on tokensTheory
fpValTreeTheory semantics (1s) OK
Starting work on fpOptTheory
namespaceTheory semantics (2s) OK
Starting work on mllistTheory
tokensTheory semantics (3s) OK
Starting work on gramTheory
mllistTheory basis/pure (3s) OK
Starting work on tokenUtilsTheory
fpOptTheory semantics (4s) OK
Starting work on fpSemTheory
ffiTheory semantics/ffi (7s) OK
Finished $(CAKEMLDIR)/semantics/ffi [#theories: 1] (7.250s)
Starting work on lexer_funTheory
fpSemTheory semantics (1s) OK
Starting work on astTheory
gramTheory semantics (7s) OK
Starting work on mlstringTheory
tokenUtilsTheory semantics (7s) OK
Starting work on mloptionTheory
mloptionTheory basis/pure (2s) OK
Starting work on mlmapTheory
astTheory semantics (7s) OK
Starting work on semanticPrimitivesTheory
mlmapTheory basis/pure (4s) OK
Starting work on cmlPtreeConversionTheory
mlstringTheory basis/pure (11s) OK
Starting work on mlintTheory
mlintTheory basis/pure (7s) OK
Starting work on mlvectorTheory
mlvectorTheory basis/pure (4s) OK
Starting work on mlprettyprinterTheory
cmlPtreeConversionTheory semantics (20s) OK
Starting work on mlratTheory
lexer_funTheory semantics (38s) OK
Starting work on mlsetTheory
mlratTheory basis/pure (3s) OK
Starting work on typeDecToPPTheory
mlprettyprinterTheory basis/pure (7s) OK
Starting work on gramPropsTheory
mlsetTheory basis/pure (2s) OK
Starting work on namespacePropsTheory
typeDecToPPTheory basis/pure (2s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 10] (50.460s)
Starting work on cmlPEGTheory
namespacePropsTheory semantics/proofs (5s) OK
Starting work on fromSexpTheory
semanticPrimitivesTheory semantics (35s) OK
Starting work on evaluateTheory
evaluateTheory semantics (5s) OK
Starting work on typeSystemTheory
gramPropsTheory semantics/proofs (14s) OK
Starting work on astPropsTheory
astPropsTheory semantics/proofs (2s) OK
Starting work on fpOptPropsTheory
fpOptPropsTheory semantics/proofs (5s) OK
Starting work on fpSemPropsTheory
typeSystemTheory semantics (12s) OK
Starting work on primTypesTheory
primTypesTheory semantics (2s) OK
Starting work on semanticsTheory
semanticsTheory semantics (4s) OK
Finished $(CAKEMLDIR)/semantics [#theories: 16] (156.590s)
Starting work on semanticPrimitivesPropsTheory
cmlPEGTheory compiler/parsing (61s) OK
Starting work on typeSoundInvariantsTheory
semanticPrimitivesPropsTheory semantics/proofs (30s) OK
Starting work on cmlParseTheory
typeSoundInvariantsTheory semantics/proofs (4s) OK
Starting work on typeSysPropsTheory
cmlParseTheory compiler/parsing (8s) OK
Starting work on lexer_implTheory
fromSexpTheory compiler/parsing (69s) OK
Starting work on cfFFITypeTheory
cfFFITypeTheory characteristic (4s) OK
Starting work on ml_monadBaseTheory
typeSysPropsTheory semantics/proofs (20s) OK
Starting work on primSemEnvTheory
primSemEnvTheory semantics/proofs (7s) OK
Starting work on weakeningTheory
weakeningTheory semantics/proofs (5s) OK
Starting work on MarshallingTheory
ml_monadBaseTheory translator/monadic/monad_base (15s) OK
Finished $(CAKEMLDIR)/translator/monadic/monad_base [#theories: 1] (15.660s)
Starting work on pattern_commonTheory
MarshallingTheory basis (3s) OK
Starting work on reg_allocTheory
fpSemPropsTheory semantics/proofs (90s) OK
Starting work on evaluatePropsTheory
pattern_commonTheory compiler/backend/pattern_matching (8s) OK
Starting work on pattern_semanticsTheory
lexer_implTheory compiler/parsing (40s) OK
Finished $(CAKEMLDIR)/compiler/parsing [#theories: 4] (180.350s)
Starting work on parmoveTheory
pattern_semanticsTheory compiler/backend/pattern_matching (12s) OK
Starting work on pattern_compTheory
parmoveTheory compiler/backend/reg_alloc (21s) OK
Starting work on asmTheory
reg_allocTheory compiler/backend/reg_alloc (36s) OK
Starting work on linear_scanTheory
pattern_compTheory compiler/backend/pattern_matching (14s) OK
Finished $(CAKEMLDIR)/compiler/backend/pattern_matching [#theories: 3] (35.690s)
Starting work on backend_commonTheory
backend_commonTheory compiler/backend (4s) OK
Starting work on closLangTheory
asmTheory compiler/encoders/asm (10s) OK
Starting work on asmSemTheory
closLangTheory compiler/backend (7s) OK
Starting work on bviTheory
bviTheory compiler/backend (2s) OK
Starting work on dataLangTheory
dataLangTheory compiler/backend (3s) OK
Starting work on data_liveTheory
asmSemTheory compiler/encoders/asm (10s) OK
Starting work on asmPropsTheory
data_liveTheory compiler/backend (5s) OK
Starting work on data_simpTheory
data_simpTheory compiler/backend (2s) OK
Starting work on data_spaceTheory
linear_scanTheory compiler/backend/reg_alloc (31s) OK
Finished $(CAKEMLDIR)/compiler/backend/reg_alloc [#theories: 3] (89.430s)
Starting work on bvi_letTheory
data_spaceTheory compiler/backend (6s) OK
Starting work on bvi_to_dataTheory
asmPropsTheory compiler/encoders/asm (15s) OK
Finished $(CAKEMLDIR)/compiler/encoders/asm [#theories: 3] (36.060s)
Starting work on bvi_tailrecTheory
bvi_letTheory compiler/backend (3s) OK
Starting work on bvlTheory
bvlTheory compiler/backend (2s) OK
Starting work on bvl_constTheory
evaluatePropsTheory semantics/proofs (82s) OK
Starting work on typeSoundTheory
bvi_to_dataTheory compiler/backend (19s) OK
Starting work on evaluate_decTheory
evaluate_decTheory translator (6s) OK
Starting work on ml_progTheory
bvi_tailrecTheory compiler/backend (27s) OK
Starting work on db_varsTheory
db_varsTheory compiler/backend (2s) OK
Starting work on bvl_jumpTheory
bvl_constTheory compiler/backend (26s) OK
Starting work on bvl_handleTheory
bvl_jumpTheory compiler/backend (2s) OK
Starting work on clos_annotateTheory
ml_progTheory translator (12s) OK
Starting work on ml_translatorTheory
clos_annotateTheory compiler/backend (6s) OK
Starting work on cfHeapsBaseTheory
bvl_handleTheory compiler/backend (19s) OK
Starting work on bvl_inlineTheory
cfHeapsBaseTheory characteristic (15s) OK
Starting work on clFFITheory
clFFITheory basis (5s) OK
Starting work on runtimeFFITheory
bvl_inlineTheory compiler/backend (7s) OK
Starting work on fsFFITheory
runtimeFFITheory basis (4s) OK
Starting work on bvl_to_bviTheory
fsFFITheory basis (10s) OK
Starting work on fsFFIPropsTheory
ml_translatorTheory translator (57s) OK
Starting work on ml_optimiseTheory
bvl_to_bviTheory compiler/backend (38s) OK
Starting work on ml_pmatchTheory
ml_optimiseTheory translator (14s) OK
Starting work on clos_callTheory
fsFFIPropsTheory basis (40s) OK
Starting work on clos_fvsTheory
clos_callTheory compiler/backend (6s) OK
Starting work on clos_letopTheory
clos_fvsTheory compiler/backend (2s) OK
Starting work on clos_opTheory
ml_pmatchTheory translator (12s) OK
Starting work on std_preludeTheory
clos_letopTheory compiler/backend (3s) OK
Starting work on cfHeapsTheory
cfHeapsTheory characteristic (11s) OK
Starting work on cfStoreTheory
clos_opTheory compiler/backend (15s) OK
Starting work on clos_ticksTheory
std_preludeTheory translator (13s) OK
Finished $(CAKEMLDIR)/translator [#theories: 6] (116.960s)
Starting work on clos_mtiTheory
clos_ticksTheory compiler/backend (2s) OK
Starting work on clos_knownTheory
clos_mtiTheory compiler/backend (4s) OK
Starting work on clos_numberTheory
clos_numberTheory compiler/backend (2s) OK
Starting work on stackLangTheory
stackLangTheory compiler/backend (5s) OK
Starting work on wordLangTheory
cfStoreTheory characteristic (15s) OK
Starting work on cfNormaliseTheory
wordLangTheory compiler/backend (10s) OK
Starting work on word_bignumTheory
clos_knownTheory compiler/backend (20s) OK
Starting work on clos_to_bvlTheory
cfNormaliseTheory characteristic (13s) OK
Starting work on cfAppTheory
typeSoundTheory semantics/proofs(162s) OK
Starting work on semanticsPropsTheory
semanticsPropsTheory semantics/proofs (6s) OK
Finished $(CAKEMLDIR)/semantics/proofs [#theories: 13] (437.620s)
Starting work on word_depthTheory
word_depthTheory compiler/backend (7s) OK
Starting work on word_allocTheory
cfAppTheory characteristic (21s) OK
Starting work on cfTheory
word_bignumTheory compiler/backend (29s) OK
Starting work on word_copyTheory
word_copyTheory compiler/backend (6s) OK
Starting work on word_cseTheory
word_cseTheory compiler/backend (9s) OK
Starting work on word_instTheory
clos_to_bvlTheory compiler/backend (47s) OK
Starting work on word_removeTheory
word_removeTheory compiler/backend (7s) OK
Starting work on word_simpTheory
word_simpTheory compiler/backend (17s) OK
Starting work on word_unreachTheory
word_instTheory compiler/backend (27s) OK
Starting work on clos_interpTheory
word_unreachTheory compiler/backend (4s) OK
Starting work on flatLangTheory
flatLangTheory compiler/backend (8s) OK
Starting work on jsonLangTheory
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 (10s) OK
Starting work on str_treeTheory
str_treeTheory compiler/backend (3s) OK
Starting work on displayLangTheory
lab_to_targetTheory compiler/backend (12s) OK
Starting work on flat_elimTheory
displayLangTheory compiler/backend (2s) OK
Starting work on flat_patternTheory
word_allocTheory compiler/backend (89s) OK
Starting work on word_to_wordTheory
cfTheory characteristic (91s) OK
Starting work on cfTacticsTheory
flat_elimTheory compiler/backend (7s) OK
Starting work on xcfTheory
word_to_wordTheory compiler/backend (4s) OK
Starting work on data_to_wordTheory
flat_patternTheory compiler/backend (7s) OK
Starting work on source_to_flatTheory
xcfTheory characteristic (4s) OK
Starting work on source_letTheory
source_letTheory compiler/backend (3s) OK
Starting work on source_to_sourceTheory
cfTacticsTheory characteristic (10s) OK
Starting work on cfDivTheory
source_to_sourceTheory compiler/backend (2s) OK
Starting work on cfLetAutoTheory
source_to_flatTheory compiler/backend (9s) OK
Starting work on cfMainTheory
cfLetAutoTheory characteristic (17s) OK
Starting work on ml_monad_translatorBaseTheory
cfMainTheory characteristic (16s) OK
Starting work on presLangTheory
ml_monad_translatorBaseTheory translator/monadic (18s) OK
Starting work on ml_monad_translatorTheory
presLangTheory compiler/backend (23s) OK
Starting work on stack_namesTheory
data_to_wordTheory compiler/backend (53s) OK
Starting work on stack_allocTheory
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 (7s) OK
Starting work on word_to_stackTheory
ml_monad_translatorTheory translator/monadic (37s) OK
Starting work on cfMonadTheory
stack_rawcallTheory compiler/backend (33s) OK
Starting work on exportTheory
word_to_stackTheory compiler/backend (14s) OK
Starting work on stack_to_labTheory
exportTheory compiler/backend (4s) OK
Starting work on word_elimTheory
cfMonadTheory translator/monadic (18s) OK
Finished $(CAKEMLDIR)/translator/monadic [#theories: 3] (74.230s)
Starting work on ag32Theory
word_elimTheory compiler/backend (3s) OK
Starting work on export_ag32Theory
ag32Theory compiler/encoders/ag32 (8s) OK
Starting work on ag32_targetTheory
export_ag32Theory compiler/backend/ag32 (9s) OK
Starting work on arm7_targetTheory
stack_to_labTheory compiler/backend (22s) OK
Starting work on backendTheory
ag32_targetTheory compiler/encoders/ag32 (12s) OK
Finished $(CAKEMLDIR)/compiler/encoders/ag32 [#theories: 2] (20.950s)
Starting work on export_arm7Theory
arm7_targetTheory compiler/encoders/arm7 (14s) OK
Starting work on arm7_eval_encodeTheory
cfDivTheory characteristic(129s) OK
Finished $(CAKEMLDIR)/characteristic [#theories: 12] (352.680s)
Starting work on RuntimeProgTheory
export_arm7Theory compiler/backend/arm7 (10s) OK
Starting work on arm8_targetTheory
RuntimeProgTheory basis (15s)FAIL<1>
/scratch/cakeml/regression3/cakeml-2907/characteristic/cfLetAutoLib.sml:399: error: Type error in function application.
Function: CONV_TERM : (term -> thm) -> term -> term
Argument: (cfTacticsLib.reduce_conv (mk_exp2v (env, e))) : thm
Reason: Can't unify thm to term -> thm (Incompatible types)
Found near
(CONV_TERM (cfTacticsLib.reduce_conv (mk_exp2v (env, ...)))) |>
optionSyntax.dest_some
/scratch/cakeml/regression3/cakeml-2907/characteristic/cfLetAutoLib.sml:399: error: Type error in function application.
Function: |> : (term -> term) * ((term -> term) -> 'a) -> 'a
Argument:
(
(CONV_TERM (cfTacticsLib.reduce_conv (mk_exp2v (env, ...)))),
optionSyntax.dest_some
) : (term -> term) * (term -> term)
Reason: Can't unify term to term -> term (Incompatible types)
Found near
(CONV_TERM (cfTacticsLib.reduce_conv (mk_exp2v (env, ...)))) |>
optionSyntax.dest_some
error in quse /scratch/cakeml/regression3/cakeml-2907/characteristic/cfLetAutoLib.sml : Fail "Static Errors"
error in load $(CAKEMLDIR)/characteristic/cfLetAutoLib : Fail "Static Errors"
error in load $(CAKEMLDIR)/characteristic/cfLib : Fail "Static Errors"
error in load $(CAKEMLDIR)/basis/basisFunctionsLib : Fail "Static Errors"
error in load /scratch/cakeml/regression3/cakeml-2907/basis/RuntimeProgScript : Fail "Static Errors"
Uncaught exception at ./basis/FinalPolyML.sml:492: Fail "Static Errors"
Full log: /scratch/cakeml/regression3/cakeml-2907/basis/.hol/logs/RuntimeProgTheory
backendTheory compiler/backend (26s)MKILLED
arm7_eval_encodeTheory compiler/encoders/arm7 (17s)MKILLED
arm8_targetTheory compiler/encoders/arm8 (10s)MKILLED