Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >   Mathboxes  >  cbvrald GIF version

Theorem cbvrald 16987
Description: Rule used to change bound variables, using implicit substitution. (Contributed by BJ, 22-Nov-2019.)
Hypotheses
Ref Expression
cbvrald.nf0 Ⅎ𝑥𝜑
cbvrald.nf1 Ⅎ𝑦𝜑
cbvrald.nf2 (𝜑 → Ⅎ𝑦𝜓)
cbvrald.nf3 (𝜑 → Ⅎ𝑥𝜒)
cbvrald.is (𝜑 → (𝑥 = 𝑦 → (𝜓 ↔ 𝜒)))
Assertion
Ref Expression
cbvrald (𝜑 → (∀𝑥 ∈ 𝐴 𝜓 ↔ ∀𝑦 ∈ 𝐴 𝜒))
Distinct variable groups:   𝑥,𝐴   𝑦,𝐴
Allowed substitution hints:   𝜑(𝑥, 𝑦)   𝜓(𝑥, 𝑦)   𝜒(𝑥, 𝑦)

Proof of Theorem cbvrald
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 cbvrald.nf0 . . . 4 Ⅎ𝑥𝜑
2 nfv 1581 . . . 4 Ⅎ𝑧𝜑
3 nfv 1581 . . . . . 6 Ⅎ𝑧 𝑥 ∈ 𝐴
43a1i 9 . . . . 5 (𝜑 → Ⅎ𝑧 𝑥 ∈ 𝐴)
5 nfv 1581 . . . . . 6 Ⅎ𝑧𝜓
65a1i 9 . . . . 5 (𝜑 → Ⅎ𝑧𝜓)
74, 6nfimd 1638 . . . 4 (𝜑 → Ⅎ𝑧(𝑥 ∈ 𝐴 → 𝜓))
8 nfv 1581 . . . . . 6 Ⅎ𝑥 𝑧 ∈ 𝐴
98a1i 9 . . . . 5 (𝜑 → Ⅎ𝑥 𝑧 ∈ 𝐴)
10 nfs1v 1999 . . . . . 6 Ⅎ𝑥[𝑧 / 𝑥]𝜓
1110a1i 9 . . . . 5 (𝜑 → Ⅎ𝑥[𝑧 / 𝑥]𝜓)
129, 11nfimd 1638 . . . 4 (𝜑 → Ⅎ𝑥(𝑧 ∈ 𝐴 → [𝑧 / 𝑥]𝜓))
13 eleq1 2301 . . . . . . 7 (𝑥 = 𝑧 → (𝑥 ∈ 𝐴 ↔ 𝑧 ∈ 𝐴))
1413adantl 277 . . . . . 6 ((𝜑 ∧ 𝑥 = 𝑧) → (𝑥 ∈ 𝐴 ↔ 𝑧 ∈ 𝐴))
15 sbequ12 1824 . . . . . . 7 (𝑥 = 𝑧 → (𝜓 ↔ [𝑧 / 𝑥]𝜓))
1615adantl 277 . . . . . 6 ((𝜑 ∧ 𝑥 = 𝑧) → (𝜓 ↔ [𝑧 / 𝑥]𝜓))
1714, 16imbi12d 234 . . . . 5 ((𝜑 ∧ 𝑥 = 𝑧) → ((𝑥 ∈ 𝐴 → 𝜓) ↔ (𝑧 ∈ 𝐴 → [𝑧 / 𝑥]𝜓)))
1817ex 115 . . . 4 (𝜑 → (𝑥 = 𝑧 → ((𝑥 ∈ 𝐴 → 𝜓) ↔ (𝑧 ∈ 𝐴 → [𝑧 / 𝑥]𝜓))))
191, 2, 7, 12, 18cbv2 1802 . . 3 (𝜑 → (∀𝑥(𝑥 ∈ 𝐴 → 𝜓) ↔ ∀𝑧(𝑧 ∈ 𝐴 → [𝑧 / 𝑥]𝜓)))
20 cbvrald.nf1 . . . 4 Ⅎ𝑦𝜑
21 nfv 1581 . . . . . 6 Ⅎ𝑦 𝑧 ∈ 𝐴
2221a1i 9 . . . . 5 (𝜑 → Ⅎ𝑦 𝑧 ∈ 𝐴)
23 cbvrald.nf2 . . . . . 6 (𝜑 → Ⅎ𝑦𝜓)
241, 23nfsbd 2037 . . . . 5 (𝜑 → Ⅎ𝑦[𝑧 / 𝑥]𝜓)
2522, 24nfimd 1638 . . . 4 (𝜑 → Ⅎ𝑦(𝑧 ∈ 𝐴 → [𝑧 / 𝑥]𝜓))
26 nfv 1581 . . . . . 6 Ⅎ𝑧 𝑦 ∈ 𝐴
2726a1i 9 . . . . 5 (𝜑 → Ⅎ𝑧 𝑦 ∈ 𝐴)
28 nfv 1581 . . . . . 6 Ⅎ𝑧𝜒
2928a1i 9 . . . . 5 (𝜑 → Ⅎ𝑧𝜒)
3027, 29nfimd 1638 . . . 4 (𝜑 → Ⅎ𝑧(𝑦 ∈ 𝐴 → 𝜒))
31 eleq1 2301 . . . . . . 7 (𝑧 = 𝑦 → (𝑧 ∈ 𝐴 ↔ 𝑦 ∈ 𝐴))
3231adantl 277 . . . . . 6 ((𝜑 ∧ 𝑧 = 𝑦) → (𝑧 ∈ 𝐴 ↔ 𝑦 ∈ 𝐴))
33 sbequ 1893 . . . . . . 7 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜓 ↔ [𝑦 / 𝑥]𝜓))
34 cbvrald.nf3 . . . . . . . 8 (𝜑 → Ⅎ𝑥𝜒)
35 cbvrald.is . . . . . . . 8 (𝜑 → (𝑥 = 𝑦 → (𝜓 ↔ 𝜒)))
361, 34, 35sbied 1841 . . . . . . 7 (𝜑 → ([𝑦 / 𝑥]𝜓 ↔ 𝜒))
3733, 36sylan9bbr 467 . . . . . 6 ((𝜑 ∧ 𝑧 = 𝑦) → ([𝑧 / 𝑥]𝜓 ↔ 𝜒))
3832, 37imbi12d 234 . . . . 5 ((𝜑 ∧ 𝑧 = 𝑦) → ((𝑧 ∈ 𝐴 → [𝑧 / 𝑥]𝜓) ↔ (𝑦 ∈ 𝐴 → 𝜒)))
3938ex 115 . . . 4 (𝜑 → (𝑧 = 𝑦 → ((𝑧 ∈ 𝐴 → [𝑧 / 𝑥]𝜓) ↔ (𝑦 ∈ 𝐴 → 𝜒))))
402, 20, 25, 30, 39cbv2 1802 . . 3 (𝜑 → (∀𝑧(𝑧 ∈ 𝐴 → [𝑧 / 𝑥]𝜓) ↔ ∀𝑦(𝑦 ∈ 𝐴 → 𝜒)))
4119, 40bitrd 188 . 2 (𝜑 → (∀𝑥(𝑥 ∈ 𝐴 → 𝜓) ↔ ∀𝑦(𝑦 ∈ 𝐴 → 𝜒)))
42 df-ral 2533 . 2 (∀𝑥 ∈ 𝐴 𝜓 ↔ ∀𝑥(𝑥 ∈ 𝐴 → 𝜓))
43 df-ral 2533 . 2 (∀𝑦 ∈ 𝐴 𝜒 ↔ ∀𝑦(𝑦 ∈ 𝐴 → 𝜒))
4441, 42, 433bitr4g 223 1 (𝜑 → (∀𝑥 ∈ 𝐴 𝜓 ↔ ∀𝑦 ∈ 𝐴 𝜒))
Colors of variables:    wff set class
This proof depends on syntax axioms:   → wi 4   ∧ wa 104   ↔ wb 105  ∀wal 1400  Ⅎwnf 1513  [wsb 1815   ∈ wcel 2209  ∀wral 2528
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-ext 2220
This proof depends on definitions:  df-bi 117  df-nf 1514  df-sb 1816  df-cleq 2231  df-clel 2234  df-ral 2533
This theorem is used by:  setindft  17162
  Copyright terms: Public domain W3C validator