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

Theorem fiunlem 7954
Description: Lemma for fiun 7955 and f1iun 7956. Formerly part of f1iun 7956. (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 3454 . . . 4 𝑣 ∈ V
2 eqeq1 2764 . . . . 5 (𝑧 = 𝑣 → (𝑧 = 𝐵 ↔ 𝑣 = 𝐵))
32rexbidv 3186 . . . 4 (𝑧 = 𝑣 → (∃𝑥 ∈ 𝐴 𝑧 = 𝐵 ↔ ∃𝑥 ∈ 𝐴 𝑣 = 𝐵))
41, 3elab 3632 . . 3 (𝑣 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵} ↔ ∃𝑥 ∈ 𝐴 𝑣 = 𝐵)
5 fiun.1 . . . . . 6 (𝑥 = 𝑦 → 𝐵 = 𝐶)
65eqeq2d 2771 . . . . 5 (𝑥 = 𝑦 → (𝑣 = 𝐵 ↔ 𝑣 = 𝐶))
76cbvrexvw 3241 . . . 4 (∃𝑥 ∈ 𝐴 𝑣 = 𝐵 ↔ ∃𝑦 ∈ 𝐴 𝑣 = 𝐶)
8 r19.29 3125 . . . . . . 7 ((∀𝑦 ∈ 𝐴 (𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵) ∧ ∃𝑦 ∈ 𝐴 𝑣 = 𝐶) → ∃𝑦 ∈ 𝐴 ((𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵) ∧ 𝑣 = 𝐶))
9 sseq12 3935 . . . . . . . . . . . . 13 ((𝑢 = 𝐵 ∧ 𝑣 = 𝐶) → (𝑢 ⊆ 𝑣 ↔ 𝐵 ⊆ 𝐶))
109ancoms 464 . . . . . . . . . . . 12 ((𝑣 = 𝐶 ∧ 𝑢 = 𝐵) → (𝑢 ⊆ 𝑣 ↔ 𝐵 ⊆ 𝐶))
11 sseq12 3935 . . . . . . . . . . . 12 ((𝑣 = 𝐶 ∧ 𝑢 = 𝐵) → (𝑣 ⊆ 𝑢 ↔ 𝐶 ⊆ 𝐵))
1210, 11orbi12d 932 . . . . . . . . . . 11 ((𝑣 = 𝐶 ∧ 𝑢 = 𝐵) → ((𝑢 ⊆ 𝑣 ∨ 𝑣 ⊆ 𝑢) ↔ (𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵)))
1312biimprcd 253 . . . . . . . . . 10 ((𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵) → ((𝑣 = 𝐶 ∧ 𝑢 = 𝐵) → (𝑢 ⊆ 𝑣 ∨ 𝑣 ⊆ 𝑢)))
1413expdimp 458 . . . . . . . . 9 (((𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵) ∧ 𝑣 = 𝐶) → (𝑢 = 𝐵 → (𝑢 ⊆ 𝑣 ∨ 𝑣 ⊆ 𝑢)))
1514rexlimivw 3159 . . . . . . . 8 (∃𝑦 ∈ 𝐴 ((𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵) ∧ 𝑣 = 𝐶) → (𝑢 = 𝐵 → (𝑢 ⊆ 𝑣 ∨ 𝑣 ⊆ 𝑢)))
1615imp 412 . . . . . . 7 ((∃𝑦 ∈ 𝐴 ((𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵) ∧ 𝑣 = 𝐶) ∧ 𝑢 = 𝐵) → (𝑢 ⊆ 𝑣 ∨ 𝑣 ⊆ 𝑢))
178, 16sylan 592 . . . . . 6 (((∀𝑦 ∈ 𝐴 (𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵) ∧ ∃𝑦 ∈ 𝐴 𝑣 = 𝐶) ∧ 𝑢 = 𝐵) → (𝑢 ⊆ 𝑣 ∨ 𝑣 ⊆ 𝑢))
1817an32s 665 . . . . 5 (((∀𝑦 ∈ 𝐴 (𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵) ∧ 𝑢 = 𝐵) ∧ ∃𝑦 ∈ 𝐴 𝑣 = 𝐶) → (𝑢 ⊆ 𝑣 ∨ 𝑣 ⊆ 𝑢))
1918adantlll 731 . . . 4 ((((𝐵:𝐷⟶𝑆 ∧ ∀𝑦 ∈ 𝐴 (𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵)) ∧ 𝑢 = 𝐵) ∧ ∃𝑦 ∈ 𝐴 𝑣 = 𝐶) → (𝑢 ⊆ 𝑣 ∨ 𝑣 ⊆ 𝑢))
207, 19sylan2b 606 . . 3 ((((𝐵:𝐷⟶𝑆 ∧ ∀𝑦 ∈ 𝐴 (𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵)) ∧ 𝑢 = 𝐵) ∧ ∃𝑥 ∈ 𝐴 𝑣 = 𝐵) → (𝑢 ⊆ 𝑣 ∨ 𝑣 ⊆ 𝑢))
214, 20sylan2b 606 . 2 ((((𝐵:𝐷⟶𝑆 ∧ ∀𝑦 ∈ 𝐴 (𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵)) ∧ 𝑢 = 𝐵) ∧ 𝑣 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵}) → (𝑢 ⊆ 𝑣 ∨ 𝑣 ⊆ 𝑢))
2221ralrimiva 3154 1 (((𝐵:𝐷⟶𝑆 ∧ ∀𝑦 ∈ 𝐴 (𝐵 ⊆ 𝐶 ∨ 𝐶 ⊆ 𝐵)) ∧ 𝑢 = 𝐵) → ∀𝑣 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 = 𝐵} (𝑢 ⊆ 𝑣 ∨ 𝑣 ⊆ 𝑢))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1569   ∈ wcel 2144  {cab 2738  ∀wral 3076  ∃wrex 3086   ⊆ wss 3895  ⟶wf 6534
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-v 3452  df-ss 3896
This theorem is used by:  fiun  7955  f1iun  7956
  Copyright terms: Public domain W3C validator