summaryrefslogtreecommitdiffstats
path: root/content/zettel/3d1.md
blob: ff0a159911a8c0e1c222623ff1bdcac87514b825 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
+++
title = "Dafny"
author = "Yann Herklotz"
tags = []
categories = []
backlinks = ["3d"]
forwardlinks = ["3d2"]
zettelid = "3d1"
+++

Dafny is a tool that was created by Runstan Lino, which is a language
that was designed specifically for the purposes of verification. The
main idea is that you can have preconditions and postconditions that
describe the functionality of your program. These are then proven
automatically by dafny, which uses the implementation to try and prove
the postcondition assuming that the precondition holds.

This cannot always be the case though, and one can therefore help the
theorem prover by adding assertions in different places.