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

Theorem soltmin 6138
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 5608 . . . . . 6 (𝑅 Or 𝑋𝑅 Po 𝑋)
21ad2antrr 725 . . . . 5 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝑅 Po 𝑋)
3 simplr1 1216 . . . . . 6 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝐴𝑋)
4 simplr2 1217 . . . . . . 7 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝐵𝑋)
5 simplr3 1218 . . . . . . 7 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝐶𝑋)
64, 5ifcld 4575 . . . . . 6 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → if(𝐵𝑅𝐶, 𝐵, 𝐶) ∈ 𝑋)
73, 6, 43jca 1129 . . . . 5 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → (𝐴𝑋 ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶) ∈ 𝑋𝐵𝑋))
8 simpr 486 . . . . 5 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶))
9 simpll 766 . . . . . 6 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝑅 Or 𝑋)
10 somin1 6135 . . . . . 6 ((𝑅 Or 𝑋 ∧ (𝐵𝑋𝐶𝑋)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐵)
119, 4, 5, 10syl12anc 836 . . . . 5 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐵)
12 poltletr 6134 . . . . . 6 ((𝑅 Po 𝑋 ∧ (𝐴𝑋 ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶) ∈ 𝑋𝐵𝑋)) → ((𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶) ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐵) → 𝐴𝑅𝐵))
1312imp 408 . . . . 5 (((𝑅 Po 𝑋 ∧ (𝐴𝑋 ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶) ∈ 𝑋𝐵𝑋)) ∧ (𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶) ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐵)) → 𝐴𝑅𝐵)
142, 7, 8, 11, 13syl22anc 838 . . . 4 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝐴𝑅𝐵)
153, 6, 53jca 1129 . . . . 5 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → (𝐴𝑋 ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶) ∈ 𝑋𝐶𝑋))
16 somin2 6137 . . . . . 6 ((𝑅 Or 𝑋 ∧ (𝐵𝑋𝐶𝑋)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐶)
179, 4, 5, 16syl12anc 836 . . . . 5 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐶)
18 poltletr 6134 . . . . . 6 ((𝑅 Po 𝑋 ∧ (𝐴𝑋 ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶) ∈ 𝑋𝐶𝑋)) → ((𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶) ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐶) → 𝐴𝑅𝐶))
1918imp 408 . . . . 5 (((𝑅 Po 𝑋 ∧ (𝐴𝑋 ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶) ∈ 𝑋𝐶𝑋)) ∧ (𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶) ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐶)) → 𝐴𝑅𝐶)
202, 15, 8, 17, 19syl22anc 838 . . . 4 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝐴𝑅𝐶)
2114, 20jca 513 . . 3 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → (𝐴𝑅𝐵𝐴𝑅𝐶))
2221ex 414 . 2 ((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) → (𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶) → (𝐴𝑅𝐵𝐴𝑅𝐶)))
23 breq2 5153 . . 3 (𝐵 = if(𝐵𝑅𝐶, 𝐵, 𝐶) → (𝐴𝑅𝐵𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)))
24 breq2 5153 . . 3 (𝐶 = if(𝐵𝑅𝐶, 𝐵, 𝐶) → (𝐴𝑅𝐶𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)))
2523, 24ifboth 4568 . 2 ((𝐴𝑅𝐵𝐴𝑅𝐶) → 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶))
2622, 25impbid1 224 1 ((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) → (𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶) ↔ (𝐴𝑅𝐵𝐴𝑅𝐶)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 397  w3a 1088  wcel 2107  cun 3947  ifcif 4529   class class class wbr 5149   I cid 5574   Po wpo 5587   Or wor 5588
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 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-ext 2704  ax-sep 5300  ax-nul 5307  ax-pr 5428
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-sb 2069  df-clab 2711  df-cleq 2725  df-clel 2811  df-ral 3063  df-rex 3072  df-rab 3434  df-v 3477  df-dif 3952  df-un 3954  df-in 3956  df-ss 3966  df-nul 4324  df-if 4530  df-sn 4630  df-pr 4632  df-op 4636  df-br 5150  df-opab 5212  df-id 5575  df-po 5589  df-so 5590  df-xp 5683  df-rel 5684
This theorem is referenced by:  wemaplem2  9542
  Copyright terms: Public domain W3C validator