[Agda] Understanding Glue

Thorsten Altenkirch Thorsten.Altenkirch at nottingham.ac.uk
Wed May 20 11:34:07 CEST 2020


Hi,

I am trying to understand the Glue construction better. I was wondering whether Glue just means that a certain pre-type is fibrant (i.e. admits composition, i.e. transp and hcomp). I was trying in agda

MyGlue : (A : Set) {φ : I}
     → Partial φ (Σ[ T ∈ Set ] T ≃' A) → Set
MyGlue A {φ} Te = Σ (PartialP φ λ o → fst (Te o)) (λ t → A [ φ ↦ (λ p → fst (snd (Te p)) (t p)) ])

I have switched off universe checking, hence Setw = Set. Basically I have used the domain of glue as the definition of Glue. However, this doesn’t seem enough to derive

ua : {A B : Set} → (p : A ≃' B) → A ≡ B

because we need the extra definitional equality

MyGlue A i1 (T , e) = T

Is there a way to avoid this? This is not a provable equality either, I think.

Cheers,
Thorsten



This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please contact the sender and delete the email and
attachment. 

Any views or opinions expressed by the author of this email do not
necessarily reflect the views of the University of Nottingham. Email
communications with the University of Nottingham may be monitored 
where permitted by law.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chalmers.se/pipermail/agda/attachments/20200520/2e4a1c80/attachment.html>


More information about the Agda mailing list