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 28998
Description: Lemma for toslub 28999 and xrsclat 29011. (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 758 . . . . 5 (((𝜑𝑎𝐵) ∧ 𝑏𝐴) → 𝐾 ∈ Toset)
3 simplr 788 . . . . 5 (((𝜑𝑎𝐵) ∧ 𝑏𝐴) → 𝑎𝐵)
4 toslub.2 . . . . . . 7 (𝜑𝐴𝐵)
54adantr 480 . . . . . 6 ((𝜑𝑎𝐵) → 𝐴𝐵)
65sselda 3568 . . . . 5 (((𝜑𝑎𝐵) ∧ 𝑏𝐴) → 𝑏𝐵)
7 toslub.b . . . . . 6 𝐵 = (Base‘𝐾)
8 toslub.e . . . . . 6 = (le‘𝐾)
9 toslub.l . . . . . 6 < = (lt‘𝐾)
107, 8, 9tltnle 28993 . . . . 5 ((𝐾 ∈ Toset ∧ 𝑎𝐵𝑏𝐵) → (𝑎 < 𝑏 ↔ ¬ 𝑏 𝑎))
112, 3, 6, 10syl3anc 1318 . . . 4 (((𝜑𝑎𝐵) ∧ 𝑏𝐴) → (𝑎 < 𝑏 ↔ ¬ 𝑏 𝑎))
1211con2bid 343 . . 3 (((𝜑𝑎𝐵) ∧ 𝑏𝐴) → (𝑏 𝑎 ↔ ¬ 𝑎 < 𝑏))
1312ralbidva 2968 . 2 ((𝜑𝑎𝐵) → (∀𝑏𝐴 𝑏 𝑎 ↔ ∀𝑏𝐴 ¬ 𝑎 < 𝑏))
144ad2antrr 758 . . . . . . . . . . 11 (((𝜑𝑐𝐵) ∧ 𝑏𝐴) → 𝐴𝐵)
15 simpr 476 . . . . . . . . . . 11 (((𝜑𝑐𝐵) ∧ 𝑏𝐴) → 𝑏𝐴)
1614, 15sseldd 3569 . . . . . . . . . 10 (((𝜑𝑐𝐵) ∧ 𝑏𝐴) → 𝑏𝐵)
177, 8, 9tltnle 28993 . . . . . . . . . . . . 13 ((𝐾 ∈ Toset ∧ 𝑐𝐵𝑏𝐵) → (𝑐 < 𝑏 ↔ ¬ 𝑏 𝑐))
181, 17syl3an1 1351 . . . . . . . . . . . 12 ((𝜑𝑐𝐵𝑏𝐵) → (𝑐 < 𝑏 ↔ ¬ 𝑏 𝑐))
19183expa 1257 . . . . . . . . . . 11 (((𝜑𝑐𝐵) ∧ 𝑏𝐵) → (𝑐 < 𝑏 ↔ ¬ 𝑏 𝑐))
2019con2bid 343 . . . . . . . . . 10 (((𝜑𝑐𝐵) ∧ 𝑏𝐵) → (𝑏 𝑐 ↔ ¬ 𝑐 < 𝑏))
2116, 20syldan 486 . . . . . . . . 9 (((𝜑𝑐𝐵) ∧ 𝑏𝐴) → (𝑏 𝑐 ↔ ¬ 𝑐 < 𝑏))
2221ralbidva 2968 . . . . . . . 8 ((𝜑𝑐𝐵) → (∀𝑏𝐴 𝑏 𝑐 ↔ ∀𝑏𝐴 ¬ 𝑐 < 𝑏))
23 breq2 4587 . . . . . . . . . . 11 (𝑏 = 𝑑 → (𝑐 < 𝑏𝑐 < 𝑑))
2423notbid 307 . . . . . . . . . 10 (𝑏 = 𝑑 → (¬ 𝑐 < 𝑏 ↔ ¬ 𝑐 < 𝑑))
2524cbvralv 3147 . . . . . . . . 9 (∀𝑏𝐴 ¬ 𝑐 < 𝑏 ↔ ∀𝑑𝐴 ¬ 𝑐 < 𝑑)
26 ralnex 2975 . . . . . . . . 9 (∀𝑑𝐴 ¬ 𝑐 < 𝑑 ↔ ¬ ∃𝑑𝐴 𝑐 < 𝑑)
2725, 26bitri 263 . . . . . . . 8 (∀𝑏𝐴 ¬ 𝑐 < 𝑏 ↔ ¬ ∃𝑑𝐴 𝑐 < 𝑑)
2822, 27syl6bb 275 . . . . . . 7 ((𝜑𝑐𝐵) → (∀𝑏𝐴 𝑏 𝑐 ↔ ¬ ∃𝑑𝐴 𝑐 < 𝑑))
2928adantlr 747 . . . . . 6 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → (∀𝑏𝐴 𝑏 𝑐 ↔ ¬ ∃𝑑𝐴 𝑐 < 𝑑))
301ad2antrr 758 . . . . . . . 8 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → 𝐾 ∈ Toset)
31 simpr 476 . . . . . . . 8 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → 𝑐𝐵)
32 simplr 788 . . . . . . . 8 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → 𝑎𝐵)
337, 8, 9tltnle 28993 . . . . . . . 8 ((𝐾 ∈ Toset ∧ 𝑐𝐵𝑎𝐵) → (𝑐 < 𝑎 ↔ ¬ 𝑎 𝑐))
3430, 31, 32, 33syl3anc 1318 . . . . . . 7 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → (𝑐 < 𝑎 ↔ ¬ 𝑎 𝑐))
3534con2bid 343 . . . . . 6 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → (𝑎 𝑐 ↔ ¬ 𝑐 < 𝑎))
3629, 35imbi12d 333 . . . . 5 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → ((∀𝑏𝐴 𝑏 𝑐𝑎 𝑐) ↔ (¬ ∃𝑑𝐴 𝑐 < 𝑑 → ¬ 𝑐 < 𝑎)))
37 con34b 305 . . . . 5 ((𝑐 < 𝑎 → ∃𝑑𝐴 𝑐 < 𝑑) ↔ (¬ ∃𝑑𝐴 𝑐 < 𝑑 → ¬ 𝑐 < 𝑎))
3836, 37syl6bbr 277 . . . 4 (((𝜑𝑎𝐵) ∧ 𝑐𝐵) → ((∀𝑏𝐴 𝑏 𝑐𝑎 𝑐) ↔ (𝑐 < 𝑎 → ∃𝑑𝐴 𝑐 < 𝑑)))
3938ralbidva 2968 . . 3 ((𝜑𝑎𝐵) → (∀𝑐𝐵 (∀𝑏𝐴 𝑏 𝑐𝑎 𝑐) ↔ ∀𝑐𝐵 (𝑐 < 𝑎 → ∃𝑑𝐴 𝑐 < 𝑑)))
40 breq1 4586 . . . . 5 (𝑏 = 𝑐 → (𝑏 < 𝑎𝑐 < 𝑎))
41 breq1 4586 . . . . . 6 (𝑏 = 𝑐 → (𝑏 < 𝑑𝑐 < 𝑑))
4241rexbidv 3034 . . . . 5 (𝑏 = 𝑐 → (∃𝑑𝐴 𝑏 < 𝑑 ↔ ∃𝑑𝐴 𝑐 < 𝑑))
4340, 42imbi12d 333 . . . 4 (𝑏 = 𝑐 → ((𝑏 < 𝑎 → ∃𝑑𝐴 𝑏 < 𝑑) ↔ (𝑐 < 𝑎 → ∃𝑑𝐴 𝑐 < 𝑑)))
4443cbvralv 3147 . . 3 (∀𝑏𝐵 (𝑏 < 𝑎 → ∃𝑑𝐴 𝑏 < 𝑑) ↔ ∀𝑐𝐵 (𝑐 < 𝑎 → ∃𝑑𝐴 𝑐 < 𝑑))
4539, 44syl6bbr 277 . 2 ((𝜑𝑎𝐵) → (∀𝑐𝐵 (∀𝑏𝐴 𝑏 𝑐𝑎 𝑐) ↔ ∀𝑏𝐵 (𝑏 < 𝑎 → ∃𝑑𝐴 𝑏 < 𝑑)))
4613, 45anbi12d 743 1 ((𝜑𝑎𝐵) → ((∀𝑏𝐴 𝑏 𝑎 ∧ ∀𝑐𝐵 (∀𝑏𝐴 𝑏 𝑐𝑎 𝑐)) ↔ (∀𝑏𝐴 ¬ 𝑎 < 𝑏 ∧ ∀𝑏𝐵 (𝑏 < 𝑎 → ∃𝑑𝐴 𝑏 < 𝑑))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wa 383   = wceq 1475  wcel 1977  wral 2896  wrex 2897  wss 3540   class class class wbr 4583  cfv 5804  Basecbs 15695  lecple 15775  ltcplt 16764  Tosetctos 16856
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-mpt 4645  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-iota 5768  df-fun 5806  df-fv 5812  df-preset 16751  df-poset 16769  df-plt 16781  df-toset 16857
This theorem is referenced by:  toslub  28999  xrsclat  29011
  Copyright terms: Public domain W3C validator