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

Theorem fiunlem 7643
Description: Lemma for fiun 7644 and f1iun 7645. Formerly part of f1iun 7645. (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 3497 . . . 4 𝑣 ∈ V
2 eqeq1 2825 . . . . 5 (𝑧 = 𝑣 → (𝑧 = 𝐵𝑣 = 𝐵))
32rexbidv 3297 . . . 4 (𝑧 = 𝑣 → (∃𝑥𝐴 𝑧 = 𝐵 ↔ ∃𝑥𝐴 𝑣 = 𝐵))
41, 3elab 3667 . . 3 (𝑣 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵} ↔ ∃𝑥𝐴 𝑣 = 𝐵)
5 fiun.1 . . . . . 6 (𝑥 = 𝑦𝐵 = 𝐶)
65eqeq2d 2832 . . . . 5 (𝑥 = 𝑦 → (𝑣 = 𝐵𝑣 = 𝐶))
76cbvrexvw 3450 . . . 4 (∃𝑥𝐴 𝑣 = 𝐵 ↔ ∃𝑦𝐴 𝑣 = 𝐶)
8 r19.29 3254 . . . . . . 7 ((∀𝑦𝐴 (𝐵𝐶𝐶𝐵) ∧ ∃𝑦𝐴 𝑣 = 𝐶) → ∃𝑦𝐴 ((𝐵𝐶𝐶𝐵) ∧ 𝑣 = 𝐶))
9 sseq12 3994 . . . . . . . . . . . . 13 ((𝑢 = 𝐵𝑣 = 𝐶) → (𝑢𝑣𝐵𝐶))
109ancoms 461 . . . . . . . . . . . 12 ((𝑣 = 𝐶𝑢 = 𝐵) → (𝑢𝑣𝐵𝐶))
11 sseq12 3994 . . . . . . . . . . . 12 ((𝑣 = 𝐶𝑢 = 𝐵) → (𝑣𝑢𝐶𝐵))
1210, 11orbi12d 915 . . . . . . . . . . 11 ((𝑣 = 𝐶𝑢 = 𝐵) → ((𝑢𝑣𝑣𝑢) ↔ (𝐵𝐶𝐶𝐵)))
1312biimprcd 252 . . . . . . . . . 10 ((𝐵𝐶𝐶𝐵) → ((𝑣 = 𝐶𝑢 = 𝐵) → (𝑢𝑣𝑣𝑢)))
1413expdimp 455 . . . . . . . . 9 (((𝐵𝐶𝐶𝐵) ∧ 𝑣 = 𝐶) → (𝑢 = 𝐵 → (𝑢𝑣𝑣𝑢)))
1514rexlimivw 3282 . . . . . . . 8 (∃𝑦𝐴 ((𝐵𝐶𝐶𝐵) ∧ 𝑣 = 𝐶) → (𝑢 = 𝐵 → (𝑢𝑣𝑣𝑢)))
1615imp 409 . . . . . . 7 ((∃𝑦𝐴 ((𝐵𝐶𝐶𝐵) ∧ 𝑣 = 𝐶) ∧ 𝑢 = 𝐵) → (𝑢𝑣𝑣𝑢))
178, 16sylan 582 . . . . . 6 (((∀𝑦𝐴 (𝐵𝐶𝐶𝐵) ∧ ∃𝑦𝐴 𝑣 = 𝐶) ∧ 𝑢 = 𝐵) → (𝑢𝑣𝑣𝑢))
1817an32s 650 . . . . 5 (((∀𝑦𝐴 (𝐵𝐶𝐶𝐵) ∧ 𝑢 = 𝐵) ∧ ∃𝑦𝐴 𝑣 = 𝐶) → (𝑢𝑣𝑣𝑢))
1918adantlll 716 . . . 4 ((((𝐵:𝐷𝑆 ∧ ∀𝑦𝐴 (𝐵𝐶𝐶𝐵)) ∧ 𝑢 = 𝐵) ∧ ∃𝑦𝐴 𝑣 = 𝐶) → (𝑢𝑣𝑣𝑢))
207, 19sylan2b 595 . . 3 ((((𝐵:𝐷𝑆 ∧ ∀𝑦𝐴 (𝐵𝐶𝐶𝐵)) ∧ 𝑢 = 𝐵) ∧ ∃𝑥𝐴 𝑣 = 𝐵) → (𝑢𝑣𝑣𝑢))
214, 20sylan2b 595 . 2 ((((𝐵:𝐷𝑆 ∧ ∀𝑦𝐴 (𝐵𝐶𝐶𝐵)) ∧ 𝑢 = 𝐵) ∧ 𝑣 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵}) → (𝑢𝑣𝑣𝑢))
2221ralrimiva 3182 1 (((𝐵:𝐷𝑆 ∧ ∀𝑦𝐴 (𝐵𝐶𝐶𝐵)) ∧ 𝑢 = 𝐵) → ∀𝑣 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧 = 𝐵} (𝑢𝑣𝑣𝑢))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wo 843   = wceq 1537  wcel 2114  {cab 2799  wral 3138  wrex 3139  wss 3936  wf 6351
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-v 3496  df-in 3943  df-ss 3952
This theorem is referenced by:  fiun  7644  f1iun  7645
  Copyright terms: Public domain W3C validator