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

Theorem soltmin 6030
Description: Being less than a minimum, for a general total order. (Contributed by Stefan O'Rear, 17-Jan-2015.)
Assertion
Ref Expression
soltmin ((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) → (𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶) ↔ (𝐴𝑅𝐵𝐴𝑅𝐶)))

Proof of Theorem soltmin
StepHypRef Expression
1 sopo 5513 . . . . . 6 (𝑅 Or 𝑋𝑅 Po 𝑋)
21ad2antrr 722 . . . . 5 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝑅 Po 𝑋)
3 simplr1 1213 . . . . . 6 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝐴𝑋)
4 simplr2 1214 . . . . . . 7 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝐵𝑋)
5 simplr3 1215 . . . . . . 7 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝐶𝑋)
64, 5ifcld 4502 . . . . . 6 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → if(𝐵𝑅𝐶, 𝐵, 𝐶) ∈ 𝑋)
73, 6, 43jca 1126 . . . . 5 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → (𝐴𝑋 ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶) ∈ 𝑋𝐵𝑋))
8 simpr 484 . . . . 5 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶))
9 simpll 763 . . . . . 6 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝑅 Or 𝑋)
10 somin1 6027 . . . . . 6 ((𝑅 Or 𝑋 ∧ (𝐵𝑋𝐶𝑋)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐵)
119, 4, 5, 10syl12anc 833 . . . . 5 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐵)
12 poltletr 6026 . . . . . 6 ((𝑅 Po 𝑋 ∧ (𝐴𝑋 ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶) ∈ 𝑋𝐵𝑋)) → ((𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶) ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐵) → 𝐴𝑅𝐵))
1312imp 406 . . . . 5 (((𝑅 Po 𝑋 ∧ (𝐴𝑋 ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶) ∈ 𝑋𝐵𝑋)) ∧ (𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶) ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐵)) → 𝐴𝑅𝐵)
142, 7, 8, 11, 13syl22anc 835 . . . 4 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝐴𝑅𝐵)
153, 6, 53jca 1126 . . . . 5 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → (𝐴𝑋 ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶) ∈ 𝑋𝐶𝑋))
16 somin2 6029 . . . . . 6 ((𝑅 Or 𝑋 ∧ (𝐵𝑋𝐶𝑋)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐶)
179, 4, 5, 16syl12anc 833 . . . . 5 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐶)
18 poltletr 6026 . . . . . 6 ((𝑅 Po 𝑋 ∧ (𝐴𝑋 ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶) ∈ 𝑋𝐶𝑋)) → ((𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶) ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐶) → 𝐴𝑅𝐶))
1918imp 406 . . . . 5 (((𝑅 Po 𝑋 ∧ (𝐴𝑋 ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶) ∈ 𝑋𝐶𝑋)) ∧ (𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶) ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐶)) → 𝐴𝑅𝐶)
202, 15, 8, 17, 19syl22anc 835 . . . 4 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝐴𝑅𝐶)
2114, 20jca 511 . . 3 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → (𝐴𝑅𝐵𝐴𝑅𝐶))
2221ex 412 . 2 ((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) → (𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶) → (𝐴𝑅𝐵𝐴𝑅𝐶)))
23 breq2 5074 . . 3 (𝐵 = if(𝐵𝑅𝐶, 𝐵, 𝐶) → (𝐴𝑅𝐵𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)))
24 breq2 5074 . . 3 (𝐶 = if(𝐵𝑅𝐶, 𝐵, 𝐶) → (𝐴𝑅𝐶𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)))
2523, 24ifboth 4495 . 2 ((𝐴𝑅𝐵𝐴𝑅𝐶) → 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶))
2622, 25impbid1 224 1 ((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) → (𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶) ↔ (𝐴𝑅𝐵𝐴𝑅𝐶)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085  wcel 2108  cun 3881  ifcif 4456   class class class wbr 5070   I cid 5479   Po wpo 5492   Or wor 5493
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-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-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069  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-br 5071  df-opab 5133  df-id 5480  df-po 5494  df-so 5495  df-xp 5586  df-rel 5587
This theorem is referenced by:  wemaplem2  9236
  Copyright terms: Public domain W3C validator