Definition finstructToFunction {X : UU} (S : finstruct X) : nelstruct (pr1 S) X := pr2 S.
Require Import UniMath.MoreFoundations.Tactics. Require Import UniMath.MoreFoundations.DecidablePropositions. Require Import UniMath.MoreFoundations.NegativePropositions. Require Import UniMath.MoreFoundations.Subtypes.