Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > fimaxg | Structured version Visualization version GIF version |
Description: A finite set has a maximum under a total order. (Contributed by Jeff Madsen, 2-Sep-2009.) (Proof shortened by Mario Carneiro, 29-Jan-2014.) |
Ref | Expression |
---|---|
fimaxg | ⊢ ((𝑅 Or 𝐴 ∧ 𝐴 ∈ Fin ∧ 𝐴 ≠ ∅) → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑥 ≠ 𝑦 → 𝑦𝑅𝑥)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | fimax2g 8840 | . 2 ⊢ ((𝑅 Or 𝐴 ∧ 𝐴 ∈ Fin ∧ 𝐴 ≠ ∅) → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 ¬ 𝑥𝑅𝑦) | |
2 | df-ne 2935 | . . . . . . . . 9 ⊢ (𝑥 ≠ 𝑦 ↔ ¬ 𝑥 = 𝑦) | |
3 | 2 | imbi1i 353 | . . . . . . . 8 ⊢ ((𝑥 ≠ 𝑦 → 𝑦𝑅𝑥) ↔ (¬ 𝑥 = 𝑦 → 𝑦𝑅𝑥)) |
4 | pm4.64 848 | . . . . . . . 8 ⊢ ((¬ 𝑥 = 𝑦 → 𝑦𝑅𝑥) ↔ (𝑥 = 𝑦 ∨ 𝑦𝑅𝑥)) | |
5 | 3, 4 | bitri 278 | . . . . . . 7 ⊢ ((𝑥 ≠ 𝑦 → 𝑦𝑅𝑥) ↔ (𝑥 = 𝑦 ∨ 𝑦𝑅𝑥)) |
6 | sotric 5470 | . . . . . . . 8 ⊢ ((𝑅 Or 𝐴 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴)) → (𝑥𝑅𝑦 ↔ ¬ (𝑥 = 𝑦 ∨ 𝑦𝑅𝑥))) | |
7 | 6 | con2bid 358 | . . . . . . 7 ⊢ ((𝑅 Or 𝐴 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴)) → ((𝑥 = 𝑦 ∨ 𝑦𝑅𝑥) ↔ ¬ 𝑥𝑅𝑦)) |
8 | 5, 7 | syl5bb 286 | . . . . . 6 ⊢ ((𝑅 Or 𝐴 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴)) → ((𝑥 ≠ 𝑦 → 𝑦𝑅𝑥) ↔ ¬ 𝑥𝑅𝑦)) |
9 | 8 | anassrs 471 | . . . . 5 ⊢ (((𝑅 Or 𝐴 ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 ∈ 𝐴) → ((𝑥 ≠ 𝑦 → 𝑦𝑅𝑥) ↔ ¬ 𝑥𝑅𝑦)) |
10 | 9 | ralbidva 3108 | . . . 4 ⊢ ((𝑅 Or 𝐴 ∧ 𝑥 ∈ 𝐴) → (∀𝑦 ∈ 𝐴 (𝑥 ≠ 𝑦 → 𝑦𝑅𝑥) ↔ ∀𝑦 ∈ 𝐴 ¬ 𝑥𝑅𝑦)) |
11 | 10 | rexbidva 3206 | . . 3 ⊢ (𝑅 Or 𝐴 → (∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑥 ≠ 𝑦 → 𝑦𝑅𝑥) ↔ ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 ¬ 𝑥𝑅𝑦)) |
12 | 11 | 3ad2ant1 1134 | . 2 ⊢ ((𝑅 Or 𝐴 ∧ 𝐴 ∈ Fin ∧ 𝐴 ≠ ∅) → (∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑥 ≠ 𝑦 → 𝑦𝑅𝑥) ↔ ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 ¬ 𝑥𝑅𝑦)) |
13 | 1, 12 | mpbird 260 | 1 ⊢ ((𝑅 Or 𝐴 ∧ 𝐴 ∈ Fin ∧ 𝐴 ≠ ∅) → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 (𝑥 ≠ 𝑦 → 𝑦𝑅𝑥)) |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 → wi 4 ↔ wb 209 ∧ wa 399 ∨ wo 846 ∧ w3a 1088 ∈ wcel 2114 ≠ wne 2934 ∀wral 3053 ∃wrex 3054 ∅c0 4211 class class class wbr 5030 Or wor 5441 Fincfn 8557 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1802 ax-4 1816 ax-5 1917 ax-6 1975 ax-7 2020 ax-8 2116 ax-9 2124 ax-10 2145 ax-11 2162 ax-12 2179 ax-ext 2710 ax-sep 5167 ax-nul 5174 ax-pr 5296 ax-un 7481 |
This theorem depends on definitions: df-bi 210 df-an 400 df-or 847 df-3or 1089 df-3an 1090 df-tru 1545 df-fal 1555 df-ex 1787 df-nf 1791 df-sb 2075 df-mo 2540 df-eu 2570 df-clab 2717 df-cleq 2730 df-clel 2811 df-nfc 2881 df-ne 2935 df-ral 3058 df-rex 3059 df-reu 3060 df-rab 3062 df-v 3400 df-sbc 3681 df-dif 3846 df-un 3848 df-in 3850 df-ss 3860 df-pss 3862 df-nul 4212 df-if 4415 df-pw 4490 df-sn 4517 df-pr 4519 df-tp 4521 df-op 4523 df-uni 4797 df-br 5031 df-opab 5093 df-tr 5137 df-id 5429 df-eprel 5434 df-po 5442 df-so 5443 df-fr 5483 df-we 5485 df-xp 5531 df-rel 5532 df-cnv 5533 df-co 5534 df-dm 5535 df-rn 5536 df-res 5537 df-ima 5538 df-ord 6175 df-on 6176 df-lim 6177 df-suc 6178 df-iota 6297 df-fun 6341 df-fn 6342 df-f 6343 df-f1 6344 df-fo 6345 df-f1o 6346 df-fv 6347 df-om 7602 df-en 8558 df-fin 8561 |
This theorem is referenced by: fisupg 8842 fimaxre 11664 |
Copyright terms: Public domain | W3C validator |