Let Y, x, X, g and z be given.
Assume Hz.
Let p be given.
Assume H1.
Apply famunionE_impred Y (λy ⇒ {(1 + (x' + - x) * y) * g x'|x' ∈ X}) z Hz to the current goal.
Let y be given.
Assume Hy.
Apply ReplE_impred X (λx' ⇒ (1 + (x' + - x) * y) * g x') z H2 to the current goal.
Let x' be given.
An exact proof term for the current goal is H1 y Hy x' Hx' H3.
∎