Let r be given.
rewrite the current goal using Hdef (from left to right).
Let i be given.
Apply (xm (0 ∈ i)) to the current goal.
rewrite the current goal using
(If_i_1 (0 ∈ i) 0 r H0i) (from left to right).
An
exact proof term for the current goal is
real_0.
rewrite the current goal using
(If_i_0 (0 ∈ i) 0 r Hn0i) (from left to right).
An exact proof term for the current goal is Hr.
∎