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

Theorem sbralie 2644
Description: Implicit to explicit substitution that swaps variables in a quantified expression. (Contributed by NM, 5-Sep-2004.)
Hypothesis
Ref Expression
sbralie.1 (𝑥 = 𝑦 → (𝜑𝜓))
Assertion
Ref Expression
sbralie (∀𝑥𝑦 𝜑 ↔ [𝑦 / 𝑥]∀𝑦𝑥 𝜓)
Distinct variable groups:   𝑥,𝑦   𝜓,𝑥   𝜑,𝑦
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦)

Proof of Theorem sbralie
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 cbvralsv 2642 . . 3 (∀𝑦𝑥 𝜓 ↔ ∀𝑧𝑥 [𝑧 / 𝑦]𝜓)
21sbbii 1723 . 2 ([𝑦 / 𝑥]∀𝑦𝑥 𝜓 ↔ [𝑦 / 𝑥]∀𝑧𝑥 [𝑧 / 𝑦]𝜓)
3 nfv 1493 . . 3 𝑥𝑧𝑦 [𝑧 / 𝑦]𝜓
4 raleq 2603 . . 3 (𝑥 = 𝑦 → (∀𝑧𝑥 [𝑧 / 𝑦]𝜓 ↔ ∀𝑧𝑦 [𝑧 / 𝑦]𝜓))
53, 4sbie 1749 . 2 ([𝑦 / 𝑥]∀𝑧𝑥 [𝑧 / 𝑦]𝜓 ↔ ∀𝑧𝑦 [𝑧 / 𝑦]𝜓)
6 cbvralsv 2642 . . 3 (∀𝑧𝑦 [𝑧 / 𝑦]𝜓 ↔ ∀𝑥𝑦 [𝑥 / 𝑧][𝑧 / 𝑦]𝜓)
7 nfv 1493 . . . . . 6 𝑧𝜓
87sbco2 1916 . . . . 5 ([𝑥 / 𝑧][𝑧 / 𝑦]𝜓 ↔ [𝑥 / 𝑦]𝜓)
9 nfv 1493 . . . . . 6 𝑦𝜑
10 sbralie.1 . . . . . . . 8 (𝑥 = 𝑦 → (𝜑𝜓))
1110bicomd 140 . . . . . . 7 (𝑥 = 𝑦 → (𝜓𝜑))
1211equcoms 1669 . . . . . 6 (𝑦 = 𝑥 → (𝜓𝜑))
139, 12sbie 1749 . . . . 5 ([𝑥 / 𝑦]𝜓𝜑)
148, 13bitri 183 . . . 4 ([𝑥 / 𝑧][𝑧 / 𝑦]𝜓𝜑)
1514ralbii 2418 . . 3 (∀𝑥𝑦 [𝑥 / 𝑧][𝑧 / 𝑦]𝜓 ↔ ∀𝑥𝑦 𝜑)
166, 15bitri 183 . 2 (∀𝑧𝑦 [𝑧 / 𝑦]𝜓 ↔ ∀𝑥𝑦 𝜑)
172, 5, 163bitrri 206 1 (∀𝑥𝑦 𝜑 ↔ [𝑦 / 𝑥]∀𝑦𝑥 𝜓)
Colors of variables: wff set class
Syntax hints:  wi 4  wb 104  [wsb 1720  wral 2393
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 683  ax-5 1408  ax-7 1409  ax-gen 1410  ax-ie1 1454  ax-ie2 1455  ax-8 1467  ax-10 1468  ax-11 1469  ax-i12 1470  ax-bndl 1471  ax-4 1472  ax-17 1491  ax-i9 1495  ax-ial 1499  ax-i5r 1500  ax-ext 2099
This theorem depends on definitions:  df-bi 116  df-tru 1319  df-nf 1422  df-sb 1721  df-cleq 2110  df-clel 2113  df-nfc 2247  df-ral 2398
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator