Users' Mathboxes Mathbox for BTernaryTau < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  nummin Structured version   Visualization version   GIF version

Theorem nummin 32963
Description: Every nonempty class of numerable sets has a minimal element. (Contributed by BTernaryTau, 18-Jul-2024.)
Assertion
Ref Expression
nummin ((𝐴 ⊆ dom card ∧ 𝐴 ≠ ∅) → ∃𝑥𝐴 Pred( ≺ , 𝐴, 𝑥) = ∅)
Distinct variable group:   𝑥,𝐴

Proof of Theorem nummin
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 cardf2 9632 . . . . . . . 8 card:{𝑧 ∣ ∃𝑦 ∈ On 𝑦𝑧}⟶On
2 ffun 6587 . . . . . . . . 9 (card:{𝑧 ∣ ∃𝑦 ∈ On 𝑦𝑧}⟶On → Fun card)
32funfnd 6449 . . . . . . . 8 (card:{𝑧 ∣ ∃𝑦 ∈ On 𝑦𝑧}⟶On → card Fn dom card)
41, 3ax-mp 5 . . . . . . 7 card Fn dom card
5 fnimaeq0 6550 . . . . . . 7 ((card Fn dom card ∧ 𝐴 ⊆ dom card) → ((card “ 𝐴) = ∅ ↔ 𝐴 = ∅))
64, 5mpan 686 . . . . . 6 (𝐴 ⊆ dom card → ((card “ 𝐴) = ∅ ↔ 𝐴 = ∅))
76necon3bid 2987 . . . . 5 (𝐴 ⊆ dom card → ((card “ 𝐴) ≠ ∅ ↔ 𝐴 ≠ ∅))
87biimprd 247 . . . 4 (𝐴 ⊆ dom card → (𝐴 ≠ ∅ → (card “ 𝐴) ≠ ∅))
98imdistani 568 . . 3 ((𝐴 ⊆ dom card ∧ 𝐴 ≠ ∅) → (𝐴 ⊆ dom card ∧ (card “ 𝐴) ≠ ∅))
10 fimass 6605 . . . . . . . . . 10 (card:{𝑧 ∣ ∃𝑦 ∈ On 𝑦𝑧}⟶On → (card “ 𝐴) ⊆ On)
111, 10ax-mp 5 . . . . . . . . 9 (card “ 𝐴) ⊆ On
12 onssmin 7619 . . . . . . . . 9 (((card “ 𝐴) ⊆ On ∧ (card “ 𝐴) ≠ ∅) → ∃𝑧 ∈ (card “ 𝐴)∀𝑦 ∈ (card “ 𝐴)𝑧𝑦)
1311, 12mpan 686 . . . . . . . 8 ((card “ 𝐴) ≠ ∅ → ∃𝑧 ∈ (card “ 𝐴)∀𝑦 ∈ (card “ 𝐴)𝑧𝑦)
14 ssel 3910 . . . . . . . . . . . . 13 ((card “ 𝐴) ⊆ On → (𝑧 ∈ (card “ 𝐴) → 𝑧 ∈ On))
15 ssel 3910 . . . . . . . . . . . . 13 ((card “ 𝐴) ⊆ On → (𝑦 ∈ (card “ 𝐴) → 𝑦 ∈ On))
1614, 15anim12d 608 . . . . . . . . . . . 12 ((card “ 𝐴) ⊆ On → ((𝑧 ∈ (card “ 𝐴) ∧ 𝑦 ∈ (card “ 𝐴)) → (𝑧 ∈ On ∧ 𝑦 ∈ On)))
1711, 16ax-mp 5 . . . . . . . . . . 11 ((𝑧 ∈ (card “ 𝐴) ∧ 𝑦 ∈ (card “ 𝐴)) → (𝑧 ∈ On ∧ 𝑦 ∈ On))
18 ontri1 6285 . . . . . . . . . . 11 ((𝑧 ∈ On ∧ 𝑦 ∈ On) → (𝑧𝑦 ↔ ¬ 𝑦𝑧))
1917, 18syl 17 . . . . . . . . . 10 ((𝑧 ∈ (card “ 𝐴) ∧ 𝑦 ∈ (card “ 𝐴)) → (𝑧𝑦 ↔ ¬ 𝑦𝑧))
20 epel 5489 . . . . . . . . . . 11 (𝑦 E 𝑧𝑦𝑧)
2120notbii 319 . . . . . . . . . 10 𝑦 E 𝑧 ↔ ¬ 𝑦𝑧)
2219, 21bitr4di 288 . . . . . . . . 9 ((𝑧 ∈ (card “ 𝐴) ∧ 𝑦 ∈ (card “ 𝐴)) → (𝑧𝑦 ↔ ¬ 𝑦 E 𝑧))
2322rgen2 3126 . . . . . . . 8 𝑧 ∈ (card “ 𝐴)∀𝑦 ∈ (card “ 𝐴)(𝑧𝑦 ↔ ¬ 𝑦 E 𝑧)
24 r19.29r 3184 . . . . . . . 8 ((∃𝑧 ∈ (card “ 𝐴)∀𝑦 ∈ (card “ 𝐴)𝑧𝑦 ∧ ∀𝑧 ∈ (card “ 𝐴)∀𝑦 ∈ (card “ 𝐴)(𝑧𝑦 ↔ ¬ 𝑦 E 𝑧)) → ∃𝑧 ∈ (card “ 𝐴)(∀𝑦 ∈ (card “ 𝐴)𝑧𝑦 ∧ ∀𝑦 ∈ (card “ 𝐴)(𝑧𝑦 ↔ ¬ 𝑦 E 𝑧)))
2513, 23, 24sylancl 585 . . . . . . 7 ((card “ 𝐴) ≠ ∅ → ∃𝑧 ∈ (card “ 𝐴)(∀𝑦 ∈ (card “ 𝐴)𝑧𝑦 ∧ ∀𝑦 ∈ (card “ 𝐴)(𝑧𝑦 ↔ ¬ 𝑦 E 𝑧)))
26 r19.26 3094 . . . . . . . . 9 (∀𝑦 ∈ (card “ 𝐴)(𝑧𝑦 ∧ (𝑧𝑦 ↔ ¬ 𝑦 E 𝑧)) ↔ (∀𝑦 ∈ (card “ 𝐴)𝑧𝑦 ∧ ∀𝑦 ∈ (card “ 𝐴)(𝑧𝑦 ↔ ¬ 𝑦 E 𝑧)))
27 bicom1 220 . . . . . . . . . . 11 ((𝑧𝑦 ↔ ¬ 𝑦 E 𝑧) → (¬ 𝑦 E 𝑧𝑧𝑦))
2827biimparc 479 . . . . . . . . . 10 ((𝑧𝑦 ∧ (𝑧𝑦 ↔ ¬ 𝑦 E 𝑧)) → ¬ 𝑦 E 𝑧)
2928ralimi 3086 . . . . . . . . 9 (∀𝑦 ∈ (card “ 𝐴)(𝑧𝑦 ∧ (𝑧𝑦 ↔ ¬ 𝑦 E 𝑧)) → ∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E 𝑧)
3026, 29sylbir 234 . . . . . . . 8 ((∀𝑦 ∈ (card “ 𝐴)𝑧𝑦 ∧ ∀𝑦 ∈ (card “ 𝐴)(𝑧𝑦 ↔ ¬ 𝑦 E 𝑧)) → ∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E 𝑧)
3130reximi 3174 . . . . . . 7 (∃𝑧 ∈ (card “ 𝐴)(∀𝑦 ∈ (card “ 𝐴)𝑧𝑦 ∧ ∀𝑦 ∈ (card “ 𝐴)(𝑧𝑦 ↔ ¬ 𝑦 E 𝑧)) → ∃𝑧 ∈ (card “ 𝐴)∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E 𝑧)
3225, 31syl 17 . . . . . 6 ((card “ 𝐴) ≠ ∅ → ∃𝑧 ∈ (card “ 𝐴)∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E 𝑧)
3332adantl 481 . . . . 5 ((𝐴 ⊆ dom card ∧ (card “ 𝐴) ≠ ∅) → ∃𝑧 ∈ (card “ 𝐴)∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E 𝑧)
34 breq2 5074 . . . . . . . . . 10 (𝑧 = (card‘𝑥) → (𝑦 E 𝑧𝑦 E (card‘𝑥)))
3534notbid 317 . . . . . . . . 9 (𝑧 = (card‘𝑥) → (¬ 𝑦 E 𝑧 ↔ ¬ 𝑦 E (card‘𝑥)))
3635ralbidv 3120 . . . . . . . 8 (𝑧 = (card‘𝑥) → (∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E 𝑧 ↔ ∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E (card‘𝑥)))
3736rexima 7095 . . . . . . 7 ((card Fn dom card ∧ 𝐴 ⊆ dom card) → (∃𝑧 ∈ (card “ 𝐴)∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E 𝑧 ↔ ∃𝑥𝐴𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E (card‘𝑥)))
384, 37mpan 686 . . . . . 6 (𝐴 ⊆ dom card → (∃𝑧 ∈ (card “ 𝐴)∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E 𝑧 ↔ ∃𝑥𝐴𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E (card‘𝑥)))
3938adantr 480 . . . . 5 ((𝐴 ⊆ dom card ∧ (card “ 𝐴) ≠ ∅) → (∃𝑧 ∈ (card “ 𝐴)∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E 𝑧 ↔ ∃𝑥𝐴𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E (card‘𝑥)))
4033, 39mpbid 231 . . . 4 ((𝐴 ⊆ dom card ∧ (card “ 𝐴) ≠ ∅) → ∃𝑥𝐴𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E (card‘𝑥))
41 fvex 6769 . . . . . . . 8 (card‘𝑥) ∈ V
4241dfpred3 6202 . . . . . . 7 Pred( E , (card “ 𝐴), (card‘𝑥)) = {𝑦 ∈ (card “ 𝐴) ∣ 𝑦 E (card‘𝑥)}
4342eqeq1i 2743 . . . . . 6 (Pred( E , (card “ 𝐴), (card‘𝑥)) = ∅ ↔ {𝑦 ∈ (card “ 𝐴) ∣ 𝑦 E (card‘𝑥)} = ∅)
44 rabeq0 4315 . . . . . 6 ({𝑦 ∈ (card “ 𝐴) ∣ 𝑦 E (card‘𝑥)} = ∅ ↔ ∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E (card‘𝑥))
4543, 44bitri 274 . . . . 5 (Pred( E , (card “ 𝐴), (card‘𝑥)) = ∅ ↔ ∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E (card‘𝑥))
4645rexbii 3177 . . . 4 (∃𝑥𝐴 Pred( E , (card “ 𝐴), (card‘𝑥)) = ∅ ↔ ∃𝑥𝐴𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E (card‘𝑥))
4740, 46sylibr 233 . . 3 ((𝐴 ⊆ dom card ∧ (card “ 𝐴) ≠ ∅) → ∃𝑥𝐴 Pred( E , (card “ 𝐴), (card‘𝑥)) = ∅)
489, 47syl 17 . 2 ((𝐴 ⊆ dom card ∧ 𝐴 ≠ ∅) → ∃𝑥𝐴 Pred( E , (card “ 𝐴), (card‘𝑥)) = ∅)
49 ssel2 3912 . . . . 5 ((𝐴 ⊆ dom card ∧ 𝑥𝐴) → 𝑥 ∈ dom card)
50 cardpred 32962 . . . . . . 7 ((𝐴 ⊆ dom card ∧ 𝑥 ∈ dom card) → Pred( E , (card “ 𝐴), (card‘𝑥)) = (card “ Pred( ≺ , 𝐴, 𝑥)))
5150eqeq1d 2740 . . . . . 6 ((𝐴 ⊆ dom card ∧ 𝑥 ∈ dom card) → (Pred( E , (card “ 𝐴), (card‘𝑥)) = ∅ ↔ (card “ Pred( ≺ , 𝐴, 𝑥)) = ∅))
52 predss 6199 . . . . . . . . 9 Pred( ≺ , 𝐴, 𝑥) ⊆ 𝐴
53 sstr 3925 . . . . . . . . 9 ((Pred( ≺ , 𝐴, 𝑥) ⊆ 𝐴𝐴 ⊆ dom card) → Pred( ≺ , 𝐴, 𝑥) ⊆ dom card)
5452, 53mpan 686 . . . . . . . 8 (𝐴 ⊆ dom card → Pred( ≺ , 𝐴, 𝑥) ⊆ dom card)
55 fnimaeq0 6550 . . . . . . . 8 ((card Fn dom card ∧ Pred( ≺ , 𝐴, 𝑥) ⊆ dom card) → ((card “ Pred( ≺ , 𝐴, 𝑥)) = ∅ ↔ Pred( ≺ , 𝐴, 𝑥) = ∅))
564, 54, 55sylancr 586 . . . . . . 7 (𝐴 ⊆ dom card → ((card “ Pred( ≺ , 𝐴, 𝑥)) = ∅ ↔ Pred( ≺ , 𝐴, 𝑥) = ∅))
5756adantr 480 . . . . . 6 ((𝐴 ⊆ dom card ∧ 𝑥 ∈ dom card) → ((card “ Pred( ≺ , 𝐴, 𝑥)) = ∅ ↔ Pred( ≺ , 𝐴, 𝑥) = ∅))
5851, 57bitrd 278 . . . . 5 ((𝐴 ⊆ dom card ∧ 𝑥 ∈ dom card) → (Pred( E , (card “ 𝐴), (card‘𝑥)) = ∅ ↔ Pred( ≺ , 𝐴, 𝑥) = ∅))
5949, 58syldan 590 . . . 4 ((𝐴 ⊆ dom card ∧ 𝑥𝐴) → (Pred( E , (card “ 𝐴), (card‘𝑥)) = ∅ ↔ Pred( ≺ , 𝐴, 𝑥) = ∅))
6059rexbidva 3224 . . 3 (𝐴 ⊆ dom card → (∃𝑥𝐴 Pred( E , (card “ 𝐴), (card‘𝑥)) = ∅ ↔ ∃𝑥𝐴 Pred( ≺ , 𝐴, 𝑥) = ∅))
6160adantr 480 . 2 ((𝐴 ⊆ dom card ∧ 𝐴 ≠ ∅) → (∃𝑥𝐴 Pred( E , (card “ 𝐴), (card‘𝑥)) = ∅ ↔ ∃𝑥𝐴 Pred( ≺ , 𝐴, 𝑥) = ∅))
6248, 61mpbid 231 1 ((𝐴 ⊆ dom card ∧ 𝐴 ≠ ∅) → ∃𝑥𝐴 Pred( ≺ , 𝐴, 𝑥) = ∅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  {cab 2715  wne 2942  wral 3063  wrex 3064  {crab 3067  wss 3883  c0 4253   class class class wbr 5070   E cep 5485  dom cdm 5580  cima 5583  Predcpred 6190  Oncon0 6251   Fn wfn 6413  wf 6414  cfv 6418  cen 8688  csdm 8690  cardccrd 9624
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-er 8456  df-en 8692  df-dom 8693  df-sdom 8694  df-card 9628
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator