Let A, x and a be given.
We prove the intermediate
claim H1:
(a,x) ∈ const_fun A x.
An
exact proof term for the current goal is
(ReplI A (λa0 : set ⇒ (a0,x)) a Ha).
Let a0 be given.
rewrite the current goal using
(tuple_2_1_eq a0 x) (from right to left) at position 2.
rewrite the current goal using Heq (from left to right).
Use reflexivity.
∎