MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  sbralie Structured version   Visualization version   GIF version

Theorem sbralie 3403
Description: Implicit to explicit substitution that swaps variables in a rectrictedly universally 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 cbvralsvw 3399 . . 3 (∀𝑦𝑥 𝜓 ↔ ∀𝑧𝑥 [𝑧 / 𝑦]𝜓)
21sbbii 2082 . 2 ([𝑦 / 𝑥]∀𝑦𝑥 𝜓 ↔ [𝑦 / 𝑥]∀𝑧𝑥 [𝑧 / 𝑦]𝜓)
3 raleq 3340 . . 3 (𝑥 = 𝑦 → (∀𝑧𝑥 [𝑧 / 𝑦]𝜓 ↔ ∀𝑧𝑦 [𝑧 / 𝑦]𝜓))
43sbievw 2098 . 2 ([𝑦 / 𝑥]∀𝑧𝑥 [𝑧 / 𝑦]𝜓 ↔ ∀𝑧𝑦 [𝑧 / 𝑦]𝜓)
5 cbvralsvw 3399 . . 3 (∀𝑧𝑦 [𝑧 / 𝑦]𝜓 ↔ ∀𝑥𝑦 [𝑥 / 𝑧][𝑧 / 𝑦]𝜓)
6 sbco2vv 2103 . . . . 5 ([𝑥 / 𝑧][𝑧 / 𝑦]𝜓 ↔ [𝑥 / 𝑦]𝜓)
7 sbralie.1 . . . . . . . 8 (𝑥 = 𝑦 → (𝜑𝜓))
87bicomd 222 . . . . . . 7 (𝑥 = 𝑦 → (𝜓𝜑))
98equcoms 2026 . . . . . 6 (𝑦 = 𝑥 → (𝜓𝜑))
109sbievw 2098 . . . . 5 ([𝑥 / 𝑦]𝜓𝜑)
116, 10bitri 274 . . . 4 ([𝑥 / 𝑧][𝑧 / 𝑦]𝜓𝜑)
1211ralbii 3092 . . 3 (∀𝑥𝑦 [𝑥 / 𝑧][𝑧 / 𝑦]𝜓 ↔ ∀𝑥𝑦 𝜑)
135, 12bitri 274 . 2 (∀𝑧𝑦 [𝑧 / 𝑦]𝜓 ↔ ∀𝑥𝑦 𝜑)
142, 4, 133bitrri 297 1 (∀𝑥𝑦 𝜑 ↔ [𝑦 / 𝑥]∀𝑦𝑥 𝜓)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  [wsb 2070  wral 3065
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-ex 1786  df-nf 1790  df-sb 2071  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ral 3070
This theorem is referenced by:  tfinds2  7698
  Copyright terms: Public domain W3C validator