1
Inductive Le : nat -> nat -> Set :=
2
| LeO : forall n : nat, Le 0 n
3
| LeS : forall n m : nat, Le n m -> Le (S n) (S m).
5
Parameter discr_l : forall n : nat, S n <> 0.
9
match n return (n = 0 \/ n <> 0) with
10
| O => or_introl (0 <> 0) (refl_equal 0)
11
| S O => or_intror (1 = 0) (discr_l 0)
12
| S (S x) => or_intror (S (S x) = 0) (discr_l (S x))
15
Parameter iguales : forall (n m : nat) (h : Le n m), Prop.
18
match LeO 0 as h in (Le n m) return Prop with
20
| LeS (S x) (S y) H => iguales (S x) (S y) H
25
match LeO 0 as h in (Le n m) return Prop with
27
| LeS (S x) O H => iguales (S x) 0 H