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 33768
Description: Lemma for toslub 33769 and xrsclat 33810. (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 739 . . . . 5 (((𝜑 ∧ 𝑎 ∈ 𝐵) ∧ 𝑏 ∈ 𝐴) → 𝐾 ∈ Toset)
3 simplr 781 . . . . 5 (((𝜑 ∧ 𝑎 ∈ 𝐵) ∧ 𝑏 ∈ 𝐴) → 𝑎 ∈ 𝐵)
4 toslub.2 . . . . . . 7 (𝜑 → 𝐴 ⊆ 𝐵)
54adantr 486 . . . . . 6 ((𝜑 ∧ 𝑎 ∈ 𝐵) → 𝐴 ⊆ 𝐵)
65sselda 3920 . . . . 5 (((𝜑 ∧ 𝑎 ∈ 𝐵) ∧ 𝑏 ∈ 𝐴) → 𝑏 ∈ 𝐵)
7 toslub.b . . . . . 6 𝐵 = (Base‘𝐾)
8 toslub.e . . . . . 6 ≤ = (le‘𝐾)
9 toslub.l . . . . . 6 < = (lt‘𝐾)
107, 8, 9tltnle 18673 . . . . 5 ((𝐾 ∈ Toset ∧ 𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵) → (𝑎 < 𝑏 ↔ ¬ 𝑏 ≤ 𝑎))
112, 3, 6, 10syl3anc 1401 . . . 4 (((𝜑 ∧ 𝑎 ∈ 𝐵) ∧ 𝑏 ∈ 𝐴) → (𝑎 < 𝑏 ↔ ¬ 𝑏 ≤ 𝑎))
1211con2bid 357 . . 3 (((𝜑 ∧ 𝑎 ∈ 𝐵) ∧ 𝑏 ∈ 𝐴) → (𝑏 ≤ 𝑎 ↔ ¬ 𝑎 < 𝑏))
1312ralbidva 3198 . 2 ((𝜑 ∧ 𝑎 ∈ 𝐵) → (∀𝑏 ∈ 𝐴 𝑏 ≤ 𝑎 ↔ ∀𝑏 ∈ 𝐴 ¬ 𝑎 < 𝑏))
144ad2antrr 739 . . . . . . . . . . 11 (((𝜑 ∧ 𝑐 ∈ 𝐵) ∧ 𝑏 ∈ 𝐴) → 𝐴 ⊆ 𝐵)
15 simpr 490 . . . . . . . . . . 11 (((𝜑 ∧ 𝑐 ∈ 𝐵) ∧ 𝑏 ∈ 𝐴) → 𝑏 ∈ 𝐴)
1614, 15sseldd 3921 . . . . . . . . . 10 (((𝜑 ∧ 𝑐 ∈ 𝐵) ∧ 𝑏 ∈ 𝐴) → 𝑏 ∈ 𝐵)
177, 8, 9tltnle 18673 . . . . . . . . . . . . 13 ((𝐾 ∈ Toset ∧ 𝑐 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵) → (𝑐 < 𝑏 ↔ ¬ 𝑏 ≤ 𝑐))
181, 17syl3an1 1183 . . . . . . . . . . . 12 ((𝜑 ∧ 𝑐 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵) → (𝑐 < 𝑏 ↔ ¬ 𝑏 ≤ 𝑐))
19183expa 1137 . . . . . . . . . . 11 (((𝜑 ∧ 𝑐 ∈ 𝐵) ∧ 𝑏 ∈ 𝐵) → (𝑐 < 𝑏 ↔ ¬ 𝑏 ≤ 𝑐))
2019con2bid 357 . . . . . . . . . 10 (((𝜑 ∧ 𝑐 ∈ 𝐵) ∧ 𝑏 ∈ 𝐵) → (𝑏 ≤ 𝑐 ↔ ¬ 𝑐 < 𝑏))
2116, 20syldan 603 . . . . . . . . 9 (((𝜑 ∧ 𝑐 ∈ 𝐵) ∧ 𝑏 ∈ 𝐴) → (𝑏 ≤ 𝑐 ↔ ¬ 𝑐 < 𝑏))
2221ralbidva 3198 . . . . . . . 8 ((𝜑 ∧ 𝑐 ∈ 𝐵) → (∀𝑏 ∈ 𝐴 𝑏 ≤ 𝑐 ↔ ∀𝑏 ∈ 𝐴 ¬ 𝑐 < 𝑏))
23 breq2 5120 . . . . . . . . . . 11 (𝑏 = 𝑑 → (𝑐 < 𝑏 ↔ 𝑐 < 𝑑))
2423notbid 321 . . . . . . . . . 10 (𝑏 = 𝑑 → (¬ 𝑐 < 𝑏 ↔ ¬ 𝑐 < 𝑑))
2524cbvralvw 3252 . . . . . . . . 9 (∀𝑏 ∈ 𝐴 ¬ 𝑐 < 𝑏 ↔ ∀𝑑 ∈ 𝐴 ¬ 𝑐 < 𝑑)
26 ralnex 3103 . . . . . . . . 9 (∀𝑑 ∈ 𝐴 ¬ 𝑐 < 𝑑 ↔ ¬ ∃𝑑 ∈ 𝐴 𝑐 < 𝑑)
2725, 26bitri 278 . . . . . . . 8 (∀𝑏 ∈ 𝐴 ¬ 𝑐 < 𝑏 ↔ ¬ ∃𝑑 ∈ 𝐴 𝑐 < 𝑑)
2822, 27bitrdi 290 . . . . . . 7 ((𝜑 ∧ 𝑐 ∈ 𝐵) → (∀𝑏 ∈ 𝐴 𝑏 ≤ 𝑐 ↔ ¬ ∃𝑑 ∈ 𝐴 𝑐 < 𝑑))
2928adantlr 728 . . . . . 6 (((𝜑 ∧ 𝑎 ∈ 𝐵) ∧ 𝑐 ∈ 𝐵) → (∀𝑏 ∈ 𝐴 𝑏 ≤ 𝑐 ↔ ¬ ∃𝑑 ∈ 𝐴 𝑐 < 𝑑))
301ad2antrr 739 . . . . . . . 8 (((𝜑 ∧ 𝑎 ∈ 𝐵) ∧ 𝑐 ∈ 𝐵) → 𝐾 ∈ Toset)
31 simpr 490 . . . . . . . 8 (((𝜑 ∧ 𝑎 ∈ 𝐵) ∧ 𝑐 ∈ 𝐵) → 𝑐 ∈ 𝐵)
32 simplr 781 . . . . . . . 8 (((𝜑 ∧ 𝑎 ∈ 𝐵) ∧ 𝑐 ∈ 𝐵) → 𝑎 ∈ 𝐵)
337, 8, 9tltnle 18673 . . . . . . . 8 ((𝐾 ∈ Toset ∧ 𝑐 ∈ 𝐵 ∧ 𝑎 ∈ 𝐵) → (𝑐 < 𝑎 ↔ ¬ 𝑎 ≤ 𝑐))
3430, 31, 32, 33syl3anc 1401 . . . . . . 7 (((𝜑 ∧ 𝑎 ∈ 𝐵) ∧ 𝑐 ∈ 𝐵) → (𝑐 < 𝑎 ↔ ¬ 𝑎 ≤ 𝑐))
3534con2bid 357 . . . . . 6 (((𝜑 ∧ 𝑎 ∈ 𝐵) ∧ 𝑐 ∈ 𝐵) → (𝑎 ≤ 𝑐 ↔ ¬ 𝑐 < 𝑎))
3629, 35imbi12d 347 . . . . 5 (((𝜑 ∧ 𝑎 ∈ 𝐵) ∧ 𝑐 ∈ 𝐵) → ((∀𝑏 ∈ 𝐴 𝑏 ≤ 𝑐 → 𝑎 ≤ 𝑐) ↔ (¬ ∃𝑑 ∈ 𝐴 𝑐 < 𝑑 → ¬ 𝑐 < 𝑎)))
37 con34b 319 . . . . 5 ((𝑐 < 𝑎 → ∃𝑑 ∈ 𝐴 𝑐 < 𝑑) ↔ (¬ ∃𝑑 ∈ 𝐴 𝑐 < 𝑑 → ¬ 𝑐 < 𝑎))
3836, 37bitr4di 292 . . . 4 (((𝜑 ∧ 𝑎 ∈ 𝐵) ∧ 𝑐 ∈ 𝐵) → ((∀𝑏 ∈ 𝐴 𝑏 ≤ 𝑐 → 𝑎 ≤ 𝑐) ↔ (𝑐 < 𝑎 → ∃𝑑 ∈ 𝐴 𝑐 < 𝑑)))
3938ralbidva 3198 . . 3 ((𝜑 ∧ 𝑎 ∈ 𝐵) → (∀𝑐 ∈ 𝐵 (∀𝑏 ∈ 𝐴 𝑏 ≤ 𝑐 → 𝑎 ≤ 𝑐) ↔ ∀𝑐 ∈ 𝐵 (𝑐 < 𝑎 → ∃𝑑 ∈ 𝐴 𝑐 < 𝑑)))
40 breq1 5119 . . . . 5 (𝑏 = 𝑐 → (𝑏 < 𝑎 ↔ 𝑐 < 𝑎))
41 breq1 5119 . . . . . 6 (𝑏 = 𝑐 → (𝑏 < 𝑑 ↔ 𝑐 < 𝑑))
4241rexbidv 3201 . . . . 5 (𝑏 = 𝑐 → (∃𝑑 ∈ 𝐴 𝑏 < 𝑑 ↔ ∃𝑑 ∈ 𝐴 𝑐 < 𝑑))
4340, 42imbi12d 347 . . . 4 (𝑏 = 𝑐 → ((𝑏 < 𝑎 → ∃𝑑 ∈ 𝐴 𝑏 < 𝑑) ↔ (𝑐 < 𝑎 → ∃𝑑 ∈ 𝐴 𝑐 < 𝑑)))
4443cbvralvw 3252 . . 3 (∀𝑏 ∈ 𝐵 (𝑏 < 𝑎 → ∃𝑑 ∈ 𝐴 𝑏 < 𝑑) ↔ ∀𝑐 ∈ 𝐵 (𝑐 < 𝑎 → ∃𝑑 ∈ 𝐴 𝑐 < 𝑑))
4539, 44bitr4di 292 . 2 ((𝜑 ∧ 𝑎 ∈ 𝐵) → (∀𝑐 ∈ 𝐵 (∀𝑏 ∈ 𝐴 𝑏 ≤ 𝑐 → 𝑎 ≤ 𝑐) ↔ ∀𝑏 ∈ 𝐵 (𝑏 < 𝑎 → ∃𝑑 ∈ 𝐴 𝑏 < 𝑑)))
4613, 45anbi12d 644 1 ((𝜑 ∧ 𝑎 ∈ 𝐵) → ((∀𝑏 ∈ 𝐴 𝑏 ≤ 𝑎 ∧ ∀𝑐 ∈ 𝐵 (∀𝑏 ∈ 𝐴 𝑏 ≤ 𝑐 → 𝑎 ≤ 𝑐)) ↔ (∀𝑏 ∈ 𝐴 ¬ 𝑎 < 𝑏 ∧ ∀𝑏 ∈ 𝐵 (𝑏 < 𝑎 → ∃𝑑 ∈ 𝐴 𝑏 < 𝑑))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2156  ∀wral 3091  ∃wrex 3101   ⊆ wss 3907   class class class wbr 5116  ‘cfv 6579  Basecbs 17456  lecple 17504  ltcplt 18561  Tosetctos 18667
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-iota 6533  df-fun 6581  df-fv 6587  df-proset 18547  df-poset 18566  df-plt 18581  df-toset 18668
This theorem is used by:  toslub  33769  xrsclat  33810
  Copyright terms: Public domain W3C validator