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

Theorem sbralie 2710
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 2708 . . 3 (∀𝑦𝑥 𝜓 ↔ ∀𝑧𝑥 [𝑧 / 𝑦]𝜓)
21sbbii 1753 . 2 ([𝑦 / 𝑥]∀𝑦𝑥 𝜓 ↔ [𝑦 / 𝑥]∀𝑧𝑥 [𝑧 / 𝑦]𝜓)
3 nfv 1516 . . 3 𝑥𝑧𝑦 [𝑧 / 𝑦]𝜓
4 raleq 2661 . . 3 (𝑥 = 𝑦 → (∀𝑧𝑥 [𝑧 / 𝑦]𝜓 ↔ ∀𝑧𝑦 [𝑧 / 𝑦]𝜓))
53, 4sbie 1779 . 2 ([𝑦 / 𝑥]∀𝑧𝑥 [𝑧 / 𝑦]𝜓 ↔ ∀𝑧𝑦 [𝑧 / 𝑦]𝜓)
6 cbvralsv 2708 . . 3 (∀𝑧𝑦 [𝑧 / 𝑦]𝜓 ↔ ∀𝑥𝑦 [𝑥 / 𝑧][𝑧 / 𝑦]𝜓)
7 nfv 1516 . . . . . 6 𝑧𝜓
87sbco2 1953 . . . . 5 ([𝑥 / 𝑧][𝑧 / 𝑦]𝜓 ↔ [𝑥 / 𝑦]𝜓)
9 nfv 1516 . . . . . 6 𝑦𝜑
10 sbralie.1 . . . . . . . 8 (𝑥 = 𝑦 → (𝜑𝜓))
1110bicomd 140 . . . . . . 7 (𝑥 = 𝑦 → (𝜓𝜑))
1211equcoms 1696 . . . . . 6 (𝑦 = 𝑥 → (𝜓𝜑))
139, 12sbie 1779 . . . . 5 ([𝑥 / 𝑦]𝜓𝜑)
148, 13bitri 183 . . . 4 ([𝑥 / 𝑧][𝑧 / 𝑦]𝜓𝜑)
1514ralbii 2472 . . 3 (∀𝑥𝑦 [𝑥 / 𝑧][𝑧 / 𝑦]𝜓 ↔ ∀𝑥𝑦 𝜑)
166, 15bitri 183 . 2 (∀𝑧𝑦 [𝑧 / 𝑦]𝜓 ↔ ∀𝑥𝑦 𝜑)
172, 5, 163bitrri 206 1 (∀𝑥𝑦 𝜑 ↔ [𝑦 / 𝑥]∀𝑦𝑥 𝜓)
Colors of variables: wff set class
Syntax hints:  wi 4  wb 104  [wsb 1750  wral 2444
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 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-ext 2147
This theorem depends on definitions:  df-bi 116  df-tru 1346  df-nf 1449  df-sb 1751  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator