Debian Codegraph @

test-suite/bugs/bug_1238.v

raw
1 Require Import Setoid.
2
3 Parameter A : Set.
4
5 Inductive liste : Set :=
6 | vide : liste
7 | c : A -> liste -> liste.
8
9 Inductive e : A -> liste -> Prop :=
10 | ec : forall (x : A) (l : liste), e x (c x l)
11 | ee : forall (x y : A) (l : liste), e x l -> e x (c y l).
12
13 Definition same := fun (l m : liste) => forall (x : A), e x l <-> e x m.
14
15 Definition same_refl (x:liste) : (same x x).
16 unfold same; split; intros; trivial.
17 Qed.
18
19 Goal forall (x:liste), (same x x).
20 intro.
21 apply (same_refl x).
22 Qed.