Apply set_ext to the current goal.
Let x be given.
Apply SepI to the current goal.
An
exact proof term for the current goal is
real_complex x Hx.
An
exact proof term for the current goal is
real_Re_eq x Hx.
Let z be given.
Apply SepE complex (λz ⇒ Re z = z) z Hz to the current goal.
Assume Hz2: Re z = z.
rewrite the current goal using Hz2 (from right to left).
∎