We prove the intermediate
claim HnO:
n ∈ ω.
An
exact proof term for the current goal is
(PowerE ω B HB n HnB).
We prove the intermediate
claim HBval:
apply_fun (F B) n = 1.
rewrite the current goal using HFdef (from left to right).
rewrite the current goal using
(If_i_1 (n ∈ B) 1 0 HnB) (from left to right).
Use reflexivity.
We prove the intermediate
claim HAval:
apply_fun (F A) n = 0.
rewrite the current goal using HFdef (from left to right).
rewrite the current goal using
(If_i_0 (n ∈ A) 1 0 HnnotA) (from left to right).
Use reflexivity.
rewrite the current goal using Heq (from left to right).
Use reflexivity.
Use symmetry.
An exact proof term for the current goal is HappEqAB.
We prove the intermediate
claim H1:
1 = apply_fun (F A) n.
rewrite the current goal using HappEq (from right to left).
Use symmetry.
An exact proof term for the current goal is HBval.
We prove the intermediate
claim Hcontra:
1 = 0.
rewrite the current goal using HAval (from right to left) at position 2.
An exact proof term for the current goal is H1.
We prove the intermediate
claim H01:
0 = 1.
Use symmetry.
An exact proof term for the current goal is Hcontra.
An
exact proof term for the current goal is
(FalseE (neq_0_1 H01) (n ∈ A)).