(************************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) (* C->C->C := [A,B,C,H,x,y]if H then [_]x else [_]y. Theorem ifdec_left : (A,B:Prop)(C:Set)(H:{A}+{B})~B->(x,y:C)(ifdec H x y)=x. Intros; Case H; Auto. Intro; Absurd B; Trivial. Qed. Theorem ifdec_right : (A,B:Prop)(C:Set)(H:{A}+{B})~A->(x,y:C)(ifdec H x y)=y. Intros; Case H; Auto. Intro; Absurd A; Trivial. Qed. Unset Implicit Arguments.