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 51070
Description: Lemma for elsetrecs 51071. Any element of setrecs(𝐹) is generated by some subset of setrecs(𝐹). This is much weaker than setrec2v 10002. To see why this lemma also requires setrec1 9996, 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 4751 . . . . 5 (𝐵 ⊆ (𝐵 ∖ {𝐴}) ↔ (𝐵 ⊆ 𝐵 ∧ ¬ 𝐴 ∈ 𝐵))
21simprbi 503 . . . 4 (𝐵 ⊆ (𝐵 ∖ {𝐴}) → ¬ 𝐴 ∈ 𝐵)
32con2i 140 . . 3 (𝐴 ∈ 𝐵 → ¬ 𝐵 ⊆ (𝐵 ∖ {𝐴}))
4 elsetrecs.1 . . . 4 𝐵 = setrecs(𝐹)
5 sseq1 3938 . . . . . . . . 9 (𝑥 = 𝑎 → (𝑥 ⊆ 𝐵 ↔ 𝑎 ⊆ 𝐵))
6 fveq2 6905 . . . . . . . . . 10 (𝑥 = 𝑎 → (𝐹‘𝑥) = (𝐹‘𝑎))
76eleq2d 2850 . . . . . . . . 9 (𝑥 = 𝑎 → (𝐴 ∈ (𝐹‘𝑥) ↔ 𝐴 ∈ (𝐹‘𝑎)))
85, 7anbi12d 644 . . . . . . . 8 (𝑥 = 𝑎 → ((𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)) ↔ (𝑎 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑎))))
98notbid 321 . . . . . . 7 (𝑥 = 𝑎 → (¬ (𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)) ↔ ¬ (𝑎 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑎))))
109spvv 2023 . . . . . 6 (∀𝑥 ¬ (𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)) → ¬ (𝑎 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑎)))
11 imnan 405 . . . . . . . . 9 ((𝑎 ⊆ 𝐵 → ¬ 𝐴 ∈ (𝐹‘𝑎)) ↔ ¬ (𝑎 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑎)))
12 idd 25 . . . . . . . . . . 11 (𝑎 ⊆ 𝐵 → (¬ 𝐴 ∈ (𝐹‘𝑎) → ¬ 𝐴 ∈ (𝐹‘𝑎)))
13 vex 3458 . . . . . . . . . . . . 13 𝑎 ∈ V
1413a1i 11 . . . . . . . . . . . 12 (𝑎 ⊆ 𝐵 → 𝑎 ∈ V)
15 id 23 . . . . . . . . . . . 12 (𝑎 ⊆ 𝐵 → 𝑎 ⊆ 𝐵)
164, 14, 15setrec1 9996 . . . . . . . . . . 11 (𝑎 ⊆ 𝐵 → (𝐹‘𝑎) ⊆ 𝐵)
1712, 16jctild 535 . . . . . . . . . 10 (𝑎 ⊆ 𝐵 → (¬ 𝐴 ∈ (𝐹‘𝑎) → ((𝐹‘𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹‘𝑎))))
1817a2i 15 . . . . . . . . 9 ((𝑎 ⊆ 𝐵 → ¬ 𝐴 ∈ (𝐹‘𝑎)) → (𝑎 ⊆ 𝐵 → ((𝐹‘𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹‘𝑎))))
1911, 18sylbir 238 . . . . . . . 8 (¬ (𝑎 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑎)) → (𝑎 ⊆ 𝐵 → ((𝐹‘𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹‘𝑎))))
2019adantrd 497 . . . . . . 7 (¬ (𝑎 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑎)) → ((𝑎 ⊆ 𝐵 ∧ ¬ 𝐴 ∈ 𝑎) → ((𝐹‘𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹‘𝑎))))
21 ssdifsn 4751 . . . . . . 7 (𝑎 ⊆ (𝐵 ∖ {𝐴}) ↔ (𝑎 ⊆ 𝐵 ∧ ¬ 𝐴 ∈ 𝑎))
22 ssdifsn 4751 . . . . . . 7 ((𝐹‘𝑎) ⊆ (𝐵 ∖ {𝐴}) ↔ ((𝐹‘𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹‘𝑎)))
2320, 21, 223imtr4g 299 . . . . . 6 (¬ (𝑎 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑎)) → (𝑎 ⊆ (𝐵 ∖ {𝐴}) → (𝐹‘𝑎) ⊆ (𝐵 ∖ {𝐴})))
2410, 23syl 18 . . . . 5 (∀𝑥 ¬ (𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)) → (𝑎 ⊆ (𝐵 ∖ {𝐴}) → (𝐹‘𝑎) ⊆ (𝐵 ∖ {𝐴})))
2524alrimiv 1962 . . . 4 (∀𝑥 ¬ (𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)) → ∀𝑎(𝑎 ⊆ (𝐵 ∖ {𝐴}) → (𝐹‘𝑎) ⊆ (𝐵 ∖ {𝐴})))
264, 25setrec2v 10002 . . 3 (∀𝑥 ¬ (𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)) → 𝐵 ⊆ (𝐵 ∖ {𝐴}))
273, 26nsyl 141 . 2 (𝐴 ∈ 𝐵 → ¬ ∀𝑥 ¬ (𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)))
28 df-ex 1813 . 2 (∃𝑥(𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)) ↔ ¬ ∀𝑥 ¬ (𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)))
2927, 28sylibr 237 1 (𝐴 ∈ 𝐵 → ∃𝑥(𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401  ∀wal 1568   = wceq 1570  ∃wex 1812   ∈ wcel 2147  Vcvv 3454   ⊆ wss 3900   ∖ cdif 4048  {csn 4588  ‘cfv 6555  setrecscsetrecs 9988
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5235  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7772  ax-reg 9610  ax-inf2 9666
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-int 4911  df-iun 4956  df-iin 4957  df-br 5107  df-opab 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6319  df-ord 6380  df-on 6381  df-lim 6382  df-suc 6383  df-iota 6509  df-fun 6557  df-fn 6558  df-f 6559  df-f1 6560  df-fo 6561  df-f1o 6562  df-fv 6563  df-ov 7443  df-om 7899  df-2nd 8023  df-frecs 8324  df-wrecs 8355  df-recs 8404  df-rdg 8443  df-r1 9792  df-rank 9793  df-scott 9953  df-setrecs 9989
This theorem is used by:  elsetrecs  51071
  Copyright terms: Public domain W3C validator