This commit is contained in:
Andreas Stadelmeier 2024-08-15 15:13:17 +02:00
parent b50a6a93a2
commit 2c4e84aea3

View File

@ -443,6 +443,7 @@ Our constraint generation rules have the form:
$\mtypeEnvironment \vdash \expr{e} : \tv{a} \implies C$, $\mtypeEnvironment \vdash \expr{e} : \tv{a} \implies C$,
that given a method environment $\mtypeEnvironment$ and an expression $\expr{e}$ with type $\tv{a}$ generates the constraint set $C$. that given a method environment $\mtypeEnvironment$ and an expression $\expr{e}$ with type $\tv{a}$ generates the constraint set $C$.
%Inference-rule in the style of: https://dl.acm.org/doi/pdf/10.1145/345099.345100
\begin{mathpar} \begin{mathpar}
\inferrule[Method-Cons]{ \inferrule[Method-Cons]{
\mtypeEnvironment \vdash \expr{e} : \tv{e} \implies C \\ \mtypeEnvironment \vdash \expr{e} : \tv{e} \implies C \\