Definition disp_locally_groupoid {B : bicat} (D : disp_bicat B) := ∏ (a b : B) (f g : a --> b) (x : invertible_2cell f g) (aa : D a) (bb : D b) (ff : aa -->[f] bb) (gg : aa -->[g] bb) (xx : disp_2cells x ff gg), is_disp_invertible_2cell x xx.
Require Import UniMath.Foundations.All. Require Import UniMath.MoreFoundations.All. Require Import UniMath.CategoryTheory.Core.Categories. Require Import UniMath.CategoryTheory.DisplayedCats.Core. Require Import UniMath.CategoryTheory.DisplayedCats.Total. Require Import UniMath.Bicategories.Core.Bicat. Import Bicat.Notations. Require Import UniMath.Bicategories.Core.Invertible_2cells. Require Import UniMath.Bicategories.Core.BicategoryLaws. Require Import UniMath.Bicategories.Core.Unitors. Require Import UniMath.Bicategories.Morphisms.Adjunctions. Require Import UniMath.Bicategories.Core.Univalence.