summaryrefslogtreecommitdiff
path: root/doc/manual.tex
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-03-12 12:25:05 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-03-12 12:25:05 -0400
commitc826168d7e72d3b5454ef581b61faaf11ff3be68 (patch)
tree3bd8222c97e386419a32549465bf9824df9a4811 /doc/manual.tex
parent64c858689d78c4ed5a83363207faca5ecb2cbb91 (diff)
Add guard elim rule
Diffstat (limited to 'doc/manual.tex')
-rw-r--r--doc/manual.tex4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/manual.tex b/doc/manual.tex
index 0038d3b1..abce0c44 100644
--- a/doc/manual.tex
+++ b/doc/manual.tex
@@ -665,6 +665,10 @@ $$\infer{\Gamma \vdash \lambda [c_1 \sim c_2] \Rightarrow e : \lambda [c_1 \sim
\Gamma \vdash c_1 :: \{\kappa\}
& \Gamma \vdash c_2 :: \{\kappa'\}
& \Gamma, c_1 \sim c_2 \vdash e : \tau
+}
+\quad \infer{\Gamma \vdash e \; ! : \tau}{
+ \Gamma \vdash e : [c_1 \sim c_2] \Rightarrow \tau
+ & \Gamma \vdash c_1 \sim c_2
}$$
\subsection{Pattern Typing}