Let w be given.
Let f and k be given.
Let z be given.
Let g and h be given.
We will
prove G w f z g = G w k z h.
Apply Fr to the current goal.
An exact proof term for the current goal is Hw.
An exact proof term for the current goal is Hz.
Let x be given.
Let y be given.
We prove the intermediate
claim Lxw:
x ≠ w.
An
exact proof term for the current goal is
SNoS_In_neq w Hw x Hx.
rewrite the current goal using
If_i_0 (x = w) (g y) (f x y) Lxw (from left to right).
rewrite the current goal using
If_i_0 (x = w) (h y) (k x y) Lxw (from left to right).
We will
prove f x y = k x y.
rewrite the current goal using Hfk x Hx (from left to right).
Use reflexivity.
Let y be given.
rewrite the current goal using
If_i_1 (w = w) (g y) (f w y) (λq H ⇒ H) (from left to right).
rewrite the current goal using
If_i_1 (w = w) (h y) (k w y) (λq H ⇒ H) (from left to right).
An exact proof term for the current goal is Hgh y Hy.
∎