Skip to content
Snippets Groups Projects
Commit 40499865 authored by Max New's avatar Max New
Browse files

A convenient abstract semantics of the term language

parent 6a74f2f2
No related branches found
No related tags found
No related merge requests found
......@@ -66,17 +66,8 @@ record Model ℓ ℓ' ℓ'' : Type (ℓ-suc (ℓ-max ℓ (ℓ-max ℓ' ℓ'')))
-- now the dyn stuff
-- a model of dyn/casts
dyn : cat .ob
-- type precision
_⊑_ : (cat .ob) → (cat .ob) → Type ℓ''
isReflexive⊑ : ∀ {a} → a ⊑ a
isTransitive⊑ : ∀ {a b c} → a ⊑ b → b ⊑ c → a ⊑ c
isProp⊑ : ∀ {a b} → isProp (a ⊑ b)
-- monotonicity of type constructors
prod-is-monotone : ∀ {a a' b b'} → a ⊑ a' → b ⊑ b' → (a × b) ⊑ (a' × b')
parfun-is-monotone : ∀ {a a' b b'} → a ⊑ a' → b ⊑ b' → (a ⇀ b) ⊑ (a' ⇀ b')
inj-nat : nat ⊑ dyn
inj-arr : (dyn ⇀ dyn) ⊑ dyn
up : ∀ {a b} → a ⊑ b → cat [ a , b ]
dn : ∀ {a b} → a ⊑ b → cat [ b , T ⟅ a ⟆ ]
-- at this point we will model injection and projection as
-- arbitrary morphisms
inj : cat [ nat + (dyn ⇀ dyn) , dyn ]
prj : cat [ dyn , T ⟅ nat + (dyn ⇀ dyn) ⟆ ]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment