CakeML:e47ca2d92b75b44f621289f962a10f20c5b62b3f
Merge pull request #1190 from CakeML/dafny-new
HOL:a81865b9bac5e3018a070980ce8f4a392c66c9c6
Get Holmake and build to clean properly given .hol directory
Machine:lammmington
Claimed job
Building HOL
Starting developers
Finished developers 3s 132MB
Starting developers/bin
Finished developers/bin 4s 591MB
Starting misc
Finished misc 54s 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 NTpropertiesTheory
Starting work on simpleSexpTheory
Starting work on balanced_mapTheory
Starting work on FormalLangTheory
FormalLangTheory examples/formal-languages (2s) OK
Finished $(HOLDIR)/examples/formal-languages [#theories: 1] (2.130s)
Starting work on charsetTheory
NTpropertiesTheory examples/formal-languages/context-free (4s) OK
Starting work on vec_mapTheory
simpleSexpTheory examples/formal-languages/context-free (4s) OK
Starting work on simpleSexpPEGTheory
vec_mapTheory examples/formal-languages/regular (1s) OK
Starting work on temporalTheory
simpleSexpPEGTheory examples/formal-languages/context-free (3s) OK
Starting work on simpleSexpParseTheory
temporalTheory examples/machine-code/hoare-triple (3s) OK
Finished $(HOLDIR)/examples/machine-code/hoare-triple [#theories: 1] (3.080s)
Starting work on ffiTheory
charsetTheory examples/formal-languages/regular (8s) OK
Starting work on regexpTheory
ffiTheory semantics/ffi (7s) OK
Finished $(CAKEMLDIR)/semantics/ffi [#theories: 1] (7.270s)
Starting work on fpValTreeTheory
fpValTreeTheory semantics (1s) OK
Starting work on fpOptTheory
simpleSexpParseTheory examples/formal-languages/context-free (10s) OK
Finished $(HOLDIR)/examples/formal-languages/context-free [#theories: 4] (23.390s)
Starting work on namespaceTheory
namespaceTheory semantics (2s) OK
Starting work on realOpsTheory
realOpsTheory semantics (1s) OK
Starting work on tokensTheory
fpOptTheory semantics (4s) OK
Starting work on fpSemTheory
fpSemTheory semantics (1s) OK
Starting work on astTheory
tokensTheory semantics (3s) OK
Starting work on gramTheory
regexpTheory examples/formal-languages/regular (14s) OK
Starting work on tokenUtilsTheory
astTheory semantics (7s) OK
Starting work on semanticPrimitivesTheory
tokenUtilsTheory semantics (7s) OK
Starting work on lexer_funTheory
gramTheory semantics (7s) OK
Starting work on cmlPtreeConversionTheory
cmlPtreeConversionTheory semantics (20s) OK
Starting work on mllistTheory
mllistTheory basis/pure (2s) OK
Starting work on mlstringTheory
semanticPrimitivesTheory semantics (34s) OK
Starting work on evaluateTheory
mlstringTheory basis/pure (11s) OK
Starting work on typeSystemTheory
lexer_funTheory semantics (38s) OK
Starting work on mlintTheory
evaluateTheory semantics (5s) OK
Starting work on mloptionTheory
balanced_mapTheory examples/balanced_bst (78s) OK
Starting work on osetTheory
mloptionTheory basis/pure (2s) OK
Starting work on mlmapTheory
mlintTheory basis/pure (7s) OK
Starting work on mlratTheory
osetTheory examples/balanced_bst (4s) OK
Finished $(HOLDIR)/examples/balanced_bst [#theories: 2] (82.870s)
Starting work on regexp_mapTheory
mlmapTheory basis/pure (4s) OK
Starting work on mlsetTheory
regexp_mapTheory examples/formal-languages/regular (3s) OK
Starting work on regexp_compilerTheory
mlratTheory basis/pure (3s) OK
Starting work on typeDecToPPTheory
mlsetTheory basis/pure (2s) OK
Starting work on astPropsTheory
typeSystemTheory semantics (13s) OK
Starting work on primTypesTheory
typeDecToPPTheory basis/pure (2s) OK
Starting work on gramPropsTheory
astPropsTheory semantics/proofs (1s) OK
Starting work on namespacePropsTheory
primTypesTheory semantics (2s) OK
Starting work on semanticsTheory
namespacePropsTheory semantics/proofs (5s) OK
Starting work on fpOptPropsTheory
semanticsTheory semantics (4s) OK
Finished $(CAKEMLDIR)/semantics [#theories: 16] (155.460s)
Starting work on semanticPrimitivesPropsTheory
fpOptPropsTheory semantics/proofs (5s) OK
Starting work on fpSemPropsTheory
regexp_compilerTheory examples/formal-languages/regular (14s) OK
Finished $(HOLDIR)/examples/formal-languages/regular [#theories: 5] (42.520s)
Starting work on mlvectorTheory
gramPropsTheory semantics/proofs (14s) OK
Starting work on typeSoundInvariantsTheory
mlvectorTheory basis/pure (4s) OK
Starting work on mlprettyprinterTheory
typeSoundInvariantsTheory semantics/proofs (4s) OK
Starting work on cmlPEGTheory
mlprettyprinterTheory basis/pure (7s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 10] (49.310s)
Starting work on fromSexpTheory
semanticPrimitivesPropsTheory semantics/proofs (30s) OK
Starting work on typeSysPropsTheory
typeSysPropsTheory semantics/proofs (19s) OK
Starting work on primSemEnvTheory
primSemEnvTheory semantics/proofs (7s) OK
Starting work on weakeningTheory
weakeningTheory semantics/proofs (5s) OK
Starting work on lexer_implTheory
cmlPEGTheory compiler/parsing (62s) OK
Starting work on cmlParseTheory
cmlParseTheory compiler/parsing (8s) OK
Starting work on cfFFITypeTheory
cfFFITypeTheory characteristic (4s) OK
Starting work on ml_monadBaseTheory
fpSemPropsTheory semantics/proofs (88s) OK
Starting work on evaluatePropsTheory
fromSexpTheory compiler/parsing (68s) OK
Starting work on MarshallingTheory
MarshallingTheory basis (3s) OK
Starting work on spt_closureTheory
spt_closureTheory examples/algorithms (1s) OK
Finished $(HOLDIR)/examples/algorithms [#theories: 1] (1.590s)
Starting work on multiwordTheory
ml_monadBaseTheory translator/monadic/monad_base (14s) OK
Finished $(CAKEMLDIR)/translator/monadic/monad_base [#theories: 1] (14.930s)
Starting work on pattern_commonTheory
lexer_implTheory compiler/parsing (40s) OK
Finished $(CAKEMLDIR)/compiler/parsing [#theories: 4] (179.370s)
Starting work on reg_allocTheory
pattern_commonTheory compiler/backend/pattern_matching (9s) OK
Starting work on pattern_semanticsTheory
multiwordTheory examples/machine-code/multiword (25s) OK
Starting work on mc_multiwordTheory
pattern_semanticsTheory compiler/backend/pattern_matching (12s) OK
Starting work on pattern_compTheory
pattern_compTheory compiler/backend/pattern_matching (14s) OK
Finished $(CAKEMLDIR)/compiler/backend/pattern_matching [#theories: 3] (36.560s)
Starting work on parmoveTheory
reg_allocTheory compiler/backend/reg_alloc (37s) OK
Starting work on linear_scanTheory
mc_multiwordTheory examples/machine-code/multiword (35s) OK
Finished $(HOLDIR)/examples/machine-code/multiword [#theories: 2] (60.710s)
Finished $(HOLDIR)/examples/l3-machine-code/common (0.000s)
Starting work on asmTheory
parmoveTheory compiler/backend/reg_alloc (21s) OK
Starting work on backend_commonTheory
evaluatePropsTheory semantics/proofs (81s) OK
Starting work on typeSoundTheory
backend_commonTheory compiler/backend (4s) OK
Starting work on evaluate_decTheory
asmTheory compiler/encoders/asm (10s) OK
Starting work on asmSemTheory
evaluate_decTheory translator (6s) OK
Starting work on ml_progTheory
linear_scanTheory compiler/backend/reg_alloc (32s) OK
Finished $(CAKEMLDIR)/compiler/backend/reg_alloc [#theories: 3] (90.680s)
Starting work on closLangTheory
asmSemTheory compiler/encoders/asm (10s) OK
Starting work on asmPropsTheory
closLangTheory compiler/backend (7s) OK
Starting work on bviTheory
bviTheory compiler/backend (2s) OK
Starting work on dataLangTheory
ml_progTheory translator (12s) OK
Starting work on ml_translatorTheory
dataLangTheory compiler/backend (3s) OK
Starting work on cfHeapsBaseTheory
asmPropsTheory compiler/encoders/asm (14s) OK
Finished $(CAKEMLDIR)/compiler/encoders/asm [#theories: 3] (35.270s)
Starting work on data_liveTheory
data_liveTheory compiler/backend (5s) OK
Starting work on data_simpTheory
cfHeapsBaseTheory characteristic (15s) OK
Starting work on clFFITheory
data_simpTheory compiler/backend (2s) OK
Starting work on runtimeFFITheory
runtimeFFITheory basis (4s) OK
Starting work on fsFFITheory
clFFITheory basis (4s) OK
Starting work on data_spaceTheory
data_spaceTheory compiler/backend (6s) OK
Starting work on bvi_to_dataTheory
fsFFITheory basis (9s) OK
Starting work on fsFFIPropsTheory
bvi_to_dataTheory compiler/backend (18s) OK
Starting work on bvi_letTheory
bvi_letTheory compiler/backend (3s) OK
Starting work on bvi_tailrecTheory
ml_translatorTheory translator (55s) OK
Starting work on ml_optimiseTheory
ml_optimiseTheory translator (14s) OK
Starting work on ml_pmatchTheory
fsFFIPropsTheory basis (40s) OK
Starting work on bvlTheory
bvlTheory compiler/backend (2s) OK
Starting work on bvl_constTheory
bvi_tailrecTheory compiler/backend (25s) OK
Starting work on db_varsTheory
ml_pmatchTheory translator (12s) OK
Starting work on std_preludeTheory
db_varsTheory compiler/backend (2s) OK
Starting work on cfHeapsTheory
std_preludeTheory translator (10s)FAIL<1>
<<HOL message: Termination argument ignored (term. proved automatically)>>
Saved definition ____ "ORDERING_TYPE_def"
<<HOL warning: ThmSetData.revise_data:
Theorems in set "compute":
ADD<std_prelude$ORDERING_TYPE_def>
invalidated by NewBinding("ORDERING_TYPE_def", {private=false,loc=Unknown,class=Thm})>>
Saved theorem _______ "ORDERING_TYPE_def"
Attempting proof of: EqualityType ORDERING_TYPE
Doing EqualityType proof via ONTO thm: a. r. a = num2ordering r r < 3
.. done EqualityType proof.
Adding type :ordering.
Saved theorem _______ "nsLookup_std_prelude_env_0_pfun_eqs"
Adding type : list
Attempting proof of: EqualityType (LIST_TYPE a)
.. done EqualityType proof.
Adding type : list.
Adding type : #
Attempting proof of: EqualityType (PAIR_TYPE a b)
.. done EqualityType proof.
Adding type : # .
Adding type : +
Adding nsLookup representation thms for [std_prelude_env_0]
<<HOL message: Termination argument ignored (term. proved automatically)>>
Saved definition ____ "SUM_TYPE_def"
<<HOL warning: ThmSetData.revise_data:
Theorems in set "compute":
ADD<std_prelude$SUM_TYPE_def>
invalidated by NewBinding("SUM_TYPE_def", {private=false,loc=Unknown,class=Thm})>>
Saved theorem _______ "SUM_TYPE_def"
Attempting proof of: EqualityType (SUM_TYPE a b)
.. done EqualityType proof.
Adding type : + .
Saved theorem _______ "nsLookup_std_prelude_env_1_pfun_eqs"
Adding type : app_list
Adding nsLookup representation thms for [std_prelude_env_1]
<<HOL message: Termination argument ignored (term. proved automatically)>>
Saved definition ____ "APP_LIST_TYPE_def"
<<HOL warning: ThmSetData.revise_data:
Theorems in set "compute":
ADD<std_prelude$APP_LIST_TYPE_def>
invalidated by NewBinding("APP_LIST_TYPE_def", {private=false,loc=Unknown,class=Thm})>>
Saved theorem _______ "APP_LIST_TYPE_def"
Attempting proof of: EqualityType (APP_LIST_TYPE a)
.. done EqualityType proof.
Adding type : app_list.
Saved theorem _______ "nsLookup_std_prelude_env_2_pfun_eqs"
Failed translation: FST
error in quse /scratch/cakeml/regression3/cakeml-2885/translator/std_preludeScript.sml : HOL_ERR {message = "Preprocessor failed: unable to reduce definition to single line.", origin_function = "failwith", origin_structure = "??", source_location = Loc_Unknown}
error in load /scratch/cakeml/regression3/cakeml-2885/translator/std_preludeScript : HOL_ERR {message = "Preprocessor failed: unable to reduce definition to single line.", origin_function = "failwith", origin_structure = "??", source_location = Loc_Unknown}
Uncaught exception at /scratch/cakeml/regression3/cakeml-2885/translator/ml_translatorLib.sml:4455: HOL_ERR {message = "Preprocessor failed: unable to reduce definition to single line.", origin_function = "failwith", origin_structure = "??", source_location = Loc_Unknown}
Full log: /scratch/cakeml/regression3/cakeml-2885/translator/.hol/logs/std_preludeTheory
typeSoundTheory semantics/proofs(120s)MKILLED
bvl_constTheory compiler/backend (15s)MKILLED
cfHeapsTheory characteristic (10s)MKILLED