Let x be given.
We prove the intermediate
claim HS1subA:
S1 ⊆ A.
An
exact proof term for the current goal is
(PowerE A S1 HS1).
We prove the intermediate
claim HS2subA:
S2 ⊆ A.
An
exact proof term for the current goal is
(PowerE A S2 HS2).
We prove the intermediate
claim Hinj0:
∀u v ∈ A, f u = f v → u = v.
An
exact proof term for the current goal is
(andER (∀x ∈ A, f x ∈ B) (∀x z ∈ A, f x = f z → x = z) Hinj).
We prove the intermediate
claim Hfx1:
f x ∈ {f y|y ∈ S1}.
An
exact proof term for the current goal is
(ReplI S1 f x Hx1).
We prove the intermediate
claim Hfx2:
f x ∈ {f y|y ∈ S2}.
rewrite the current goal using Heq (from right to left).
An exact proof term for the current goal is Hfx1.
Apply (ReplE_impred S2 f (f x) Hfx2 (x ∈ S2)) to the current goal.
Let y be given.
We prove the intermediate
claim HxA:
x ∈ A.
An exact proof term for the current goal is (HS1subA x Hx1).
We prove the intermediate
claim HyA:
y ∈ A.
An exact proof term for the current goal is (HS2subA y HyS2).
We prove the intermediate
claim Hxy:
x = y.
An exact proof term for the current goal is (Hinj0 x HxA y HyA Hfxy).
rewrite the current goal using Hxy (from left to right).
An exact proof term for the current goal is HyS2.
Let x be given.
We prove the intermediate
claim HS1subA:
S1 ⊆ A.
An
exact proof term for the current goal is
(PowerE A S1 HS1).
We prove the intermediate
claim HS2subA:
S2 ⊆ A.
An
exact proof term for the current goal is
(PowerE A S2 HS2).
We prove the intermediate
claim Hinj0:
∀u v ∈ A, f u = f v → u = v.
An
exact proof term for the current goal is
(andER (∀x ∈ A, f x ∈ B) (∀x z ∈ A, f x = f z → x = z) Hinj).
We prove the intermediate
claim Hfx2:
f x ∈ {f y|y ∈ S2}.
An
exact proof term for the current goal is
(ReplI S2 f x Hx2).
We prove the intermediate
claim Hfx1:
f x ∈ {f y|y ∈ S1}.
rewrite the current goal using Heq (from left to right).
An exact proof term for the current goal is Hfx2.
Apply (ReplE_impred S1 f (f x) Hfx1 (x ∈ S1)) to the current goal.
Let y be given.
We prove the intermediate
claim HxA:
x ∈ A.
An exact proof term for the current goal is (HS2subA x Hx2).
We prove the intermediate
claim HyA:
y ∈ A.
An exact proof term for the current goal is (HS1subA y HyS1).
We prove the intermediate
claim Hxy:
x = y.
An exact proof term for the current goal is (Hinj0 x HxA y HyA Hfxy).
rewrite the current goal using Hxy (from left to right).
An exact proof term for the current goal is HyS1.