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 33063
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 9701 . . . . . . . 8 card:{𝑧 ∣ ∃𝑦 ∈ On 𝑦𝑧}⟶On
2 ffun 6603 . . . . . . . . 9 (card:{𝑧 ∣ ∃𝑦 ∈ On 𝑦𝑧}⟶On → Fun card)
32funfnd 6465 . . . . . . . 8 (card:{𝑧 ∣ ∃𝑦 ∈ On 𝑦𝑧}⟶On → card Fn dom card)
41, 3ax-mp 5 . . . . . . 7 card Fn dom card
5 fnimaeq0 6566 . . . . . . 7 ((card Fn dom card ∧ 𝐴 ⊆ dom card) → ((card “ 𝐴) = ∅ ↔ 𝐴 = ∅))
64, 5mpan 687 . . . . . 6 (𝐴 ⊆ dom card → ((card “ 𝐴) = ∅ ↔ 𝐴 = ∅))
76necon3bid 2988 . . . . 5 (𝐴 ⊆ dom card → ((card “ 𝐴) ≠ ∅ ↔ 𝐴 ≠ ∅))
87biimprd 247 . . . 4 (𝐴 ⊆ dom card → (𝐴 ≠ ∅ → (card “ 𝐴) ≠ ∅))
98imdistani 569 . . 3 ((𝐴 ⊆ dom card ∧ 𝐴 ≠ ∅) → (𝐴 ⊆ dom card ∧ (card “ 𝐴) ≠ ∅))
10 fimass 6621 . . . . . . . . . 10 (card:{𝑧 ∣ ∃𝑦 ∈ On 𝑦𝑧}⟶On → (card “ 𝐴) ⊆ On)
111, 10ax-mp 5 . . . . . . . . 9 (card “ 𝐴) ⊆ On
12 onssmin 7642 . . . . . . . . 9 (((card “ 𝐴) ⊆ On ∧ (card “ 𝐴) ≠ ∅) → ∃𝑧 ∈ (card “ 𝐴)∀𝑦 ∈ (card “ 𝐴)𝑧𝑦)
1311, 12mpan 687 . . . . . . . 8 ((card “ 𝐴) ≠ ∅ → ∃𝑧 ∈ (card “ 𝐴)∀𝑦 ∈ (card “ 𝐴)𝑧𝑦)
14 ssel 3914 . . . . . . . . . . . . 13 ((card “ 𝐴) ⊆ On → (𝑧 ∈ (card “ 𝐴) → 𝑧 ∈ On))
15 ssel 3914 . . . . . . . . . . . . 13 ((card “ 𝐴) ⊆ On → (𝑦 ∈ (card “ 𝐴) → 𝑦 ∈ On))
1614, 15anim12d 609 . . . . . . . . . . . 12 ((card “ 𝐴) ⊆ On → ((𝑧 ∈ (card “ 𝐴) ∧ 𝑦 ∈ (card “ 𝐴)) → (𝑧 ∈ On ∧ 𝑦 ∈ On)))
1711, 16ax-mp 5 . . . . . . . . . . 11 ((𝑧 ∈ (card “ 𝐴) ∧ 𝑦 ∈ (card “ 𝐴)) → (𝑧 ∈ On ∧ 𝑦 ∈ On))
18 ontri1 6300 . . . . . . . . . . 11 ((𝑧 ∈ On ∧ 𝑦 ∈ On) → (𝑧𝑦 ↔ ¬ 𝑦𝑧))
1917, 18syl 17 . . . . . . . . . 10 ((𝑧 ∈ (card “ 𝐴) ∧ 𝑦 ∈ (card “ 𝐴)) → (𝑧𝑦 ↔ ¬ 𝑦𝑧))
20 epel 5498 . . . . . . . . . . 11 (𝑦 E 𝑧𝑦𝑧)
2120notbii 320 . . . . . . . . . 10 𝑦 E 𝑧 ↔ ¬ 𝑦𝑧)
2219, 21bitr4di 289 . . . . . . . . 9 ((𝑧 ∈ (card “ 𝐴) ∧ 𝑦 ∈ (card “ 𝐴)) → (𝑧𝑦 ↔ ¬ 𝑦 E 𝑧))
2322rgen2 3120 . . . . . . . 8 𝑧 ∈ (card “ 𝐴)∀𝑦 ∈ (card “ 𝐴)(𝑧𝑦 ↔ ¬ 𝑦 E 𝑧)
24 r19.29r 3185 . . . . . . . 8 ((∃𝑧 ∈ (card “ 𝐴)∀𝑦 ∈ (card “ 𝐴)𝑧𝑦 ∧ ∀𝑧 ∈ (card “ 𝐴)∀𝑦 ∈ (card “ 𝐴)(𝑧𝑦 ↔ ¬ 𝑦 E 𝑧)) → ∃𝑧 ∈ (card “ 𝐴)(∀𝑦 ∈ (card “ 𝐴)𝑧𝑦 ∧ ∀𝑦 ∈ (card “ 𝐴)(𝑧𝑦 ↔ ¬ 𝑦 E 𝑧)))
2513, 23, 24sylancl 586 . . . . . . 7 ((card “ 𝐴) ≠ ∅ → ∃𝑧 ∈ (card “ 𝐴)(∀𝑦 ∈ (card “ 𝐴)𝑧𝑦 ∧ ∀𝑦 ∈ (card “ 𝐴)(𝑧𝑦 ↔ ¬ 𝑦 E 𝑧)))
26 r19.26 3095 . . . . . . . . 9 (∀𝑦 ∈ (card “ 𝐴)(𝑧𝑦 ∧ (𝑧𝑦 ↔ ¬ 𝑦 E 𝑧)) ↔ (∀𝑦 ∈ (card “ 𝐴)𝑧𝑦 ∧ ∀𝑦 ∈ (card “ 𝐴)(𝑧𝑦 ↔ ¬ 𝑦 E 𝑧)))
27 bicom1 220 . . . . . . . . . . 11 ((𝑧𝑦 ↔ ¬ 𝑦 E 𝑧) → (¬ 𝑦 E 𝑧𝑧𝑦))
2827biimparc 480 . . . . . . . . . 10 ((𝑧𝑦 ∧ (𝑧𝑦 ↔ ¬ 𝑦 E 𝑧)) → ¬ 𝑦 E 𝑧)
2928ralimi 3087 . . . . . . . . 9 (∀𝑦 ∈ (card “ 𝐴)(𝑧𝑦 ∧ (𝑧𝑦 ↔ ¬ 𝑦 E 𝑧)) → ∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E 𝑧)
3026, 29sylbir 234 . . . . . . . 8 ((∀𝑦 ∈ (card “ 𝐴)𝑧𝑦 ∧ ∀𝑦 ∈ (card “ 𝐴)(𝑧𝑦 ↔ ¬ 𝑦 E 𝑧)) → ∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E 𝑧)
3130reximi 3178 . . . . . . 7 (∃𝑧 ∈ (card “ 𝐴)(∀𝑦 ∈ (card “ 𝐴)𝑧𝑦 ∧ ∀𝑦 ∈ (card “ 𝐴)(𝑧𝑦 ↔ ¬ 𝑦 E 𝑧)) → ∃𝑧 ∈ (card “ 𝐴)∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E 𝑧)
3225, 31syl 17 . . . . . 6 ((card “ 𝐴) ≠ ∅ → ∃𝑧 ∈ (card “ 𝐴)∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E 𝑧)
3332adantl 482 . . . . 5 ((𝐴 ⊆ dom card ∧ (card “ 𝐴) ≠ ∅) → ∃𝑧 ∈ (card “ 𝐴)∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E 𝑧)
34 breq2 5078 . . . . . . . . . 10 (𝑧 = (card‘𝑥) → (𝑦 E 𝑧𝑦 E (card‘𝑥)))
3534notbid 318 . . . . . . . . 9 (𝑧 = (card‘𝑥) → (¬ 𝑦 E 𝑧 ↔ ¬ 𝑦 E (card‘𝑥)))
3635ralbidv 3112 . . . . . . . 8 (𝑧 = (card‘𝑥) → (∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E 𝑧 ↔ ∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E (card‘𝑥)))
3736rexima 7113 . . . . . . 7 ((card Fn dom card ∧ 𝐴 ⊆ dom card) → (∃𝑧 ∈ (card “ 𝐴)∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E 𝑧 ↔ ∃𝑥𝐴𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E (card‘𝑥)))
384, 37mpan 687 . . . . . 6 (𝐴 ⊆ dom card → (∃𝑧 ∈ (card “ 𝐴)∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E 𝑧 ↔ ∃𝑥𝐴𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E (card‘𝑥)))
3938adantr 481 . . . . 5 ((𝐴 ⊆ dom card ∧ (card “ 𝐴) ≠ ∅) → (∃𝑧 ∈ (card “ 𝐴)∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E 𝑧 ↔ ∃𝑥𝐴𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E (card‘𝑥)))
4033, 39mpbid 231 . . . 4 ((𝐴 ⊆ dom card ∧ (card “ 𝐴) ≠ ∅) → ∃𝑥𝐴𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E (card‘𝑥))
41 fvex 6787 . . . . . . . 8 (card‘𝑥) ∈ V
4241dfpred3 6213 . . . . . . 7 Pred( E , (card “ 𝐴), (card‘𝑥)) = {𝑦 ∈ (card “ 𝐴) ∣ 𝑦 E (card‘𝑥)}
4342eqeq1i 2743 . . . . . 6 (Pred( E , (card “ 𝐴), (card‘𝑥)) = ∅ ↔ {𝑦 ∈ (card “ 𝐴) ∣ 𝑦 E (card‘𝑥)} = ∅)
44 rabeq0 4318 . . . . . 6 ({𝑦 ∈ (card “ 𝐴) ∣ 𝑦 E (card‘𝑥)} = ∅ ↔ ∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E (card‘𝑥))
4543, 44bitri 274 . . . . 5 (Pred( E , (card “ 𝐴), (card‘𝑥)) = ∅ ↔ ∀𝑦 ∈ (card “ 𝐴) ¬ 𝑦 E (card‘𝑥))
4645rexbii 3181 . . . 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 3916 . . . . 5 ((𝐴 ⊆ dom card ∧ 𝑥𝐴) → 𝑥 ∈ dom card)
50 cardpred 33062 . . . . . . 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 6210 . . . . . . . . 9 Pred( ≺ , 𝐴, 𝑥) ⊆ 𝐴
53 sstr 3929 . . . . . . . . 9 ((Pred( ≺ , 𝐴, 𝑥) ⊆ 𝐴𝐴 ⊆ dom card) → Pred( ≺ , 𝐴, 𝑥) ⊆ dom card)
5452, 53mpan 687 . . . . . . . 8 (𝐴 ⊆ dom card → Pred( ≺ , 𝐴, 𝑥) ⊆ dom card)
55 fnimaeq0 6566 . . . . . . . 8 ((card Fn dom card ∧ Pred( ≺ , 𝐴, 𝑥) ⊆ dom card) → ((card “ Pred( ≺ , 𝐴, 𝑥)) = ∅ ↔ Pred( ≺ , 𝐴, 𝑥) = ∅))
564, 54, 55sylancr 587 . . . . . . 7 (𝐴 ⊆ dom card → ((card “ Pred( ≺ , 𝐴, 𝑥)) = ∅ ↔ Pred( ≺ , 𝐴, 𝑥) = ∅))
5756adantr 481 . . . . . 6 ((𝐴 ⊆ dom card ∧ 𝑥 ∈ dom card) → ((card “ Pred( ≺ , 𝐴, 𝑥)) = ∅ ↔ Pred( ≺ , 𝐴, 𝑥) = ∅))
5851, 57bitrd 278 . . . . 5 ((𝐴 ⊆ dom card ∧ 𝑥 ∈ dom card) → (Pred( E , (card “ 𝐴), (card‘𝑥)) = ∅ ↔ Pred( ≺ , 𝐴, 𝑥) = ∅))
5949, 58syldan 591 . . . 4 ((𝐴 ⊆ dom card ∧ 𝑥𝐴) → (Pred( E , (card “ 𝐴), (card‘𝑥)) = ∅ ↔ Pred( ≺ , 𝐴, 𝑥) = ∅))
6059rexbidva 3225 . . 3 (𝐴 ⊆ dom card → (∃𝑥𝐴 Pred( E , (card “ 𝐴), (card‘𝑥)) = ∅ ↔ ∃𝑥𝐴 Pred( ≺ , 𝐴, 𝑥) = ∅))
6160adantr 481 . 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 396   = wceq 1539  wcel 2106  {cab 2715  wne 2943  wral 3064  wrex 3065  {crab 3068  wss 3887  c0 4256   class class class wbr 5074   E cep 5494  dom cdm 5589  cima 5592  Predcpred 6201  Oncon0 6266   Fn wfn 6428  wf 6429  cfv 6433  cen 8730  csdm 8732  cardccrd 9693
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-int 4880  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-er 8498  df-en 8734  df-dom 8735  df-sdom 8736  df-card 9697
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator