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 45228
Description: Lemma for elsetrecs 45229. Any element of setrecs(𝐹) is generated by some subset of setrecs(𝐹). This is much weaker than setrec2v 45226. To see why this lemma also requires setrec1 45221, 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 4681 . . . . 5 (𝐵 ⊆ (𝐵 ∖ {𝐴}) ↔ (𝐵𝐵 ∧ ¬ 𝐴𝐵))
21simprbi 500 . . . 4 (𝐵 ⊆ (𝐵 ∖ {𝐴}) → ¬ 𝐴𝐵)
32con2i 141 . . 3 (𝐴𝐵 → ¬ 𝐵 ⊆ (𝐵 ∖ {𝐴}))
4 elsetrecs.1 . . . 4 𝐵 = setrecs(𝐹)
5 sseq1 3940 . . . . . . . . 9 (𝑥 = 𝑎 → (𝑥𝐵𝑎𝐵))
6 fveq2 6645 . . . . . . . . . 10 (𝑥 = 𝑎 → (𝐹𝑥) = (𝐹𝑎))
76eleq2d 2875 . . . . . . . . 9 (𝑥 = 𝑎 → (𝐴 ∈ (𝐹𝑥) ↔ 𝐴 ∈ (𝐹𝑎)))
85, 7anbi12d 633 . . . . . . . 8 (𝑥 = 𝑎 → ((𝑥𝐵𝐴 ∈ (𝐹𝑥)) ↔ (𝑎𝐵𝐴 ∈ (𝐹𝑎))))
98notbid 321 . . . . . . 7 (𝑥 = 𝑎 → (¬ (𝑥𝐵𝐴 ∈ (𝐹𝑥)) ↔ ¬ (𝑎𝐵𝐴 ∈ (𝐹𝑎))))
109spvv 2003 . . . . . 6 (∀𝑥 ¬ (𝑥𝐵𝐴 ∈ (𝐹𝑥)) → ¬ (𝑎𝐵𝐴 ∈ (𝐹𝑎)))
11 imnan 403 . . . . . . . . 9 ((𝑎𝐵 → ¬ 𝐴 ∈ (𝐹𝑎)) ↔ ¬ (𝑎𝐵𝐴 ∈ (𝐹𝑎)))
12 idd 24 . . . . . . . . . . 11 (𝑎𝐵 → (¬ 𝐴 ∈ (𝐹𝑎) → ¬ 𝐴 ∈ (𝐹𝑎)))
13 vex 3444 . . . . . . . . . . . . 13 𝑎 ∈ V
1413a1i 11 . . . . . . . . . . . 12 (𝑎𝐵𝑎 ∈ V)
15 id 22 . . . . . . . . . . . 12 (𝑎𝐵𝑎𝐵)
164, 14, 15setrec1 45221 . . . . . . . . . . 11 (𝑎𝐵 → (𝐹𝑎) ⊆ 𝐵)
1712, 16jctild 529 . . . . . . . . . 10 (𝑎𝐵 → (¬ 𝐴 ∈ (𝐹𝑎) → ((𝐹𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹𝑎))))
1817a2i 14 . . . . . . . . 9 ((𝑎𝐵 → ¬ 𝐴 ∈ (𝐹𝑎)) → (𝑎𝐵 → ((𝐹𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹𝑎))))
1911, 18sylbir 238 . . . . . . . 8 (¬ (𝑎𝐵𝐴 ∈ (𝐹𝑎)) → (𝑎𝐵 → ((𝐹𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹𝑎))))
2019adantrd 495 . . . . . . 7 (¬ (𝑎𝐵𝐴 ∈ (𝐹𝑎)) → ((𝑎𝐵 ∧ ¬ 𝐴𝑎) → ((𝐹𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹𝑎))))
21 ssdifsn 4681 . . . . . . 7 (𝑎 ⊆ (𝐵 ∖ {𝐴}) ↔ (𝑎𝐵 ∧ ¬ 𝐴𝑎))
22 ssdifsn 4681 . . . . . . 7 ((𝐹𝑎) ⊆ (𝐵 ∖ {𝐴}) ↔ ((𝐹𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹𝑎)))
2320, 21, 223imtr4g 299 . . . . . 6 (¬ (𝑎𝐵𝐴 ∈ (𝐹𝑎)) → (𝑎 ⊆ (𝐵 ∖ {𝐴}) → (𝐹𝑎) ⊆ (𝐵 ∖ {𝐴})))
2410, 23syl 17 . . . . 5 (∀𝑥 ¬ (𝑥𝐵𝐴 ∈ (𝐹𝑥)) → (𝑎 ⊆ (𝐵 ∖ {𝐴}) → (𝐹𝑎) ⊆ (𝐵 ∖ {𝐴})))
2524alrimiv 1928 . . . 4 (∀𝑥 ¬ (𝑥𝐵𝐴 ∈ (𝐹𝑥)) → ∀𝑎(𝑎 ⊆ (𝐵 ∖ {𝐴}) → (𝐹𝑎) ⊆ (𝐵 ∖ {𝐴})))
264, 25setrec2v 45226 . . 3 (∀𝑥 ¬ (𝑥𝐵𝐴 ∈ (𝐹𝑥)) → 𝐵 ⊆ (𝐵 ∖ {𝐴}))
273, 26nsyl 142 . 2 (𝐴𝐵 → ¬ ∀𝑥 ¬ (𝑥𝐵𝐴 ∈ (𝐹𝑥)))
28 df-ex 1782 . 2 (∃𝑥(𝑥𝐵𝐴 ∈ (𝐹𝑥)) ↔ ¬ ∀𝑥 ¬ (𝑥𝐵𝐴 ∈ (𝐹𝑥)))
2927, 28sylibr 237 1 (𝐴𝐵 → ∃𝑥(𝑥𝐵𝐴 ∈ (𝐹𝑥)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 399  wal 1536   = wceq 1538  wex 1781  wcel 2111  Vcvv 3441  cdif 3878  wss 3881  {csn 4525  cfv 6324  setrecscsetrecs 45213
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441  ax-reg 9040  ax-inf2 9088
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-reu 3113  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-pss 3900  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-tp 4530  df-op 4532  df-uni 4801  df-int 4839  df-iun 4883  df-iin 4884  df-br 5031  df-opab 5093  df-mpt 5111  df-tr 5137  df-id 5425  df-eprel 5430  df-po 5438  df-so 5439  df-fr 5478  df-we 5480  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-pred 6116  df-ord 6162  df-on 6163  df-lim 6164  df-suc 6165  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-om 7561  df-wrecs 7930  df-recs 7991  df-rdg 8029  df-r1 9177  df-rank 9178  df-setrecs 45214
This theorem is referenced by:  elsetrecs  45229
  Copyright terms: Public domain W3C validator