We prove the intermediate
claim Hpair:
(t,If_i (t = 0) x y) ∈ p.
We prove the intermediate
claim Heps:
(t,Eps_i (λu : set ⇒ (t,u) ∈ p)) ∈ p.
An
exact proof term for the current goal is
(Eps_i_ax (λu : set ⇒ (t,u) ∈ p) (If_i (t = 0) x y) Hpair).
Let t0 be given.
We prove the intermediate
claim Ht_eq:
t = t0.
rewrite the current goal using
(tuple_2_0_eq t (Eps_i (λu : set ⇒ (t,u) ∈ p))) (from right to left).
rewrite the current goal using
(tuple_2_0_eq t0 (If_i (t0 = 0) x y)) (from right to left).
rewrite the current goal using Heq (from left to right).
Use reflexivity.
We prove the intermediate
claim Hu_eq:
Eps_i (λu : set ⇒ (t,u) ∈ p) = If_i (t0 = 0) x y.
rewrite the current goal using
(tuple_2_1_eq t (Eps_i (λu : set ⇒ (t,u) ∈ p))) (from right to left).
rewrite the current goal using
(tuple_2_1_eq t0 (If_i (t0 = 0) x y)) (from right to left).
rewrite the current goal using Heq (from left to right).
Use reflexivity.
rewrite the current goal using Hu_eq (from left to right).
rewrite the current goal using Ht_eq (from right to left).
Use reflexivity.