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

Theorem finsschain 9203
Description: A finite subset of the union of a superset chain is a subset of some element of the chain. A useful preliminary result for alexsub 23279 and others. (Contributed by Jeff Hankins, 25-Jan-2010.) (Proof shortened by Mario Carneiro, 11-Feb-2015.) (Revised by Mario Carneiro, 18-May-2015.)
Assertion
Ref Expression
finsschain (((𝐴 ≠ ∅ ∧ [] Or 𝐴) ∧ (𝐵 ∈ Fin ∧ 𝐵 𝐴)) → ∃𝑧𝐴 𝐵𝑧)
Distinct variable groups:   𝑧,𝐴   𝑧,𝐵

Proof of Theorem finsschain
Dummy variables 𝑎 𝑏 𝑐 𝑢 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 sseq1 3956 . . . . . 6 (𝑎 = ∅ → (𝑎 𝐴 ↔ ∅ ⊆ 𝐴))
2 sseq1 3956 . . . . . . 7 (𝑎 = ∅ → (𝑎𝑧 ↔ ∅ ⊆ 𝑧))
32rexbidv 3172 . . . . . 6 (𝑎 = ∅ → (∃𝑧𝐴 𝑎𝑧 ↔ ∃𝑧𝐴 ∅ ⊆ 𝑧))
41, 3imbi12d 344 . . . . 5 (𝑎 = ∅ → ((𝑎 𝐴 → ∃𝑧𝐴 𝑎𝑧) ↔ (∅ ⊆ 𝐴 → ∃𝑧𝐴 ∅ ⊆ 𝑧)))
54imbi2d 340 . . . 4 (𝑎 = ∅ → (((𝐴 ≠ ∅ ∧ [] Or 𝐴) → (𝑎 𝐴 → ∃𝑧𝐴 𝑎𝑧)) ↔ ((𝐴 ≠ ∅ ∧ [] Or 𝐴) → (∅ ⊆ 𝐴 → ∃𝑧𝐴 ∅ ⊆ 𝑧))))
6 sseq1 3956 . . . . . 6 (𝑎 = 𝑏 → (𝑎 𝐴𝑏 𝐴))
7 sseq1 3956 . . . . . . 7 (𝑎 = 𝑏 → (𝑎𝑧𝑏𝑧))
87rexbidv 3172 . . . . . 6 (𝑎 = 𝑏 → (∃𝑧𝐴 𝑎𝑧 ↔ ∃𝑧𝐴 𝑏𝑧))
96, 8imbi12d 344 . . . . 5 (𝑎 = 𝑏 → ((𝑎 𝐴 → ∃𝑧𝐴 𝑎𝑧) ↔ (𝑏 𝐴 → ∃𝑧𝐴 𝑏𝑧)))
109imbi2d 340 . . . 4 (𝑎 = 𝑏 → (((𝐴 ≠ ∅ ∧ [] Or 𝐴) → (𝑎 𝐴 → ∃𝑧𝐴 𝑎𝑧)) ↔ ((𝐴 ≠ ∅ ∧ [] Or 𝐴) → (𝑏 𝐴 → ∃𝑧𝐴 𝑏𝑧))))
11 sseq1 3956 . . . . . 6 (𝑎 = (𝑏 ∪ {𝑐}) → (𝑎 𝐴 ↔ (𝑏 ∪ {𝑐}) ⊆ 𝐴))
12 sseq1 3956 . . . . . . 7 (𝑎 = (𝑏 ∪ {𝑐}) → (𝑎𝑧 ↔ (𝑏 ∪ {𝑐}) ⊆ 𝑧))
1312rexbidv 3172 . . . . . 6 (𝑎 = (𝑏 ∪ {𝑐}) → (∃𝑧𝐴 𝑎𝑧 ↔ ∃𝑧𝐴 (𝑏 ∪ {𝑐}) ⊆ 𝑧))
1411, 13imbi12d 344 . . . . 5 (𝑎 = (𝑏 ∪ {𝑐}) → ((𝑎 𝐴 → ∃𝑧𝐴 𝑎𝑧) ↔ ((𝑏 ∪ {𝑐}) ⊆ 𝐴 → ∃𝑧𝐴 (𝑏 ∪ {𝑐}) ⊆ 𝑧)))
1514imbi2d 340 . . . 4 (𝑎 = (𝑏 ∪ {𝑐}) → (((𝐴 ≠ ∅ ∧ [] Or 𝐴) → (𝑎 𝐴 → ∃𝑧𝐴 𝑎𝑧)) ↔ ((𝐴 ≠ ∅ ∧ [] Or 𝐴) → ((𝑏 ∪ {𝑐}) ⊆ 𝐴 → ∃𝑧𝐴 (𝑏 ∪ {𝑐}) ⊆ 𝑧))))
16 sseq1 3956 . . . . . 6 (𝑎 = 𝐵 → (𝑎 𝐴𝐵 𝐴))
17 sseq1 3956 . . . . . . 7 (𝑎 = 𝐵 → (𝑎𝑧𝐵𝑧))
1817rexbidv 3172 . . . . . 6 (𝑎 = 𝐵 → (∃𝑧𝐴 𝑎𝑧 ↔ ∃𝑧𝐴 𝐵𝑧))
1916, 18imbi12d 344 . . . . 5 (𝑎 = 𝐵 → ((𝑎 𝐴 → ∃𝑧𝐴 𝑎𝑧) ↔ (𝐵 𝐴 → ∃𝑧𝐴 𝐵𝑧)))
2019imbi2d 340 . . . 4 (𝑎 = 𝐵 → (((𝐴 ≠ ∅ ∧ [] Or 𝐴) → (𝑎 𝐴 → ∃𝑧𝐴 𝑎𝑧)) ↔ ((𝐴 ≠ ∅ ∧ [] Or 𝐴) → (𝐵 𝐴 → ∃𝑧𝐴 𝐵𝑧))))
21 0ss 4341 . . . . . . . 8 ∅ ⊆ 𝑧
2221rgenw 3066 . . . . . . 7 𝑧𝐴 ∅ ⊆ 𝑧
23 r19.2z 4437 . . . . . . 7 ((𝐴 ≠ ∅ ∧ ∀𝑧𝐴 ∅ ⊆ 𝑧) → ∃𝑧𝐴 ∅ ⊆ 𝑧)
2422, 23mpan2 688 . . . . . 6 (𝐴 ≠ ∅ → ∃𝑧𝐴 ∅ ⊆ 𝑧)
2524adantr 481 . . . . 5 ((𝐴 ≠ ∅ ∧ [] Or 𝐴) → ∃𝑧𝐴 ∅ ⊆ 𝑧)
2625a1d 25 . . . 4 ((𝐴 ≠ ∅ ∧ [] Or 𝐴) → (∅ ⊆ 𝐴 → ∃𝑧𝐴 ∅ ⊆ 𝑧))
27 id 22 . . . . . . . . 9 ((𝑏 ∪ {𝑐}) ⊆ 𝐴 → (𝑏 ∪ {𝑐}) ⊆ 𝐴)
2827unssad 4132 . . . . . . . 8 ((𝑏 ∪ {𝑐}) ⊆ 𝐴𝑏 𝐴)
2928imim1i 63 . . . . . . 7 ((𝑏 𝐴 → ∃𝑧𝐴 𝑏𝑧) → ((𝑏 ∪ {𝑐}) ⊆ 𝐴 → ∃𝑧𝐴 𝑏𝑧))
30 sseq2 3957 . . . . . . . . . . 11 (𝑧 = 𝑤 → (𝑏𝑧𝑏𝑤))
3130cbvrexvw 3223 . . . . . . . . . 10 (∃𝑧𝐴 𝑏𝑧 ↔ ∃𝑤𝐴 𝑏𝑤)
32 simpr 485 . . . . . . . . . . . . . 14 (((𝐴 ≠ ∅ ∧ [] Or 𝐴) ∧ (𝑏 ∪ {𝑐}) ⊆ 𝐴) → (𝑏 ∪ {𝑐}) ⊆ 𝐴)
3332unssbd 4133 . . . . . . . . . . . . 13 (((𝐴 ≠ ∅ ∧ [] Or 𝐴) ∧ (𝑏 ∪ {𝑐}) ⊆ 𝐴) → {𝑐} ⊆ 𝐴)
34 vex 3445 . . . . . . . . . . . . . 14 𝑐 ∈ V
3534snss 4731 . . . . . . . . . . . . 13 (𝑐 𝐴 ↔ {𝑐} ⊆ 𝐴)
3633, 35sylibr 233 . . . . . . . . . . . 12 (((𝐴 ≠ ∅ ∧ [] Or 𝐴) ∧ (𝑏 ∪ {𝑐}) ⊆ 𝐴) → 𝑐 𝐴)
37 eluni2 4854 . . . . . . . . . . . 12 (𝑐 𝐴 ↔ ∃𝑢𝐴 𝑐𝑢)
3836, 37sylib 217 . . . . . . . . . . 11 (((𝐴 ≠ ∅ ∧ [] Or 𝐴) ∧ (𝑏 ∪ {𝑐}) ⊆ 𝐴) → ∃𝑢𝐴 𝑐𝑢)
39 reeanv 3214 . . . . . . . . . . . 12 (∃𝑢𝐴𝑤𝐴 (𝑐𝑢𝑏𝑤) ↔ (∃𝑢𝐴 𝑐𝑢 ∧ ∃𝑤𝐴 𝑏𝑤))
40 simpllr 773 . . . . . . . . . . . . . . . 16 ((((𝐴 ≠ ∅ ∧ [] Or 𝐴) ∧ (𝑏 ∪ {𝑐}) ⊆ 𝐴) ∧ ((𝑢𝐴𝑤𝐴) ∧ (𝑐𝑢𝑏𝑤))) → [] Or 𝐴)
41 simprlr 777 . . . . . . . . . . . . . . . 16 ((((𝐴 ≠ ∅ ∧ [] Or 𝐴) ∧ (𝑏 ∪ {𝑐}) ⊆ 𝐴) ∧ ((𝑢𝐴𝑤𝐴) ∧ (𝑐𝑢𝑏𝑤))) → 𝑤𝐴)
42 simprll 776 . . . . . . . . . . . . . . . 16 ((((𝐴 ≠ ∅ ∧ [] Or 𝐴) ∧ (𝑏 ∪ {𝑐}) ⊆ 𝐴) ∧ ((𝑢𝐴𝑤𝐴) ∧ (𝑐𝑢𝑏𝑤))) → 𝑢𝐴)
43 sorpssun 7625 . . . . . . . . . . . . . . . 16 (( [] Or 𝐴 ∧ (𝑤𝐴𝑢𝐴)) → (𝑤𝑢) ∈ 𝐴)
4440, 41, 42, 43syl12anc 834 . . . . . . . . . . . . . . 15 ((((𝐴 ≠ ∅ ∧ [] Or 𝐴) ∧ (𝑏 ∪ {𝑐}) ⊆ 𝐴) ∧ ((𝑢𝐴𝑤𝐴) ∧ (𝑐𝑢𝑏𝑤))) → (𝑤𝑢) ∈ 𝐴)
45 simprrr 779 . . . . . . . . . . . . . . . 16 ((((𝐴 ≠ ∅ ∧ [] Or 𝐴) ∧ (𝑏 ∪ {𝑐}) ⊆ 𝐴) ∧ ((𝑢𝐴𝑤𝐴) ∧ (𝑐𝑢𝑏𝑤))) → 𝑏𝑤)
46 simprrl 778 . . . . . . . . . . . . . . . . 17 ((((𝐴 ≠ ∅ ∧ [] Or 𝐴) ∧ (𝑏 ∪ {𝑐}) ⊆ 𝐴) ∧ ((𝑢𝐴𝑤𝐴) ∧ (𝑐𝑢𝑏𝑤))) → 𝑐𝑢)
4746snssd 4754 . . . . . . . . . . . . . . . 16 ((((𝐴 ≠ ∅ ∧ [] Or 𝐴) ∧ (𝑏 ∪ {𝑐}) ⊆ 𝐴) ∧ ((𝑢𝐴𝑤𝐴) ∧ (𝑐𝑢𝑏𝑤))) → {𝑐} ⊆ 𝑢)
48 unss12 4127 . . . . . . . . . . . . . . . 16 ((𝑏𝑤 ∧ {𝑐} ⊆ 𝑢) → (𝑏 ∪ {𝑐}) ⊆ (𝑤𝑢))
4945, 47, 48syl2anc 584 . . . . . . . . . . . . . . 15 ((((𝐴 ≠ ∅ ∧ [] Or 𝐴) ∧ (𝑏 ∪ {𝑐}) ⊆ 𝐴) ∧ ((𝑢𝐴𝑤𝐴) ∧ (𝑐𝑢𝑏𝑤))) → (𝑏 ∪ {𝑐}) ⊆ (𝑤𝑢))
50 sseq2 3957 . . . . . . . . . . . . . . . 16 (𝑧 = (𝑤𝑢) → ((𝑏 ∪ {𝑐}) ⊆ 𝑧 ↔ (𝑏 ∪ {𝑐}) ⊆ (𝑤𝑢)))
5150rspcev 3570 . . . . . . . . . . . . . . 15 (((𝑤𝑢) ∈ 𝐴 ∧ (𝑏 ∪ {𝑐}) ⊆ (𝑤𝑢)) → ∃𝑧𝐴 (𝑏 ∪ {𝑐}) ⊆ 𝑧)
5244, 49, 51syl2anc 584 . . . . . . . . . . . . . 14 ((((𝐴 ≠ ∅ ∧ [] Or 𝐴) ∧ (𝑏 ∪ {𝑐}) ⊆ 𝐴) ∧ ((𝑢𝐴𝑤𝐴) ∧ (𝑐𝑢𝑏𝑤))) → ∃𝑧𝐴 (𝑏 ∪ {𝑐}) ⊆ 𝑧)
5352expr 457 . . . . . . . . . . . . 13 ((((𝐴 ≠ ∅ ∧ [] Or 𝐴) ∧ (𝑏 ∪ {𝑐}) ⊆ 𝐴) ∧ (𝑢𝐴𝑤𝐴)) → ((𝑐𝑢𝑏𝑤) → ∃𝑧𝐴 (𝑏 ∪ {𝑐}) ⊆ 𝑧))
5453rexlimdvva 3202 . . . . . . . . . . . 12 (((𝐴 ≠ ∅ ∧ [] Or 𝐴) ∧ (𝑏 ∪ {𝑐}) ⊆ 𝐴) → (∃𝑢𝐴𝑤𝐴 (𝑐𝑢𝑏𝑤) → ∃𝑧𝐴 (𝑏 ∪ {𝑐}) ⊆ 𝑧))
5539, 54syl5bir 242 . . . . . . . . . . 11 (((𝐴 ≠ ∅ ∧ [] Or 𝐴) ∧ (𝑏 ∪ {𝑐}) ⊆ 𝐴) → ((∃𝑢𝐴 𝑐𝑢 ∧ ∃𝑤𝐴 𝑏𝑤) → ∃𝑧𝐴 (𝑏 ∪ {𝑐}) ⊆ 𝑧))
5638, 55mpand 692 . . . . . . . . . 10 (((𝐴 ≠ ∅ ∧ [] Or 𝐴) ∧ (𝑏 ∪ {𝑐}) ⊆ 𝐴) → (∃𝑤𝐴 𝑏𝑤 → ∃𝑧𝐴 (𝑏 ∪ {𝑐}) ⊆ 𝑧))
5731, 56biimtrid 241 . . . . . . . . 9 (((𝐴 ≠ ∅ ∧ [] Or 𝐴) ∧ (𝑏 ∪ {𝑐}) ⊆ 𝐴) → (∃𝑧𝐴 𝑏𝑧 → ∃𝑧𝐴 (𝑏 ∪ {𝑐}) ⊆ 𝑧))
5857ex 413 . . . . . . . 8 ((𝐴 ≠ ∅ ∧ [] Or 𝐴) → ((𝑏 ∪ {𝑐}) ⊆ 𝐴 → (∃𝑧𝐴 𝑏𝑧 → ∃𝑧𝐴 (𝑏 ∪ {𝑐}) ⊆ 𝑧)))
5958a2d 29 . . . . . . 7 ((𝐴 ≠ ∅ ∧ [] Or 𝐴) → (((𝑏 ∪ {𝑐}) ⊆ 𝐴 → ∃𝑧𝐴 𝑏𝑧) → ((𝑏 ∪ {𝑐}) ⊆ 𝐴 → ∃𝑧𝐴 (𝑏 ∪ {𝑐}) ⊆ 𝑧)))
6029, 59syl5 34 . . . . . 6 ((𝐴 ≠ ∅ ∧ [] Or 𝐴) → ((𝑏 𝐴 → ∃𝑧𝐴 𝑏𝑧) → ((𝑏 ∪ {𝑐}) ⊆ 𝐴 → ∃𝑧𝐴 (𝑏 ∪ {𝑐}) ⊆ 𝑧)))
6160a2i 14 . . . . 5 (((𝐴 ≠ ∅ ∧ [] Or 𝐴) → (𝑏 𝐴 → ∃𝑧𝐴 𝑏𝑧)) → ((𝐴 ≠ ∅ ∧ [] Or 𝐴) → ((𝑏 ∪ {𝑐}) ⊆ 𝐴 → ∃𝑧𝐴 (𝑏 ∪ {𝑐}) ⊆ 𝑧)))
6261a1i 11 . . . 4 (𝑏 ∈ Fin → (((𝐴 ≠ ∅ ∧ [] Or 𝐴) → (𝑏 𝐴 → ∃𝑧𝐴 𝑏𝑧)) → ((𝐴 ≠ ∅ ∧ [] Or 𝐴) → ((𝑏 ∪ {𝑐}) ⊆ 𝐴 → ∃𝑧𝐴 (𝑏 ∪ {𝑐}) ⊆ 𝑧))))
635, 10, 15, 20, 26, 62findcard2 9008 . . 3 (𝐵 ∈ Fin → ((𝐴 ≠ ∅ ∧ [] Or 𝐴) → (𝐵 𝐴 → ∃𝑧𝐴 𝐵𝑧)))
6463com12 32 . 2 ((𝐴 ≠ ∅ ∧ [] Or 𝐴) → (𝐵 ∈ Fin → (𝐵 𝐴 → ∃𝑧𝐴 𝐵𝑧)))
6564imp32 419 1 (((𝐴 ≠ ∅ ∧ [] Or 𝐴) ∧ (𝐵 ∈ Fin ∧ 𝐵 𝐴)) → ∃𝑧𝐴 𝐵𝑧)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1540  wcel 2105  wne 2941  wral 3062  wrex 3071  cun 3895  wss 3897  c0 4267  {csn 4571   cuni 4850   Or wor 5520   [] crpss 7617  Fincfn 8783
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1912  ax-6 1970  ax-7 2010  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2153  ax-12 2170  ax-ext 2708  ax-sep 5238  ax-nul 5245  ax-pr 5367  ax-un 7630
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1781  df-nf 1785  df-sb 2067  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2815  df-nfc 2887  df-ne 2942  df-ral 3063  df-rex 3072  df-reu 3351  df-rab 3405  df-v 3443  df-sbc 3727  df-dif 3900  df-un 3902  df-in 3904  df-ss 3914  df-pss 3916  df-nul 4268  df-if 4472  df-pw 4547  df-sn 4572  df-pr 4574  df-op 4578  df-uni 4851  df-br 5088  df-opab 5150  df-tr 5205  df-id 5507  df-eprel 5513  df-po 5521  df-so 5522  df-fr 5563  df-we 5565  df-xp 5614  df-rel 5615  df-cnv 5616  df-co 5617  df-dm 5618  df-rn 5619  df-res 5620  df-ima 5621  df-ord 6292  df-on 6293  df-lim 6294  df-suc 6295  df-iota 6418  df-fun 6468  df-fn 6469  df-f 6470  df-f1 6471  df-fo 6472  df-f1o 6473  df-fv 6474  df-rpss 7618  df-om 7760  df-en 8784  df-fin 8787
This theorem is referenced by:  alexsubALTlem2  23282
  Copyright terms: Public domain W3C validator