T201 : The Oracle of Haskell
|
Supervision:
|
||||||
|
Research group:
Declarative Languages and Artificial Intelligence
|
||||||
|
Context:
Does this Haskell function cover all possible inputs? Are there any x such that “not (x < 0) and not (x >= 0)”? Our current oracle is just a placeholder that always answers: “it may be possible”. This is safe but not incredibly useful. |
||||||
|
Aim:
Design and implement a proper oracle for reasoning about guards. |
||||||
|
Possible research questions:
How can we make the oracle smart enough to reason effectively about guards? What is the tradeoff between reasoning power and compilation time? Can we make the compiler smart enough to improve the warnings for production code? |
||||||
|
Approach:
Literature and study of relevant parts of GHC Design and implement your oracle Evaluate your implementation on widely used Haskell libraries |
||||||
|
Relevant literature:
“Warnings for pattern matching”. Luc Maranget “Zeno: An automated prover for properties of recursive data structures”. W. Sonnex, S. Drossopoulou, and S. Eisenbach |
||||||
|
Student profile:
Haskell enthusiast Likes to turn theory into practice Fascinated by compilers and language reasoning This topic is for 1 student(s). This topic can be selected by
|
||||||
|
Clusters, in which this topic appears:
|

