Metamath Proof Explorer


Theorem rmoeq1f

Description: Equality theorem for restricted at-most-one quantifier, with bound-variable hypotheses instead of distinct variable restrictions. (Contributed by Alexander van der Vekens, 17-Jun-2017)

Ref Expression
Hypotheses rmoeq1f.1 ⊢ Ⅎ 𝑥 𝐴
rmoeq1f.2 ⊢ Ⅎ 𝑥 𝐵
Assertion rmoeq1f ( 𝐴 = 𝐵 → ( ∃* 𝑥 ∈ 𝐴 𝜑 ↔ ∃* 𝑥 ∈ 𝐵 𝜑 ) )

Proof

Step Hyp Ref Expression
1 rmoeq1f.1 ⊢ Ⅎ 𝑥 𝐴
2 rmoeq1f.2 ⊢ Ⅎ 𝑥 𝐵
3 1 2 nfeq ⊢ Ⅎ 𝑥 𝐴 = 𝐵
4 eleq2 ⊢ ( 𝐴 = 𝐵 → ( 𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐵 ) )
5 4 anbi1d ⊢ ( 𝐴 = 𝐵 → ( ( 𝑥 ∈ 𝐴 ∧ 𝜑 ) ↔ ( 𝑥 ∈ 𝐵 ∧ 𝜑 ) ) )
6 3 5 mobid ⊢ ( 𝐴 = 𝐵 → ( ∃* 𝑥 ( 𝑥 ∈ 𝐴 ∧ 𝜑 ) ↔ ∃* 𝑥 ( 𝑥 ∈ 𝐵 ∧ 𝜑 ) ) )
7 df-rmo ⊢ ( ∃* 𝑥 ∈ 𝐴 𝜑 ↔ ∃* 𝑥 ( 𝑥 ∈ 𝐴 ∧ 𝜑 ) )
8 df-rmo ⊢ ( ∃* 𝑥 ∈ 𝐵 𝜑 ↔ ∃* 𝑥 ( 𝑥 ∈ 𝐵 ∧ 𝜑 ) )
9 6 7 8 3bitr4g ⊢ ( 𝐴 = 𝐵 → ( ∃* 𝑥 ∈ 𝐴 𝜑 ↔ ∃* 𝑥 ∈ 𝐵 𝜑 ) )