Definition pointwise_setwith2binop (X : setwith2binop) (n : nat) : setwith2binop. Proof. use make_setwith2binop. - apply pointwise_hSet; [exact X|assumption]. - split. + exact (pointwise n op1). + exact (pointwise n op2). Defined.
Require Import UniMath.Foundations.PartA. Require Import UniMath.MoreFoundations.PartA. Require Import UniMath.Combinatorics.FiniteSequences. Require Import UniMath.Algebra.BinaryOperations. Require Import UniMath.Algebra.IteratedBinaryOperations. Require Import UniMath.Algebra.RigsAndRings.