CakeML:fed7b3906f98eee7a3ca5df755884d4b0c5b7913
Bring back log type
#1301 (new-prims)
Merging into:b33556e9b0cdd780bb380194889c2959ffe86191
Mcandidate fix (#1321)
HOL:b725f6e8834462a5b4bb2fb67b35e36f368cb8b6
Tweak regular Holmakefile to clean selftest's log
Machine:timtam
Claimed job
Reusing HOL
Starting developers
Finished developers 4s 121MB
Starting developers/bin
Finished developers/bin 3s 91MB
Starting misc
Finished misc 40s 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 pattern_commonTheory
mllistTheory basis/pure (4s) OK
Starting work on mlstringTheory
mlmapTheory basis/pure (5s) OK
Starting work on mlvectorTheory
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 (13s) OK
Starting work on mlintTheory
db_varsTheory compiler/backend (2s) OK
Starting work on mlsexpTheory
mlintTheory basis/pure (7s) OK
Starting work on mlprettyprinterTheory
mlsexpTheory basis/pure (9s) OK
Starting work on mlratTheory
ag32Theory compiler/encoders/ag32 (9s) OK
Starting work on ffiTheory
parmoveTheory compiler/backend/reg_alloc (21s) 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.690s)
Starting work on cfFFITypeTheory
astTheory semantics (8s) OK
Starting work on fpSemTheory
tokensTheory semantics (3s) OK
Starting work on gramTheory
ffiTheory semantics/ffi (8s) OK
Finished $(CAKEMLDIR)/semantics/ffi [#theories: 1] (8.590s)
Starting work on tokenUtilsTheory
fpSemTheory semantics (2s) OK
Starting work on semanticPrimitivesTheory
cfFFITypeTheory characteristic (5s) OK
Starting work on lexer_funTheory
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 (25s) OK
Starting work on evaluateTheory
evaluateTheory semantics (5s) OK
Starting work on typeSystemTheory
cmlPtreeConversionTheory semantics (21s) 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: 14] (124.740s)
Starting work on typeSoundInvariantsTheory
semanticPrimitivesPropsTheory semantics/proofs (21s) OK
Starting work on evaluatePropsTheory
typeSoundInvariantsTheory semantics/proofs (4s) OK
Starting work on typeSysPropsTheory
fromSexpTheory compiler/parsing (40s) OK
Starting work on lexer_implTheory
typeSysPropsTheory semantics/proofs (17s) OK
Starting work on primSemEnvTheory
cmlPEGTheory compiler/parsing (62s) OK
Starting work on weakeningTheory
primSemEnvTheory semantics/proofs (6s) OK
Starting work on cmlParseTheory
weakeningTheory semantics/proofs (5s) OK
Starting work on ml_monadBaseTheory
cmlParseTheory compiler/parsing (9s) OK
Starting work on pattern_semanticsTheory
ml_monadBaseTheory translator/monadic/monad_base (17s) OK
Finished $(CAKEMLDIR)/translator/monadic/monad_base [#theories: 1] (17.040s)
Starting work on reg_allocTheory
lexer_implTheory compiler/parsing (38s) OK
Finished $(CAKEMLDIR)/compiler/parsing [#theories: 4] (150.170s)
Starting work on asmTheory
evaluatePropsTheory semantics/proofs (55s) OK
pattern_semanticsTheory compiler/backend/pattern_matching (12s) OK
Starting work on typeSoundTheory
Starting work on evaluate_decTheory
evaluate_decTheory translator (5s) OK
Starting work on ml_progTheory
asmTheory compiler/encoders/asm (12s) OK
Starting work on pattern_compTheory
ml_progTheory translator (11s) OK
Starting work on ml_translatorTheory
pattern_compTheory compiler/backend/pattern_matching (15s) OK
Starting work on cfHeapsBaseTheory
reg_allocTheory compiler/backend/reg_alloc (37s) OK
Finished $(CAKEMLDIR)/compiler/backend/pattern_matching [#theories: 3] (38.430s)
Starting work on linear_scanTheory
cfHeapsBaseTheory characteristic (15s) OK
Starting work on clFFITheory
clFFITheory basis (5s) OK
Starting work on runtimeFFITheory
ml_translatorTheory translator (33s) OK
Starting work on ml_optimiseTheory
runtimeFFITheory basis (4s) OK
Starting work on ml_pmatchTheory
ml_optimiseTheory translator (11s) OK
Starting work on fsFFITheory
ml_pmatchTheory translator (9s) OK
Starting work on std_preludeTheory
linear_scanTheory compiler/backend/reg_alloc (32s) OK
Starting work on cfHeapsTheory
fsFFITheory basis (9s) OK
Starting work on fsFFIPropsTheory
std_preludeTheory translator (14s) OK
Finished $(CAKEMLDIR)/translator [#theories: 6] (85.790s)
Finished $(CAKEMLDIR)/compiler/backend/reg_alloc [#theories: 3] (92.330s)
Starting work on asmSemTheory
cfHeapsTheory characteristic (12s) OK
Starting work on cfStoreTheory
typeSoundTheory semantics/proofs (88s) OK
Starting work on semanticsPropsTheory
semanticsPropsTheory semantics/proofs (6s) OK
Finished $(CAKEMLDIR)/semantics/proofs [#theories: 10] (225.970s)
Starting work on closLangTheory
asmSemTheory compiler/encoders/asm (11s) OK
Starting work on asmPropsTheory
cfStoreTheory characteristic (16s) OK
Starting work on cfNormaliseTheory
closLangTheory compiler/backend (7s) OK
Starting work on bviTheory
bviTheory compiler/backend (3s) OK
Starting work on dataLangTheory
dataLangTheory compiler/backend (3s) OK
Starting work on data_liveTheory
fsFFIPropsTheory basis (37s) OK
Starting work on data_simpTheory
asmPropsTheory compiler/encoders/asm (15s) OK
Finished $(CAKEMLDIR)/compiler/encoders/asm [#theories: 3] (40.200s)
Starting work on data_spaceTheory
data_simpTheory compiler/backend (2s) OK
Starting work on bvi_letTheory
data_liveTheory compiler/backend (5s) OK
Starting work on bvi_tailrecTheory
cfNormaliseTheory characteristic (14s) OK
Starting work on cfAppTheory
data_spaceTheory compiler/backend (6s) OK
Starting work on bvi_to_dataTheory
bvi_letTheory compiler/backend (4s) OK
Starting work on bvlTheory
bvlTheory compiler/backend (3s) OK
Starting work on bvl_constTheory
bvi_to_dataTheory compiler/backend (15s) OK
Starting work on bvl_jumpTheory
bvi_tailrecTheory compiler/backend (20s) OK
Starting work on clos_annotateTheory
cfAppTheory characteristic (20s) OK
Starting work on cfTheory
bvl_jumpTheory compiler/backend (2s) OK
Starting work on clos_callTheory
bvl_constTheory compiler/backend (19s) 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 (4s) OK
Starting work on clos_ticksTheory
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 (16s) OK
Starting work on bvl_inlineTheory
clos_numberTheory compiler/backend (3s) OK
Starting work on stackLangTheory
clos_opTheory compiler/backend (13s) 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
cfTheory characteristic (34s)FAIL<1>
Saved definition ____ "cf_ref_def"
Saved definition ____ "cf_assign_def"
Saved definition ____ "cf_deref_def"
Saved definition ____ "cf_aalloc_def"
Saved definition ____ "cf_aalloc_empty_def"
Saved definition ____ "cf_asub_def"
Saved definition ____ "cf_alength_def"
Saved definition ____ "cf_aupdate_def"
Saved definition ____ "cf_aw8alloc_def"
Saved definition ____ "cf_aw8sub_def"
Saved definition ____ "cf_aw8length_def"
Saved definition ____ "cf_aw8update_def"
Saved definition ____ "cf_copyaw8aw8_def"
Saved definition ____ "cf_copystraw8_def"
Saved definition ____ "cf_copyaw8str_def"
Saved definition ____ "cf_xoraw8str_def"
Saved definition ____ "cf_wordFromInt_W8_def"
Saved definition ____ "cf_wordFromInt_W64_def"
Saved definition ____ "cf_wordToInt_W8_def"
Saved definition ____ "cf_wordToInt_W64_def"
Saved definition ____ "app_fptoword_def"
Saved definition ____ "cf_fptoword_def"
Saved definition ____ "app_fpfromword_def"
Saved definition ____ "cf_fpfromword_def"
Saved definition ____ "app_ffi_def"
Saved definition ____ "cf_ffi_def"
<<HOL message: mk_functional:
pattern completion has added 11 clauses to the original specification.>>
Saved definition ____ "cf_log_def"
Saved definition ____ "cf_if_def"
Saved definition ____ "cf_match_def"
Saved definition ____ "cf_raise_def"
Saved definition ____ "cf_handle_def"
Exception raised at TotalDefn.tDefine:
at Defn.Hol_defn: between line 1837, character 2 and line 1991, character 19:
at Defn.parse_quote:
at Preterm.type-analysis: on line 1981, characters 11-13:
Type error in function application.
Function: cf_log :arith ->
exp ->
(v sem_env ->
((heap_part -> bool) -> bool) ->
(res -> (heap_part -> bool) -> bool) -> bool) ->
v sem_env ->
((heap_part -> bool) -> bool) -> (res -> (heap_part -> bool) -> bool) -> bool
Argument: lop :lop
Reason: Attempt to unify different type operators: ast$arith and ast$lop
Full log: /scratch/cakeml/regression2/cakeml-3190/characteristic/.hol/logs/cfTheory
clos_knownTheory compiler/backend (8s)MKILLED
bvl_to_bviTheory compiler/backend (1s)MKILLED
wordLangTheory compiler/backend (0s)MKILLED