Metamath Proof Explorer


Theorem cbvraldva2

Description: Rule used to change the bound variable in a restricted universal quantifier with implicit substitution which also changes the quantifier domain. Deduction form. (Contributed by David Moews, 1-May-2017)

Ref Expression
Hypotheses cbvraldva2.1 ⊢ φ ∧ x = y → ψ ↔ χ
cbvraldva2.2 ⊢ φ ∧ x = y → A = B
Assertion cbvraldva2 ⊢ φ → ∀ x ∈ A ψ ↔ ∀ y ∈ B χ

Proof

Step Hyp Ref Expression
1 cbvraldva2.1 ⊢ φ ∧ x = y → ψ ↔ χ
2 cbvraldva2.2 ⊢ φ ∧ x = y → A = B
3 simpr ⊢ φ ∧ x = y → x = y
4 3 2 eleq12d ⊢ φ ∧ x = y → x ∈ A ↔ y ∈ B
5 4 1 imbi12d ⊢ φ ∧ x = y → x ∈ A → ψ ↔ y ∈ B → χ
6 5 cbvaldvaw ⊢ φ → ∀ x x ∈ A → ψ ↔ ∀ y y ∈ B → χ
7 df-ral ⊢ ∀ x ∈ A ψ ↔ ∀ x x ∈ A → ψ
8 df-ral ⊢ ∀ y ∈ B χ ↔ ∀ y y ∈ B → χ
9 6 7 8 3bitr4g ⊢ φ → ∀ x ∈ A ψ ↔ ∀ y ∈ B χ