Metamath Proof Explorer < Previous   Next > Nearby theorems Mirrors  >  Home  >  MPE Home  >  Th. List  >  fiunlem Structured version   Visualization version   GIF version

Theorem fiunlem 7628
 Description: Lemma for fiun 7629 and f1iun 7630. Formerly part of f1iun 7630. (Contributed by AV, 6-Oct-2023.)
Hypothesis
Ref Expression
fiun.1 (𝑥 = 𝑦𝐵 = 𝐶)
Assertion
Ref Expression
fiunlem (((𝐵:𝐷𝑆 ∧ ∀𝑦𝐴 (𝐵𝐶𝐶𝐵)) ∧ 𝑢 = 𝐵) → ∀𝑣 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵} (𝑢𝑣𝑣𝑢))
Distinct variable groups:   𝑣,𝐴,𝑥,𝑧   𝑦,𝐴,𝑣   𝑣,𝐵,𝑦   𝑧,𝐵   𝑣,𝐶,𝑥   𝑣,𝐷   𝑣,𝑆   𝑣,𝑢,𝑦   𝑥,𝑦
Allowed substitution hints:   𝐴(𝑢)   𝐵(𝑥,𝑢)   𝐶(𝑦,𝑧,𝑢)   𝐷(𝑥,𝑦,𝑧,𝑢)   𝑆(𝑥,𝑦,𝑧,𝑢)

Proof of Theorem fiunlem
StepHypRef Expression
1 vex 3444 . . . 4 𝑣 ∈ V
2 eqeq1 2802 . . . . 5 (𝑧 = 𝑣 → (𝑧 = 𝐵𝑣 = 𝐵))
32rexbidv 3256 . . . 4 (𝑧 = 𝑣 → (∃𝑥𝐴 𝑧 = 𝐵 ↔ ∃𝑥𝐴 𝑣 = 𝐵))
41, 3elab 3615 . . 3 (𝑣 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵} ↔ ∃𝑥𝐴 𝑣 = 𝐵)
5 fiun.1 . . . . . 6 (𝑥 = 𝑦𝐵 = 𝐶)
65eqeq2d 2809 . . . . 5 (𝑥 = 𝑦 → (𝑣 = 𝐵𝑣 = 𝐶))
76cbvrexvw 3397 . . . 4 (∃𝑥𝐴 𝑣 = 𝐵 ↔ ∃𝑦𝐴 𝑣 = 𝐶)
8 r19.29 3216 . . . . . . 7 ((∀𝑦𝐴 (𝐵𝐶𝐶𝐵) ∧ ∃𝑦𝐴 𝑣 = 𝐶) → ∃𝑦𝐴 ((𝐵𝐶𝐶𝐵) ∧ 𝑣 = 𝐶))
9 sseq12 3942 . . . . . . . . . . . . 13 ((𝑢 = 𝐵𝑣 = 𝐶) → (𝑢𝑣𝐵𝐶))
109ancoms 462 . . . . . . . . . . . 12 ((𝑣 = 𝐶𝑢 = 𝐵) → (𝑢𝑣𝐵𝐶))
11 sseq12 3942 . . . . . . . . . . . 12 ((𝑣 = 𝐶𝑢 = 𝐵) → (𝑣𝑢𝐶𝐵))
1210, 11orbi12d 916 . . . . . . . . . . 11 ((𝑣 = 𝐶𝑢 = 𝐵) → ((𝑢𝑣𝑣𝑢) ↔ (𝐵𝐶𝐶𝐵)))
1312biimprcd 253 . . . . . . . . . 10 ((𝐵𝐶𝐶𝐵) → ((𝑣 = 𝐶𝑢 = 𝐵) → (𝑢𝑣𝑣𝑢)))
1413expdimp 456 . . . . . . . . 9 (((𝐵𝐶𝐶𝐵) ∧ 𝑣 = 𝐶) → (𝑢 = 𝐵 → (𝑢𝑣𝑣𝑢)))
1514rexlimivw 3241 . . . . . . . 8 (∃𝑦𝐴 ((𝐵𝐶𝐶𝐵) ∧ 𝑣 = 𝐶) → (𝑢 = 𝐵 → (𝑢𝑣𝑣𝑢)))
1615imp 410 . . . . . . 7 ((∃𝑦𝐴 ((𝐵𝐶𝐶𝐵) ∧ 𝑣 = 𝐶) ∧ 𝑢 = 𝐵) → (𝑢𝑣𝑣𝑢))
178, 16sylan 583 . . . . . 6 (((∀𝑦𝐴 (𝐵𝐶𝐶𝐵) ∧ ∃𝑦𝐴 𝑣 = 𝐶) ∧ 𝑢 = 𝐵) → (𝑢𝑣𝑣𝑢))
1817an32s 651 . . . . 5 (((∀𝑦𝐴 (𝐵𝐶𝐶𝐵) ∧ 𝑢 = 𝐵) ∧ ∃𝑦𝐴 𝑣 = 𝐶) → (𝑢𝑣𝑣𝑢))
1918adantlll 717 . . . 4 ((((𝐵:𝐷𝑆 ∧ ∀𝑦𝐴 (𝐵𝐶𝐶𝐵)) ∧ 𝑢 = 𝐵) ∧ ∃𝑦𝐴 𝑣 = 𝐶) → (𝑢𝑣𝑣𝑢))
207, 19sylan2b 596 . . 3 ((((𝐵:𝐷𝑆 ∧ ∀𝑦𝐴 (𝐵𝐶𝐶𝐵)) ∧ 𝑢 = 𝐵) ∧ ∃𝑥𝐴 𝑣 = 𝐵) → (𝑢𝑣𝑣𝑢))
214, 20sylan2b 596 . 2 ((((𝐵:𝐷𝑆 ∧ ∀𝑦𝐴 (𝐵𝐶𝐶𝐵)) ∧ 𝑢 = 𝐵) ∧ 𝑣 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}) → (𝑢𝑣𝑣𝑢))
2221ralrimiva 3149 1 (((𝐵:𝐷𝑆 ∧ ∀𝑦𝐴 (𝐵𝐶𝐶𝐵)) ∧ 𝑢 = 𝐵) → ∀𝑣 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵} (𝑢𝑣𝑣𝑢))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 209   ∧ wa 399   ∨ wo 844   = wceq 1538   ∈ wcel 2111  {cab 2776  ∀wral 3106  ∃wrex 3107   ⊆ wss 3881  ⟶wf 6321 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 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-v 3443  df-in 3888  df-ss 3898 This theorem is referenced by:  fiun  7629  f1iun  7630
 Copyright terms: Public domain W3C validator