Towards a Formal Semantics for FHM: Part 2
Joey Capper and Henrik Nilsson
School of Computer Science, University of Nottingham
FPLab Away Day, Buxton, 8th of July 2011
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 1 / 18
Towards a Formal Semantics for FHM: Part 2 Joey Capper and Henrik - - PowerPoint PPT Presentation
Towards a Formal Semantics for FHM: Part 2 Joey Capper and Henrik Nilsson School of Computer Science, University of Nottingham FPLab Away Day, Buxton, 8th of July 2011 Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 1 / 18
Introduction
1 Normalisation of functional level terms 2 Reducing signal level terms 3 Handling of simulation runtime events. Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 2 / 18
Introduction
1 Normalisation of functional level terms 2 Reducing signal level terms 3 Handling of simulation runtime events. Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 2 / 18
Introduction
1 Normalisation of functional level terms 2 Reducing signal level terms 3 Handling of simulation runtime events. Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 2 / 18
Introduction
1 Permit only simple symbolic simplification at the signal level, e.g:
2 Switch blocks may depend on an event payload. For example, state
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 3 / 18
Introduction
1 Permit only simple symbolic simplification at the signal level, e.g:
2 Switch blocks may depend on an event payload. For example, state
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 3 / 18
Introduction
1 Permit only simple symbolic simplification at the signal level, e.g:
2 Switch blocks may depend on an event payload. For example, state
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 3 / 18
Introduction
1 Not concerned with continuous semantics 2 Want to keep a clean divide between the discrete and continuous
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 4 / 18
Introduction
1 Not concerned with continuous semantics 2 Want to keep a clean divide between the discrete and continuous
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 4 / 18
Normalisation by Evaluation
1 Reduction free view of normalisation 2 Symbolic method, enabling partial evaluation 3 We get use Agda as the meta-language! Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 5 / 18
Normalisation by Evaluation
1 Reduction free view of normalisation 2 Symbolic method, enabling partial evaluation 3 We get use Agda as the meta-language! Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 5 / 18
Normalisation by Evaluation
1 Reduction free view of normalisation 2 Symbolic method, enabling partial evaluation 3 We get use Agda as the meta-language! Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 5 / 18
Normalisation by Evaluation
1 Closely related to type-directed partial evaluation 2 Proceeds by interpreting terms into an appropriate model 3 Objects of the model are then reified back into the normal forms that
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 6 / 18
Normalisation by Evaluation
1 Closely related to type-directed partial evaluation 2 Proceeds by interpreting terms into an appropriate model 3 Objects of the model are then reified back into the normal forms that
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 6 / 18
Normalisation by Evaluation
1 Closely related to type-directed partial evaluation 2 Proceeds by interpreting terms into an appropriate model 3 Objects of the model are then reified back into the normal forms that
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 6 / 18
Normalisation by Evaluation
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 7 / 18
Normalisation by Evaluation
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 7 / 18
FHM language
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 8 / 18
FHM language
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 9 / 18
FHM language
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 10 / 18
FHM language
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 11 / 18
FHM language
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 11 / 18
FHM language
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 11 / 18
Agda Implementation
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 12 / 18
Agda Implementation
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 13 / 18
Agda Implementation
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 14 / 18
Agda Implementation
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 15 / 18
Agda Implementation
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 16 / 18
Agda Implementation
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 17 / 18
Agda Implementation
Joey Capper and Henrik Nilsson (UoN) Verified FHM Semantics FPLab Away Day 18 / 18