Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Giuseppe Castagna
occurrence-typing
Commits
113291fc
Commit
113291fc
authored
Sep 30, 2021
by
Kim Nguyễn
Browse files
Add comparison for paths.
parent
2a63b4cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
related.tex
View file @
113291fc
...
...
@@ -31,8 +31,21 @@ operations, their approach works also in the presence of side-effects. Although
the choices made by our and their approach seems diametrically opposed
(the Boolean output of few pure operations vs.
\
any output of any
expression), they share some similar techniques. For instance, our
deduction system for
$
\vdashp
$
plays the same role as
...~
\citet
[Figures 4\&7]
{
THF10
}
KIM TO BE COMPLETED
deduction system for
$
\vdashp
$
plays a similar role as
the proof systems and
\textsf
{
update
}
function of
\citet
[Figures 4,
7
\&
9]
{
THF10
}
. In that framework, when one needs to type a variable
(judgemetn ``
$
\Gamma
\vdash
x:
\tau
$
''), one has to be able to prove
that the logical formula
$
\tau
_
x
$
holds (under the hypotheses of
$
\Gamma
$
). This atomic formula may not be directly available in
$
\Gamma
$
but may
be proven by a combination of logical deduction rules (Figure~4), or
by recursively exploring a path leading to
$
x
$
(Figure~7 and ~9) a
path being a sequence of
\textbf
{
cdr
}
or
\textbf
{
car
}
applications,
much like our
$
f
$
and
$
s
$
components of paths. This idea is also
present in our
$
\vdashp
$
with differences pertaining to our type
framework and design choices : type restrictions can be encoded using
set-theoretic intersections and negations (instead of meta-functions working on the
syntax of types) and our richer language of paths components.
}
%%%%rev
One area where their
work goes further than ours is that the type information also flows
...
...
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