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 50792
Description: Lemma for elsetrecs 50793. Any element of setrecs(𝐹) is generated by some subset of setrecs(𝐹). This is much weaker than setrec2v 9978. To see why this lemma also requires setrec1 9972, 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 4750 . . . . 5 (𝐵 ⊆ (𝐵 ∖ {𝐴}) ↔ (𝐵 ⊆ 𝐵 ∧ ¬ 𝐴 ∈ 𝐵))
21simprbi 503 . . . 4 (𝐵 ⊆ (𝐵 ∖ {𝐴}) → ¬ 𝐴 ∈ 𝐵)
32con2i 140 . . 3 (𝐴 ∈ 𝐵 → ¬ 𝐵 ⊆ (𝐵 ∖ {𝐴}))
4 elsetrecs.1 . . . 4 𝐵 = setrecs(𝐹)
5 sseq1 3933 . . . . . . . . 9 (𝑥 = 𝑎 → (𝑥 ⊆ 𝐵 ↔ 𝑎 ⊆ 𝐵))
6 fveq2 6885 . . . . . . . . . 10 (𝑥 = 𝑎 → (𝐹‘𝑥) = (𝐹‘𝑎))
76eleq2d 2846 . . . . . . . . 9 (𝑥 = 𝑎 → (𝐴 ∈ (𝐹‘𝑥) ↔ 𝐴 ∈ (𝐹‘𝑎)))
85, 7anbi12d 644 . . . . . . . 8 (𝑥 = 𝑎 → ((𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)) ↔ (𝑎 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑎))))
98notbid 321 . . . . . . 7 (𝑥 = 𝑎 → (¬ (𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)) ↔ ¬ (𝑎 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑎))))
109spvv 2020 . . . . . 6 (∀𝑥 ¬ (𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)) → ¬ (𝑎 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑎)))
11 imnan 405 . . . . . . . . 9 ((𝑎 ⊆ 𝐵 → ¬ 𝐴 ∈ (𝐹‘𝑎)) ↔ ¬ (𝑎 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑎)))
12 idd 25 . . . . . . . . . . 11 (𝑎 ⊆ 𝐵 → (¬ 𝐴 ∈ (𝐹‘𝑎) → ¬ 𝐴 ∈ (𝐹‘𝑎)))
13 vex 3454 . . . . . . . . . . . . 13 𝑎 ∈ V
1413a1i 11 . . . . . . . . . . . 12 (𝑎 ⊆ 𝐵 → 𝑎 ∈ V)
15 id 23 . . . . . . . . . . . 12 (𝑎 ⊆ 𝐵 → 𝑎 ⊆ 𝐵)
164, 14, 15setrec1 9972 . . . . . . . . . . 11 (𝑎 ⊆ 𝐵 → (𝐹‘𝑎) ⊆ 𝐵)
1712, 16jctild 535 . . . . . . . . . 10 (𝑎 ⊆ 𝐵 → (¬ 𝐴 ∈ (𝐹‘𝑎) → ((𝐹‘𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹‘𝑎))))
1817a2i 15 . . . . . . . . 9 ((𝑎 ⊆ 𝐵 → ¬ 𝐴 ∈ (𝐹‘𝑎)) → (𝑎 ⊆ 𝐵 → ((𝐹‘𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹‘𝑎))))
1911, 18sylbir 238 . . . . . . . 8 (¬ (𝑎 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑎)) → (𝑎 ⊆ 𝐵 → ((𝐹‘𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹‘𝑎))))
2019adantrd 497 . . . . . . 7 (¬ (𝑎 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑎)) → ((𝑎 ⊆ 𝐵 ∧ ¬ 𝐴 ∈ 𝑎) → ((𝐹‘𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹‘𝑎))))
21 ssdifsn 4750 . . . . . . 7 (𝑎 ⊆ (𝐵 ∖ {𝐴}) ↔ (𝑎 ⊆ 𝐵 ∧ ¬ 𝐴 ∈ 𝑎))
22 ssdifsn 4750 . . . . . . 7 ((𝐹‘𝑎) ⊆ (𝐵 ∖ {𝐴}) ↔ ((𝐹‘𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹‘𝑎)))
2320, 21, 223imtr4g 299 . . . . . 6 (¬ (𝑎 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑎)) → (𝑎 ⊆ (𝐵 ∖ {𝐴}) → (𝐹‘𝑎) ⊆ (𝐵 ∖ {𝐴})))
2410, 23syl 18 . . . . 5 (∀𝑥 ¬ (𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)) → (𝑎 ⊆ (𝐵 ∖ {𝐴}) → (𝐹‘𝑎) ⊆ (𝐵 ∖ {𝐴})))
2524alrimiv 1959 . . . 4 (∀𝑥 ¬ (𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)) → ∀𝑎(𝑎 ⊆ (𝐵 ∖ {𝐴}) → (𝐹‘𝑎) ⊆ (𝐵 ∖ {𝐴})))
264, 25setrec2v 9978 . . 3 (∀𝑥 ¬ (𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)) → 𝐵 ⊆ (𝐵 ∖ {𝐴}))
273, 26nsyl 141 . 2 (𝐴 ∈ 𝐵 → ¬ ∀𝑥 ¬ (𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)))
28 df-ex 1812 . 2 (∃𝑥(𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)) ↔ ¬ ∀𝑥 ¬ (𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)))
2927, 28sylibr 237 1 (𝐴 ∈ 𝐵 → ∃𝑥(𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401  ∀wal 1567   = wceq 1569  ∃wex 1811   ∈ wcel 2144  Vcvv 3450   ⊆ wss 3895   ∖ cdif 4045  {csn 4583  ‘cfv 6538  setrecscsetrecs 9964
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7751  ax-reg 9586  ax-inf2 9642
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-int 4907  df-iun 4952  df-iin 4953  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-om 7878  df-2nd 8002  df-frecs 8299  df-wrecs 8330  df-recs 8379  df-rdg 8418  df-r1 9768  df-rank 9769  df-scott 9929  df-setrecs 9965
This theorem is used by:  elsetrecs  50793
  Copyright terms: Public domain W3C validator