Let X, Tx, A and V be given.
Apply Hexf to the current goal.
Let f be given.
We use f to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is Hfpack.
We prove the intermediate
claim Hp1:
∀x : set, x ∈ A → apply_fun f x = 1.
We prove the intermediate
claim Hp2:
∀x : set, x ∈ (X ∖ V) → apply_fun f x = 0.
Apply andI to the current goal.
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is Hcm.
An exact proof term for the current goal is Hp1.
An exact proof term for the current goal is Hp2.
An exact proof term for the current goal is Hp3.
We prove the intermediate
claim Hz:
∀x : set, x ∈ (X ∖ V) → apply_fun f x = 0.
∎