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

Theorem fiunlem 7975
Description: Lemma for fiun 7976 and f1iun 7977. Formerly part of f1iun 7977. (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 3458 . . . 4 𝑣 ∈ V
2 eqeq1 2767 . . . . 5 (𝑧 = 𝑣 → (𝑧 = 𝐵 ↔ 𝑣 = 𝐵))
32rexbidv 3190 . . . 4 (𝑧 = 𝑣 → (∃𝑥 ∈ 𝐴 𝑧 = 𝐵 ↔ ∃𝑥 ∈ 𝐴 𝑣 = 𝐵))
41, 3elab 3636 . . 3 (𝑣 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵} ↔ ∃𝑥 ∈ 𝐴 𝑣 = 𝐵)
5 fiun.1 . . . . . 6 (𝑥 = 𝑦 → 𝐵 = 𝐶)
65eqeq2d 2774 . . . . 5 (𝑥 = 𝑦 → (𝑣 = 𝐵 ↔ 𝑣 = 𝐶))
76cbvrexvw 3245 . . . 4 (∃𝑥 ∈ 𝐴 𝑣 = 𝐵 ↔ ∃𝑦 ∈ 𝐴 𝑣 = 𝐶)
8 r19.29 3129 . . . . . . 7 ((∀𝑦 ∈ 𝐴 (𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵) ∧ ∃𝑦 ∈ 𝐴 𝑣 = 𝐶) → ∃𝑦 ∈ 𝐴 ((𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵) ∧ 𝑣 = 𝐶))
9 sseq12 3940 . . . . . . . . . . . . 13 ((𝑢 = 𝐵 ∧ 𝑣 = 𝐶) → (𝑢 ⊆ 𝑣 ↔ 𝐵 ⊆ 𝐶))
109ancoms 464 . . . . . . . . . . . 12 ((𝑣 = 𝐶 ∧ 𝑢 = 𝐵) → (𝑢 ⊆ 𝑣 ↔ 𝐵 ⊆ 𝐶))
11 sseq12 3940 . . . . . . . . . . . 12 ((𝑣 = 𝐶 ∧ 𝑢 = 𝐵) → (𝑣 ⊆ 𝑢 ↔ 𝐶 ⊆ 𝐵))
1210, 11orbi12d 932 . . . . . . . . . . 11 ((𝑣 = 𝐶 ∧ 𝑢 = 𝐵) → ((𝑢 ⊆ 𝑣 ∨ 𝑣 ⊆ 𝑢) ↔ (𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵)))
1312biimprcd 253 . . . . . . . . . 10 ((𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵) → ((𝑣 = 𝐶 ∧ 𝑢 = 𝐵) → (𝑢 ⊆ 𝑣 ∨ 𝑣 ⊆ 𝑢)))
1413expdimp 458 . . . . . . . . 9 (((𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵) ∧ 𝑣 = 𝐶) → (𝑢 = 𝐵 → (𝑢 ⊆ 𝑣 ∨ 𝑣 ⊆ 𝑢)))
1514rexlimivw 3163 . . . . . . . 8 (∃𝑦 ∈ 𝐴 ((𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵) ∧ 𝑣 = 𝐶) → (𝑢 = 𝐵 → (𝑢 ⊆ 𝑣 ∨ 𝑣 ⊆ 𝑢)))
1615imp 412 . . . . . . 7 ((∃𝑦 ∈ 𝐴 ((𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵) ∧ 𝑣 = 𝐶) ∧ 𝑢 = 𝐵) → (𝑢 ⊆ 𝑣 ∨ 𝑣 ⊆ 𝑢))
178, 16sylan 592 . . . . . 6 (((∀𝑦 ∈ 𝐴 (𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵) ∧ ∃𝑦 ∈ 𝐴 𝑣 = 𝐶) ∧ 𝑢 = 𝐵) → (𝑢 ⊆ 𝑣 ∨ 𝑣 ⊆ 𝑢))
1817an32s 665 . . . . 5 (((∀𝑦 ∈ 𝐴 (𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵) ∧ 𝑢 = 𝐵) ∧ ∃𝑦 ∈ 𝐴 𝑣 = 𝐶) → (𝑢 ⊆ 𝑣 ∨ 𝑣 ⊆ 𝑢))
1918adantlll 731 . . . 4 ((((𝐵:𝐷⟶𝑆 ∧ ∀𝑦 ∈ 𝐴 (𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵)) ∧ 𝑢 = 𝐵) ∧ ∃𝑦 ∈ 𝐴 𝑣 = 𝐶) → (𝑢 ⊆ 𝑣 ∨ 𝑣 ⊆ 𝑢))
207, 19sylan2b 606 . . 3 ((((𝐵:𝐷⟶𝑆 ∧ ∀𝑦 ∈ 𝐴 (𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵)) ∧ 𝑢 = 𝐵) ∧ ∃𝑥 ∈ 𝐴 𝑣 = 𝐵) → (𝑢 ⊆ 𝑣 ∨ 𝑣 ⊆ 𝑢))
214, 20sylan2b 606 . 2 ((((𝐵:𝐷⟶𝑆 ∧ ∀𝑦 ∈ 𝐴 (𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵)) ∧ 𝑢 = 𝐵) ∧ 𝑣 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}) → (𝑢 ⊆ 𝑣 ∨ 𝑣 ⊆ 𝑢))
2221ralrimiva 3158 1 (((𝐵:𝐷⟶𝑆 ∧ ∀𝑦 ∈ 𝐴 (𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵)) ∧ 𝑢 = 𝐵) → ∀𝑣 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵} (𝑢 ⊆ 𝑣 ∨ 𝑣 ⊆ 𝑢))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1570   ∈ wcel 2147  {cab 2741  ∀wral 3080  ∃wrex 3090   ⊆ wss 3900  ⟶wf 6551
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rex 3091  df-v 3456  df-ss 3901
This theorem is used by:  fiun  7976  f1iun  7977
  Copyright terms: Public domain W3C validator