Definition nelstructondirprod {X Y : UU} {n m : nat} (sx : nelstruct n X) (sy : nelstruct m Y) : nelstruct (n * m) (X × Y) := (weqdirprodf sx sy ∘ invweq (weqfromprodofstn n m))%weq.
Require Import UniMath.MoreFoundations.Tactics. Require Import UniMath.MoreFoundations.DecidablePropositions. Require Import UniMath.MoreFoundations.NegativePropositions. Require Import UniMath.MoreFoundations.Subtypes.