Let k and f be given.
rewrite the current goal using Hdef (from left to right).
rewrite the current goal using HdefT (from left to right).
Let i be given.
rewrite the current goal using Hhi (from left to right).
Apply (xm (k ∈ i)) to the current goal.
rewrite the current goal using
(If_i_1 (k ∈ i) 0 (apply_fun f i) Hki) (from left to right).
An
exact proof term for the current goal is
real_0.
rewrite the current goal using
(If_i_0 (k ∈ i) 0 (apply_fun f i) Hnki) (from left to right).
Let i be given.
rewrite the current goal using Happ (from left to right).
rewrite the current goal using Hhi (from left to right).
rewrite the current goal using
(If_i_1 (k ∈ i) 0 (apply_fun f i) Hki) (from left to right).
Use reflexivity.
∎