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

Theorem elsetrecslem 44808
Description: Lemma for elsetrecs 44809. Any element of setrecs(𝐹) is generated by some subset of setrecs(𝐹). This is much weaker than setrec2v 44806. To see why this lemma also requires setrec1 44801, consider what would happen if we replaced 𝐵 with {𝐴}. The antecedent would still hold, but the consequent would fail in general. Consider dispensing with the deduction form. (Contributed by Emmett Weisz, 11-Jul-2021.) (New usage is discouraged.)
Hypothesis
Ref Expression
elsetrecs.1 𝐵 = setrecs(𝐹)
Assertion
Ref Expression
elsetrecslem (𝐴𝐵 → ∃𝑥(𝑥𝐵𝐴 ∈ (𝐹𝑥)))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐹

Proof of Theorem elsetrecslem
Dummy variable 𝑎 is distinct from all other variables.
StepHypRef Expression
1 ssdifsn 4723 . . . . 5 (𝐵 ⊆ (𝐵 ∖ {𝐴}) ↔ (𝐵𝐵 ∧ ¬ 𝐴𝐵))
21simprbi 499 . . . 4 (𝐵 ⊆ (𝐵 ∖ {𝐴}) → ¬ 𝐴𝐵)
32con2i 141 . . 3 (𝐴𝐵 → ¬ 𝐵 ⊆ (𝐵 ∖ {𝐴}))
4 elsetrecs.1 . . . 4 𝐵 = setrecs(𝐹)
5 sseq1 3995 . . . . . . . . 9 (𝑥 = 𝑎 → (𝑥𝐵𝑎𝐵))
6 fveq2 6673 . . . . . . . . . 10 (𝑥 = 𝑎 → (𝐹𝑥) = (𝐹𝑎))
76eleq2d 2901 . . . . . . . . 9 (𝑥 = 𝑎 → (𝐴 ∈ (𝐹𝑥) ↔ 𝐴 ∈ (𝐹𝑎)))
85, 7anbi12d 632 . . . . . . . 8 (𝑥 = 𝑎 → ((𝑥𝐵𝐴 ∈ (𝐹𝑥)) ↔ (𝑎𝐵𝐴 ∈ (𝐹𝑎))))
98notbid 320 . . . . . . 7 (𝑥 = 𝑎 → (¬ (𝑥𝐵𝐴 ∈ (𝐹𝑥)) ↔ ¬ (𝑎𝐵𝐴 ∈ (𝐹𝑎))))
109spvv 2002 . . . . . 6 (∀𝑥 ¬ (𝑥𝐵𝐴 ∈ (𝐹𝑥)) → ¬ (𝑎𝐵𝐴 ∈ (𝐹𝑎)))
11 imnan 402 . . . . . . . . 9 ((𝑎𝐵 → ¬ 𝐴 ∈ (𝐹𝑎)) ↔ ¬ (𝑎𝐵𝐴 ∈ (𝐹𝑎)))
12 idd 24 . . . . . . . . . . 11 (𝑎𝐵 → (¬ 𝐴 ∈ (𝐹𝑎) → ¬ 𝐴 ∈ (𝐹𝑎)))
13 vex 3500 . . . . . . . . . . . . 13 𝑎 ∈ V
1413a1i 11 . . . . . . . . . . . 12 (𝑎𝐵𝑎 ∈ V)
15 id 22 . . . . . . . . . . . 12 (𝑎𝐵𝑎𝐵)
164, 14, 15setrec1 44801 . . . . . . . . . . 11 (𝑎𝐵 → (𝐹𝑎) ⊆ 𝐵)
1712, 16jctild 528 . . . . . . . . . 10 (𝑎𝐵 → (¬ 𝐴 ∈ (𝐹𝑎) → ((𝐹𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹𝑎))))
1817a2i 14 . . . . . . . . 9 ((𝑎𝐵 → ¬ 𝐴 ∈ (𝐹𝑎)) → (𝑎𝐵 → ((𝐹𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹𝑎))))
1911, 18sylbir 237 . . . . . . . 8 (¬ (𝑎𝐵𝐴 ∈ (𝐹𝑎)) → (𝑎𝐵 → ((𝐹𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹𝑎))))
2019adantrd 494 . . . . . . 7 (¬ (𝑎𝐵𝐴 ∈ (𝐹𝑎)) → ((𝑎𝐵 ∧ ¬ 𝐴𝑎) → ((𝐹𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹𝑎))))
21 ssdifsn 4723 . . . . . . 7 (𝑎 ⊆ (𝐵 ∖ {𝐴}) ↔ (𝑎𝐵 ∧ ¬ 𝐴𝑎))
22 ssdifsn 4723 . . . . . . 7 ((𝐹𝑎) ⊆ (𝐵 ∖ {𝐴}) ↔ ((𝐹𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹𝑎)))
2320, 21, 223imtr4g 298 . . . . . 6 (¬ (𝑎𝐵𝐴 ∈ (𝐹𝑎)) → (𝑎 ⊆ (𝐵 ∖ {𝐴}) → (𝐹𝑎) ⊆ (𝐵 ∖ {𝐴})))
2410, 23syl 17 . . . . 5 (∀𝑥 ¬ (𝑥𝐵𝐴 ∈ (𝐹𝑥)) → (𝑎 ⊆ (𝐵 ∖ {𝐴}) → (𝐹𝑎) ⊆ (𝐵 ∖ {𝐴})))
2524alrimiv 1927 . . . 4 (∀𝑥 ¬ (𝑥𝐵𝐴 ∈ (𝐹𝑥)) → ∀𝑎(𝑎 ⊆ (𝐵 ∖ {𝐴}) → (𝐹𝑎) ⊆ (𝐵 ∖ {𝐴})))
264, 25setrec2v 44806 . . 3 (∀𝑥 ¬ (𝑥𝐵𝐴 ∈ (𝐹𝑥)) → 𝐵 ⊆ (𝐵 ∖ {𝐴}))
273, 26nsyl 142 . 2 (𝐴𝐵 → ¬ ∀𝑥 ¬ (𝑥𝐵𝐴 ∈ (𝐹𝑥)))
28 df-ex 1780 . 2 (∃𝑥(𝑥𝐵𝐴 ∈ (𝐹𝑥)) ↔ ¬ ∀𝑥 ¬ (𝑥𝐵𝐴 ∈ (𝐹𝑥)))
2927, 28sylibr 236 1 (𝐴𝐵 → ∃𝑥(𝑥𝐵𝐴 ∈ (𝐹𝑥)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 398  wal 1534   = wceq 1536  wex 1779  wcel 2113  Vcvv 3497  cdif 3936  wss 3939  {csn 4570  cfv 6358  setrecscsetrecs 44793
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 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2796  ax-rep 5193  ax-sep 5206  ax-nul 5213  ax-pow 5269  ax-pr 5333  ax-un 7464  ax-reg 9059  ax-inf2 9107
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2966  df-ne 3020  df-ral 3146  df-rex 3147  df-reu 3148  df-rab 3150  df-v 3499  df-sbc 3776  df-csb 3887  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-pss 3957  df-nul 4295  df-if 4471  df-pw 4544  df-sn 4571  df-pr 4573  df-tp 4575  df-op 4577  df-uni 4842  df-int 4880  df-iun 4924  df-iin 4925  df-br 5070  df-opab 5132  df-mpt 5150  df-tr 5176  df-id 5463  df-eprel 5468  df-po 5477  df-so 5478  df-fr 5517  df-we 5519  df-xp 5564  df-rel 5565  df-cnv 5566  df-co 5567  df-dm 5568  df-rn 5569  df-res 5570  df-ima 5571  df-pred 6151  df-ord 6197  df-on 6198  df-lim 6199  df-suc 6200  df-iota 6317  df-fun 6360  df-fn 6361  df-f 6362  df-f1 6363  df-fo 6364  df-f1o 6365  df-fv 6366  df-om 7584  df-wrecs 7950  df-recs 8011  df-rdg 8049  df-r1 9196  df-rank 9197  df-setrecs 44794
This theorem is referenced by:  elsetrecs  44809
  Copyright terms: Public domain W3C validator