Skip to content

Commit

Permalink
Changed rho so it rewrites right to left
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Stump committed Oct 16, 2018
1 parent c7344b6 commit 125a8ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Binary file modified spec.pdf
Binary file not shown.
6 changes: 5 additions & 1 deletion spec.tex
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ \section{Typing}
\\ \\
\infer{\Gamma\vdash t.1 : t_1}{\Gamma\vdash t : \abs{\iota}{x}{t_1}{t_2}} &
\infer{\Gamma\vdash t\ \mhyph t' : [t'/x]t_2}{\Gamma\vdash t : \abs{\forall}{x}{t_1}{t_2} & \Gamma\vdash t : t_1} &
\infer{\Gamma\vdash \rho\ t\ @\ x.t'\ \mhyph\ t'' : [t_2/x]t'}{\Gamma \vdash t : \{ t_1 \simeq t_2 \} \quad \Gamma\vdash t'' : [t_1/x]t'}
\infer{\Gamma\vdash \rho\ t\ @\ x.t'\ \mhyph\ t'' : [t_1/x]t'}{\Gamma \vdash t : \{ t_1 \simeq t_2 \} \quad \Gamma\vdash t'' : [t_2/x]t'}
\\ \\
\infer{\Gamma\vdash \beta\ t'\{t\} : \{ t' \simeq t'\}}{\Gamma\vdash \{ t' \simeq t' \} : \star } &
\infer{\Gamma\vdash \{ p \simeq p'\} : \star}{\textit{FV}(p\ p')\subseteq \textit{dom}(\Gamma)} &
Expand All @@ -272,6 +272,10 @@ \section{Typing}
\label{fig:rules}
\end{figure}

Note that $\rho$ rewrites from the right-hand side of an equation to
the left-hand side, for consistency when synthesizing a type for a
$\rho$-term in full Cedille.

\bibliographystyle{plain}
\bibliography{biblio}

Expand Down

0 comments on commit 125a8ee

Please sign in to comment.