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

Theorem lublecllem 17189
Description: Lemma for lublecl 17190 and lubid 17191. (Contributed by NM, 8-Sep-2018.)
Hypotheses
Ref Expression
lublecl.b 𝐵 = (Base‘𝐾)
lublecl.l = (le‘𝐾)
lublecl.u 𝑈 = (lub‘𝐾)
lublecl.k (𝜑𝐾 ∈ Poset)
lublecl.x (𝜑𝑋𝐵)
Assertion
Ref Expression
lublecllem ((𝜑𝑥𝐵) → ((∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑥 ∧ ∀𝑤𝐵 (∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑤𝑥 𝑤)) ↔ 𝑥 = 𝑋))
Distinct variable groups:   𝑥,𝑤,𝑦,𝑧,   𝑤,𝐵,𝑥,𝑦,𝑧   𝑤,𝐾,𝑥,𝑧   𝑤,𝑋,𝑥,𝑦,𝑧   𝜑,𝑤,𝑥
Allowed substitution hints:   𝜑(𝑦,𝑧)   𝑈(𝑥,𝑦,𝑧,𝑤)   𝐾(𝑦)

Proof of Theorem lublecllem
StepHypRef Expression
1 breq1 4847 . . . 4 (𝑦 = 𝑧 → (𝑦 𝑋𝑧 𝑋))
21ralrab 3564 . . 3 (∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑥 ↔ ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥))
31ralrab 3564 . . . . 5 (∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑤 ↔ ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤))
43imbi1i 340 . . . 4 ((∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑤𝑥 𝑤) ↔ (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤))
54ralbii 3168 . . 3 (∀𝑤𝐵 (∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑤𝑥 𝑤) ↔ ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤))
62, 5anbi12i 614 . 2 ((∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑥 ∧ ∀𝑤𝐵 (∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑤𝑥 𝑤)) ↔ (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥) ∧ ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤)))
7 lublecl.x . . . . . 6 (𝜑𝑋𝐵)
8 lublecl.k . . . . . . . 8 (𝜑𝐾 ∈ Poset)
9 lublecl.b . . . . . . . . 9 𝐵 = (Base‘𝐾)
10 lublecl.l . . . . . . . . 9 = (le‘𝐾)
119, 10posref 17152 . . . . . . . 8 ((𝐾 ∈ Poset ∧ 𝑋𝐵) → 𝑋 𝑋)
128, 7, 11syl2anc 575 . . . . . . 7 (𝜑𝑋 𝑋)
13 breq1 4847 . . . . . . . . 9 (𝑧 = 𝑋 → (𝑧 𝑋𝑋 𝑋))
14 breq1 4847 . . . . . . . . 9 (𝑧 = 𝑋 → (𝑧 𝑥𝑋 𝑥))
1513, 14imbi12d 335 . . . . . . . 8 (𝑧 = 𝑋 → ((𝑧 𝑋𝑧 𝑥) ↔ (𝑋 𝑋𝑋 𝑥)))
1615rspcva 3500 . . . . . . 7 ((𝑋𝐵 ∧ ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥)) → (𝑋 𝑋𝑋 𝑥))
1712, 16syl5com 31 . . . . . 6 (𝜑 → ((𝑋𝐵 ∧ ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥)) → 𝑋 𝑥))
187, 17mpand 678 . . . . 5 (𝜑 → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥) → 𝑋 𝑥))
1918adantr 468 . . . 4 ((𝜑𝑥𝐵) → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥) → 𝑋 𝑥))
20 idd 24 . . . . . . 7 (𝑧𝐵 → (𝑧 𝑋𝑧 𝑋))
2120rgen 3110 . . . . . 6 𝑧𝐵 (𝑧 𝑋𝑧 𝑋)
22 breq2 4848 . . . . . . . . . . 11 (𝑤 = 𝑋 → (𝑧 𝑤𝑧 𝑋))
2322imbi2d 331 . . . . . . . . . 10 (𝑤 = 𝑋 → ((𝑧 𝑋𝑧 𝑤) ↔ (𝑧 𝑋𝑧 𝑋)))
2423ralbidv 3174 . . . . . . . . 9 (𝑤 = 𝑋 → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) ↔ ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑋)))
25 breq2 4848 . . . . . . . . 9 (𝑤 = 𝑋 → (𝑥 𝑤𝑥 𝑋))
2624, 25imbi12d 335 . . . . . . . 8 (𝑤 = 𝑋 → ((∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤) ↔ (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑋) → 𝑥 𝑋)))
2726rspcv 3498 . . . . . . 7 (𝑋𝐵 → (∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤) → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑋) → 𝑥 𝑋)))
287, 27syl 17 . . . . . 6 (𝜑 → (∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤) → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑋) → 𝑥 𝑋)))
2921, 28mpii 46 . . . . 5 (𝜑 → (∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤) → 𝑥 𝑋))
3029adantr 468 . . . 4 ((𝜑𝑥𝐵) → (∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤) → 𝑥 𝑋))
318adantr 468 . . . . . . 7 ((𝜑𝑥𝐵) → 𝐾 ∈ Poset)
32 simpr 473 . . . . . . 7 ((𝜑𝑥𝐵) → 𝑥𝐵)
337adantr 468 . . . . . . 7 ((𝜑𝑥𝐵) → 𝑋𝐵)
349, 10posasymb 17153 . . . . . . 7 ((𝐾 ∈ Poset ∧ 𝑥𝐵𝑋𝐵) → ((𝑥 𝑋𝑋 𝑥) ↔ 𝑥 = 𝑋))
3531, 32, 33, 34syl3anc 1483 . . . . . 6 ((𝜑𝑥𝐵) → ((𝑥 𝑋𝑋 𝑥) ↔ 𝑥 = 𝑋))
3635biimpd 220 . . . . 5 ((𝜑𝑥𝐵) → ((𝑥 𝑋𝑋 𝑥) → 𝑥 = 𝑋))
3736ancomsd 453 . . . 4 ((𝜑𝑥𝐵) → ((𝑋 𝑥𝑥 𝑋) → 𝑥 = 𝑋))
3819, 30, 37syl2and 597 . . 3 ((𝜑𝑥𝐵) → ((∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥) ∧ ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤)) → 𝑥 = 𝑋))
39 breq2 4848 . . . . . . . 8 (𝑥 = 𝑋 → (𝑧 𝑥𝑧 𝑋))
4039biimprd 239 . . . . . . 7 (𝑥 = 𝑋 → (𝑧 𝑋𝑧 𝑥))
4140ralrimivw 3155 . . . . . 6 (𝑥 = 𝑋 → ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥))
4241adantl 469 . . . . 5 (((𝜑𝑥𝐵) ∧ 𝑥 = 𝑋) → ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥))
437adantr 468 . . . . . . . 8 ((𝜑𝑥 = 𝑋) → 𝑋𝐵)
44 breq1 4847 . . . . . . . . . . 11 (𝑧 = 𝑋 → (𝑧 𝑤𝑋 𝑤))
4513, 44imbi12d 335 . . . . . . . . . 10 (𝑧 = 𝑋 → ((𝑧 𝑋𝑧 𝑤) ↔ (𝑋 𝑋𝑋 𝑤)))
4645rspcva 3500 . . . . . . . . 9 ((𝑋𝐵 ∧ ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤)) → (𝑋 𝑋𝑋 𝑤))
47 pm5.5 352 . . . . . . . . . . 11 (𝑋 𝑋 → ((𝑋 𝑋𝑋 𝑤) ↔ 𝑋 𝑤))
4812, 47syl 17 . . . . . . . . . 10 (𝜑 → ((𝑋 𝑋𝑋 𝑤) ↔ 𝑋 𝑤))
49 breq1 4847 . . . . . . . . . . 11 (𝑥 = 𝑋 → (𝑥 𝑤𝑋 𝑤))
5049bicomd 214 . . . . . . . . . 10 (𝑥 = 𝑋 → (𝑋 𝑤𝑥 𝑤))
5148, 50sylan9bb 501 . . . . . . . . 9 ((𝜑𝑥 = 𝑋) → ((𝑋 𝑋𝑋 𝑤) ↔ 𝑥 𝑤))
5246, 51syl5ib 235 . . . . . . . 8 ((𝜑𝑥 = 𝑋) → ((𝑋𝐵 ∧ ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤)) → 𝑥 𝑤))
5343, 52mpand 678 . . . . . . 7 ((𝜑𝑥 = 𝑋) → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤))
5453ralrimivw 3155 . . . . . 6 ((𝜑𝑥 = 𝑋) → ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤))
5554adantlr 697 . . . . 5 (((𝜑𝑥𝐵) ∧ 𝑥 = 𝑋) → ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤))
5642, 55jca 503 . . . 4 (((𝜑𝑥𝐵) ∧ 𝑥 = 𝑋) → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥) ∧ ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤)))
5756ex 399 . . 3 ((𝜑𝑥𝐵) → (𝑥 = 𝑋 → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥) ∧ ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤))))
5838, 57impbid 203 . 2 ((𝜑𝑥𝐵) → ((∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥) ∧ ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤)) ↔ 𝑥 = 𝑋))
596, 58syl5bb 274 1 ((𝜑𝑥𝐵) → ((∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑥 ∧ ∀𝑤𝐵 (∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑤𝑥 𝑤)) ↔ 𝑥 = 𝑋))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 197  wa 384   = wceq 1637  wcel 2156  wral 3096  {crab 3100   class class class wbr 4844  cfv 6097  Basecbs 16064  lecple 16156  Posetcpo 17141  lubclub 17143
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1877  ax-4 1894  ax-5 2001  ax-6 2068  ax-7 2104  ax-9 2165  ax-10 2185  ax-11 2201  ax-12 2214  ax-13 2420  ax-ext 2784  ax-nul 4983
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 866  df-3an 1102  df-tru 1641  df-ex 1860  df-nf 1864  df-sb 2061  df-eu 2634  df-clab 2793  df-cleq 2799  df-clel 2802  df-nfc 2937  df-ral 3101  df-rex 3102  df-rab 3105  df-v 3393  df-sbc 3634  df-dif 3772  df-un 3774  df-in 3776  df-ss 3783  df-nul 4117  df-if 4280  df-sn 4371  df-pr 4373  df-op 4377  df-uni 4631  df-br 4845  df-iota 6060  df-fv 6105  df-proset 17129  df-poset 17147
This theorem is referenced by:  lublecl  17190  lubid  17191
  Copyright terms: Public domain W3C validator