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

Theorem infsupprpr 9193
Description: The infimum of a proper pair is less than the supremum of this pair. (Contributed by AV, 13-Mar-2023.)
Assertion
Ref Expression
infsupprpr ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)) → inf({𝐵, 𝐶}, 𝐴, 𝑅)𝑅sup({𝐵, 𝐶}, 𝐴, 𝑅))

Proof of Theorem infsupprpr
StepHypRef Expression
1 solin 5519 . . . 4 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴)) → (𝐵𝑅𝐶𝐵 = 𝐶𝐶𝑅𝐵))
213adantr3 1169 . . 3 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)) → (𝐵𝑅𝐶𝐵 = 𝐶𝐶𝑅𝐵))
3 iftrue 4462 . . . . . . 7 (𝐵𝑅𝐶 → if(𝐵𝑅𝐶, 𝐵, 𝐶) = 𝐵)
43adantr 480 . . . . . 6 ((𝐵𝑅𝐶 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶))) → if(𝐵𝑅𝐶, 𝐵, 𝐶) = 𝐵)
5 sotric 5522 . . . . . . . . 9 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴)) → (𝐵𝑅𝐶 ↔ ¬ (𝐵 = 𝐶𝐶𝑅𝐵)))
653adantr3 1169 . . . . . . . 8 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)) → (𝐵𝑅𝐶 ↔ ¬ (𝐵 = 𝐶𝐶𝑅𝐵)))
76biimpac 478 . . . . . . 7 ((𝐵𝑅𝐶 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶))) → ¬ (𝐵 = 𝐶𝐶𝑅𝐵))
8 ioran 980 . . . . . . . 8 (¬ (𝐵 = 𝐶𝐶𝑅𝐵) ↔ (¬ 𝐵 = 𝐶 ∧ ¬ 𝐶𝑅𝐵))
9 simprl 767 . . . . . . . . . 10 ((¬ 𝐶𝑅𝐵 ∧ (𝐵𝑅𝐶 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)))) → 𝐵𝑅𝐶)
10 iffalse 4465 . . . . . . . . . . 11 𝐶𝑅𝐵 → if(𝐶𝑅𝐵, 𝐵, 𝐶) = 𝐶)
1110adantr 480 . . . . . . . . . 10 ((¬ 𝐶𝑅𝐵 ∧ (𝐵𝑅𝐶 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)))) → if(𝐶𝑅𝐵, 𝐵, 𝐶) = 𝐶)
129, 11breqtrrd 5098 . . . . . . . . 9 ((¬ 𝐶𝑅𝐵 ∧ (𝐵𝑅𝐶 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)))) → 𝐵𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶))
1312ex 412 . . . . . . . 8 𝐶𝑅𝐵 → ((𝐵𝑅𝐶 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶))) → 𝐵𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
148, 13simplbiim 504 . . . . . . 7 (¬ (𝐵 = 𝐶𝐶𝑅𝐵) → ((𝐵𝑅𝐶 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶))) → 𝐵𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
157, 14mpcom 38 . . . . . 6 ((𝐵𝑅𝐶 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶))) → 𝐵𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶))
164, 15eqbrtrd 5092 . . . . 5 ((𝐵𝑅𝐶 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶))) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶))
1716ex 412 . . . 4 (𝐵𝑅𝐶 → ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
18 eqneqall 2953 . . . . . . 7 (𝐵 = 𝐶 → (𝐵𝐶 → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
19182a1d 26 . . . . . 6 (𝐵 = 𝐶 → (𝐵𝐴 → (𝐶𝐴 → (𝐵𝐶 → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))))
20193impd 1346 . . . . 5 (𝐵 = 𝐶 → ((𝐵𝐴𝐶𝐴𝐵𝐶) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
2120adantld 490 . . . 4 (𝐵 = 𝐶 → ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
22 pm3.22 459 . . . . . . . . 9 ((𝐵𝐴𝐶𝐴) → (𝐶𝐴𝐵𝐴))
23223adant3 1130 . . . . . . . 8 ((𝐵𝐴𝐶𝐴𝐵𝐶) → (𝐶𝐴𝐵𝐴))
24 sotric 5522 . . . . . . . . 9 ((𝑅 Or 𝐴 ∧ (𝐶𝐴𝐵𝐴)) → (𝐶𝑅𝐵 ↔ ¬ (𝐶 = 𝐵𝐵𝑅𝐶)))
2524biimpd 228 . . . . . . . 8 ((𝑅 Or 𝐴 ∧ (𝐶𝐴𝐵𝐴)) → (𝐶𝑅𝐵 → ¬ (𝐶 = 𝐵𝐵𝑅𝐶)))
2623, 25sylan2 592 . . . . . . 7 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)) → (𝐶𝑅𝐵 → ¬ (𝐶 = 𝐵𝐵𝑅𝐶)))
2726impcom 407 . . . . . 6 ((𝐶𝑅𝐵 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶))) → ¬ (𝐶 = 𝐵𝐵𝑅𝐶))
28 ioran 980 . . . . . . 7 (¬ (𝐶 = 𝐵𝐵𝑅𝐶) ↔ (¬ 𝐶 = 𝐵 ∧ ¬ 𝐵𝑅𝐶))
29 simpr 484 . . . . . . . . . 10 ((¬ 𝐵𝑅𝐶𝐶𝑅𝐵) → 𝐶𝑅𝐵)
30 iffalse 4465 . . . . . . . . . . 11 𝐵𝑅𝐶 → if(𝐵𝑅𝐶, 𝐵, 𝐶) = 𝐶)
31 iftrue 4462 . . . . . . . . . . 11 (𝐶𝑅𝐵 → if(𝐶𝑅𝐵, 𝐵, 𝐶) = 𝐵)
3230, 31breqan12d 5086 . . . . . . . . . 10 ((¬ 𝐵𝑅𝐶𝐶𝑅𝐵) → (if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶) ↔ 𝐶𝑅𝐵))
3329, 32mpbird 256 . . . . . . . . 9 ((¬ 𝐵𝑅𝐶𝐶𝑅𝐵) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶))
3433a1d 25 . . . . . . . 8 ((¬ 𝐵𝑅𝐶𝐶𝑅𝐵) → ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
3534expimpd 453 . . . . . . 7 𝐵𝑅𝐶 → ((𝐶𝑅𝐵 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶))) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
3628, 35simplbiim 504 . . . . . 6 (¬ (𝐶 = 𝐵𝐵𝑅𝐶) → ((𝐶𝑅𝐵 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶))) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
3727, 36mpcom 38 . . . . 5 ((𝐶𝑅𝐵 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶))) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶))
3837ex 412 . . . 4 (𝐶𝑅𝐵 → ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
3917, 21, 383jaoi 1425 . . 3 ((𝐵𝑅𝐶𝐵 = 𝐶𝐶𝑅𝐵) → ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
402, 39mpcom 38 . 2 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶))
41 infpr 9192 . . . 4 ((𝑅 Or 𝐴𝐵𝐴𝐶𝐴) → inf({𝐵, 𝐶}, 𝐴, 𝑅) = if(𝐵𝑅𝐶, 𝐵, 𝐶))
42 suppr 9160 . . . 4 ((𝑅 Or 𝐴𝐵𝐴𝐶𝐴) → sup({𝐵, 𝐶}, 𝐴, 𝑅) = if(𝐶𝑅𝐵, 𝐵, 𝐶))
4341, 42breq12d 5083 . . 3 ((𝑅 Or 𝐴𝐵𝐴𝐶𝐴) → (inf({𝐵, 𝐶}, 𝐴, 𝑅)𝑅sup({𝐵, 𝐶}, 𝐴, 𝑅) ↔ if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
44433adant3r3 1182 . 2 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)) → (inf({𝐵, 𝐶}, 𝐴, 𝑅)𝑅sup({𝐵, 𝐶}, 𝐴, 𝑅) ↔ if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
4540, 44mpbird 256 1 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)) → inf({𝐵, 𝐶}, 𝐴, 𝑅)𝑅sup({𝐵, 𝐶}, 𝐴, 𝑅))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wo 843  w3o 1084  w3a 1085   = wceq 1539  wcel 2108  wne 2942  ifcif 4456  {cpr 4560   class class class wbr 5070   Or wor 5493  supcsup 9129  infcinf 9130
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-po 5494  df-so 5495  df-cnv 5588  df-iota 6376  df-riota 7212  df-sup 9131  df-inf 9132
This theorem is referenced by:  prproropf1olem2  44844
  Copyright terms: Public domain W3C validator