From c9a02eeecb4afb0696ee2521aa03590cfca91608 Mon Sep 17 00:00:00 2001 From: Kartik Singhal Date: Fri, 5 May 2017 21:32:14 -0400 Subject: [PATCH] Fix typo Or we get the following error: Error: e is unbound in the notation. --- HoareLogic.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HoareLogic.v b/HoareLogic.v index 602e193..d01b0ed 100644 --- a/HoareLogic.v +++ b/HoareLogic.v @@ -182,7 +182,7 @@ Definition set (dst src : exp) : cmd := end. Infix "<-" := set (no associativity, at level 70) : cmd_scope. Infix ";;" := Seq (right associativity, at level 75) : cmd_scope. -Notation "'when' b 'then' then_ 'else' else_ 'done'" := (If_ b then_ else_) (at level 75, e at level 0). +Notation "'when' b 'then' then_ 'else' else_ 'done'" := (If_ b then_ else_) (at level 75, b at level 0). Notation "{{ I }} 'while' b 'loop' body 'done'" := (While_ I b body) (at level 75). Notation "'assert' {{ I }}" := (Assert I) (at level 75). Delimit Scope cmd_scope with cmd.