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
864bc12f
Commit
864bc12f
authored
1 year ago
by
akai
Browse files
Options
Downloads
Patches
Plain Diff
changes in Constructions.agda
parent
b8276f09
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/Cubical/HigherCategories/ThinDoubleCategory/Constructions/Constructions.agda
+21
-4
21 additions, 4 deletions
...ories/ThinDoubleCategory/Constructions/Constructions.agda
with
21 additions
and
4 deletions
formalizations/guarded-cubical/Cubical/HigherCategories/ThinDoubleCategory/Constructions/Constructions.agda
+
21
−
4
View file @
864bc12f
...
...
@@ -7,7 +7,8 @@ module Cubical.HigherCategories.ThinDoubleCategory.Constructions.Constructions w
open import Cubical.Foundations.Prelude
open import Cubical.Data.Sigma
open import Cubical.Data.Unit.Base
open import Cubical.Data.Unit.Properties
open import Cubical.Categories.Displayed.Base
open import Cubical.Categories.Displayed.Limits.BinProduct
...
...
@@ -31,6 +32,7 @@ open import Cubical.Categories.Instances.Sets
open import Cubical.Foundations.HLevels
open import Cubical.Categories.Functor.Base
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Isomorphism
private
variable
...
...
@@ -119,9 +121,24 @@ module _ (C : ThinDoubleCat ℓ ℓ' ℓ'' ℓ''') where
Term : (t : 1Terminal (VCat C)) ->
Type (ℓ-max (ℓ-max (ℓ-max ℓ'' ℓ''') (ℓ-max ℓ ℓ)) (ℓ-max ℓ' ℓ'))
Term t = Terminalᴰ (Preorderᴰ→Catᴰ (Squares C))
(transport {!!} (terminalToUniversalElement t ×UE terminalToUniversalElement t))
(transport
(cong (λ p -> UniversalElement (VCat C ×C VCat C) p)
(sym (cong (λ u -> Constant ( ( VCat C ×C VCat C ) ^op) (SET ℓ-zero) u) (Σ≡Prop (λ _ -> isPropIsSet) (isoToPath (iso to inv sec retr)))
∙ Const-product {C = (VCat C) ^op} {D = (VCat C) ^op} {x = (Unit , isSetUnit)})))
(terminalToUniversalElement t ×UE terminalToUniversalElement t))
where
to : Unit -> Σ Unit (λ _ → Unit)
to x = x , x
inv : Σ Unit (λ _ → Unit) -> Unit
inv x = x .fst
sec : section to inv
sec x = refl
retr : retract to inv
retr x = refl
-- "manual" way
-- (Preorderᴰ→Catᴰ (Squares C)) (terminalToUniversalElement
-- ((fst t , fst t) ,
...
...
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