Lemma sieve_to_sieve_is_inverse : is_inverse_in_precat (sieve_to_sieve_nat_trans y) sieve_to_sieve_inv. Proof. split. - apply funextfun. intro H. apply (maponpaths (λ x, x ,, _)). apply propproperty. - easy. Qed.
Require Import UniMath.Foundations.All. Require Import UniMath.MoreFoundations.All. Require Import UniMath.CategoryTheory.GrothendieckToposes.Sieves. Require Import UniMath.CategoryTheory.Categories.PreorderCategory.Core. Require Import UniMath.CategoryTheory.Core.Prelude. Require Import UniMath.CategoryTheory.Subobjects. Require Import UniMath.CategoryTheory.Monics. Require Import UniMath.CategoryTheory.opp_precat. Require Import UniMath.CategoryTheory.Categories.HSET.Core. Require Import UniMath.CategoryTheory.Categories.HSET.Univalence. Require Import UniMath.OrderTheory.Preorders. Require Import UniMath.CategoryTheory.yoneda. Require Import UniMath.CategoryTheory.Categories.HSET.MonoEpiIso. Require Import UniMath.CategoryTheory.slicecat.