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

Theorem lublecllem 16920
Description: Lemma for lublecl 16921 and lubid 16922. (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 4621 . . . 4 (𝑦 = 𝑧 → (𝑦 𝑋𝑧 𝑋))
21ralrab 3354 . . 3 (∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑥 ↔ ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥))
31ralrab 3354 . . . . 5 (∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑤 ↔ ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤))
43imbi1i 339 . . . 4 ((∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑤𝑥 𝑤) ↔ (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤))
54ralbii 2975 . . 3 (∀𝑤𝐵 (∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑤𝑥 𝑤) ↔ ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤))
62, 5anbi12i 732 . 2 ((∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑥 ∧ ∀𝑤𝐵 (∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑤𝑥 𝑤)) ↔ (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥) ∧ ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤)))
7 lublecl.x . . . . . 6 (𝜑𝑋𝐵)
8 lublecl.k . . . . . . . 8 (𝜑𝐾 ∈ Poset)
9 lublecl.b . . . . . . . . 9 𝐵 = (Base‘𝐾)
10 lublecl.l . . . . . . . . 9 = (le‘𝐾)
119, 10posref 16883 . . . . . . . 8 ((𝐾 ∈ Poset ∧ 𝑋𝐵) → 𝑋 𝑋)
128, 7, 11syl2anc 692 . . . . . . 7 (𝜑𝑋 𝑋)
13 breq1 4621 . . . . . . . . 9 (𝑧 = 𝑋 → (𝑧 𝑋𝑋 𝑋))
14 breq1 4621 . . . . . . . . 9 (𝑧 = 𝑋 → (𝑧 𝑥𝑋 𝑥))
1513, 14imbi12d 334 . . . . . . . 8 (𝑧 = 𝑋 → ((𝑧 𝑋𝑧 𝑥) ↔ (𝑋 𝑋𝑋 𝑥)))
1615rspcva 3296 . . . . . . 7 ((𝑋𝐵 ∧ ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥)) → (𝑋 𝑋𝑋 𝑥))
1712, 16syl5com 31 . . . . . 6 (𝜑 → ((𝑋𝐵 ∧ ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥)) → 𝑋 𝑥))
187, 17mpand 710 . . . . 5 (𝜑 → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥) → 𝑋 𝑥))
1918adantr 481 . . . 4 ((𝜑𝑥𝐵) → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥) → 𝑋 𝑥))
20 idd 24 . . . . . . 7 (𝑧𝐵 → (𝑧 𝑋𝑧 𝑋))
2120rgen 2917 . . . . . 6 𝑧𝐵 (𝑧 𝑋𝑧 𝑋)
22 breq2 4622 . . . . . . . . . . 11 (𝑤 = 𝑋 → (𝑧 𝑤𝑧 𝑋))
2322imbi2d 330 . . . . . . . . . 10 (𝑤 = 𝑋 → ((𝑧 𝑋𝑧 𝑤) ↔ (𝑧 𝑋𝑧 𝑋)))
2423ralbidv 2981 . . . . . . . . 9 (𝑤 = 𝑋 → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) ↔ ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑋)))
25 breq2 4622 . . . . . . . . 9 (𝑤 = 𝑋 → (𝑥 𝑤𝑥 𝑋))
2624, 25imbi12d 334 . . . . . . . 8 (𝑤 = 𝑋 → ((∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤) ↔ (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑋) → 𝑥 𝑋)))
2726rspcv 3294 . . . . . . 7 (𝑋𝐵 → (∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤) → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑋) → 𝑥 𝑋)))
287, 27syl 17 . . . . . 6 (𝜑 → (∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤) → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑋) → 𝑥 𝑋)))
2921, 28mpii 46 . . . . 5 (𝜑 → (∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤) → 𝑥 𝑋))
3029adantr 481 . . . 4 ((𝜑𝑥𝐵) → (∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤) → 𝑥 𝑋))
318adantr 481 . . . . . . 7 ((𝜑𝑥𝐵) → 𝐾 ∈ Poset)
32 simpr 477 . . . . . . 7 ((𝜑𝑥𝐵) → 𝑥𝐵)
337adantr 481 . . . . . . 7 ((𝜑𝑥𝐵) → 𝑋𝐵)
349, 10posasymb 16884 . . . . . . 7 ((𝐾 ∈ Poset ∧ 𝑥𝐵𝑋𝐵) → ((𝑥 𝑋𝑋 𝑥) ↔ 𝑥 = 𝑋))
3531, 32, 33, 34syl3anc 1323 . . . . . 6 ((𝜑𝑥𝐵) → ((𝑥 𝑋𝑋 𝑥) ↔ 𝑥 = 𝑋))
3635biimpd 219 . . . . 5 ((𝜑𝑥𝐵) → ((𝑥 𝑋𝑋 𝑥) → 𝑥 = 𝑋))
3736ancomsd 470 . . . 4 ((𝜑𝑥𝐵) → ((𝑋 𝑥𝑥 𝑋) → 𝑥 = 𝑋))
3819, 30, 37syl2and 500 . . 3 ((𝜑𝑥𝐵) → ((∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥) ∧ ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤)) → 𝑥 = 𝑋))
39 breq2 4622 . . . . . . . 8 (𝑥 = 𝑋 → (𝑧 𝑥𝑧 𝑋))
4039biimprd 238 . . . . . . 7 (𝑥 = 𝑋 → (𝑧 𝑋𝑧 𝑥))
4140ralrimivw 2962 . . . . . 6 (𝑥 = 𝑋 → ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥))
4241adantl 482 . . . . 5 (((𝜑𝑥𝐵) ∧ 𝑥 = 𝑋) → ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥))
437adantr 481 . . . . . . . 8 ((𝜑𝑥 = 𝑋) → 𝑋𝐵)
44 breq1 4621 . . . . . . . . . . 11 (𝑧 = 𝑋 → (𝑧 𝑤𝑋 𝑤))
4513, 44imbi12d 334 . . . . . . . . . 10 (𝑧 = 𝑋 → ((𝑧 𝑋𝑧 𝑤) ↔ (𝑋 𝑋𝑋 𝑤)))
4645rspcva 3296 . . . . . . . . 9 ((𝑋𝐵 ∧ ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤)) → (𝑋 𝑋𝑋 𝑤))
47 pm5.5 351 . . . . . . . . . . 11 (𝑋 𝑋 → ((𝑋 𝑋𝑋 𝑤) ↔ 𝑋 𝑤))
4812, 47syl 17 . . . . . . . . . 10 (𝜑 → ((𝑋 𝑋𝑋 𝑤) ↔ 𝑋 𝑤))
49 breq1 4621 . . . . . . . . . . 11 (𝑥 = 𝑋 → (𝑥 𝑤𝑋 𝑤))
5049bicomd 213 . . . . . . . . . 10 (𝑥 = 𝑋 → (𝑋 𝑤𝑥 𝑤))
5148, 50sylan9bb 735 . . . . . . . . 9 ((𝜑𝑥 = 𝑋) → ((𝑋 𝑋𝑋 𝑤) ↔ 𝑥 𝑤))
5246, 51syl5ib 234 . . . . . . . 8 ((𝜑𝑥 = 𝑋) → ((𝑋𝐵 ∧ ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤)) → 𝑥 𝑤))
5343, 52mpand 710 . . . . . . 7 ((𝜑𝑥 = 𝑋) → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤))
5453ralrimivw 2962 . . . . . 6 ((𝜑𝑥 = 𝑋) → ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤))
5554adantlr 750 . . . . 5 (((𝜑𝑥𝐵) ∧ 𝑥 = 𝑋) → ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤))
5642, 55jca 554 . . . 4 (((𝜑𝑥𝐵) ∧ 𝑥 = 𝑋) → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥) ∧ ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤)))
5756ex 450 . . 3 ((𝜑𝑥𝐵) → (𝑥 = 𝑋 → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥) ∧ ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤))))
5838, 57impbid 202 . 2 ((𝜑𝑥𝐵) → ((∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥) ∧ ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤)) ↔ 𝑥 = 𝑋))
596, 58syl5bb 272 1 ((𝜑𝑥𝐵) → ((∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑥 ∧ ∀𝑤𝐵 (∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑤𝑥 𝑤)) ↔ 𝑥 = 𝑋))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384   = wceq 1480  wcel 1987  wral 2907  {crab 2911   class class class wbr 4618  cfv 5852  Basecbs 15792  lecple 15880  Posetcpo 16872  lubclub 16874
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-nul 4754
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ral 2912  df-rex 2913  df-rab 2916  df-v 3191  df-sbc 3422  df-dif 3562  df-un 3564  df-in 3566  df-ss 3573  df-nul 3897  df-if 4064  df-sn 4154  df-pr 4156  df-op 4160  df-uni 4408  df-br 4619  df-iota 5815  df-fv 5860  df-preset 16860  df-poset 16878
This theorem is referenced by:  lublecl  16921  lubid  16922
  Copyright terms: Public domain W3C validator