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 44794
Description: Lemma for elsetrecs 44795. Any element of setrecs(𝐹) is generated by some subset of setrecs(𝐹). This is much weaker than setrec2v 44792. To see why this lemma also requires setrec1 44787, 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 4714 . . . . 5 (𝐵 ⊆ (𝐵 ∖ {𝐴}) ↔ (𝐵𝐵 ∧ ¬ 𝐴𝐵))
21simprbi 499 . . . 4 (𝐵 ⊆ (𝐵 ∖ {𝐴}) → ¬ 𝐴𝐵)
32con2i 141 . . 3 (𝐴𝐵 → ¬ 𝐵 ⊆ (𝐵 ∖ {𝐴}))
4 elsetrecs.1 . . . 4 𝐵 = setrecs(𝐹)
5 sseq1 3992 . . . . . . . . 9 (𝑥 = 𝑎 → (𝑥𝐵𝑎𝐵))
6 fveq2 6665 . . . . . . . . . 10 (𝑥 = 𝑎 → (𝐹𝑥) = (𝐹𝑎))
76eleq2d 2898 . . . . . . . . 9 (𝑥 = 𝑎 → (𝐴 ∈ (𝐹𝑥) ↔ 𝐴 ∈ (𝐹𝑎)))
85, 7anbi12d 632 . . . . . . . 8 (𝑥 = 𝑎 → ((𝑥𝐵𝐴 ∈ (𝐹𝑥)) ↔ (𝑎𝐵𝐴 ∈ (𝐹𝑎))))
98notbid 320 . . . . . . 7 (𝑥 = 𝑎 → (¬ (𝑥𝐵𝐴 ∈ (𝐹𝑥)) ↔ ¬ (𝑎𝐵𝐴 ∈ (𝐹𝑎))))
109spvv 1999 . . . . . 6 (∀𝑥 ¬ (𝑥𝐵𝐴 ∈ (𝐹𝑥)) → ¬ (𝑎𝐵𝐴 ∈ (𝐹𝑎)))
11 imnan 402 . . . . . . . . 9 ((𝑎𝐵 → ¬ 𝐴 ∈ (𝐹𝑎)) ↔ ¬ (𝑎𝐵𝐴 ∈ (𝐹𝑎)))
12 idd 24 . . . . . . . . . . 11 (𝑎𝐵 → (¬ 𝐴 ∈ (𝐹𝑎) → ¬ 𝐴 ∈ (𝐹𝑎)))
13 vex 3498 . . . . . . . . . . . . 13 𝑎 ∈ V
1413a1i 11 . . . . . . . . . . . 12 (𝑎𝐵𝑎 ∈ V)
15 id 22 . . . . . . . . . . . 12 (𝑎𝐵𝑎𝐵)
164, 14, 15setrec1 44787 . . . . . . . . . . 11 (𝑎𝐵 → (𝐹𝑎) ⊆ 𝐵)
1712, 16jctild 528 . . . . . . . . . 10 (𝑎𝐵 → (¬ 𝐴 ∈ (𝐹𝑎) → ((𝐹𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹𝑎))))
1817a2i 14 . . . . . . . . 9 ((𝑎𝐵 → ¬ 𝐴 ∈ (𝐹𝑎)) → (𝑎𝐵 → ((𝐹𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹𝑎))))
1911, 18sylbir 237 . . . . . . . 8 (¬ (𝑎𝐵𝐴 ∈ (𝐹𝑎)) → (𝑎𝐵 → ((𝐹𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹𝑎))))
2019adantrd 494 . . . . . . 7 (¬ (𝑎𝐵𝐴 ∈ (𝐹𝑎)) → ((𝑎𝐵 ∧ ¬ 𝐴𝑎) → ((𝐹𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹𝑎))))
21 ssdifsn 4714 . . . . . . 7 (𝑎 ⊆ (𝐵 ∖ {𝐴}) ↔ (𝑎𝐵 ∧ ¬ 𝐴𝑎))
22 ssdifsn 4714 . . . . . . 7 ((𝐹𝑎) ⊆ (𝐵 ∖ {𝐴}) ↔ ((𝐹𝑎) ⊆ 𝐵 ∧ ¬ 𝐴 ∈ (𝐹𝑎)))
2320, 21, 223imtr4g 298 . . . . . 6 (¬ (𝑎𝐵𝐴 ∈ (𝐹𝑎)) → (𝑎 ⊆ (𝐵 ∖ {𝐴}) → (𝐹𝑎) ⊆ (𝐵 ∖ {𝐴})))
2410, 23syl 17 . . . . 5 (∀𝑥 ¬ (𝑥𝐵𝐴 ∈ (𝐹𝑥)) → (𝑎 ⊆ (𝐵 ∖ {𝐴}) → (𝐹𝑎) ⊆ (𝐵 ∖ {𝐴})))
2524alrimiv 1924 . . . 4 (∀𝑥 ¬ (𝑥𝐵𝐴 ∈ (𝐹𝑥)) → ∀𝑎(𝑎 ⊆ (𝐵 ∖ {𝐴}) → (𝐹𝑎) ⊆ (𝐵 ∖ {𝐴})))
264, 25setrec2v 44792 . . 3 (∀𝑥 ¬ (𝑥𝐵𝐴 ∈ (𝐹𝑥)) → 𝐵 ⊆ (𝐵 ∖ {𝐴}))
273, 26nsyl 142 . 2 (𝐴𝐵 → ¬ ∀𝑥 ¬ (𝑥𝐵𝐴 ∈ (𝐹𝑥)))
28 df-ex 1777 . 2 (∃𝑥(𝑥𝐵𝐴 ∈ (𝐹𝑥)) ↔ ¬ ∀𝑥 ¬ (𝑥𝐵𝐴 ∈ (𝐹𝑥)))
2927, 28sylibr 236 1 (𝐴𝐵 → ∃𝑥(𝑥𝐵𝐴 ∈ (𝐹𝑥)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 398  wal 1531   = wceq 1533  wex 1776  wcel 2110  Vcvv 3495  cdif 3933  wss 3936  {csn 4561  cfv 6350  setrecscsetrecs 44779
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793  ax-rep 5183  ax-sep 5196  ax-nul 5203  ax-pow 5259  ax-pr 5322  ax-un 7455  ax-reg 9050  ax-inf2 9098
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3497  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-pss 3954  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4562  df-pr 4564  df-tp 4566  df-op 4568  df-uni 4833  df-int 4870  df-iun 4914  df-iin 4915  df-br 5060  df-opab 5122  df-mpt 5140  df-tr 5166  df-id 5455  df-eprel 5460  df-po 5469  df-so 5470  df-fr 5509  df-we 5511  df-xp 5556  df-rel 5557  df-cnv 5558  df-co 5559  df-dm 5560  df-rn 5561  df-res 5562  df-ima 5563  df-pred 6143  df-ord 6189  df-on 6190  df-lim 6191  df-suc 6192  df-iota 6309  df-fun 6352  df-fn 6353  df-f 6354  df-f1 6355  df-fo 6356  df-f1o 6357  df-fv 6358  df-om 7575  df-wrecs 7941  df-recs 8002  df-rdg 8040  df-r1 9187  df-rank 9188  df-setrecs 44780
This theorem is referenced by:  elsetrecs  44795
  Copyright terms: Public domain W3C validator