aboutsummaryrefslogtreecommitdiff
path: root/test-suite/success/cofixtac.v
blob: ae75ee770f5d4d8c8413a0c4966340ac67233d1e (plain)
1
2
3
4
5
6
7
8
9
10
CoInductive stream :=
| C : content -> stream
with content :=
| D : nat -> stream -> content.

Lemma one : stream.
cofix c with (d : content).
- constructor. apply d.
- constructor. exact 1. apply c.
Defined.