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

Theorem mo4 2591
Description: At-most-one quantifier expressed using implicit substitution. This theorem is also a direct consequence of mo4f 2592, but this proof is based on fewer axioms.

By the way, swapping 𝑥, 𝑦 and 𝜑, 𝜓 leads to an expression for ∃*𝑦𝜓, which is equivalent to ∃*𝑥𝜑 (is a proof line), so the right hand side is a rare instance of an expression where swapping the quantifiers can be done without ax-11 2193. (Contributed by NM, 26-Jul-1995.) Reduce axiom usage. (Revised by Wolf Lammen, 18-Oct-2023.)

Hypothesis
Ref Expression
mo4.1 (𝑥 = 𝑦 → (𝜑 ↔ 𝜓))
Assertion
Ref Expression
mo4 (∃*𝑥𝜑 ↔ ∀𝑥∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦))
Distinct variable groups:   𝑥,𝑦   𝜑,𝑦   𝜓,𝑥
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦)

Proof of Theorem mo4
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 dfmo 2565 . . 3 (∃*𝑥𝜑 ↔ ∃𝑧∀𝑥(𝜑 → 𝑥 = 𝑧))
2 mo4.1 . . . . . . . 8 (𝑥 = 𝑦 → (𝜑 ↔ 𝜓))
3 equequ1 2057 . . . . . . . 8 (𝑥 = 𝑦 → (𝑥 = 𝑧 ↔ 𝑦 = 𝑧))
42, 3imbi12d 347 . . . . . . 7 (𝑥 = 𝑦 → ((𝜑 → 𝑥 = 𝑧) ↔ (𝜓 → 𝑦 = 𝑧)))
54cbvalvw 2068 . . . . . 6 (∀𝑥(𝜑 → 𝑥 = 𝑧) ↔ ∀𝑦(𝜓 → 𝑦 = 𝑧))
65biimpi 219 . . . . 5 (∀𝑥(𝜑 → 𝑥 = 𝑧) → ∀𝑦(𝜓 → 𝑦 = 𝑧))
7 pm2.27 43 . . . . . . . . . . 11 (𝜑 → ((𝜑 → 𝑥 = 𝑧) → 𝑥 = 𝑧))
8 pm2.27 43 . . . . . . . . . . 11 (𝜓 → ((𝜓 → 𝑦 = 𝑧) → 𝑦 = 𝑧))
97, 8im2anan9 632 . . . . . . . . . 10 ((𝜑 ∧ 𝜓) → (((𝜑 → 𝑥 = 𝑧) ∧ (𝜓 → 𝑦 = 𝑧)) → (𝑥 = 𝑧 ∧ 𝑦 = 𝑧)))
10 equtr2 2059 . . . . . . . . . 10 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑧) → 𝑥 = 𝑦)
119, 10syl6com 38 . . . . . . . . 9 (((𝜑 → 𝑥 = 𝑧) ∧ (𝜓 → 𝑦 = 𝑧)) → ((𝜑 ∧ 𝜓) → 𝑥 = 𝑦))
1211ex 418 . . . . . . . 8 ((𝜑 → 𝑥 = 𝑧) → ((𝜓 → 𝑦 = 𝑧) → ((𝜑 ∧ 𝜓) → 𝑥 = 𝑦)))
1312alimdv 1948 . . . . . . 7 ((𝜑 → 𝑥 = 𝑧) → (∀𝑦(𝜓 → 𝑦 = 𝑧) → ∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦)))
1413com12 33 . . . . . 6 (∀𝑦(𝜓 → 𝑦 = 𝑧) → ((𝜑 → 𝑥 = 𝑧) → ∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦)))
1514alimdv 1948 . . . . 5 (∀𝑦(𝜓 → 𝑦 = 𝑧) → (∀𝑥(𝜑 → 𝑥 = 𝑧) → ∀𝑥∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦)))
166, 15mpcom 39 . . . 4 (∀𝑥(𝜑 → 𝑥 = 𝑧) → ∀𝑥∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦))
1716exlimiv 1962 . . 3 (∃𝑧∀𝑥(𝜑 → 𝑥 = 𝑧) → ∀𝑥∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦))
181, 17sylbi 220 . 2 (∃*𝑥𝜑 → ∀𝑥∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦))
192cbvexvw 2069 . . . . 5 (∃𝑥𝜑 ↔ ∃𝑦𝜓)
2019biimpri 231 . . . 4 (∃𝑦𝜓 → ∃𝑥𝜑)
21 ax6evr 2047 . . . . . . . 8 ∃𝑧 𝑥 = 𝑧
22 pm3.2 475 . . . . . . . . . . . . . . 15 (𝜑 → (𝜓 → (𝜑 ∧ 𝜓)))
2322imim1d 83 . . . . . . . . . . . . . 14 (𝜑 → (((𝜑 ∧ 𝜓) → 𝑥 = 𝑦) → (𝜓 → 𝑥 = 𝑦)))
24 ax7 2048 . . . . . . . . . . . . . 14 (𝑥 = 𝑦 → (𝑥 = 𝑧 → 𝑦 = 𝑧))
2523, 24syl8 77 . . . . . . . . . . . . 13 (𝜑 → (((𝜑 ∧ 𝜓) → 𝑥 = 𝑦) → (𝜓 → (𝑥 = 𝑧 → 𝑦 = 𝑧))))
2625com4r 95 . . . . . . . . . . . 12 (𝑥 = 𝑧 → (𝜑 → (((𝜑 ∧ 𝜓) → 𝑥 = 𝑦) → (𝜓 → 𝑦 = 𝑧))))
2726impcom 413 . . . . . . . . . . 11 ((𝜑 ∧ 𝑥 = 𝑧) → (((𝜑 ∧ 𝜓) → 𝑥 = 𝑦) → (𝜓 → 𝑦 = 𝑧)))
2827alimdv 1948 . . . . . . . . . 10 ((𝜑 ∧ 𝑥 = 𝑧) → (∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦) → ∀𝑦(𝜓 → 𝑦 = 𝑧)))
2928impancom 457 . . . . . . . . 9 ((𝜑 ∧ ∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦)) → (𝑥 = 𝑧 → ∀𝑦(𝜓 → 𝑦 = 𝑧)))
3029eximdv 1949 . . . . . . . 8 ((𝜑 ∧ ∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦)) → (∃𝑧 𝑥 = 𝑧 → ∃𝑧∀𝑦(𝜓 → 𝑦 = 𝑧)))
3121, 30mpi 21 . . . . . . 7 ((𝜑 ∧ ∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦)) → ∃𝑧∀𝑦(𝜓 → 𝑦 = 𝑧))
32 dfmo 2565 . . . . . . 7 (∃*𝑦𝜓 ↔ ∃𝑧∀𝑦(𝜓 → 𝑦 = 𝑧))
3331, 32sylibr 237 . . . . . 6 ((𝜑 ∧ ∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦)) → ∃*𝑦𝜓)
3433expcom 419 . . . . 5 (∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦) → (𝜑 → ∃*𝑦𝜓))
3534aleximi 1864 . . . 4 (∀𝑥∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦) → (∃𝑥𝜑 → ∃𝑥∃*𝑦𝜓))
36 ax5e 1944 . . . 4 (∃𝑥∃*𝑦𝜓 → ∃*𝑦𝜓)
3720, 35, 36syl56 37 . . 3 (∀𝑥∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦) → (∃𝑦𝜓 → ∃*𝑦𝜓))
385exbii 1880 . . . . 5 (∃𝑧∀𝑥(𝜑 → 𝑥 = 𝑧) ↔ ∃𝑧∀𝑦(𝜓 → 𝑦 = 𝑧))
3938, 1, 323bitr4i 306 . . . 4 (∃*𝑥𝜑 ↔ ∃*𝑦𝜓)
40 moabs 2568 . . . 4 (∃*𝑦𝜓 ↔ (∃𝑦𝜓 → ∃*𝑦𝜓))
4139, 40bitri 278 . . 3 (∃*𝑥𝜑 ↔ (∃𝑦𝜓 → ∃*𝑦𝜓))
4237, 41sylibr 237 . 2 (∀𝑥∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦) → ∃*𝑥𝜑)
4318, 42impbii 212 1 (∃*𝑥𝜑 ↔ ∀𝑥∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1567  ∃wex 1811  ∃*wmo 2562
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1812  df-mo 2564
This theorem is used by:  eu4  2640  moel  3385  moeq  3664  rmo4  3687  mosneq  4801  dffun6  6549  fun11  6614  brprcneu  6875  brprcneuALT  6876  dff13  7258  caovmo  7658  wemoiso  7985  wemoiso2  7986  addsrmo  11158  mulsrmo  11159  summo  15883  prodmo  16103  hausflimi  24299  vitalilem3  25931  plyexmo  26636  nosupprefixmo  28057  noinfprefixmo  28058  tglineintmo  29110  ajmoi  31460  pjhthmo  31904  adjmo  32434  satfv0  36123  satfv0fun  36136  satffunlem1lem1  36167  satffunlem2lem1  36169  funtransport  36796  funray  36905  funline  36907  lineintmo  36922  mopre  39404  cossssid4  39493  dffrege115  44978  mof0ALT  49950  mofsn  49954  f1omoOLD  50002  thincmo  50536  euendfunc  50634
  Copyright terms: Public domain W3C validator