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 32945
Description: Lemma for toslub 32946 and xrsclat 32994. (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 725 . . . . 5 (((𝜑𝑎𝐵) ∧ 𝑏𝐴) → 𝐾 ∈ Toset)
3 simplr 768 . . . . 5 (((𝜑𝑎𝐵) ∧ 𝑏𝐴) → 𝑎𝐵)
4 toslub.2 . . . . . . 7 (𝜑𝐴𝐵)
54adantr 480 . . . . . 6 ((𝜑𝑎𝐵) → 𝐴𝐵)
65sselda 4008 . . . . 5 (((𝜑𝑎𝐵) ∧ 𝑏𝐴) → 𝑏𝐵)
7 toslub.b . . . . . 6 𝐵 = (Base‘𝐾)
8 toslub.e . . . . . 6 = (le‘𝐾)
9 toslub.l . . . . . 6 < = (lt‘𝐾)
107, 8, 9tltnle 18492 . . . . 5 ((𝐾 ∈ Toset ∧ 𝑎𝐵𝑏𝐵) → (𝑎 < 𝑏 ↔ ¬ 𝑏 𝑎))
112, 3, 6, 10syl3anc 1371 . . . 4 (((𝜑𝑎𝐵) ∧ 𝑏𝐴) → (𝑎 < 𝑏 ↔ ¬ 𝑏 𝑎))
1211con2bid 354 . . 3 (((𝜑𝑎𝐵) ∧ 𝑏𝐴) → (𝑏 𝑎 ↔ ¬ 𝑎 < 𝑏))
1312ralbidva 3182 . 2 ((𝜑𝑎𝐵) → (∀𝑏𝐴 𝑏 𝑎 ↔ ∀𝑏𝐴 ¬ 𝑎 < 𝑏))
144ad2antrr 725 . . . . . . . . . . 11 (((𝜑𝑐𝐵) ∧ 𝑏𝐴) → 𝐴𝐵)
15 simpr 484 . . . . . . . . . . 11 (((𝜑𝑐𝐵) ∧ 𝑏𝐴) → 𝑏𝐴)
1614, 15sseldd 4009 . . . . . . . . . 10 (((𝜑𝑐𝐵) ∧ 𝑏𝐴) → 𝑏𝐵)
177, 8, 9tltnle 18492 . . . . . . . . . . . . 13 ((𝐾 ∈ Toset ∧ 𝑐𝐵𝑏𝐵) → (𝑐 < 𝑏 ↔ ¬ 𝑏 𝑐))
181, 17syl3an1 1163 . . . . . . . . . . . 12 ((𝜑𝑐𝐵𝑏𝐵) → (𝑐 < 𝑏 ↔ ¬ 𝑏 𝑐))
19183expa 1118 . . . . . . . . . . 11 (((𝜑𝑐𝐵) ∧ 𝑏𝐵) → (𝑐 < 𝑏 ↔ ¬ 𝑏 𝑐))
2019con2bid 354 . . . . . . . . . 10 (((𝜑𝑐𝐵) ∧ 𝑏𝐵) → (𝑏 𝑐 ↔ ¬ 𝑐 < 𝑏))
2116, 20syldan 590 . . . . . . . . 9 (((𝜑𝑐𝐵) ∧ 𝑏𝐴) → (𝑏 𝑐 ↔ ¬ 𝑐 < 𝑏))
2221ralbidva 3182 . . . . . . . 8 ((𝜑𝑐𝐵) → (∀𝑏𝐴 𝑏 𝑐 ↔ ∀𝑏𝐴 ¬ 𝑐 < 𝑏))
23 breq2 5170 . . . . . . . . . . 11 (𝑏 = 𝑑 → (𝑐 < 𝑏𝑐 < 𝑑))
2423notbid 318 . . . . . . . . . 10 (𝑏 = 𝑑 → (¬ 𝑐 < 𝑏 ↔ ¬ 𝑐 < 𝑑))
2524cbvralvw 3243 . . . . . . . . 9 (∀𝑏𝐴 ¬ 𝑐 < 𝑏 ↔ ∀𝑑𝐴 ¬ 𝑐 < 𝑑)
26 ralnex 3078 . . . . . . . . 9 (∀𝑑𝐴 ¬ 𝑐 < 𝑑 ↔ ¬ ∃𝑑𝐴 𝑐 < 𝑑)
2725, 26bitri 275 . . . . . . . 8 (∀𝑏𝐴 ¬ 𝑐 < 𝑏 ↔ ¬ ∃𝑑𝐴 𝑐 < 𝑑)
2822, 27bitrdi 287 . . . . . . 7 ((𝜑𝑐𝐵) → (∀𝑏𝐴 𝑏 𝑐 ↔ ¬ ∃𝑑𝐴 𝑐 < 𝑑))
2928adantlr 714 . . . . . 6 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → (∀𝑏𝐴 𝑏 𝑐 ↔ ¬ ∃𝑑𝐴 𝑐 < 𝑑))
301ad2antrr 725 . . . . . . . 8 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → 𝐾 ∈ Toset)
31 simpr 484 . . . . . . . 8 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → 𝑐𝐵)
32 simplr 768 . . . . . . . 8 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → 𝑎𝐵)
337, 8, 9tltnle 18492 . . . . . . . 8 ((𝐾 ∈ Toset ∧ 𝑐𝐵𝑎𝐵) → (𝑐 < 𝑎 ↔ ¬ 𝑎 𝑐))
3430, 31, 32, 33syl3anc 1371 . . . . . . 7 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → (𝑐 < 𝑎 ↔ ¬ 𝑎 𝑐))
3534con2bid 354 . . . . . 6 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → (𝑎 𝑐 ↔ ¬ 𝑐 < 𝑎))
3629, 35imbi12d 344 . . . . 5 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → ((∀𝑏𝐴 𝑏 𝑐𝑎 𝑐) ↔ (¬ ∃𝑑𝐴 𝑐 < 𝑑 → ¬ 𝑐 < 𝑎)))
37 con34b 316 . . . . 5 ((𝑐 < 𝑎 → ∃𝑑𝐴 𝑐 < 𝑑) ↔ (¬ ∃𝑑𝐴 𝑐 < 𝑑 → ¬ 𝑐 < 𝑎))
3836, 37bitr4di 289 . . . 4 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → ((∀𝑏𝐴 𝑏 𝑐𝑎 𝑐) ↔ (𝑐 < 𝑎 → ∃𝑑𝐴 𝑐 < 𝑑)))
3938ralbidva 3182 . . 3 ((𝜑𝑎𝐵) → (∀𝑐𝐵 (∀𝑏𝐴 𝑏 𝑐𝑎 𝑐) ↔ ∀𝑐𝐵 (𝑐 < 𝑎 → ∃𝑑𝐴 𝑐 < 𝑑)))
40 breq1 5169 . . . . 5 (𝑏 = 𝑐 → (𝑏 < 𝑎𝑐 < 𝑎))
41 breq1 5169 . . . . . 6 (𝑏 = 𝑐 → (𝑏 < 𝑑𝑐 < 𝑑))
4241rexbidv 3185 . . . . 5 (𝑏 = 𝑐 → (∃𝑑𝐴 𝑏 < 𝑑 ↔ ∃𝑑𝐴 𝑐 < 𝑑))
4340, 42imbi12d 344 . . . 4 (𝑏 = 𝑐 → ((𝑏 < 𝑎 → ∃𝑑𝐴 𝑏 < 𝑑) ↔ (𝑐 < 𝑎 → ∃𝑑𝐴 𝑐 < 𝑑)))
4443cbvralvw 3243 . . 3 (∀𝑏𝐵 (𝑏 < 𝑎 → ∃𝑑𝐴 𝑏 < 𝑑) ↔ ∀𝑐𝐵 (𝑐 < 𝑎 → ∃𝑑𝐴 𝑐 < 𝑑))
4539, 44bitr4di 289 . 2 ((𝜑𝑎𝐵) → (∀𝑐𝐵 (∀𝑏𝐴 𝑏 𝑐𝑎 𝑐) ↔ ∀𝑏𝐵 (𝑏 < 𝑎 → ∃𝑑𝐴 𝑏 < 𝑑)))
4613, 45anbi12d 631 1 ((𝜑𝑎𝐵) → ((∀𝑏𝐴 𝑏 𝑎 ∧ ∀𝑐𝐵 (∀𝑏𝐴 𝑏 𝑐𝑎 𝑐)) ↔ (∀𝑏𝐴 ¬ 𝑎 < 𝑏 ∧ ∀𝑏𝐵 (𝑏 < 𝑎 → ∃𝑑𝐴 𝑏 < 𝑑))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 206  wa 395   = wceq 1537  wcel 2108  wral 3067  wrex 3076  wss 3976   class class class wbr 5166  cfv 6573  Basecbs 17258  lecple 17318  ltcplt 18378  Tosetctos 18486
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711  ax-sep 5317  ax-nul 5324  ax-pr 5447
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2065  df-mo 2543  df-eu 2572  df-clab 2718  df-cleq 2732  df-clel 2819  df-nfc 2895  df-ne 2947  df-ral 3068  df-rex 3077  df-rab 3444  df-v 3490  df-sbc 3805  df-dif 3979  df-un 3981  df-in 3983  df-ss 3993  df-nul 4353  df-if 4549  df-sn 4649  df-pr 4651  df-op 4655  df-uni 4932  df-br 5167  df-opab 5229  df-mpt 5250  df-id 5593  df-xp 5706  df-rel 5707  df-cnv 5708  df-co 5709  df-dm 5710  df-iota 6525  df-fun 6575  df-fv 6581  df-proset 18365  df-poset 18383  df-plt 18400  df-toset 18487
This theorem is referenced by:  toslub  32946  xrsclat  32994
  Copyright terms: Public domain W3C validator