Skip to content

Commit

Permalink
ok-- close to code now
Browse files Browse the repository at this point in the history
  • Loading branch information
hejohns committed Jul 17, 2021
1 parent f47e9eb commit f6fcfcc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Binary file modified 9-type-aliases-redux/latex/kind-judgements.pdf
Binary file not shown.
16 changes: 8 additions & 8 deletions 9-type-aliases-redux/latex/kind-judgements.tex
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@
}
\and
\inferrule[KCSubsumption]{
\kindAna{\Delta;\hPhi}{\dtau}{\Ty}
\kindAna{\Delta;\hPhi}{\dtau}{\hkappa}
} {
\kconsubkind{\Delta;\hPhi}{\SKind[\Ty]{\dtau}}{\Ty}
\kconsubkind{\Delta;\hPhi}{\SKind{\dtau}}{\hkappa}
}
\end{mathpar}
\end{minipage}
Expand Down Expand Up @@ -173,7 +173,7 @@
}
\and
\inferrule[KESingReduc]{
\kindAna{\Delta;\hPhi}{\dtau}{\SKind{\dtau'}}
\kcequiv{\Delta;\hPhi}{\dtau'}{\dtau}
}{
\kequiv{\Delta;\hPhi}{\SKind[\SKind{\dtau'}]{\dtau}}{\SKind{\dtau'}}
}
Expand Down Expand Up @@ -260,7 +260,7 @@
\begin{minipage}{\linewidth}
\judgbox
{\kcequiv{\Delta;\hPhi}{\dtau_1}{\dtau_2}}
{$\dtau_1$ is equivalent to $\dtau_2$} \;\\
{$\dtau_1$ is equivalent to $\dtau_2$ at kind $\Ty$} \;\\
\begin{mathpar}
\inferrule[KCESymm]{
\kcequiv{\Delta;\hPhi}{\dtau_1}{\dtau_2}
Expand All @@ -276,7 +276,7 @@
}
\and
\inferrule[KCESingEquiv]{
\kindAna{\Delta;\hPhi}{\dtau_1}{\SKind{\dtau_2}}
\kindAna{\Delta;\hPhi}{\dtau_1}{\SKind[\Ty]{\dtau_2}}
} {
\kcequiv{\Delta;\hPhi}{\dtau_1}{\dtau_2}
}
Expand Down Expand Up @@ -327,20 +327,20 @@
{$\htau$ synthesizes kind $\hkappa$ and elaborates to $\dtau$}
\begin{mathpar}
\inferrule[TElabSConst]{ }{
\elabSyn{\hPhi}{c}{\SKind{c}}{c}{\EmptyDelta}
\elabSyn{\hPhi}{c}{\SKind[\Ty]{c}}{c}{\EmptyDelta}
}
\and
\inferrule[TElabSBinOp]{
\elabAna{\hPhi}{\htau_1}{\Ty}{\dtau_1}{\Delta_1} \\
\elabAna{\hPhi}{\htau_2}{\Ty}{\dtau_2}{\Delta_2}
}{
\elabSyn{\hPhi}{\htau_1 \oplus \htau_2}{\SKind{\dtau_1 \oplus \dtau_2}}{\dtau_1 \oplus \dtau_2}{\Delta_1 \cup \Delta_2}
\elabSyn{\hPhi}{\htau_1 \oplus \htau_2}{\SKind[\Ty]{\dtau_1 \oplus \dtau_2}}{\dtau_1 \oplus \dtau_2}{\Delta_1 \cup \Delta_2}
}
\and
\inferrule[TElabSList]{
\elabAna{\hPhi}{\htau}{\Ty}{\dtau}{\Delta}
} {
\elabSyn{\hPhi}{\hlist{\htau}}{\SKind{\hlist{\dtau}}}{\hlist{\dtau}}{\Delta}
\elabSyn{\hPhi}{\hlist{\htau}}{\SKind[\Ty]{\hlist{\dtau}}}{\hlist{\dtau}}{\Delta}
}
\and
\inferrule[TElabSVar]{
Expand Down

0 comments on commit f6fcfcc

Please sign in to comment.