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

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

Note: Swapping both 𝑥, 𝑦 and 𝜑, 𝜓 preserves the hypothesis and DV conditions, so we also have the conclusion (∃*𝑦𝜓 ↔ ∀𝑦∀𝑥((𝜓 ∧ 𝜑) → 𝑦 = 𝑥)). But under the hypothesis and DV condition, we also have (∃*𝑥𝜑 ↔ ∃*𝑦𝜓) (that is a proof step). Therefore, since ((𝜑 ∧ 𝜓) ↔ (𝜓 ↔ 𝜑)) (ancom 466) and (𝑥 = 𝑦 ↔ 𝑦 = 𝑥) (equcom 2060) , we obtain, still under the hypothesis and DV condition, (∀𝑥∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦) ↔ ∀𝑦∀𝑥((𝜑 ∧ 𝜓) → 𝑥 = 𝑦)); in other words, in this special case we can swap universal quantifiers as in alcom 2208 without requiring ax-11 2206. (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 2577 . . 3 (∃*𝑥𝜑 ↔ ∃𝑧∀𝑥(𝜑 → 𝑥 = 𝑧))
2 mo4.1 . . . . . . . 8 (𝑥 = 𝑦 → (𝜑 ↔ 𝜓))
3 equequ1 2067 . . . . . . . 8 (𝑥 = 𝑦 → (𝑥 = 𝑧 ↔ 𝑦 = 𝑧))
42, 3imbi12d 347 . . . . . . 7 (𝑥 = 𝑦 → ((𝜑 → 𝑥 = 𝑧) ↔ (𝜓 → 𝑦 = 𝑧)))
54cbvalvw 2078 . . . . . 6 (∀𝑥(𝜑 → 𝑥 = 𝑧) ↔ ∀𝑦(𝜓 → 𝑦 = 𝑧))
65biimpi 219 . . . . 5 (∀𝑥(𝜑 → 𝑥 = 𝑧) → ∀𝑦(𝜓 → 𝑦 = 𝑧))
7 pm2.27 43 . . . . . . . . . . 11 (𝜑 → ((𝜑 → 𝑥 = 𝑧) → 𝑥 = 𝑧))
8 pm2.27 43 . . . . . . . . . . 11 (𝜓 → ((𝜓 → 𝑦 = 𝑧) → 𝑦 = 𝑧))
97, 8im2anan9 632 . . . . . . . . . 10 ((𝜑 ∧ 𝜓) → (((𝜑 → 𝑥 = 𝑧) ∧ (𝜓 → 𝑦 = 𝑧)) → (𝑥 = 𝑧 ∧ 𝑦 = 𝑧)))
10 equtr2 2069 . . . . . . . . . 10 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑧) → 𝑥 = 𝑦)
119, 10syl6com 38 . . . . . . . . 9 (((𝜑 → 𝑥 = 𝑧) ∧ (𝜓 → 𝑦 = 𝑧)) → ((𝜑 ∧ 𝜓) → 𝑥 = 𝑦))
1211ex 418 . . . . . . . 8 ((𝜑 → 𝑥 = 𝑧) → ((𝜓 → 𝑦 = 𝑧) → ((𝜑 ∧ 𝜓) → 𝑥 = 𝑦)))
1312alimdv 1958 . . . . . . 7 ((𝜑 → 𝑥 = 𝑧) → (∀𝑦(𝜓 → 𝑦 = 𝑧) → ∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦)))
1413com12 33 . . . . . 6 (∀𝑦(𝜓 → 𝑦 = 𝑧) → ((𝜑 → 𝑥 = 𝑧) → ∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦)))
1514alimdv 1958 . . . . 5 (∀𝑦(𝜓 → 𝑦 = 𝑧) → (∀𝑥(𝜑 → 𝑥 = 𝑧) → ∀𝑥∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦)))
166, 15mpcom 39 . . . 4 (∀𝑥(𝜑 → 𝑥 = 𝑧) → ∀𝑥∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦))
1716exlimiv 1972 . . 3 (∃𝑧∀𝑥(𝜑 → 𝑥 = 𝑧) → ∀𝑥∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦))
181, 17sylbi 220 . 2 (∃*𝑥𝜑 → ∀𝑥∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦))
192cbvexvw 2079 . . . . 5 (∃𝑥𝜑 ↔ ∃𝑦𝜓)
2019biimpri 231 . . . 4 (∃𝑦𝜓 → ∃𝑥𝜑)
21 ax6evr 2057 . . . . . . . 8 ∃𝑧 𝑥 = 𝑧
22 pm3.2 475 . . . . . . . . . . . . . . 15 (𝜑 → (𝜓 → (𝜑 ∧ 𝜓)))
2322imim1d 83 . . . . . . . . . . . . . 14 (𝜑 → (((𝜑 ∧ 𝜓) → 𝑥 = 𝑦) → (𝜓 → 𝑥 = 𝑦)))
24 ax7 2058 . . . . . . . . . . . . . 14 (𝑥 = 𝑦 → (𝑥 = 𝑧 → 𝑦 = 𝑧))
2523, 24syl8 77 . . . . . . . . . . . . 13 (𝜑 → (((𝜑 ∧ 𝜓) → 𝑥 = 𝑦) → (𝜓 → (𝑥 = 𝑧 → 𝑦 = 𝑧))))
2625com4r 95 . . . . . . . . . . . 12 (𝑥 = 𝑧 → (𝜑 → (((𝜑 ∧ 𝜓) → 𝑥 = 𝑦) → (𝜓 → 𝑦 = 𝑧))))
2726impcom 413 . . . . . . . . . . 11 ((𝜑 ∧ 𝑥 = 𝑧) → (((𝜑 ∧ 𝜓) → 𝑥 = 𝑦) → (𝜓 → 𝑦 = 𝑧)))
2827alimdv 1958 . . . . . . . . . 10 ((𝜑 ∧ 𝑥 = 𝑧) → (∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦) → ∀𝑦(𝜓 → 𝑦 = 𝑧)))
2928impancom 457 . . . . . . . . 9 ((𝜑 ∧ ∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦)) → (𝑥 = 𝑧 → ∀𝑦(𝜓 → 𝑦 = 𝑧)))
3029eximdv 1959 . . . . . . . 8 ((𝜑 ∧ ∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦)) → (∃𝑧 𝑥 = 𝑧 → ∃𝑧∀𝑦(𝜓 → 𝑦 = 𝑧)))
3121, 30mpi 21 . . . . . . 7 ((𝜑 ∧ ∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦)) → ∃𝑧∀𝑦(𝜓 → 𝑦 = 𝑧))
32 dfmo 2577 . . . . . . 7 (∃*𝑦𝜓 ↔ ∃𝑧∀𝑦(𝜓 → 𝑦 = 𝑧))
3331, 32sylibr 237 . . . . . 6 ((𝜑 ∧ ∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦)) → ∃*𝑦𝜓)
3433expcom 419 . . . . 5 (∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦) → (𝜑 → ∃*𝑦𝜓))
3534aleximi 1871 . . . 4 (∀𝑥∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦) → (∃𝑥𝜑 → ∃𝑥∃*𝑦𝜓))
36 ax5e 1953 . . . 4 (∃𝑥∃*𝑦𝜓 → ∃*𝑦𝜓)
3720, 35, 36syl56 37 . . 3 (∀𝑥∀𝑦((𝜑 ∧ 𝜓) → 𝑥 = 𝑦) → (∃𝑦𝜓 → ∃*𝑦𝜓))
385exbii 1887 . . . . 5 (∃𝑧∀𝑥(𝜑 → 𝑥 = 𝑧) ↔ ∃𝑧∀𝑦(𝜓 → 𝑦 = 𝑧))
3938, 1, 323bitr4i 306 . . . 4 (∃*𝑥𝜑 ↔ ∃*𝑦𝜓)
40 moabs 2580 . . . 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 1570  ∃wex 1818  ∃*wmo 2574
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1819  df-mo 2576
This theorem is used by:  eu4  2654  moel  3396  moeq  3675  rmo4  3698  mosneq  4810  dffun6  6590  fun11  6660  brprcneu  6924  brprcneuALT  6925  dff13  7307  caovmo  7709  wemoiso  8038  wemoiso2  8039  addsrmo  11216  mulsrmo  11217  summo  15949  prodmo  16169  hausflimi  24408  vitalilem3  26040  plyexmo  26753  nosupprefixmo  28208  noinfprefixmo  28209  tglineintmo  29277  ajmoi  31627  pjhthmo  32071  adjmo  32601  satfv0  36433  satfv0fun  36446  satffunlem1lem1  36477  satffunlem2lem1  36479  elpssmo  36775  funtransport  37119  funray  37228  funline  37230  lineintmo  37245  mopre  39780  cossssid4  39869  dffrege115  45407  mof0ALT  50554  mofsn  50558  thincmo  51165  euendfunc  51263
  Copyright terms: Public domain W3C validator