Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  toslublem Structured version   Visualization version   GIF version

Theorem toslublem 32952
Description: Lemma for toslub 32953 and xrsclat 33003. (Contributed by Thierry Arnoux, 17-Feb-2018.) (Revised by NM, 15-Sep-2018.)
Hypotheses
Ref Expression
toslub.b 𝐵 = (Base‘𝐾)
toslub.l < = (lt‘𝐾)
toslub.1 (𝜑𝐾 ∈ Toset)
toslub.2 (𝜑𝐴𝐵)
toslub.e = (le‘𝐾)
Assertion
Ref Expression
toslublem ((𝜑𝑎𝐵) → ((∀𝑏𝐴 𝑏 𝑎 ∧ ∀𝑐𝐵 (∀𝑏𝐴 𝑏 𝑐𝑎 𝑐)) ↔ (∀𝑏𝐴 ¬ 𝑎 < 𝑏 ∧ ∀𝑏𝐵 (𝑏 < 𝑎 → ∃𝑑𝐴 𝑏 < 𝑑))))
Distinct variable groups:   𝑎,𝑏,𝑐,𝑑, <   𝐴,𝑎,𝑏,𝑐,𝑑   𝐵,𝑎,𝑏,𝑐,𝑑   𝐾,𝑎,𝑏,𝑐   𝜑,𝑎,𝑏,𝑐
Allowed substitution hints:   𝜑(𝑑)   𝐾(𝑑)   (𝑎,𝑏,𝑐,𝑑)

Proof of Theorem toslublem
StepHypRef Expression
1 toslub.1 . . . . . 6 (𝜑𝐾 ∈ Toset)
21ad2antrr 726 . . . . 5 (((𝜑𝑎𝐵) ∧ 𝑏𝐴) → 𝐾 ∈ Toset)
3 simplr 768 . . . . 5 (((𝜑𝑎𝐵) ∧ 𝑏𝐴) → 𝑎𝐵)
4 toslub.2 . . . . . . 7 (𝜑𝐴𝐵)
54adantr 480 . . . . . 6 ((𝜑𝑎𝐵) → 𝐴𝐵)
65sselda 3958 . . . . 5 (((𝜑𝑎𝐵) ∧ 𝑏𝐴) → 𝑏𝐵)
7 toslub.b . . . . . 6 𝐵 = (Base‘𝐾)
8 toslub.e . . . . . 6 = (le‘𝐾)
9 toslub.l . . . . . 6 < = (lt‘𝐾)
107, 8, 9tltnle 18432 . . . . 5 ((𝐾 ∈ Toset ∧ 𝑎𝐵𝑏𝐵) → (𝑎 < 𝑏 ↔ ¬ 𝑏 𝑎))
112, 3, 6, 10syl3anc 1373 . . . 4 (((𝜑𝑎𝐵) ∧ 𝑏𝐴) → (𝑎 < 𝑏 ↔ ¬ 𝑏 𝑎))
1211con2bid 354 . . 3 (((𝜑𝑎𝐵) ∧ 𝑏𝐴) → (𝑏 𝑎 ↔ ¬ 𝑎 < 𝑏))
1312ralbidva 3161 . 2 ((𝜑𝑎𝐵) → (∀𝑏𝐴 𝑏 𝑎 ↔ ∀𝑏𝐴 ¬ 𝑎 < 𝑏))
144ad2antrr 726 . . . . . . . . . . 11 (((𝜑𝑐𝐵) ∧ 𝑏𝐴) → 𝐴𝐵)
15 simpr 484 . . . . . . . . . . 11 (((𝜑𝑐𝐵) ∧ 𝑏𝐴) → 𝑏𝐴)
1614, 15sseldd 3959 . . . . . . . . . 10 (((𝜑𝑐𝐵) ∧ 𝑏𝐴) → 𝑏𝐵)
177, 8, 9tltnle 18432 . . . . . . . . . . . . 13 ((𝐾 ∈ Toset ∧ 𝑐𝐵𝑏𝐵) → (𝑐 < 𝑏 ↔ ¬ 𝑏 𝑐))
181, 17syl3an1 1163 . . . . . . . . . . . 12 ((𝜑𝑐𝐵𝑏𝐵) → (𝑐 < 𝑏 ↔ ¬ 𝑏 𝑐))
19183expa 1118 . . . . . . . . . . 11 (((𝜑𝑐𝐵) ∧ 𝑏𝐵) → (𝑐 < 𝑏 ↔ ¬ 𝑏 𝑐))
2019con2bid 354 . . . . . . . . . 10 (((𝜑𝑐𝐵) ∧ 𝑏𝐵) → (𝑏 𝑐 ↔ ¬ 𝑐 < 𝑏))
2116, 20syldan 591 . . . . . . . . 9 (((𝜑𝑐𝐵) ∧ 𝑏𝐴) → (𝑏 𝑐 ↔ ¬ 𝑐 < 𝑏))
2221ralbidva 3161 . . . . . . . 8 ((𝜑𝑐𝐵) → (∀𝑏𝐴 𝑏 𝑐 ↔ ∀𝑏𝐴 ¬ 𝑐 < 𝑏))
23 breq2 5123 . . . . . . . . . . 11 (𝑏 = 𝑑 → (𝑐 < 𝑏𝑐 < 𝑑))
2423notbid 318 . . . . . . . . . 10 (𝑏 = 𝑑 → (¬ 𝑐 < 𝑏 ↔ ¬ 𝑐 < 𝑑))
2524cbvralvw 3220 . . . . . . . . 9 (∀𝑏𝐴 ¬ 𝑐 < 𝑏 ↔ ∀𝑑𝐴 ¬ 𝑐 < 𝑑)
26 ralnex 3062 . . . . . . . . 9 (∀𝑑𝐴 ¬ 𝑐 < 𝑑 ↔ ¬ ∃𝑑𝐴 𝑐 < 𝑑)
2725, 26bitri 275 . . . . . . . 8 (∀𝑏𝐴 ¬ 𝑐 < 𝑏 ↔ ¬ ∃𝑑𝐴 𝑐 < 𝑑)
2822, 27bitrdi 287 . . . . . . 7 ((𝜑𝑐𝐵) → (∀𝑏𝐴 𝑏 𝑐 ↔ ¬ ∃𝑑𝐴 𝑐 < 𝑑))
2928adantlr 715 . . . . . 6 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → (∀𝑏𝐴 𝑏 𝑐 ↔ ¬ ∃𝑑𝐴 𝑐 < 𝑑))
301ad2antrr 726 . . . . . . . 8 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → 𝐾 ∈ Toset)
31 simpr 484 . . . . . . . 8 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → 𝑐𝐵)
32 simplr 768 . . . . . . . 8 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → 𝑎𝐵)
337, 8, 9tltnle 18432 . . . . . . . 8 ((𝐾 ∈ Toset ∧ 𝑐𝐵𝑎𝐵) → (𝑐 < 𝑎 ↔ ¬ 𝑎 𝑐))
3430, 31, 32, 33syl3anc 1373 . . . . . . 7 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → (𝑐 < 𝑎 ↔ ¬ 𝑎 𝑐))
3534con2bid 354 . . . . . 6 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → (𝑎 𝑐 ↔ ¬ 𝑐 < 𝑎))
3629, 35imbi12d 344 . . . . 5 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → ((∀𝑏𝐴 𝑏 𝑐𝑎 𝑐) ↔ (¬ ∃𝑑𝐴 𝑐 < 𝑑 → ¬ 𝑐 < 𝑎)))
37 con34b 316 . . . . 5 ((𝑐 < 𝑎 → ∃𝑑𝐴 𝑐 < 𝑑) ↔ (¬ ∃𝑑𝐴 𝑐 < 𝑑 → ¬ 𝑐 < 𝑎))
3836, 37bitr4di 289 . . . 4 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → ((∀𝑏𝐴 𝑏 𝑐𝑎 𝑐) ↔ (𝑐 < 𝑎 → ∃𝑑𝐴 𝑐 < 𝑑)))
3938ralbidva 3161 . . 3 ((𝜑𝑎𝐵) → (∀𝑐𝐵 (∀𝑏𝐴 𝑏 𝑐𝑎 𝑐) ↔ ∀𝑐𝐵 (𝑐 < 𝑎 → ∃𝑑𝐴 𝑐 < 𝑑)))
40 breq1 5122 . . . . 5 (𝑏 = 𝑐 → (𝑏 < 𝑎𝑐 < 𝑎))
41 breq1 5122 . . . . . 6 (𝑏 = 𝑐 → (𝑏 < 𝑑𝑐 < 𝑑))
4241rexbidv 3164 . . . . 5 (𝑏 = 𝑐 → (∃𝑑𝐴 𝑏 < 𝑑 ↔ ∃𝑑𝐴 𝑐 < 𝑑))
4340, 42imbi12d 344 . . . 4 (𝑏 = 𝑐 → ((𝑏 < 𝑎 → ∃𝑑𝐴 𝑏 < 𝑑) ↔ (𝑐 < 𝑎 → ∃𝑑𝐴 𝑐 < 𝑑)))
4443cbvralvw 3220 . . 3 (∀𝑏𝐵 (𝑏 < 𝑎 → ∃𝑑𝐴 𝑏 < 𝑑) ↔ ∀𝑐𝐵 (𝑐 < 𝑎 → ∃𝑑𝐴 𝑐 < 𝑑))
4539, 44bitr4di 289 . 2 ((𝜑𝑎𝐵) → (∀𝑐𝐵 (∀𝑏𝐴 𝑏 𝑐𝑎 𝑐) ↔ ∀𝑏𝐵 (𝑏 < 𝑎 → ∃𝑑𝐴 𝑏 < 𝑑)))
4613, 45anbi12d 632 1 ((𝜑𝑎𝐵) → ((∀𝑏𝐴 𝑏 𝑎 ∧ ∀𝑐𝐵 (∀𝑏𝐴 𝑏 𝑐𝑎 𝑐)) ↔ (∀𝑏𝐴 ¬ 𝑎 < 𝑏 ∧ ∀𝑏𝐵 (𝑏 < 𝑎 → ∃𝑑𝐴 𝑏 < 𝑑))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 206  wa 395   = wceq 1540  wcel 2108  wral 3051  wrex 3060  wss 3926   class class class wbr 5119  cfv 6531  Basecbs 17228  lecple 17278  ltcplt 18320  Tosetctos 18426
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2157  ax-12 2177  ax-ext 2707  ax-sep 5266  ax-nul 5276  ax-pr 5402
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2065  df-mo 2539  df-eu 2568  df-clab 2714  df-cleq 2727  df-clel 2809  df-nfc 2885  df-ne 2933  df-ral 3052  df-rex 3061  df-rab 3416  df-v 3461  df-sbc 3766  df-dif 3929  df-un 3931  df-in 3933  df-ss 3943  df-nul 4309  df-if 4501  df-sn 4602  df-pr 4604  df-op 4608  df-uni 4884  df-br 5120  df-opab 5182  df-mpt 5202  df-id 5548  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-iota 6484  df-fun 6533  df-fv 6539  df-proset 18306  df-poset 18325  df-plt 18340  df-toset 18427
This theorem is referenced by:  toslub  32953  xrsclat  33003
  Copyright terms: Public domain W3C validator