Let X, m, F, e, f0 and x be given.
Apply Hmove to the current goal.
Let e2 be given.
Assume He2pack.
We prove the intermediate
claim He2Last:
apply_fun e2 m = f0.
rewrite the current goal using He2Last (from left to right).
An exact proof term for the current goal is Hf00.
Let k be given.
An
exact proof term for the current goal is
(HtermUI (apply_fun e2 k) (He2fun k HkDom)).
We use e2 to witness the existential quantifier.
Apply andI to the current goal.
We prove the intermediate
claim HbijDrop2:
bijection m (F ∖ {f0}) e2.
rewrite the current goal using He2Last (from right to left) at position 1.
An exact proof term for the current goal is HbijDrop.
An exact proof term for the current goal is HbijDrop2.
∎