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

Theorem fiming 9528
Description: A finite set has a minimum under a total order. (Contributed by AV, 6-Oct-2020.)
Assertion
Ref Expression
fiming ((𝑅 Or 𝐴 ∧ 𝐴 ∈ Fin ∧ 𝐴 ≠ ∅) → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑥 ≠ 𝑦 → 𝑥𝑅𝑦))
Distinct variable groups:   𝑥,𝑅,𝑦   𝑥,𝐴,𝑦

Proof of Theorem fiming
StepHypRef Expression
1 fimin2g 9527 . 2 ((𝑅 Or 𝐴 ∧ 𝐴 ∈ Fin ∧ 𝐴 ≠ ∅) → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 ¬ 𝑦𝑅𝑥)
2 nesym 3018 . . . . . . . . 9 (𝑥 ≠ 𝑦 ↔ ¬ 𝑦 = 𝑥)
32imbi1i 352 . . . . . . . 8 ((𝑥 ≠ 𝑦 → 𝑥𝑅𝑦) ↔ (¬ 𝑦 = 𝑥 → 𝑥𝑅𝑦))
4 pm4.64 863 . . . . . . . 8 ((¬ 𝑦 = 𝑥 → 𝑥𝑅𝑦) ↔ (𝑦 = 𝑥 ∨ 𝑥𝑅𝑦))
53, 4bitri 278 . . . . . . 7 ((𝑥 ≠ 𝑦 → 𝑥𝑅𝑦) ↔ (𝑦 = 𝑥 ∨ 𝑥𝑅𝑦))
6 sotric 5595 . . . . . . . . 9 ((𝑅 Or 𝐴 ∧ (𝑦 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) → (𝑦𝑅𝑥 ↔ ¬ (𝑦 = 𝑥 ∨ 𝑥𝑅𝑦)))
76ancom2s 663 . . . . . . . 8 ((𝑅 Or 𝐴 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴)) → (𝑦𝑅𝑥 ↔ ¬ (𝑦 = 𝑥 ∨ 𝑥𝑅𝑦)))
87con2bid 357 . . . . . . 7 ((𝑅 Or 𝐴 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴)) → ((𝑦 = 𝑥 ∨ 𝑥𝑅𝑦) ↔ ¬ 𝑦𝑅𝑥))
95, 8bitrid 286 . . . . . 6 ((𝑅 Or 𝐴 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴)) → ((𝑥 ≠ 𝑦 → 𝑥𝑅𝑦) ↔ ¬ 𝑦𝑅𝑥))
109anassrs 473 . . . . 5 (((𝑅 Or 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 ∈ 𝐴) → ((𝑥 ≠ 𝑦 → 𝑥𝑅𝑦) ↔ ¬ 𝑦𝑅𝑥))
1110ralbidva 3190 . . . 4 ((𝑅 Or 𝐴 ∧ 𝑥 ∈ 𝐴) → (∀𝑦 ∈ 𝐴 (𝑥 ≠ 𝑦 → 𝑥𝑅𝑦) ↔ ∀𝑦 ∈ 𝐴 ¬ 𝑦𝑅𝑥))
1211rexbidva 3191 . . 3 (𝑅 Or 𝐴 → (∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑥 ≠ 𝑦 → 𝑥𝑅𝑦) ↔ ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 ¬ 𝑦𝑅𝑥))
13123ad2ant1 1152 . 2 ((𝑅 Or 𝐴 ∧ 𝐴 ∈ Fin ∧ 𝐴 ≠ ∅) → (∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑥 ≠ 𝑦 → 𝑥𝑅𝑦) ↔ ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 ¬ 𝑦𝑅𝑥))
141, 13mpbird 260 1 ((𝑅 Or 𝐴 ∧ 𝐴 ∈ Fin ∧ 𝐴 ≠ ∅) → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑥 ≠ 𝑦 → 𝑥𝑅𝑦))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   ∧ w3a 1104   ∈ wcel 2150   ≠ wne 2962  ∀wral 3083  ∃wrex 3093  ∅c0 4280   class class class wbr 5107   Or wor 5564  Fincfn 9010
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pr 5397  ax-un 7782
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-ral 3084  df-rex 3094  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-br 5108  df-opab 5173  df-tr 5218  df-id 5552  df-eprel 5557  df-po 5565  df-so 5566  df-fr 5610  df-we 5612  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-ord 6390  df-on 6391  df-lim 6392  df-suc 6393  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-f1 6570  df-fo 6571  df-f1o 6572  df-fv 6573  df-om 7911  df-en 9011  df-fin 9014
This theorem is used by:  fiinfg  9529  fiminre  12303
  Copyright terms: Public domain W3C validator