Questions tagged [reflection]

Reflection allows a program to inspect and modify its own source code, allowing greater flexibility.

Filter by
Sorted by
Tagged with
6 votes
3 answers
296 views

What proof assistants can reason about the complexity of its *own* programs?

This is obviously a question inspired by can proof assistants reason about the complexity of programs?. Here, the question involves a degree of meta-programming (or reflection if you'd prefer). For ...
Jacques Carette's user avatar
3 votes
1 answer
143 views

Proof by Exhaustive Computation for small initial segment of natural numbers (in Coq)

I have two functions f, g : nat -> nat. Let's pretend that f and g are cheap to compute. ...
Agnishom Chattopadhyay's user avatar
18 votes
2 answers
1k views

What's the difference between reflection and tactics?

Agda has a reflection mechanism (not equality reflection or reflexivity, but something related to metaprogramming based on goals and contexts to generate terms) and people have developed some ...
ice1000's user avatar
  • 5,857