From da7aa517fe906633e98aa55e6de3ef77a063e211 Mon Sep 17 00:00:00 2001 From: msozeau Date: Thu, 8 Feb 2007 17:49:03 +0000 Subject: Add lif then else for if in bool. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@9626 85f007b7-540e-0410-9357-904b9bb8a0f7 --- contrib/subtac/Utils.v | 3 +++ 1 file changed, 3 insertions(+) (limited to 'contrib') diff --git a/contrib/subtac/Utils.v b/contrib/subtac/Utils.v index 08fa8fbc2..6e1a8ee44 100644 --- a/contrib/subtac/Utils.v +++ b/contrib/subtac/Utils.v @@ -10,6 +10,9 @@ Notation "( x & ? )" := (@exist _ _ x _) : core_scope. Notation " ! " := (False_rect _ _). +(* Logical if : keep a trace of the control flow in obligations. *) +Notation " 'lif' b 'then' e 'else' f " := (match b with true => e | false => f end) (at level 30). + Definition ex_pi1 (A : Prop) (P : A -> Prop) (t : ex P) : A. intros. induction t. -- cgit v1.2.3