r/Idris • u/riels89 • Oct 27 '23
How does idris actually verify proofs?
I have found lots of information about how to construct proofs but can’t find any resources about how Idris (or other similar proof verifiers) actually verified that the proof is correct. Any resources would be appreciated!
Thanks.
18
Upvotes
12
u/OpsikionThemed Oct 27 '23
It just uses a typechecker. The type is the thing to be proved (or "proposition"). The expression (or "term") is the proof. The thing you're looking for is called the Curry-Howard Isomorphism.
11
u/1331 Oct 27 '23
If you would like a gentle introduction, I recommend Type Theory and Formal Proof: An Introduction by Nederpelt and Geuvers.
1
u/algely Dec 02 '23
You may want to give Agda, Coq, Lean a go as they are proof assistants.