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

Theorem infsupprpr 9263
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 5528 . . . 4 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴)) → (𝐵𝑅𝐶𝐵 = 𝐶𝐶𝑅𝐵))
213adantr3 1170 . . 3 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)) → (𝐵𝑅𝐶𝐵 = 𝐶𝐶𝑅𝐵))
3 iftrue 4465 . . . . . . 7 (𝐵𝑅𝐶 → if(𝐵𝑅𝐶, 𝐵, 𝐶) = 𝐵)
43adantr 481 . . . . . 6 ((𝐵𝑅𝐶 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶))) → if(𝐵𝑅𝐶, 𝐵, 𝐶) = 𝐵)
5 sotric 5531 . . . . . . . . 9 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴)) → (𝐵𝑅𝐶 ↔ ¬ (𝐵 = 𝐶𝐶𝑅𝐵)))
653adantr3 1170 . . . . . . . 8 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)) → (𝐵𝑅𝐶 ↔ ¬ (𝐵 = 𝐶𝐶𝑅𝐵)))
76biimpac 479 . . . . . . 7 ((𝐵𝑅𝐶 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶))) → ¬ (𝐵 = 𝐶𝐶𝑅𝐵))
8 ioran 981 . . . . . . . 8 (¬ (𝐵 = 𝐶𝐶𝑅𝐵) ↔ (¬ 𝐵 = 𝐶 ∧ ¬ 𝐶𝑅𝐵))
9 simprl 768 . . . . . . . . . 10 ((¬ 𝐶𝑅𝐵 ∧ (𝐵𝑅𝐶 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)))) → 𝐵𝑅𝐶)
10 iffalse 4468 . . . . . . . . . . 11 𝐶𝑅𝐵 → if(𝐶𝑅𝐵, 𝐵, 𝐶) = 𝐶)
1110adantr 481 . . . . . . . . . 10 ((¬ 𝐶𝑅𝐵 ∧ (𝐵𝑅𝐶 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)))) → if(𝐶𝑅𝐵, 𝐵, 𝐶) = 𝐶)
129, 11breqtrrd 5102 . . . . . . . . 9 ((¬ 𝐶𝑅𝐵 ∧ (𝐵𝑅𝐶 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)))) → 𝐵𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶))
1312ex 413 . . . . . . . 8 𝐶𝑅𝐵 → ((𝐵𝑅𝐶 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶))) → 𝐵𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
148, 13simplbiim 505 . . . . . . 7 (¬ (𝐵 = 𝐶𝐶𝑅𝐵) → ((𝐵𝑅𝐶 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶))) → 𝐵𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
157, 14mpcom 38 . . . . . 6 ((𝐵𝑅𝐶 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶))) → 𝐵𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶))
164, 15eqbrtrd 5096 . . . . 5 ((𝐵𝑅𝐶 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶))) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶))
1716ex 413 . . . 4 (𝐵𝑅𝐶 → ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
18 eqneqall 2954 . . . . . . 7 (𝐵 = 𝐶 → (𝐵𝐶 → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
19182a1d 26 . . . . . 6 (𝐵 = 𝐶 → (𝐵𝐴 → (𝐶𝐴 → (𝐵𝐶 → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))))
20193impd 1347 . . . . 5 (𝐵 = 𝐶 → ((𝐵𝐴𝐶𝐴𝐵𝐶) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
2120adantld 491 . . . 4 (𝐵 = 𝐶 → ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
22 pm3.22 460 . . . . . . . . 9 ((𝐵𝐴𝐶𝐴) → (𝐶𝐴𝐵𝐴))
23223adant3 1131 . . . . . . . 8 ((𝐵𝐴𝐶𝐴𝐵𝐶) → (𝐶𝐴𝐵𝐴))
24 sotric 5531 . . . . . . . . 9 ((𝑅 Or 𝐴 ∧ (𝐶𝐴𝐵𝐴)) → (𝐶𝑅𝐵 ↔ ¬ (𝐶 = 𝐵𝐵𝑅𝐶)))
2524biimpd 228 . . . . . . . 8 ((𝑅 Or 𝐴 ∧ (𝐶𝐴𝐵𝐴)) → (𝐶𝑅𝐵 → ¬ (𝐶 = 𝐵𝐵𝑅𝐶)))
2623, 25sylan2 593 . . . . . . 7 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)) → (𝐶𝑅𝐵 → ¬ (𝐶 = 𝐵𝐵𝑅𝐶)))
2726impcom 408 . . . . . 6 ((𝐶𝑅𝐵 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶))) → ¬ (𝐶 = 𝐵𝐵𝑅𝐶))
28 ioran 981 . . . . . . 7 (¬ (𝐶 = 𝐵𝐵𝑅𝐶) ↔ (¬ 𝐶 = 𝐵 ∧ ¬ 𝐵𝑅𝐶))
29 simpr 485 . . . . . . . . . 10 ((¬ 𝐵𝑅𝐶𝐶𝑅𝐵) → 𝐶𝑅𝐵)
30 iffalse 4468 . . . . . . . . . . 11 𝐵𝑅𝐶 → if(𝐵𝑅𝐶, 𝐵, 𝐶) = 𝐶)
31 iftrue 4465 . . . . . . . . . . 11 (𝐶𝑅𝐵 → if(𝐶𝑅𝐵, 𝐵, 𝐶) = 𝐵)
3230, 31breqan12d 5090 . . . . . . . . . 10 ((¬ 𝐵𝑅𝐶𝐶𝑅𝐵) → (if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶) ↔ 𝐶𝑅𝐵))
3329, 32mpbird 256 . . . . . . . . 9 ((¬ 𝐵𝑅𝐶𝐶𝑅𝐵) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶))
3433a1d 25 . . . . . . . 8 ((¬ 𝐵𝑅𝐶𝐶𝑅𝐵) → ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
3534expimpd 454 . . . . . . 7 𝐵𝑅𝐶 → ((𝐶𝑅𝐵 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶))) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
3628, 35simplbiim 505 . . . . . 6 (¬ (𝐶 = 𝐵𝐵𝑅𝐶) → ((𝐶𝑅𝐵 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶))) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
3727, 36mpcom 38 . . . . 5 ((𝐶𝑅𝐵 ∧ (𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶))) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶))
3837ex 413 . . . 4 (𝐶𝑅𝐵 → ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
3917, 21, 383jaoi 1426 . . 3 ((𝐵𝑅𝐶𝐵 = 𝐶𝐶𝑅𝐵) → ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
402, 39mpcom 38 . 2 ((𝑅 Or 𝐴 ∧ (𝐵𝐴𝐶𝐴𝐵𝐶)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶))
41 infpr 9262 . . . 4 ((𝑅 Or 𝐴𝐵𝐴𝐶𝐴) → inf({𝐵, 𝐶}, 𝐴, 𝑅) = if(𝐵𝑅𝐶, 𝐵, 𝐶))
42 suppr 9230 . . . 4 ((𝑅 Or 𝐴𝐵𝐴𝐶𝐴) → sup({𝐵, 𝐶}, 𝐴, 𝑅) = if(𝐶𝑅𝐵, 𝐵, 𝐶))
4341, 42breq12d 5087 . . 3 ((𝑅 Or 𝐴𝐵𝐴𝐶𝐴) → (inf({𝐵, 𝐶}, 𝐴, 𝑅)𝑅sup({𝐵, 𝐶}, 𝐴, 𝑅) ↔ if(𝐵𝑅𝐶, 𝐵, 𝐶)𝑅if(𝐶𝑅𝐵, 𝐵, 𝐶)))
44433adant3r3 1183 . 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 396  wo 844  w3o 1085  w3a 1086   = wceq 1539  wcel 2106  wne 2943  ifcif 4459  {cpr 4563   class class class wbr 5074   Or wor 5502  supcsup 9199  infcinf 9200
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-po 5503  df-so 5504  df-cnv 5597  df-iota 6391  df-riota 7232  df-sup 9201  df-inf 9202
This theorem is referenced by:  prproropf1olem2  44956
  Copyright terms: Public domain W3C validator