Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  dfich2 Structured version   Visualization version   GIF version

Theorem dfich2 46126
Description: Alternate definition of the propery of a wff 𝜑 that the setvar variables 𝑥 and 𝑦 are interchangeable. (Contributed by AV and WL, 6-Aug-2023.)
Assertion
Ref Expression
dfich2 ([𝑥𝑦]𝜑 ↔ ∀𝑎𝑏([𝑎 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑏 / 𝑥][𝑎 / 𝑦]𝜑))
Distinct variable groups:   𝑎,𝑏,𝜑   𝑥,𝑎,𝑦,𝑏
Allowed substitution hints:   𝜑(𝑥,𝑦)

Proof of Theorem dfich2
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 df-ich 46114 . 2 ([𝑥𝑦]𝜑 ↔ ∀𝑥𝑦([𝑥 / 𝑧][𝑦 / 𝑥][𝑧 / 𝑦]𝜑𝜑))
2 nfs1v 2154 . . . . . . 7 𝑦[𝑏 / 𝑦]𝜑
32nfsbv 2324 . . . . . 6 𝑦[𝑎 / 𝑥][𝑏 / 𝑦]𝜑
43nfsbv 2324 . . . . 5 𝑦[𝑥 / 𝑏][𝑎 / 𝑥][𝑏 / 𝑦]𝜑
5 nfv 1918 . . . . 5 𝑎𝜑
64, 5sbbib 2358 . . . 4 (∀𝑦([𝑦 / 𝑎][𝑥 / 𝑏][𝑎 / 𝑥][𝑏 / 𝑦]𝜑𝜑) ↔ ∀𝑎([𝑥 / 𝑏][𝑎 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑎 / 𝑦]𝜑))
76albii 1822 . . 3 (∀𝑥𝑦([𝑦 / 𝑎][𝑥 / 𝑏][𝑎 / 𝑥][𝑏 / 𝑦]𝜑𝜑) ↔ ∀𝑥𝑎([𝑥 / 𝑏][𝑎 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑎 / 𝑦]𝜑))
8 sbco4 2275 . . . . 5 ([𝑦 / 𝑎][𝑥 / 𝑏][𝑎 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑥 / 𝑧][𝑦 / 𝑥][𝑧 / 𝑦]𝜑)
98bibi1i 339 . . . 4 (([𝑦 / 𝑎][𝑥 / 𝑏][𝑎 / 𝑥][𝑏 / 𝑦]𝜑𝜑) ↔ ([𝑥 / 𝑧][𝑦 / 𝑥][𝑧 / 𝑦]𝜑𝜑))
1092albii 1823 . . 3 (∀𝑥𝑦([𝑦 / 𝑎][𝑥 / 𝑏][𝑎 / 𝑥][𝑏 / 𝑦]𝜑𝜑) ↔ ∀𝑥𝑦([𝑥 / 𝑧][𝑦 / 𝑥][𝑧 / 𝑦]𝜑𝜑))
11 alcom 2157 . . . 4 (∀𝑥𝑎([𝑥 / 𝑏][𝑎 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑎 / 𝑦]𝜑) ↔ ∀𝑎𝑥([𝑥 / 𝑏][𝑎 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑎 / 𝑦]𝜑))
12 nfs1v 2154 . . . . . 6 𝑥[𝑎 / 𝑥][𝑏 / 𝑦]𝜑
13 nfv 1918 . . . . . 6 𝑏[𝑎 / 𝑦]𝜑
1412, 13sbbib 2358 . . . . 5 (∀𝑥([𝑥 / 𝑏][𝑎 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑎 / 𝑦]𝜑) ↔ ∀𝑏([𝑎 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑏 / 𝑥][𝑎 / 𝑦]𝜑))
1514albii 1822 . . . 4 (∀𝑎𝑥([𝑥 / 𝑏][𝑎 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑎 / 𝑦]𝜑) ↔ ∀𝑎𝑏([𝑎 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑏 / 𝑥][𝑎 / 𝑦]𝜑))
1611, 15bitri 275 . . 3 (∀𝑥𝑎([𝑥 / 𝑏][𝑎 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑎 / 𝑦]𝜑) ↔ ∀𝑎𝑏([𝑎 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑏 / 𝑥][𝑎 / 𝑦]𝜑))
177, 10, 163bitr3i 301 . 2 (∀𝑥𝑦([𝑥 / 𝑧][𝑦 / 𝑥][𝑧 / 𝑦]𝜑𝜑) ↔ ∀𝑎𝑏([𝑎 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑏 / 𝑥][𝑎 / 𝑦]𝜑))
181, 17bitri 275 1 ([𝑥𝑦]𝜑 ↔ ∀𝑎𝑏([𝑎 / 𝑥][𝑏 / 𝑦]𝜑 ↔ [𝑏 / 𝑥][𝑎 / 𝑦]𝜑))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wal 1540  [wsb 2068  [wich 46113
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-10 2138  ax-11 2155  ax-12 2172
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-tru 1545  df-ex 1783  df-nf 1787  df-sb 2069  df-ich 46114
This theorem is referenced by:  ichcom  46127  ichbi12i  46128  ichnfim  46132  ichnreuop  46140  ichreuopeq  46141
  Copyright terms: Public domain W3C validator