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

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

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

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