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

Theorem fiunlem 7784
Description: Lemma for fiun 7785 and f1iun 7786. Formerly part of f1iun 7786. (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 3436 . . . 4 𝑣 ∈ V
2 eqeq1 2742 . . . . 5 (𝑧 = 𝑣 → (𝑧 = 𝐵𝑣 = 𝐵))
32rexbidv 3226 . . . 4 (𝑧 = 𝑣 → (∃𝑥𝐴 𝑧 = 𝐵 ↔ ∃𝑥𝐴 𝑣 = 𝐵))
41, 3elab 3609 . . 3 (𝑣 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵} ↔ ∃𝑥𝐴 𝑣 = 𝐵)
5 fiun.1 . . . . . 6 (𝑥 = 𝑦𝐵 = 𝐶)
65eqeq2d 2749 . . . . 5 (𝑥 = 𝑦 → (𝑣 = 𝐵𝑣 = 𝐶))
76cbvrexvw 3384 . . . 4 (∃𝑥𝐴 𝑣 = 𝐵 ↔ ∃𝑦𝐴 𝑣 = 𝐶)
8 r19.29 3184 . . . . . . 7 ((∀𝑦𝐴 (𝐵𝐶𝐶𝐵) ∧ ∃𝑦𝐴 𝑣 = 𝐶) → ∃𝑦𝐴 ((𝐵𝐶𝐶𝐵) ∧ 𝑣 = 𝐶))
9 sseq12 3948 . . . . . . . . . . . . 13 ((𝑢 = 𝐵𝑣 = 𝐶) → (𝑢𝑣𝐵𝐶))
109ancoms 459 . . . . . . . . . . . 12 ((𝑣 = 𝐶𝑢 = 𝐵) → (𝑢𝑣𝐵𝐶))
11 sseq12 3948 . . . . . . . . . . . 12 ((𝑣 = 𝐶𝑢 = 𝐵) → (𝑣𝑢𝐶𝐵))
1210, 11orbi12d 916 . . . . . . . . . . 11 ((𝑣 = 𝐶𝑢 = 𝐵) → ((𝑢𝑣𝑣𝑢) ↔ (𝐵𝐶𝐶𝐵)))
1312biimprcd 249 . . . . . . . . . 10 ((𝐵𝐶𝐶𝐵) → ((𝑣 = 𝐶𝑢 = 𝐵) → (𝑢𝑣𝑣𝑢)))
1413expdimp 453 . . . . . . . . 9 (((𝐵𝐶𝐶𝐵) ∧ 𝑣 = 𝐶) → (𝑢 = 𝐵 → (𝑢𝑣𝑣𝑢)))
1514rexlimivw 3211 . . . . . . . 8 (∃𝑦𝐴 ((𝐵𝐶𝐶𝐵) ∧ 𝑣 = 𝐶) → (𝑢 = 𝐵 → (𝑢𝑣𝑣𝑢)))
1615imp 407 . . . . . . 7 ((∃𝑦𝐴 ((𝐵𝐶𝐶𝐵) ∧ 𝑣 = 𝐶) ∧ 𝑢 = 𝐵) → (𝑢𝑣𝑣𝑢))
178, 16sylan 580 . . . . . 6 (((∀𝑦𝐴 (𝐵𝐶𝐶𝐵) ∧ ∃𝑦𝐴 𝑣 = 𝐶) ∧ 𝑢 = 𝐵) → (𝑢𝑣𝑣𝑢))
1817an32s 649 . . . . 5 (((∀𝑦𝐴 (𝐵𝐶𝐶𝐵) ∧ 𝑢 = 𝐵) ∧ ∃𝑦𝐴 𝑣 = 𝐶) → (𝑢𝑣𝑣𝑢))
1918adantlll 715 . . . 4 ((((𝐵:𝐷𝑆 ∧ ∀𝑦𝐴 (𝐵𝐶𝐶𝐵)) ∧ 𝑢 = 𝐵) ∧ ∃𝑦𝐴 𝑣 = 𝐶) → (𝑢𝑣𝑣𝑢))
207, 19sylan2b 594 . . 3 ((((𝐵:𝐷𝑆 ∧ ∀𝑦𝐴 (𝐵𝐶𝐶𝐵)) ∧ 𝑢 = 𝐵) ∧ ∃𝑥𝐴 𝑣 = 𝐵) → (𝑢𝑣𝑣𝑢))
214, 20sylan2b 594 . 2 ((((𝐵:𝐷𝑆 ∧ ∀𝑦𝐴 (𝐵𝐶𝐶𝐵)) ∧ 𝑢 = 𝐵) ∧ 𝑣 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}) → (𝑢𝑣𝑣𝑢))
2221ralrimiva 3103 1 (((𝐵:𝐷𝑆 ∧ ∀𝑦𝐴 (𝐵𝐶𝐶𝐵)) ∧ 𝑢 = 𝐵) → ∀𝑣 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵} (𝑢𝑣𝑣𝑢))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wo 844   = wceq 1539  wcel 2106  {cab 2715  wral 3064  wrex 3065  wss 3887  wf 6429
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-tru 1542  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  df-v 3434  df-in 3894  df-ss 3904
This theorem is referenced by:  fiun  7785  f1iun  7786
  Copyright terms: Public domain W3C validator