test-suite/success/Case5.v
raw| 1 | |
| 2 | Parameter ff : forall n m : nat, n <> m -> S n <> S m. |
| 3 | Parameter discr_r : forall n : nat, 0 <> S n. |
| 4 | Parameter discr_l : forall n : nat, S n <> 0. |
| 5 | |
| 6 | |
| 7 | Type |
| 8 | (fun n : nat => |
| 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)) |
| 13 | end). |