1
(************************************************************************)
2
(* v * The Coq Proof Assistant / The Coq Development Team *)
3
(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
4
(* \VV/ **************************************************************)
5
(* // * This file is distributed under the terms of the *)
6
(* * GNU Lesser General Public License Version 2.1 *)
7
(************************************************************************)
9
(*i $Id: DecBool.v 9245 2006-10-17 12:53:34Z notin $ i*)
11
Set Implicit Arguments.
13
Definition ifdec (A B:Prop) (C:Type) (H:{A} + {B}) (x y:C) : C :=
18
forall (A B:Prop) (C:Set) (H:{A} + {B}),
19
~ B -> forall x y:C, ifdec H x y = x.
22
intro; absurd B; trivial.
26
forall (A B:Prop) (C:Set) (H:{A} + {B}),
27
~ A -> forall x y:C, ifdec H x y = y.
30
intro; absurd A; trivial.
33
Unset Implicit Arguments.