Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <[email protected]>
  • Loading branch information
NikolajBjorner committed Jun 6, 2024
1 parent d0ea7cc commit 4333097
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs-smtlib/02 - theories/05 - Datatypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ where $\Gamma$ is a type environment that provides types to free variables in $M
An expression $M$ has a type $\tau$ if there is a derivation using the rules:

* $\Gamma, x : \tau \vdash x : \tau$
* $\Gamma \vdash M : \tau \rightarrow \tau'$, $\Gamma \vdash M' : \tau$, $\Gamma \vdash M M' : \tau'$.
* $\Gamma, x : \tau \vdash M : \tau'$, $\Gamma \vdash \lambda x : M : \tau \rightarrow \tau'$.
* If $\Gamma \vdash M : \tau \rightarrow \tau'$, $\Gamma \vdash M' : \tau$ then $\Gamma \vdash M M' : \tau'$.
* If $\Gamma, x : \tau \vdash M : \tau'$ then $\Gamma \vdash \lambda x : M : \tau \rightarrow \tau'$.

We can use constraints over algebraic data-types to determine if expressions can be typed.

Expand Down

0 comments on commit 4333097

Please sign in to comment.