CakeML:15e07f971000e1f310353eb052ae9c3310c57997
Remove dead code from xletauto
#1200 (xletautodeadcode)
Merging into:d6e25b8062cfef71c54e240010b2670b03389999
Merge pull request #1208 from CakeML/pan_cleanup
HOL:466a40abe43a384327cf9fd1ada840fa176b961d
Change bossLib.oneline to preserve input hypotheses as hypotheses
Machine:lammmington
Claimed job
Reusing HOL
Starting developers
Finished developers 3s 196MB
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 (0s) 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.450s)
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 (12s) 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
mlratTheory basis/pure (3s) OK
Starting work on mlsetTheory
lexer_funTheory semantics (38s) 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.380s)
Starting work on cmlPEGTheory
semanticPrimitivesTheory semantics (36s) OK
Starting work on evaluateTheory
namespacePropsTheory semantics/proofs (5s) OK
Starting work on typeSystemTheory
evaluateTheory semantics (5s) OK
Starting work on astPropsTheory
astPropsTheory semantics/proofs (1s) OK
Starting work on fpOptPropsTheory
gramPropsTheory semantics/proofs (14s) OK
Starting work on semanticPrimitivesPropsTheory
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.970s)
Starting work on typeSoundInvariantsTheory
typeSoundInvariantsTheory semantics/proofs (4s) OK
Starting work on fromSexpTheory
semanticPrimitivesPropsTheory semantics/proofs (30s) OK
Starting work on typeSysPropsTheory
cmlPEGTheory compiler/parsing (61s) OK
Starting work on cmlParseTheory
typeSysPropsTheory semantics/proofs (20s) OK
Starting work on primSemEnvTheory
cmlParseTheory compiler/parsing (8s) OK
Starting work on weakeningTheory
primSemEnvTheory semantics/proofs (7s) OK
Starting work on lexer_implTheory
weakeningTheory semantics/proofs (5s) OK
Starting work on cfFFITypeTheory
cfFFITypeTheory characteristic (4s) OK
Starting work on ml_monadBaseTheory
ml_monadBaseTheory translator/monadic/monad_base (15s) OK
Finished $(CAKEMLDIR)/translator/monadic/monad_base [#theories: 1] (15.330s)
Starting work on MarshallingTheory
MarshallingTheory basis (3s) OK
Starting work on pattern_commonTheory
fpSemPropsTheory semantics/proofs (90s) OK
Starting work on evaluatePropsTheory
fromSexpTheory compiler/parsing (70s) OK
Starting work on reg_allocTheory
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.590s)
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
pattern_compTheory compiler/backend/pattern_matching (14s) OK
Finished $(CAKEMLDIR)/compiler/backend/pattern_matching [#theories: 3] (35.610s)
Starting work on backend_commonTheory
backend_commonTheory compiler/backend (4s) OK
Starting work on closLangTheory
reg_allocTheory compiler/backend/reg_alloc (37s) OK
Starting work on linear_scanTheory
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
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.200s)
Starting work on bvi_letTheory
bvi_letTheory compiler/backend (3s) OK
Starting work on bvi_tailrecTheory
linear_scanTheory compiler/backend/reg_alloc (32s) OK
Finished $(CAKEMLDIR)/compiler/backend/reg_alloc [#theories: 3] (92.070s)
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 (18s) OK
Starting work on evaluate_decTheory
evaluate_decTheory translator (6s) OK
Starting work on ml_progTheory
ml_progTheory translator (12s) OK
Starting work on ml_translatorTheory
bvi_tailrecTheory compiler/backend (27s) OK
Starting work on cfHeapsBaseTheory
bvl_constTheory compiler/backend (26s) OK
Starting work on db_varsTheory
db_varsTheory compiler/backend (2s) OK
Starting work on bvl_handleTheory
cfHeapsBaseTheory characteristic (15s) OK
Starting work on clFFITheory
clFFITheory basis (4s) OK
Starting work on runtimeFFITheory
runtimeFFITheory basis (4s) OK
Starting work on fsFFITheory
bvl_handleTheory compiler/backend (19s) OK
Starting work on bvl_inlineTheory
fsFFITheory basis (9s) OK
Starting work on fsFFIPropsTheory
bvl_inlineTheory compiler/backend (6s) OK
Starting work on bvl_to_bviTheory
ml_translatorTheory translator (56s) OK
Starting work on ml_optimiseTheory
ml_optimiseTheory translator (14s) OK
Starting work on ml_pmatchTheory
bvl_to_bviTheory compiler/backend (37s) OK
Starting work on bvl_jumpTheory
fsFFIPropsTheory basis (39s) OK
Starting work on clos_annotateTheory
bvl_jumpTheory compiler/backend (2s) OK
Starting work on clos_callTheory
ml_pmatchTheory translator (11s) OK
Starting work on std_preludeTheory
clos_annotateTheory compiler/backend (6s) OK
Starting work on cfHeapsTheory
clos_callTheory compiler/backend (6s) OK
Starting work on clos_fvsTheory
clos_fvsTheory compiler/backend (2s) OK
Starting work on clos_letopTheory
clos_letopTheory compiler/backend (3s) OK
Starting work on clos_opTheory
cfHeapsTheory characteristic (11s) OK
Starting work on cfStoreTheory
std_preludeTheory translator (13s) OK
Finished $(CAKEMLDIR)/translator [#theories: 6] (115.260s)
Starting work on clos_ticksTheory
clos_ticksTheory compiler/backend (2s) 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
clos_opTheory compiler/backend (15s) OK
Starting work on clos_knownTheory
cfStoreTheory characteristic (15s) OK
Starting work on cfNormaliseTheory
stackLangTheory compiler/backend (5s) OK
Starting work on wordLangTheory
wordLangTheory compiler/backend (10s) OK
Starting work on word_bignumTheory
cfNormaliseTheory characteristic (13s) OK
Starting work on cfAppTheory
clos_knownTheory compiler/backend (20s) OK
Starting work on clos_to_bvlTheory
typeSoundTheory semantics/proofs(164s) OK
Starting work on semanticsPropsTheory
semanticsPropsTheory semantics/proofs (6s) OK
Finished $(CAKEMLDIR)/semantics/proofs [#theories: 13] (440.400s)
Starting work on word_depthTheory
cfAppTheory characteristic (20s) OK
Starting work on cfTheory
word_depthTheory compiler/backend (7s) OK
Starting work on word_allocTheory
word_bignumTheory compiler/backend (27s) OK
Starting work on word_copyTheory
word_copyTheory compiler/backend (6s) OK
Starting work on word_cseTheory
word_cseTheory compiler/backend (10s) OK
Starting work on word_instTheory
clos_to_bvlTheory compiler/backend (48s) OK
Starting work on word_removeTheory
word_removeTheory compiler/backend (7s) OK
Starting work on word_simpTheory
word_instTheory compiler/backend (27s) OK
Starting work on word_unreachTheory
word_unreachTheory compiler/backend (4s) OK
Starting work on clos_interpTheory
word_simpTheory compiler/backend (17s) 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 (3s) 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
cfTheory characteristic (91s) OK
Starting work on cfTacticsTheory
str_treeTheory compiler/backend (3s) OK
Starting work on xcfTheory
word_allocTheory compiler/backend (87s) OK
Starting work on word_to_wordTheory
lab_to_targetTheory compiler/backend (11s) OK
Starting work on displayLangTheory
xcfTheory characteristic (4s) OK
Starting work on flat_elimTheory
displayLangTheory compiler/backend (2s) OK
Starting work on flat_patternTheory
word_to_wordTheory compiler/backend (4s) OK
Starting work on data_to_wordTheory
cfTacticsTheory characteristic (11s) OK
Starting work on cfDivTheory
flat_elimTheory compiler/backend (7s) OK
Starting work on cfLetAutoTheory
flat_patternTheory compiler/backend (7s) OK
Starting work on cfMainTheory
cfMainTheory characteristic (16s) OK
Starting work on source_to_flatTheory
cfLetAutoTheory characteristic (19s) OK
Starting work on ml_monad_translatorBaseTheory
source_to_flatTheory compiler/backend (9s) OK
Starting work on presLangTheory
ml_monad_translatorBaseTheory translator/monadic (18s) OK
Starting work on ml_monad_translatorTheory
data_to_wordTheory compiler/backend (53s) OK
Starting work on source_letTheory
source_letTheory compiler/backend (3s) OK
Starting work on source_to_sourceTheory
presLangTheory compiler/backend (23s) OK
Starting work on stack_allocTheory
source_to_sourceTheory compiler/backend (2s) 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
ml_monad_translatorTheory translator/monadic (38s) OK
Starting work on cfMonadTheory
stack_removeTheory compiler/backend (7s) OK
Starting work on word_to_stackTheory
word_to_stackTheory compiler/backend (13s) OK
Starting work on exportTheory
stack_rawcallTheory compiler/backend (34s) OK
Starting work on stack_to_labTheory
cfMonadTheory translator/monadic (18s) OK
Finished $(CAKEMLDIR)/translator/monadic [#theories: 3] (74.940s)
Starting work on word_elimTheory
exportTheory compiler/backend (4s) OK
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
ag32_targetTheory compiler/encoders/ag32 (12s) OK
Finished $(CAKEMLDIR)/compiler/encoders/ag32 [#theories: 2] (20.750s)
Starting work on export_arm7Theory
cfDivTheory characteristic(128s) OK
Finished $(CAKEMLDIR)/characteristic [#theories: 12] (352.040s)
Starting work on RuntimeProgTheory
stack_to_labTheory compiler/backend (22s) OK
Starting work on backendTheory
arm7_targetTheory compiler/encoders/arm7 (14s) OK
Starting work on arm7_eval_encodeTheory
export_arm7Theory compiler/backend/arm7 (10s) OK
Starting work on arm8_targetTheory
RuntimeProgTheory basis (15s)FAIL<1>
/scratch/cakeml/regression3/cakeml-2913/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-2913/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-2913/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-2913/basis/RuntimeProgScript : Fail "Static Errors"
Uncaught exception at ./basis/FinalPolyML.sml:492: Fail "Static Errors"
Full log: /scratch/cakeml/regression3/cakeml-2913/basis/.hol/logs/RuntimeProgTheory
backendTheory compiler/backend (16s)MKILLED
arm7_eval_encodeTheory compiler/encoders/arm7 (11s)MKILLED
arm8_targetTheory compiler/encoders/arm8 (5s)MKILLED