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 51288
Description: Lemma for elsetrecs 51289. Any element of setrecs(𝐹) is generated by some subset of setrecs(𝐹). This is much weaker than setrec2v 10014. To see why this lemma also requires setrec1 10008, 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 4752 . . . . 5 (𝐵 ⊆ (𝐵 ∖ {𝐴}) ↔ (𝐵 ⊆ 𝐵 ∧ ¬ 𝐴 ∈ 𝐵))
21simprbi 503 . . . 4 (𝐵 ⊆ (𝐵 ∖ {𝐴}) → ¬ 𝐴 ∈ 𝐵)
32con2i 140 . . 3 (𝐴 ∈ 𝐵 → ¬ 𝐵 ⊆ (𝐵 ∖ {𝐴}))
4 elsetrecs.1 . . . 4 𝐵 = setrecs(𝐹)
5 sseq1 3937 . . . . . . . . 9 (𝑥 = 𝑎 → (𝑥 ⊆ 𝐵 ↔ 𝑎 ⊆ 𝐵))
6 fveq2 6915 . . . . . . . . . 10 (𝑥 = 𝑎 → (𝐹‘𝑥) = (𝐹‘𝑎))
76eleq2d 2853 . . . . . . . . 9 (𝑥 = 𝑎 → (𝐴 ∈ (𝐹‘𝑥) ↔ 𝐴 ∈ (𝐹‘𝑎)))
85, 7anbi12d 644 . . . . . . . 8 (𝑥 = 𝑎 → ((𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)) ↔ (𝑎 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑎))))
98notbid 321 . . . . . . 7 (𝑥 = 𝑎 → (¬ (𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)) ↔ ¬ (𝑎 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑎))))
109spvv 2025 . . . . . 6 (∀𝑥 ¬ (𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)) → ¬ (𝑎 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑎)))
11 imnan 405 . . . . . . . . 9 ((𝑎 ⊆ 𝐵 → ¬ 𝐴 ∈ (𝐹‘𝑎)) ↔ ¬ (𝑎 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑎)))
12 idd 25 . . . . . . . . . . 11 (𝑎 ⊆ 𝐵 → (¬ 𝐴 ∈ (𝐹‘𝑎) → ¬ 𝐴 ∈ (𝐹‘𝑎)))
13 vex 3457 . . . . . . . . . . . . 13 𝑎 ∈ V
1413a1i 11 . . . . . . . . . . . 12 (𝑎 ⊆ 𝐵 → 𝑎 ∈ V)
15 id 23 . . . . . . . . . . . 12 (𝑎 ⊆ 𝐵 → 𝑎 ⊆ 𝐵)
164, 14, 15setrec1 10008 . . . . . . . . . . 11 (𝑎 ⊆ 𝐵 → (𝐹‘𝑎) ⊆ 𝐵)
1712, 16jctild 535 . . . . . . . . . 10 (𝑎 ⊆ 𝐵 → (¬ 𝐴 ∈ (𝐹‘𝑎) → ((𝐹‘𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹‘𝑎))))
1817a2i 15 . . . . . . . . 9 ((𝑎 ⊆ 𝐵 → ¬ 𝐴 ∈ (𝐹‘𝑎)) → (𝑎 ⊆ 𝐵 → ((𝐹‘𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹‘𝑎))))
1911, 18sylbir 238 . . . . . . . 8 (¬ (𝑎 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑎)) → (𝑎 ⊆ 𝐵 → ((𝐹‘𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹‘𝑎))))
2019adantrd 497 . . . . . . 7 (¬ (𝑎 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑎)) → ((𝑎 ⊆ 𝐵 ∧ ¬ 𝐴 ∈ 𝑎) → ((𝐹‘𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹‘𝑎))))
21 ssdifsn 4752 . . . . . . 7 (𝑎 ⊆ (𝐵 ∖ {𝐴}) ↔ (𝑎 ⊆ 𝐵 ∧ ¬ 𝐴 ∈ 𝑎))
22 ssdifsn 4752 . . . . . . 7 ((𝐹‘𝑎) ⊆ (𝐵 ∖ {𝐴}) ↔ ((𝐹‘𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹‘𝑎)))
2320, 21, 223imtr4g 299 . . . . . 6 (¬ (𝑎 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑎)) → (𝑎 ⊆ (𝐵 ∖ {𝐴}) → (𝐹‘𝑎) ⊆ (𝐵 ∖ {𝐴})))
2410, 23syl 18 . . . . 5 (∀𝑥 ¬ (𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)) → (𝑎 ⊆ (𝐵 ∖ {𝐴}) → (𝐹‘𝑎) ⊆ (𝐵 ∖ {𝐴})))
2524alrimiv 1964 . . . 4 (∀𝑥 ¬ (𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)) → ∀𝑎(𝑎 ⊆ (𝐵 ∖ {𝐴}) → (𝐹‘𝑎) ⊆ (𝐵 ∖ {𝐴})))
264, 25setrec2v 10014 . . 3 (∀𝑥 ¬ (𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)) → 𝐵 ⊆ (𝐵 ∖ {𝐴}))
273, 26nsyl 141 . 2 (𝐴 ∈ 𝐵 → ¬ ∀𝑥 ¬ (𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)))
28 df-ex 1815 . 2 (∃𝑥(𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)) ↔ ¬ ∀𝑥 ¬ (𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)))
2927, 28sylibr 237 1 (𝐴 ∈ 𝐵 → ∃𝑥(𝑥 ⊆ 𝐵 ∧ 𝐴 ∈ (𝐹‘𝑥)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401  ∀wal 1570   = wceq 1572  ∃wex 1814   ∈ wcel 2150  Vcvv 3453   ⊆ wss 3899   ∖ cdif 4047  {csn 4587  ‘cfv 6565  setrecscsetrecs 10000
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-rep 5237  ax-sep 5254  ax-nul 5265  ax-pow 5333  ax-pr 5397  ax-un 7782  ax-reg 9622  ax-inf2 9678
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-ral 3084  df-rex 3094  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-int 4912  df-iun 4957  df-iin 4958  df-br 5108  df-opab 5173  df-mpt 5192  df-tr 5218  df-id 5552  df-eprel 5557  df-po 5565  df-so 5566  df-fr 5610  df-we 5612  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-pred 6329  df-ord 6390  df-on 6391  df-lim 6392  df-suc 6393  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-f1 6570  df-fo 6571  df-f1o 6572  df-fv 6573  df-ov 7453  df-om 7911  df-2nd 8035  df-frecs 8336  df-wrecs 8367  df-recs 8416  df-rdg 8455  df-r1 9804  df-rank 9805  df-scott 9965  df-setrecs 10001
This theorem is used by:  elsetrecs  51289
  Copyright terms: Public domain W3C validator