Lemma min_of_le {a b : nat} (le_a_b : a ≤ b) : min a b = a. Proof. apply eq_of_le_le. - apply min_le_l. - apply min_le_iff. split; try assumption. apply isreflnatleh. Qed.
Require Import UniMath.Foundations.All. Require Import UniMath.MoreFoundations.All. Require Import UniMath.Combinatorics.Maybe. Require Import UniMath.Combinatorics.StandardFiniteSets. Require Import UniMath.Algebra.Domains_and_Fields. Require Import UniMath.Algebra.RigsAndRings.