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
4ffb0d3c
Commit
4ffb0d3c
authored
2 years ago
by
Max New
Browse files
Options
Downloads
Patches
Plain Diff
A simpler definition of Dyn?
parent
f4b0666a
No related branches found
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
formalizations/guarded-cubical/ErrorDomains.agda
+5
-2
5 additions, 2 deletions
formalizations/guarded-cubical/ErrorDomains.agda
formalizations/guarded-cubical/Later.agda
+2
-2
2 additions, 2 deletions
formalizations/guarded-cubical/Later.agda
with
7 additions
and
4 deletions
formalizations/guarded-cubical/ErrorDomains.agda
+
5
−
2
View file @
4ffb0d3c
...
...
@@ -348,17 +348,20 @@ data Dyn' (D : ▹ Type) : Type where
nat : ℕ -> Dyn' D
arr : ▸ (λ t → D t -> L℧ (D t)) -> Dyn' D
-- Would this Dyn be better?
data Dyn'' (D : ▹ Type) : Type where
nat : ℕ -> Dyn'' D
arr : (▸ D -> L℧ (Dyn'' D)) -> Dyn'' D
Dyn : Type
Dyn = fix Dyn'
-- Embedding-projection pairs
record EP (A B : Set) : Set where
field
emb : A -> B
proj : B -> L℧ A
-- E-P Pair for a type with itself
EP-id : (A : Type) -> EP A A
EP-id A = record {
...
...
This diff is collapsed.
Click to expand it.
formalizations/guarded-cubical/Later.agda
+
2
−
2
View file @
4ffb0d3c
...
...
@@ -31,10 +31,10 @@ private
k : Clock
▹_,_ : Clock → Set l → Set l
▹ k , A = (@tick
x
: Tick k) → A
▹ k , A = (@tick
t
: Tick k) → A
▸_ : ▹ k , Set l → Set l
▸ A = (@tick
x
: Tick _) → A
x
▸ A = (@tick
t
: Tick _) → A
t
next : A → ▹ k , A
next x _ = x
...
...
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