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

Theorem fiminre 12288
Description: A nonempty finite set of real numbers has a minimum. Analogous to fimaxre 12285. (Contributed by AV, 9-Aug-2020.) (Proof shortened by Steven Nguyen, 3-Jun-2023.)
Assertion
Ref Expression
fiminre ((𝐴 ⊆ ℝ ∧ 𝐴 ∈ Fin ∧ 𝐴 ≠ ∅) → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 𝑥 ≤ 𝑦)
Distinct variable group:   𝑥,𝐴,𝑦

Proof of Theorem fiminre
StepHypRef Expression
1 ltso 11414 . . . 4 < Or ℝ
2 soss 5583 . . . 4 (𝐴 ⊆ ℝ → ( < Or ℝ → < Or 𝐴))
31, 2mpi 21 . . 3 (𝐴 ⊆ ℝ → < Or 𝐴)
4 fiming 9516 . . 3 (( < Or 𝐴 ∧ 𝐴 ∈ Fin ∧ 𝐴 ≠ ∅) → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑥 ≠ 𝑦 → 𝑥 < 𝑦))
53, 4syl3an1 1181 . 2 ((𝐴 ⊆ ℝ ∧ 𝐴 ∈ Fin ∧ 𝐴 ≠ ∅) → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑥 ≠ 𝑦 → 𝑥 < 𝑦))
6 ssel2 3908 . . . . . . . . 9 ((𝐴 ⊆ ℝ ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ ℝ)
76adantr 486 . . . . . . . 8 (((𝐴 ⊆ ℝ ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 ∈ 𝐴) → 𝑥 ∈ ℝ)
8 ssel2 3908 . . . . . . . . 9 ((𝐴 ⊆ ℝ ∧ 𝑦 ∈ 𝐴) → 𝑦 ∈ ℝ)
98adantlr 728 . . . . . . . 8 (((𝐴 ⊆ ℝ ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 ∈ 𝐴) → 𝑦 ∈ ℝ)
107, 9leloed 11477 . . . . . . 7 (((𝐴 ⊆ ℝ ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 ∈ 𝐴) → (𝑥 ≤ 𝑦 ↔ (𝑥 < 𝑦 ∨ 𝑥 = 𝑦)))
11 orcom 884 . . . . . . . 8 ((𝑥 = 𝑦 ∨ 𝑥 < 𝑦) ↔ (𝑥 < 𝑦 ∨ 𝑥 = 𝑦))
1211a1i 11 . . . . . . 7 (((𝐴 ⊆ ℝ ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 ∈ 𝐴) → ((𝑥 = 𝑦 ∨ 𝑥 < 𝑦) ↔ (𝑥 < 𝑦 ∨ 𝑥 = 𝑦)))
13 neor 3051 . . . . . . . 8 ((𝑥 = 𝑦 ∨ 𝑥 < 𝑦) ↔ (𝑥 ≠ 𝑦 → 𝑥 < 𝑦))
1413a1i 11 . . . . . . 7 (((𝐴 ⊆ ℝ ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 ∈ 𝐴) → ((𝑥 = 𝑦 ∨ 𝑥 < 𝑦) ↔ (𝑥 ≠ 𝑦 → 𝑥 < 𝑦)))
1510, 12, 143bitr2d 310 . . . . . 6 (((𝐴 ⊆ ℝ ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 ∈ 𝐴) → (𝑥 ≤ 𝑦 ↔ (𝑥 ≠ 𝑦 → 𝑥 < 𝑦)))
1615biimprd 251 . . . . 5 (((𝐴 ⊆ ℝ ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 ∈ 𝐴) → ((𝑥 ≠ 𝑦 → 𝑥 < 𝑦) → 𝑥 ≤ 𝑦))
1716ralimdva 3178 . . . 4 ((𝐴 ⊆ ℝ ∧ 𝑥 ∈ 𝐴) → (∀𝑦 ∈ 𝐴 (𝑥 ≠ 𝑦 → 𝑥 < 𝑦) → ∀𝑦 ∈ 𝐴 𝑥 ≤ 𝑦))
1817reximdva 3179 . . 3 (𝐴 ⊆ ℝ → (∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑥 ≠ 𝑦 → 𝑥 < 𝑦) → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 𝑥 ≤ 𝑦))
19183ad2ant1 1151 . 2 ((𝐴 ⊆ ℝ ∧ 𝐴 ∈ Fin ∧ 𝐴 ≠ ∅) → (∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑥 ≠ 𝑦 → 𝑥 < 𝑦) → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 𝑥 ≤ 𝑦))
205, 19mpd 16 1 ((𝐴 ⊆ ℝ ∧ 𝐴 ∈ Fin ∧ 𝐴 ≠ ∅) → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 𝑥 ≤ 𝑦)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   ∧ w3a 1103   ∈ wcel 2147   ≠ wne 2959  ∀wral 3080  ∃wrex 3090   ⊆ wss 3900  ∅c0 4281   class class class wbr 5106   Or wor 5562  Fincfn 8998  ℝcr 11223   < clt 11367   ≤ cle 11368
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-pow 5331  ax-pr 5395  ax-un 7772  ax-resscn 11281  ax-pre-lttri 11298  ax-pre-lttrn 11299
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-nel 3066  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  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-mpt 5190  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-er 8742  df-en 8999  df-dom 9000  df-sdom 9001  df-fin 9002  df-pnf 11369  df-mnf 11370  df-xr 11371  df-ltxr 11372  df-le 11373
This theorem is used by:  fiminre2  12289  prmgaplem4  17258  aks4d1p5  43321  aks4d1p8  43328  hoidmvlelem2  47809
  Copyright terms: Public domain W3C validator