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

Theorem lublecllem 18078
Description: Lemma for lublecl 18079 and lubid 18080. (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 5077 . . . 4 (𝑦 = 𝑧 → (𝑦 𝑋𝑧 𝑋))
21ralrab 3630 . . 3 (∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑥 ↔ ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥))
31ralrab 3630 . . . . 5 (∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑤 ↔ ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤))
43imbi1i 350 . . . 4 ((∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑤𝑥 𝑤) ↔ (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤))
54ralbii 3092 . . 3 (∀𝑤𝐵 (∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑤𝑥 𝑤) ↔ ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤))
62, 5anbi12i 627 . 2 ((∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑥 ∧ ∀𝑤𝐵 (∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑤𝑥 𝑤)) ↔ (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥) ∧ ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤)))
7 lublecl.x . . . . . 6 (𝜑𝑋𝐵)
8 lublecl.k . . . . . . . 8 (𝜑𝐾 ∈ Poset)
9 lublecl.b . . . . . . . . 9 𝐵 = (Base‘𝐾)
10 lublecl.l . . . . . . . . 9 = (le‘𝐾)
119, 10posref 18036 . . . . . . . 8 ((𝐾 ∈ Poset ∧ 𝑋𝐵) → 𝑋 𝑋)
128, 7, 11syl2anc 584 . . . . . . 7 (𝜑𝑋 𝑋)
13 breq1 5077 . . . . . . . . 9 (𝑧 = 𝑋 → (𝑧 𝑋𝑋 𝑋))
14 breq1 5077 . . . . . . . . 9 (𝑧 = 𝑋 → (𝑧 𝑥𝑋 𝑥))
1513, 14imbi12d 345 . . . . . . . 8 (𝑧 = 𝑋 → ((𝑧 𝑋𝑧 𝑥) ↔ (𝑋 𝑋𝑋 𝑥)))
1615rspcva 3559 . . . . . . 7 ((𝑋𝐵 ∧ ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥)) → (𝑋 𝑋𝑋 𝑥))
1712, 16syl5com 31 . . . . . 6 (𝜑 → ((𝑋𝐵 ∧ ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥)) → 𝑋 𝑥))
187, 17mpand 692 . . . . 5 (𝜑 → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥) → 𝑋 𝑥))
1918adantr 481 . . . 4 ((𝜑𝑥𝐵) → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥) → 𝑋 𝑥))
20 idd 24 . . . . . . 7 (𝑧𝐵 → (𝑧 𝑋𝑧 𝑋))
2120rgen 3074 . . . . . 6 𝑧𝐵 (𝑧 𝑋𝑧 𝑋)
22 breq2 5078 . . . . . . . . . . 11 (𝑤 = 𝑋 → (𝑧 𝑤𝑧 𝑋))
2322imbi2d 341 . . . . . . . . . 10 (𝑤 = 𝑋 → ((𝑧 𝑋𝑧 𝑤) ↔ (𝑧 𝑋𝑧 𝑋)))
2423ralbidv 3112 . . . . . . . . 9 (𝑤 = 𝑋 → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) ↔ ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑋)))
25 breq2 5078 . . . . . . . . 9 (𝑤 = 𝑋 → (𝑥 𝑤𝑥 𝑋))
2624, 25imbi12d 345 . . . . . . . 8 (𝑤 = 𝑋 → ((∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤) ↔ (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑋) → 𝑥 𝑋)))
2726rspcv 3557 . . . . . . 7 (𝑋𝐵 → (∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤) → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑋) → 𝑥 𝑋)))
287, 27syl 17 . . . . . 6 (𝜑 → (∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤) → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑋) → 𝑥 𝑋)))
2921, 28mpii 46 . . . . 5 (𝜑 → (∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤) → 𝑥 𝑋))
3029adantr 481 . . . 4 ((𝜑𝑥𝐵) → (∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤) → 𝑥 𝑋))
318adantr 481 . . . . . . 7 ((𝜑𝑥𝐵) → 𝐾 ∈ Poset)
32 simpr 485 . . . . . . 7 ((𝜑𝑥𝐵) → 𝑥𝐵)
337adantr 481 . . . . . . 7 ((𝜑𝑥𝐵) → 𝑋𝐵)
349, 10posasymb 18037 . . . . . . 7 ((𝐾 ∈ Poset ∧ 𝑥𝐵𝑋𝐵) → ((𝑥 𝑋𝑋 𝑥) ↔ 𝑥 = 𝑋))
3531, 32, 33, 34syl3anc 1370 . . . . . 6 ((𝜑𝑥𝐵) → ((𝑥 𝑋𝑋 𝑥) ↔ 𝑥 = 𝑋))
3635biimpd 228 . . . . 5 ((𝜑𝑥𝐵) → ((𝑥 𝑋𝑋 𝑥) → 𝑥 = 𝑋))
3736ancomsd 466 . . . 4 ((𝜑𝑥𝐵) → ((𝑋 𝑥𝑥 𝑋) → 𝑥 = 𝑋))
3819, 30, 37syl2and 608 . . 3 ((𝜑𝑥𝐵) → ((∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥) ∧ ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤)) → 𝑥 = 𝑋))
39 breq2 5078 . . . . . . . 8 (𝑥 = 𝑋 → (𝑧 𝑥𝑧 𝑋))
4039biimprd 247 . . . . . . 7 (𝑥 = 𝑋 → (𝑧 𝑋𝑧 𝑥))
4140ralrimivw 3104 . . . . . 6 (𝑥 = 𝑋 → ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥))
4241adantl 482 . . . . 5 (((𝜑𝑥𝐵) ∧ 𝑥 = 𝑋) → ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥))
437adantr 481 . . . . . . . 8 ((𝜑𝑥 = 𝑋) → 𝑋𝐵)
44 breq1 5077 . . . . . . . . . . 11 (𝑧 = 𝑋 → (𝑧 𝑤𝑋 𝑤))
4513, 44imbi12d 345 . . . . . . . . . 10 (𝑧 = 𝑋 → ((𝑧 𝑋𝑧 𝑤) ↔ (𝑋 𝑋𝑋 𝑤)))
4645rspcva 3559 . . . . . . . . 9 ((𝑋𝐵 ∧ ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤)) → (𝑋 𝑋𝑋 𝑤))
47 pm5.5 362 . . . . . . . . . . 11 (𝑋 𝑋 → ((𝑋 𝑋𝑋 𝑤) ↔ 𝑋 𝑤))
4812, 47syl 17 . . . . . . . . . 10 (𝜑 → ((𝑋 𝑋𝑋 𝑤) ↔ 𝑋 𝑤))
49 breq1 5077 . . . . . . . . . . 11 (𝑥 = 𝑋 → (𝑥 𝑤𝑋 𝑤))
5049bicomd 222 . . . . . . . . . 10 (𝑥 = 𝑋 → (𝑋 𝑤𝑥 𝑤))
5148, 50sylan9bb 510 . . . . . . . . 9 ((𝜑𝑥 = 𝑋) → ((𝑋 𝑋𝑋 𝑤) ↔ 𝑥 𝑤))
5246, 51syl5ib 243 . . . . . . . 8 ((𝜑𝑥 = 𝑋) → ((𝑋𝐵 ∧ ∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤)) → 𝑥 𝑤))
5343, 52mpand 692 . . . . . . 7 ((𝜑𝑥 = 𝑋) → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤))
5453ralrimivw 3104 . . . . . 6 ((𝜑𝑥 = 𝑋) → ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤))
5554adantlr 712 . . . . 5 (((𝜑𝑥𝐵) ∧ 𝑥 = 𝑋) → ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤))
5642, 55jca 512 . . . 4 (((𝜑𝑥𝐵) ∧ 𝑥 = 𝑋) → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥) ∧ ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤)))
5756ex 413 . . 3 ((𝜑𝑥𝐵) → (𝑥 = 𝑋 → (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥) ∧ ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤))))
5838, 57impbid 211 . 2 ((𝜑𝑥𝐵) → ((∀𝑧𝐵 (𝑧 𝑋𝑧 𝑥) ∧ ∀𝑤𝐵 (∀𝑧𝐵 (𝑧 𝑋𝑧 𝑤) → 𝑥 𝑤)) ↔ 𝑥 = 𝑋))
596, 58bitrid 282 1 ((𝜑𝑥𝐵) → ((∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑥 ∧ ∀𝑤𝐵 (∀𝑧 ∈ {𝑦𝐵𝑦 𝑋}𝑧 𝑤𝑥 𝑤)) ↔ 𝑥 = 𝑋))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wcel 2106  wral 3064  {crab 3068   class class class wbr 5074  cfv 6433  Basecbs 16912  lecple 16969  Posetcpo 18025  lubclub 18027
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-nul 5230
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-iota 6391  df-fv 6441  df-proset 18013  df-poset 18031
This theorem is referenced by:  lublecl  18079  lubid  18080
  Copyright terms: Public domain W3C validator