-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connect type categories with comprehension categories #170
Connect type categories with comprehension categories #170
Conversation
…t_disp to disp_codomain
ceba142
to
07b4e50
Compare
apply identity. | ||
Defined. | ||
|
||
Definition typecat_idtoiso_dpr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This definition does not seem to be needed.
Context {C : precategory}. | ||
Context (TC : typecat_obj_ext_structure C). | ||
|
||
Definition typecat_comp_ext_compare |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe a different definition, that returned an isomorphism instead of a morphism, would be more useful.
apply (isofhleveltotal2 2). | ||
+ apply homset_property. | ||
+ intro. apply isasetaprop. apply homset_property. | ||
Defined. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe use Qed.
here?
: typecat_iso_triangle _ A B ≃ @iso_disp C (typecat_disp TC) _ _ (identity_iso Γ) A B | ||
:= (_,, typecat_is_triangle_idtoiso_fiber_disp_isweq A B). | ||
|
||
Definition typecat_disp_is_disp_univalent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should work the other way round as well: if the displayed category is univalent, then type_cat_idtoiso_triangle
should be an equivalence pointwise.
Context (TC : typecat_structure C). | ||
|
||
(* NOTE: copied with slight modifications from https://github.com/UniMath/TypeTheory/blob/ad54ca1dad822e9c71acf35c27d0a39983269462/TypeTheory/Displayed_Cats/DisplayedCatFromCwDM.v#L114-L143 *) | ||
Definition pullback_is_cartesian |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this lemma need the full typecat_structure
? It looks like it only uses the object-extension structure.
Progress: