From 34b0cddfa9dccbd77b306a8f586f1e9a8b367456 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Anders=20M=C3=B6rtberg?= Date: Sat, 23 Jan 2016 12:32:56 -0500 Subject: [PATCH] use uahp' in setquot instead --- examples/setquot.ctt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/setquot.ctt b/examples/setquot.ctt index ce7b072..3661e1f 100644 --- a/examples/setquot.ctt +++ b/examples/setquot.ctt @@ -164,7 +164,7 @@ setquotl0 (X : U) (R : eqrel X) (c : setquot X R.1) (x : carrier X c.1) : p (A : hsubtypes X) : prop (iseqclass X R.1 A) = propiseqclass X R.1 A rem : Id (hsubtypes X) (setquotpr X R x.1).1 c.1 = \(x : X) -> (rem' x) @ i -- inlined use of funext where rem' (a : X) : Id hProp ((setquotpr X R x.1).1 a) (c.1 a) = - uahp ((setquotpr X R x.1).1 a) (c.1 a) l2r r2l -- This is where uahp appears + uahp' ((setquotpr X R x.1).1 a) (c.1 a) l2r r2l -- This is where uahp appears where l2r (r : ((setquotpr X R x.1).1 a).1) : (c.1 a).1 = eqax1 X R.1 c.1 c.2 x.1 a r x.2 r2l : (c.1 a).1 -> ((setquotpr X R x.1).1 a).1 = eqax2 X R.1 c.1 c.2 x.1 a x.2 @@ -198,7 +198,7 @@ iscompsetquotpr (X : U) (R : eqrel X) (x x' : X) (a : (R.1 x x').1) : rem2 : Id (hsubtypes X) (setquotpr X R x).1 (setquotpr X R x').1 = \(x0 : X) -> rem x0 @ i where - rem (x0 : X) : Id hProp (R.1 x x0) (R.1 x' x0) = uahp (R.1 x x0) (R.1 x' x0) f g + rem (x0 : X) : Id hProp (R.1 x x0) (R.1 x' x0) = uahp' (R.1 x x0) (R.1 x' x0) f g where f (r0 : (R.1 x x0).1) : (R.1 x' x0).1 = eqreltrans X R x' x x0 (eqrelsymm X R x x' a) r0 -- 2.34.1