ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  cbvoprab2 GIF version

Theorem cbvoprab2 5577
Description: Change the second bound variable in an operation abstraction. (Contributed by Jeff Madsen, 11-Jun-2010.) (Revised by Mario Carneiro, 11-Dec-2016.)
Hypotheses
Ref Expression
cbvoprab2.1 𝑤𝜑
cbvoprab2.2 𝑦𝜓
cbvoprab2.3 (𝑦 = 𝑤 → (𝜑𝜓))
Assertion
Ref Expression
cbvoprab2 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {⟨⟨𝑥, 𝑤⟩, 𝑧⟩ ∣ 𝜓}
Distinct variable group:   𝑥,𝑤,𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧,𝑤)   𝜓(𝑥,𝑦,𝑧,𝑤)

Proof of Theorem cbvoprab2
Dummy variable 𝑣 is distinct from all other variables.
StepHypRef Expression
1 nfv 1421 . . . . . . 7 𝑤 𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧
2 cbvoprab2.1 . . . . . . 7 𝑤𝜑
31, 2nfan 1457 . . . . . 6 𝑤(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)
43nfex 1528 . . . . 5 𝑤𝑧(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)
5 nfv 1421 . . . . . . 7 𝑦 𝑣 = ⟨⟨𝑥, 𝑤⟩, 𝑧
6 cbvoprab2.2 . . . . . . 7 𝑦𝜓
75, 6nfan 1457 . . . . . 6 𝑦(𝑣 = ⟨⟨𝑥, 𝑤⟩, 𝑧⟩ ∧ 𝜓)
87nfex 1528 . . . . 5 𝑦𝑧(𝑣 = ⟨⟨𝑥, 𝑤⟩, 𝑧⟩ ∧ 𝜓)
9 opeq2 3550 . . . . . . . . 9 (𝑦 = 𝑤 → ⟨𝑥, 𝑦⟩ = ⟨𝑥, 𝑤⟩)
109opeq1d 3555 . . . . . . . 8 (𝑦 = 𝑤 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ = ⟨⟨𝑥, 𝑤⟩, 𝑧⟩)
1110eqeq2d 2051 . . . . . . 7 (𝑦 = 𝑤 → (𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ↔ 𝑣 = ⟨⟨𝑥, 𝑤⟩, 𝑧⟩))
12 cbvoprab2.3 . . . . . . 7 (𝑦 = 𝑤 → (𝜑𝜓))
1311, 12anbi12d 442 . . . . . 6 (𝑦 = 𝑤 → ((𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ↔ (𝑣 = ⟨⟨𝑥, 𝑤⟩, 𝑧⟩ ∧ 𝜓)))
1413exbidv 1706 . . . . 5 (𝑦 = 𝑤 → (∃𝑧(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ↔ ∃𝑧(𝑣 = ⟨⟨𝑥, 𝑤⟩, 𝑧⟩ ∧ 𝜓)))
154, 8, 14cbvex 1639 . . . 4 (∃𝑦𝑧(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ↔ ∃𝑤𝑧(𝑣 = ⟨⟨𝑥, 𝑤⟩, 𝑧⟩ ∧ 𝜓))
1615exbii 1496 . . 3 (∃𝑥𝑦𝑧(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ↔ ∃𝑥𝑤𝑧(𝑣 = ⟨⟨𝑥, 𝑤⟩, 𝑧⟩ ∧ 𝜓))
1716abbii 2153 . 2 {𝑣 ∣ ∃𝑥𝑦𝑧(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)} = {𝑣 ∣ ∃𝑥𝑤𝑧(𝑣 = ⟨⟨𝑥, 𝑤⟩, 𝑧⟩ ∧ 𝜓)}
18 df-oprab 5516 . 2 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {𝑣 ∣ ∃𝑥𝑦𝑧(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)}
19 df-oprab 5516 . 2 {⟨⟨𝑥, 𝑤⟩, 𝑧⟩ ∣ 𝜓} = {𝑣 ∣ ∃𝑥𝑤𝑧(𝑣 = ⟨⟨𝑥, 𝑤⟩, 𝑧⟩ ∧ 𝜓)}
2017, 18, 193eqtr4i 2070 1 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {⟨⟨𝑥, 𝑤⟩, 𝑧⟩ ∣ 𝜓}
Colors of variables: wff set class
Syntax hints:  wi 4  wa 97  wb 98   = wceq 1243  wnf 1349  wex 1381  {cab 2026  cop 3378  {coprab 5513
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022
This theorem depends on definitions:  df-bi 110  df-3an 887  df-tru 1246  df-nf 1350  df-sb 1646  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-v 2559  df-un 2922  df-sn 3381  df-pr 3382  df-op 3384  df-oprab 5516
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator