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
a353946b
Commit
a353946b
authored
2 years ago
by
Eric Giovannini
Browse files
Options
Downloads
Patches
Plain Diff
fix merge issue
parent
1b527fca
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
formalizations/guarded-cubical/ErrorDomains.agda
+11
-5
11 additions, 5 deletions
formalizations/guarded-cubical/ErrorDomains.agda
with
11 additions
and
5 deletions
formalizations/guarded-cubical/ErrorDomains.agda
+
11
−
5
View file @
a353946b
...
...
@@ -128,21 +128,27 @@ trivialize2 {X} _R_ hSym hTrans hCong hθ = fix trivialize2'
-- (θ (next (fix θ))) R
-- (fix θ)
-- don't need symmetry
-- alternatively, we can drop symmetry if we assume that the relation
-- is reflexive, or at least that fix θ is related to itself.
trivialize3 : {X : Type} (_R_ : L℧ X -> L℧ X -> Type) ->
transitive _R_ ->
congruence _R_ ->
fix θ R fix θ ->
((x : L℧ X) -> x R (θ (next x))) ->
((x : L℧ X) -> x R (fix θ))
trivialize3 {X} _R_ hTrans hCong hθR = fix trivialize3'
trivialize3 {X} _R_ hTrans hCong
fix-ok
hθR = fix trivialize3'
where
lem : θ (next (fix θ)) R fix θ
lem = subst (λ x → x R fix θ) (fix-eq θ) fix-ok
trivialize3' :
▹ ((x : L℧ X) -> x R (fix θ)) → (x : L℧ X) -> x R (fix θ)
trivialize3' IH lx =
subst (λ y → lx R y) (sym (fix-eq θ))
hTrans
(hθR lx)
(hTrans
(h
θR
lx)
(hCong (λ t → IH t lx))
)
(h
Cong (λ t → IH t
lx)
)
lem
)
--------------------------------------------------------------------------
...
...
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