Changeset 3138 for Deliverables/D3.4/Report/report.tex
- Timestamp:
- Apr 12, 2013, 7:03:35 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Deliverables/D3.4/Report/report.tex
r3131 r3138 417 417 \section{Input code to cost labelled program} 418 418 419 The simple form of labelling used in the formalised compiler is not 420 quite capable of capturing costs arising from complex C 421 \lstinline[language=C]'switch' statements, largely due to the 422 fall-through behaviour. Our first pass replaces these statements with 423 simpler C code, allowing our second pass to perform the cost 424 labelling. We show that the behaviour of programs is unchanged by 425 these passes. 426 427 TODO: both give one-step-sim-by-many forward sim results; switch 428 removal tricky, uses aux var to keep result of expr, not central to 429 intensional correctness so curtailed proof effort once reasonable 430 level of confidence in code gained; labelling much simpler; don't care 431 what the labels are at this stage, just need to know when to go 432 through extra steps. Rolled up into a single result with a cofixpoint 433 to obtain coinductive statement of equivalence (show). 434 419 435 \section{Finding corresponding measurable subtraces} 420 436
Note: See TracChangeset
for help on using the changeset viewer.