Definition. Dependent identity system [004L]

Let \mathcal {I} be an identity system on an element a:A and let B be a family of types over A. A dependent identity system over \mathcal {I} on an element b:Ba in the family B consists of a family of types \mathcal {J}{\mathopen {}\left (x,q\right )\mathclose {}} over Bx for each x:A,q:\mathcal {I}x such that \mathcal {J}{\mathopen {}\left (a,\mathsf {refl}_{I}\right )\mathclose {}} is equipped with the structure of an identity system on b : Ba. In particular, we have:

  1. a distinguished element \mathsf {refl}_{\mathcal {J}} : \mathcal {J}{\mathopen {}\left (a,\mathsf {refl}_{\mathcal {I}}\right )\mathclose {}}b;
  2. for each family P over \mathcal {J}{\mathopen {}\left (a,\mathsf {refl}_{I}\right )\mathclose {}}, a dependent function J_{\mathcal {J}}P : \mathchoice {\textstyle \prod _{{\mathopen {}\left (p:P{\mathopen {}\left (b,\mathsf {refl}_{\mathcal {J}}\right )\mathclose {}}\right )\mathclose {}}}}{\textstyle \prod _{{\mathopen {}\left (p:P{\mathopen {}\left (b,\mathsf {refl}_{\mathcal {J}}\right )\mathclose {}}\right )\mathclose {}}}}{\scriptstyle \prod _{{\mathopen {}\left (p:P{\mathopen {}\left (b,\mathsf {refl}_{\mathcal {J}}\right )\mathclose {}}\right )\mathclose {}}}}{\scriptscriptstyle \prod _{{\mathopen {}\left (p:P{\mathopen {}\left (b,\mathsf {refl}_{\mathcal {J}}\right )\mathclose {}}\right )\mathclose {}}}}\mathchoice {\textstyle \prod _{{\mathopen {}\left (y:Ba\right )\mathclose {}}}}{\textstyle \prod _{{\mathopen {}\left (y:Ba\right )\mathclose {}}}}{\scriptstyle \prod _{{\mathopen {}\left (y:Ba\right )\mathclose {}}}}{\scriptscriptstyle \prod _{{\mathopen {}\left (y:Ba\right )\mathclose {}}}}\mathchoice {\textstyle \prod _{{\mathopen {}\left (q:\mathcal {J}{\mathopen {}\left (a,\mathsf {refl}_{\mathcal {I}}\right )\mathclose {}}y\right )\mathclose {}}}}{\textstyle \prod _{{\mathopen {}\left (q:\mathcal {J}{\mathopen {}\left (a,\mathsf {refl}_{\mathcal {I}}\right )\mathclose {}}y\right )\mathclose {}}}}{\scriptstyle \prod _{{\mathopen {}\left (q:\mathcal {J}{\mathopen {}\left (a,\mathsf {refl}_{\mathcal {I}}\right )\mathclose {}}y\right )\mathclose {}}}}{\scriptscriptstyle \prod _{{\mathopen {}\left (q:\mathcal {J}{\mathopen {}\left (a,\mathsf {refl}_{\mathcal {I}}\right )\mathclose {}}y\right )\mathclose {}}}}{P{\mathopen {}\left (y,q\right )\mathclose {}}} and a dependent function \beta _{\mathcal {J}}P:\mathchoice {\textstyle \prod _{{\mathopen {}\left (p:P{\mathopen {}\left (b,\mathsf {refl}_{\mathcal {J}}\right )\mathclose {}}\right )\mathclose {}}}}{\textstyle \prod _{{\mathopen {}\left (p:P{\mathopen {}\left (b,\mathsf {refl}_{\mathcal {J}}\right )\mathclose {}}\right )\mathclose {}}}}{\scriptstyle \prod _{{\mathopen {}\left (p:P{\mathopen {}\left (b,\mathsf {refl}_{\mathcal {J}}\right )\mathclose {}}\right )\mathclose {}}}}{\scriptscriptstyle \prod _{{\mathopen {}\left (p:P{\mathopen {}\left (b,\mathsf {refl}_{\mathcal {J}}\right )\mathclose {}}\right )\mathclose {}}}} {J_{\mathcal {J}}p\,b\,\mathsf {refl}_{\mathcal {J}}} =_{P{\mathopen {}\left (b,\mathsf {refl}_{\mathcal {J}}\right )\mathclose {}}} {p}.