test-suite/bugs/bug_4103.v
raw| 1 | Set Primitive Projections. |
| 2 | |
| 3 | CoInductive stream A := { hd : A; tl : stream A }. |
| 4 | |
| 5 | CoFixpoint ticks (n : nat) : stream unit := {| hd := tt; tl := ticks n |}. |
| 6 | |
| 7 | Lemma expand : exists n : nat, (ticks n) = (ticks n).(tl _). |
| 8 | Proof. |
| 9 | eexists. |
| 10 | (* Set Debug Tactic Unification. *) |
| 11 | (* Set Debug RAKAM. *) |
| 12 | reflexivity. |
| 13 | Abort. |