Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sgdt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gradual-typing
sgdt
Commits
b518cafe
Commit
b518cafe
authored
1 year ago
by
Max New
Browse files
Options
Downloads
Patches
Plain Diff
more intro
parent
25932181
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
paper-new/intro.tex
+12
-1
12 additions, 1 deletion
paper-new/intro.tex
paper-new/paper.tex
+0
-17
0 additions, 17 deletions
paper-new/paper.tex
with
12 additions
and
18 deletions
paper-new/intro.tex
+
12
−
1
View file @
b518cafe
...
...
@@ -236,6 +236,7 @@ corresponding technical reports having 50+ pages of proofs.
% is tracked.
\end{comment}
\max
{
the stuff below is out of date
}
An alternative approach, which we investigate in this paper, is provided by
\emph
{
synthetic guarded domain theory
}
\cite
{
birkedal-mogelberg-schwinghammer-stovring2011
}
.
The techniques of synthetic guarded domain theory allow us to internalize the
...
...
@@ -260,7 +261,17 @@ The main contribution of this work is a categorical and denotational
semantics for gradually typed langauges that models not just the term
language but the graduality property as well.
\begin{enumerate}
\item
First, we give a rational reconstruction
\max
{
todo: more shit.
}
\item
First, we give a simple abstract categorical model of GTT using CBPV double categories.
\item
Next, we modify this semantics to develop reflexive graph- and
double categorical models that abstract over the details of
step-indexed models, and provide a method for constructing such models.
\item
We instantiate the abstract construction to provide a concrete
semantics in informal guarded type theory which supports the
addition of arbitrary algebraic effects.
\item
We prove that the resulting denotational model is
\emph
{
adequate
}
for the graduality property: a closed term precision
$
M
\ltdyn
N :
\nat
$
has the expected semantics, that
$
M
$
errors or
$
M
$
and
$
N
$
have the same extensional behavior.
\end{enumerate}
Our main contribution is a compositional denotational semantics for step-aware gradual typing,
...
...
This diff is collapsed.
Click to expand it.
paper-new/paper.tex
+
0
−
17
View file @
b518cafe
...
...
@@ -167,21 +167,4 @@
\appendix
\input
{
appendix
}
% \section{Discussion}\label{sec:discussion}
% \subsection{Synthetic Ordering}
% While the use of synthetic guarded domain theory allows us to very
% conveniently work with non-well-founded recursive constructions while
% abstracting away the precise details of step-indexing, we do work with
% the error ordering in a mostly analytic fashion in that gradual types
% are interpreted as sets equipped with an ordering relation, and all
% terms must be proven to be monotone.
% %
% It is possible that a combination of synthetic guarded domain theory
% with \emph{directed} type theory would allow for an a synthetic
% treatment of the error ordering as well.
\end{document}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment