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

Theorem fiming 9516
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 9515 . 2 ((𝑅 Or 𝐴 ∧ 𝐴 ∈ Fin ∧ 𝐴 ≠ ∅) → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 ¬ 𝑦𝑅𝑥)
2 nesym 3015 . . . . . . . . 9 (𝑥 ≠ 𝑦 ↔ ¬ 𝑦 = 𝑥)
32imbi1i 352 . . . . . . . 8 ((𝑥 ≠ 𝑦 → 𝑥𝑅𝑦) ↔ (¬ 𝑦 = 𝑥 → 𝑥𝑅𝑦))
4 pm4.64 863 . . . . . . . 8 ((¬ 𝑦 = 𝑥 → 𝑥𝑅𝑦) ↔ (𝑦 = 𝑥 ∨ 𝑥𝑅𝑦))
53, 4bitri 278 . . . . . . 7 ((𝑥 ≠ 𝑦 → 𝑥𝑅𝑦) ↔ (𝑦 = 𝑥 ∨ 𝑥𝑅𝑦))
6 sotric 5593 . . . . . . . . 9 ((𝑅 Or 𝐴 ∧ (𝑦 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) → (𝑦𝑅𝑥 ↔ ¬ (𝑦 = 𝑥 ∨ 𝑥𝑅𝑦)))
76ancom2s 663 . . . . . . . 8 ((𝑅 Or 𝐴 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴)) → (𝑦𝑅𝑥 ↔ ¬ (𝑦 = 𝑥 ∨ 𝑥𝑅𝑦)))
87con2bid 357 . . . . . . 7 ((𝑅 Or 𝐴 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴)) → ((𝑦 = 𝑥 ∨ 𝑥𝑅𝑦) ↔ ¬ 𝑦𝑅𝑥))
95, 8bitrid 286 . . . . . 6 ((𝑅 Or 𝐴 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴)) → ((𝑥 ≠ 𝑦 → 𝑥𝑅𝑦) ↔ ¬ 𝑦𝑅𝑥))
109anassrs 473 . . . . 5 (((𝑅 Or 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 ∈ 𝐴) → ((𝑥 ≠ 𝑦 → 𝑥𝑅𝑦) ↔ ¬ 𝑦𝑅𝑥))
1110ralbidva 3187 . . . 4 ((𝑅 Or 𝐴 ∧ 𝑥 ∈ 𝐴) → (∀𝑦 ∈ 𝐴 (𝑥 ≠ 𝑦 → 𝑥𝑅𝑦) ↔ ∀𝑦 ∈ 𝐴 ¬ 𝑦𝑅𝑥))
1211rexbidva 3188 . . 3 (𝑅 Or 𝐴 → (∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑥 ≠ 𝑦 → 𝑥𝑅𝑦) ↔ ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 ¬ 𝑦𝑅𝑥))
13123ad2ant1 1151 . 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 1103   ∈ wcel 2147   ≠ wne 2959  ∀wral 3080  ∃wrex 3090  ∅c0 4281   class class class wbr 5106   Or wor 5562  Fincfn 8998
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395  ax-un 7772
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-ord 6380  df-on 6381  df-lim 6382  df-suc 6383  df-iota 6509  df-fun 6557  df-fn 6558  df-f 6559  df-f1 6560  df-fo 6561  df-f1o 6562  df-fv 6563  df-om 7899  df-en 8999  df-fin 9002
This theorem is used by:  fiinfg  9517  fiminre  12288
  Copyright terms: Public domain W3C validator