Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Giuseppe Castagna
occurrence-typing
Commits
31ac0c56
Commit
31ac0c56
authored
Nov 19, 2020
by
Mickael Laurent
Browse files
some fixes
parent
814354bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
new_system3.tex
View file @
31ac0c56
...
...
@@ -281,10 +281,11 @@ rules, because one branch is already unreachable and retyping only occurs with s
\Infer
[Abs]
{
\Gamma
,(x:s)
\avdash
{
\Gammap
}{
\ct
}
e:
\{
(t
_
i,
\Gamma
_
i)
\}
_{
i
\in
I
}
\\
\forall
i
\in
I.
\
J
_
i=
\{
j
\,\alt\,
j
\in
I
\text
{
s.t.
}
\forall
y
\in\fv
(e).
\ \Gamma
_
j
(y)
\leq\Gamma
_
i
(y)
\}\\
\forall
y
\in\fv
(
\lambda
x:s.
e).
\ \Gamma
_
i
(y)
\leq\Gamma
_
j
(y)
\}\\
\forall
i
\in
I.
\
u
_
i =
\bigwedge
_{
j
\in
J
_
i
}
(
\arrow
{
\Gamma
_
j(x)
}{
(
t
_
j
\vee\bigvee
_{
\substack
{
k
\in
J
_
i
\text
{
s.t.
}
\Gamma
_
j(x)
\land\Gamma
_
k(x)
\neq\varnothing\\\text
{
and
}
t
_
j
\vee\bigvee
_{
\substack
{
k
\in
I
\text
{
s.t.
}
\forall
y
\in\fv
(e).
\ \Gamma
_
j(y)
\land\Gamma
_
k(y)
\neq\varnothing\\
\text
{
and
}
\exists
y
\in\bv
(e).
\ \Gamma
_
k(y)
\not\leq\Gamma
_
j(y)
}
}
t
_
k
)
}
)
...
...
@@ -295,6 +296,11 @@ rules, because one branch is already unreachable and retyping only occurs with s
TODO: Check abs rule
TODO: The current environments returned by the typing rules are
not adapted at all to type lambda abstractions. It shouldn't contain
info about bound variables, and the type associated with a given environment
should cover all the cases for this environment.
\subsection
{
Backward typing rules
}
\begin{mathpar}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment