Definition lastValue {X:UU} {n:nat} : (⟦S n⟧ -> X) -> X := λ x, x lastelement.
Require Import UniMath.MoreFoundations.Tactics. Require Import UniMath.MoreFoundations.DecidablePropositions. Require Import UniMath.MoreFoundations.NegativePropositions.