| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > fimaxre3 | Structured version Visualization version GIF version | ||
| Description: A nonempty finite set of real numbers has a maximum (image set version). (Contributed by Mario Carneiro, 13-Feb-2014.) |
| Ref | Expression |
|---|---|
| fimaxre3 | ⊢ ((𝐴 ∈ Fin ∧ ∀𝑦 ∈ 𝐴 𝐵 ∈ ℝ) → ∃𝑥 ∈ ℝ ∀𝑦 ∈ 𝐴 𝐵 ≤ 𝑥) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | r19.29 3095 | . . . . . 6 ⊢ ((∀𝑦 ∈ 𝐴 𝐵 ∈ ℝ ∧ ∃𝑦 ∈ 𝐴 𝑧 = 𝐵) → ∃𝑦 ∈ 𝐴 (𝐵 ∈ ℝ ∧ 𝑧 = 𝐵)) | |
| 2 | eleq1 2817 | . . . . . . . 8 ⊢ (𝑧 = 𝐵 → (𝑧 ∈ ℝ ↔ 𝐵 ∈ ℝ)) | |
| 3 | 2 | biimparc 479 | . . . . . . 7 ⊢ ((𝐵 ∈ ℝ ∧ 𝑧 = 𝐵) → 𝑧 ∈ ℝ) |
| 4 | 3 | rexlimivw 3131 | . . . . . 6 ⊢ (∃𝑦 ∈ 𝐴 (𝐵 ∈ ℝ ∧ 𝑧 = 𝐵) → 𝑧 ∈ ℝ) |
| 5 | 1, 4 | syl 17 | . . . . 5 ⊢ ((∀𝑦 ∈ 𝐴 𝐵 ∈ ℝ ∧ ∃𝑦 ∈ 𝐴 𝑧 = 𝐵) → 𝑧 ∈ ℝ) |
| 6 | 5 | ex 412 | . . . 4 ⊢ (∀𝑦 ∈ 𝐴 𝐵 ∈ ℝ → (∃𝑦 ∈ 𝐴 𝑧 = 𝐵 → 𝑧 ∈ ℝ)) |
| 7 | 6 | abssdv 4034 | . . 3 ⊢ (∀𝑦 ∈ 𝐴 𝐵 ∈ ℝ → {𝑧 ∣ ∃𝑦 ∈ 𝐴 𝑧 = 𝐵} ⊆ ℝ) |
| 8 | abrexfi 9310 | . . 3 ⊢ (𝐴 ∈ Fin → {𝑧 ∣ ∃𝑦 ∈ 𝐴 𝑧 = 𝐵} ∈ Fin) | |
| 9 | fimaxre2 12135 | . . 3 ⊢ (({𝑧 ∣ ∃𝑦 ∈ 𝐴 𝑧 = 𝐵} ⊆ ℝ ∧ {𝑧 ∣ ∃𝑦 ∈ 𝐴 𝑧 = 𝐵} ∈ Fin) → ∃𝑥 ∈ ℝ ∀𝑤 ∈ {𝑧 ∣ ∃𝑦 ∈ 𝐴 𝑧 = 𝐵}𝑤 ≤ 𝑥) | |
| 10 | 7, 8, 9 | syl2anr 597 | . 2 ⊢ ((𝐴 ∈ Fin ∧ ∀𝑦 ∈ 𝐴 𝐵 ∈ ℝ) → ∃𝑥 ∈ ℝ ∀𝑤 ∈ {𝑧 ∣ ∃𝑦 ∈ 𝐴 𝑧 = 𝐵}𝑤 ≤ 𝑥) |
| 11 | r19.23v 3162 | . . . . . . 7 ⊢ (∀𝑦 ∈ 𝐴 (𝑤 = 𝐵 → 𝑤 ≤ 𝑥) ↔ (∃𝑦 ∈ 𝐴 𝑤 = 𝐵 → 𝑤 ≤ 𝑥)) | |
| 12 | 11 | albii 1819 | . . . . . 6 ⊢ (∀𝑤∀𝑦 ∈ 𝐴 (𝑤 = 𝐵 → 𝑤 ≤ 𝑥) ↔ ∀𝑤(∃𝑦 ∈ 𝐴 𝑤 = 𝐵 → 𝑤 ≤ 𝑥)) |
| 13 | ralcom4 3264 | . . . . . 6 ⊢ (∀𝑦 ∈ 𝐴 ∀𝑤(𝑤 = 𝐵 → 𝑤 ≤ 𝑥) ↔ ∀𝑤∀𝑦 ∈ 𝐴 (𝑤 = 𝐵 → 𝑤 ≤ 𝑥)) | |
| 14 | eqeq1 2734 | . . . . . . . 8 ⊢ (𝑧 = 𝑤 → (𝑧 = 𝐵 ↔ 𝑤 = 𝐵)) | |
| 15 | 14 | rexbidv 3158 | . . . . . . 7 ⊢ (𝑧 = 𝑤 → (∃𝑦 ∈ 𝐴 𝑧 = 𝐵 ↔ ∃𝑦 ∈ 𝐴 𝑤 = 𝐵)) |
| 16 | 15 | ralab 3667 | . . . . . 6 ⊢ (∀𝑤 ∈ {𝑧 ∣ ∃𝑦 ∈ 𝐴 𝑧 = 𝐵}𝑤 ≤ 𝑥 ↔ ∀𝑤(∃𝑦 ∈ 𝐴 𝑤 = 𝐵 → 𝑤 ≤ 𝑥)) |
| 17 | 12, 13, 16 | 3bitr4i 303 | . . . . 5 ⊢ (∀𝑦 ∈ 𝐴 ∀𝑤(𝑤 = 𝐵 → 𝑤 ≤ 𝑥) ↔ ∀𝑤 ∈ {𝑧 ∣ ∃𝑦 ∈ 𝐴 𝑧 = 𝐵}𝑤 ≤ 𝑥) |
| 18 | nfv 1914 | . . . . . . . 8 ⊢ Ⅎ𝑤 𝐵 ≤ 𝑥 | |
| 19 | breq1 5113 | . . . . . . . 8 ⊢ (𝑤 = 𝐵 → (𝑤 ≤ 𝑥 ↔ 𝐵 ≤ 𝑥)) | |
| 20 | 18, 19 | ceqsalg 3486 | . . . . . . 7 ⊢ (𝐵 ∈ ℝ → (∀𝑤(𝑤 = 𝐵 → 𝑤 ≤ 𝑥) ↔ 𝐵 ≤ 𝑥)) |
| 21 | 20 | ralimi 3067 | . . . . . 6 ⊢ (∀𝑦 ∈ 𝐴 𝐵 ∈ ℝ → ∀𝑦 ∈ 𝐴 (∀𝑤(𝑤 = 𝐵 → 𝑤 ≤ 𝑥) ↔ 𝐵 ≤ 𝑥)) |
| 22 | ralbi 3086 | . . . . . 6 ⊢ (∀𝑦 ∈ 𝐴 (∀𝑤(𝑤 = 𝐵 → 𝑤 ≤ 𝑥) ↔ 𝐵 ≤ 𝑥) → (∀𝑦 ∈ 𝐴 ∀𝑤(𝑤 = 𝐵 → 𝑤 ≤ 𝑥) ↔ ∀𝑦 ∈ 𝐴 𝐵 ≤ 𝑥)) | |
| 23 | 21, 22 | syl 17 | . . . . 5 ⊢ (∀𝑦 ∈ 𝐴 𝐵 ∈ ℝ → (∀𝑦 ∈ 𝐴 ∀𝑤(𝑤 = 𝐵 → 𝑤 ≤ 𝑥) ↔ ∀𝑦 ∈ 𝐴 𝐵 ≤ 𝑥)) |
| 24 | 17, 23 | bitr3id 285 | . . . 4 ⊢ (∀𝑦 ∈ 𝐴 𝐵 ∈ ℝ → (∀𝑤 ∈ {𝑧 ∣ ∃𝑦 ∈ 𝐴 𝑧 = 𝐵}𝑤 ≤ 𝑥 ↔ ∀𝑦 ∈ 𝐴 𝐵 ≤ 𝑥)) |
| 25 | 24 | rexbidv 3158 | . . 3 ⊢ (∀𝑦 ∈ 𝐴 𝐵 ∈ ℝ → (∃𝑥 ∈ ℝ ∀𝑤 ∈ {𝑧 ∣ ∃𝑦 ∈ 𝐴 𝑧 = 𝐵}𝑤 ≤ 𝑥 ↔ ∃𝑥 ∈ ℝ ∀𝑦 ∈ 𝐴 𝐵 ≤ 𝑥)) |
| 26 | 25 | adantl 481 | . 2 ⊢ ((𝐴 ∈ Fin ∧ ∀𝑦 ∈ 𝐴 𝐵 ∈ ℝ) → (∃𝑥 ∈ ℝ ∀𝑤 ∈ {𝑧 ∣ ∃𝑦 ∈ 𝐴 𝑧 = 𝐵}𝑤 ≤ 𝑥 ↔ ∃𝑥 ∈ ℝ ∀𝑦 ∈ 𝐴 𝐵 ≤ 𝑥)) |
| 27 | 10, 26 | mpbid 232 | 1 ⊢ ((𝐴 ∈ Fin ∧ ∀𝑦 ∈ 𝐴 𝐵 ∈ ℝ) → ∃𝑥 ∈ ℝ ∀𝑦 ∈ 𝐴 𝐵 ≤ 𝑥) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ↔ wb 206 ∧ wa 395 ∀wal 1538 = wceq 1540 ∈ wcel 2109 {cab 2708 ∀wral 3045 ∃wrex 3054 ⊆ wss 3917 class class class wbr 5110 Fincfn 8921 ℝcr 11074 ≤ cle 11216 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2008 ax-8 2111 ax-9 2119 ax-10 2142 ax-11 2158 ax-12 2178 ax-ext 2702 ax-sep 5254 ax-nul 5264 ax-pow 5323 ax-pr 5390 ax-un 7714 ax-resscn 11132 ax-1cn 11133 ax-addrcl 11136 ax-rnegex 11146 ax-cnre 11148 ax-pre-lttri 11149 ax-pre-lttrn 11150 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3or 1087 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1780 df-nf 1784 df-sb 2066 df-mo 2534 df-eu 2563 df-clab 2709 df-cleq 2722 df-clel 2804 df-nfc 2879 df-ne 2927 df-nel 3031 df-ral 3046 df-rex 3055 df-reu 3357 df-rab 3409 df-v 3452 df-sbc 3757 df-csb 3866 df-dif 3920 df-un 3922 df-in 3924 df-ss 3934 df-pss 3937 df-nul 4300 df-if 4492 df-pw 4568 df-sn 4593 df-pr 4595 df-op 4599 df-uni 4875 df-br 5111 df-opab 5173 df-mpt 5192 df-tr 5218 df-id 5536 df-eprel 5541 df-po 5549 df-so 5550 df-fr 5594 df-we 5596 df-xp 5647 df-rel 5648 df-cnv 5649 df-co 5650 df-dm 5651 df-rn 5652 df-res 5653 df-ima 5654 df-ord 6338 df-on 6339 df-lim 6340 df-suc 6341 df-iota 6467 df-fun 6516 df-fn 6517 df-f 6518 df-f1 6519 df-fo 6520 df-f1o 6521 df-fv 6522 df-om 7846 df-1st 7971 df-2nd 7972 df-1o 8437 df-er 8674 df-en 8922 df-dom 8923 df-sdom 8924 df-fin 8925 df-pnf 11217 df-mnf 11218 df-xr 11219 df-ltxr 11220 df-le 11221 |
| This theorem is referenced by: fsequb 13947 fsequb2 13948 caubnd 15332 limsupgre 15454 vdwnnlem3 16975 cnheibor 24861 bndth 24864 ovoliunlem2 25411 dchrisum 27410 ssfiunibd 45314 fimaxre4 45404 uzublem 45433 fourierdlem70 46181 fourierdlem71 46182 fourierdlem80 46191 |
| Copyright terms: Public domain | W3C validator |