aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/bug_1568.v
blob: 25fdcd297f21be70701161091d91b34666ad89c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
CoInductive A: Set :=
  mk_A: B -> A
with B: Set :=
  mk_B: A -> B.

CoFixpoint a:A := mk_A b
with b:B := mk_B a.

Goal b = match a with mk_A a1 => a1 end.
  simpl. reflexivity.
Qed.