Extraction of Programs from Proofs using Postulated Axioms
Anton Setzer Swansea University, Swansea UK (Joint work with Chi Ming Chuang) 10 October 2011
1/ 31
Extraction of Programs from Proofs using Postulated Axioms Anton - - PowerPoint PPT Presentation
Extraction of Programs from Proofs using Postulated Axioms Anton Setzer Swansea University, Swansea UK (Joint work with Chi Ming Chuang) 10 October 2011 1/ 31 1. Agda in 5 Slides 2. Real Number Computations in Agda 3. Theory of Program
1/ 31
2/ 31
3/ 31
◮ dependent function types, ◮ algebraic data types, ◮ coalgebraic data types. 4/ 31
5/ 31
6/ 31
7/ 31
8/ 31
9/ 31
10/ 31
11/ 31
12/ 31
13/ 31
14/ 31
15/ 31
16/ 31
17/ 31
18/ 31
19/ 31
20/ 31
21/ 31
22/ 31
23/ 31
24/ 31
◮ A : (x1 : B1) → · · · → (xn : Bn) → Set or ◮ A : (x1 : B1) → · · · → (xn : Bn) → A′ t1 · · · tn where A′ is a postulated
26/ 31
27/ 31
◮ We have t = f t1 · · · tn, f function symbol or constructor. ◮ f cannot be postulated or directly defined. ◮ If f is defined by pattern matching on say ti. ◮ By IH ti starts with a constructor. ◮ t has a reduction, wasn’t in NF ◮ So f is a constructor. 28/ 31
29/ 31
Conclusion
30/ 31
Conclusion
31/ 31