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

Theorem soltmin 6041
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 5522 . . . . . 6 (𝑅 Or 𝑋𝑅 Po 𝑋)
21ad2antrr 723 . . . . 5 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝑅 Po 𝑋)
3 simplr1 1214 . . . . . 6 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝐴𝑋)
4 simplr2 1215 . . . . . . 7 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝐵𝑋)
5 simplr3 1216 . . . . . . 7 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝐶𝑋)
64, 5ifcld 4505 . . . . . 6 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → if(𝐵𝑅𝐶, 𝐵, 𝐶) ∈ 𝑋)
73, 6, 43jca 1127 . . . . 5 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → (𝐴𝑋 ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶) ∈ 𝑋𝐵𝑋))
8 simpr 485 . . . . 5 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶))
9 simpll 764 . . . . . 6 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝑅 Or 𝑋)
10 somin1 6038 . . . . . 6 ((𝑅 Or 𝑋 ∧ (𝐵𝑋𝐶𝑋)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐵)
119, 4, 5, 10syl12anc 834 . . . . 5 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐵)
12 poltletr 6037 . . . . . 6 ((𝑅 Po 𝑋 ∧ (𝐴𝑋 ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶) ∈ 𝑋𝐵𝑋)) → ((𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶) ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐵) → 𝐴𝑅𝐵))
1312imp 407 . . . . 5 (((𝑅 Po 𝑋 ∧ (𝐴𝑋 ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶) ∈ 𝑋𝐵𝑋)) ∧ (𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶) ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐵)) → 𝐴𝑅𝐵)
142, 7, 8, 11, 13syl22anc 836 . . . 4 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝐴𝑅𝐵)
153, 6, 53jca 1127 . . . . 5 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → (𝐴𝑋 ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶) ∈ 𝑋𝐶𝑋))
16 somin2 6040 . . . . . 6 ((𝑅 Or 𝑋 ∧ (𝐵𝑋𝐶𝑋)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐶)
179, 4, 5, 16syl12anc 834 . . . . 5 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐶)
18 poltletr 6037 . . . . . 6 ((𝑅 Po 𝑋 ∧ (𝐴𝑋 ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶) ∈ 𝑋𝐶𝑋)) → ((𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶) ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐶) → 𝐴𝑅𝐶))
1918imp 407 . . . . 5 (((𝑅 Po 𝑋 ∧ (𝐴𝑋 ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶) ∈ 𝑋𝐶𝑋)) ∧ (𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶) ∧ if(𝐵𝑅𝐶, 𝐵, 𝐶)(𝑅 ∪ I )𝐶)) → 𝐴𝑅𝐶)
202, 15, 8, 17, 19syl22anc 836 . . . 4 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → 𝐴𝑅𝐶)
2114, 20jca 512 . . 3 (((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) ∧ 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)) → (𝐴𝑅𝐵𝐴𝑅𝐶))
2221ex 413 . 2 ((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) → (𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶) → (𝐴𝑅𝐵𝐴𝑅𝐶)))
23 breq2 5078 . . 3 (𝐵 = if(𝐵𝑅𝐶, 𝐵, 𝐶) → (𝐴𝑅𝐵𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)))
24 breq2 5078 . . 3 (𝐶 = if(𝐵𝑅𝐶, 𝐵, 𝐶) → (𝐴𝑅𝐶𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶)))
2523, 24ifboth 4498 . 2 ((𝐴𝑅𝐵𝐴𝑅𝐶) → 𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶))
2622, 25impbid1 224 1 ((𝑅 Or 𝑋 ∧ (𝐴𝑋𝐵𝑋𝐶𝑋)) → (𝐴𝑅if(𝐵𝑅𝐶, 𝐵, 𝐶) ↔ (𝐴𝑅𝐵𝐴𝑅𝐶)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086  wcel 2106  cun 3885  ifcif 4459   class class class wbr 5074   I cid 5488   Po wpo 5501   Or wor 5502
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-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-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  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-br 5075  df-opab 5137  df-id 5489  df-po 5503  df-so 5504  df-xp 5595  df-rel 5596
This theorem is referenced by:  wemaplem2  9306
  Copyright terms: Public domain W3C validator