Users' Mathboxes Mathbox for Peter Mazsa < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  disjlem17 Structured version   Visualization version   GIF version

Theorem disjlem17 37019
Description: Lemma for disjdmqseq 37025, partim2 37027 and petlem 37032 via disjlem18 37020, (general version of the former prtlem17 37096). (Contributed by Peter Mazsa, 10-Sep-2021.)
Assertion
Ref Expression
disjlem17 ( Disj 𝑅 → ((𝑥 ∈ dom 𝑅𝐴 ∈ [𝑥]𝑅) → (∃𝑦 ∈ dom 𝑅(𝐴 ∈ [𝑦]𝑅𝐵 ∈ [𝑦]𝑅) → 𝐵 ∈ [𝑥]𝑅)))
Distinct variable groups:   𝑦,𝐴   𝑦,𝐵   𝑥,𝑅,𝑦
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑥)

Proof of Theorem disjlem17
StepHypRef Expression
1 df-rex 3071 . . 3 (∃𝑦 ∈ dom 𝑅(𝐴 ∈ [𝑦]𝑅𝐵 ∈ [𝑦]𝑅) ↔ ∃𝑦(𝑦 ∈ dom 𝑅 ∧ (𝐴 ∈ [𝑦]𝑅𝐵 ∈ [𝑦]𝑅)))
2 an32 644 . . . . . . . 8 (((𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅) ∧ 𝐴 ∈ [𝑥]𝑅) ↔ ((𝑥 ∈ dom 𝑅𝐴 ∈ [𝑥]𝑅) ∧ 𝑦 ∈ dom 𝑅))
3 disjlem14 37018 . . . . . . . . . . 11 ( Disj 𝑅 → ((𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅) → ((𝐴 ∈ [𝑥]𝑅𝐴 ∈ [𝑦]𝑅) → [𝑥]𝑅 = [𝑦]𝑅)))
4 eleq2 2825 . . . . . . . . . . . 12 ([𝑥]𝑅 = [𝑦]𝑅 → (𝐵 ∈ [𝑥]𝑅𝐵 ∈ [𝑦]𝑅))
54biimprd 248 . . . . . . . . . . 11 ([𝑥]𝑅 = [𝑦]𝑅 → (𝐵 ∈ [𝑦]𝑅𝐵 ∈ [𝑥]𝑅))
63, 5syl8 76 . . . . . . . . . 10 ( Disj 𝑅 → ((𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅) → ((𝐴 ∈ [𝑥]𝑅𝐴 ∈ [𝑦]𝑅) → (𝐵 ∈ [𝑦]𝑅𝐵 ∈ [𝑥]𝑅))))
76exp4a 433 . . . . . . . . 9 ( Disj 𝑅 → ((𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅) → (𝐴 ∈ [𝑥]𝑅 → (𝐴 ∈ [𝑦]𝑅 → (𝐵 ∈ [𝑦]𝑅𝐵 ∈ [𝑥]𝑅)))))
87impd 412 . . . . . . . 8 ( Disj 𝑅 → (((𝑥 ∈ dom 𝑅𝑦 ∈ dom 𝑅) ∧ 𝐴 ∈ [𝑥]𝑅) → (𝐴 ∈ [𝑦]𝑅 → (𝐵 ∈ [𝑦]𝑅𝐵 ∈ [𝑥]𝑅))))
92, 8syl5bir 243 . . . . . . 7 ( Disj 𝑅 → (((𝑥 ∈ dom 𝑅𝐴 ∈ [𝑥]𝑅) ∧ 𝑦 ∈ dom 𝑅) → (𝐴 ∈ [𝑦]𝑅 → (𝐵 ∈ [𝑦]𝑅𝐵 ∈ [𝑥]𝑅))))
109expd 417 . . . . . 6 ( Disj 𝑅 → ((𝑥 ∈ dom 𝑅𝐴 ∈ [𝑥]𝑅) → (𝑦 ∈ dom 𝑅 → (𝐴 ∈ [𝑦]𝑅 → (𝐵 ∈ [𝑦]𝑅𝐵 ∈ [𝑥]𝑅)))))
1110imp5a 442 . . . . 5 ( Disj 𝑅 → ((𝑥 ∈ dom 𝑅𝐴 ∈ [𝑥]𝑅) → (𝑦 ∈ dom 𝑅 → ((𝐴 ∈ [𝑦]𝑅𝐵 ∈ [𝑦]𝑅) → 𝐵 ∈ [𝑥]𝑅))))
1211imp4b 423 . . . 4 (( Disj 𝑅 ∧ (𝑥 ∈ dom 𝑅𝐴 ∈ [𝑥]𝑅)) → ((𝑦 ∈ dom 𝑅 ∧ (𝐴 ∈ [𝑦]𝑅𝐵 ∈ [𝑦]𝑅)) → 𝐵 ∈ [𝑥]𝑅))
1312exlimdv 1934 . . 3 (( Disj 𝑅 ∧ (𝑥 ∈ dom 𝑅𝐴 ∈ [𝑥]𝑅)) → (∃𝑦(𝑦 ∈ dom 𝑅 ∧ (𝐴 ∈ [𝑦]𝑅𝐵 ∈ [𝑦]𝑅)) → 𝐵 ∈ [𝑥]𝑅))
141, 13biimtrid 241 . 2 (( Disj 𝑅 ∧ (𝑥 ∈ dom 𝑅𝐴 ∈ [𝑥]𝑅)) → (∃𝑦 ∈ dom 𝑅(𝐴 ∈ [𝑦]𝑅𝐵 ∈ [𝑦]𝑅) → 𝐵 ∈ [𝑥]𝑅))
1514ex 414 1 ( Disj 𝑅 → ((𝑥 ∈ dom 𝑅𝐴 ∈ [𝑥]𝑅) → (∃𝑦 ∈ dom 𝑅(𝐴 ∈ [𝑦]𝑅𝐵 ∈ [𝑦]𝑅) → 𝐵 ∈ [𝑥]𝑅)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 397   = wceq 1539  wex 1779  wcel 2104  wrex 3070  dom cdm 5600  [cec 8527   Disj wdisjALTV 36421
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2707  ax-sep 5232  ax-nul 5239  ax-pr 5361
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-3an 1089  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2886  df-ral 3062  df-rex 3071  df-rmo 3339  df-rab 3341  df-v 3439  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-sn 4566  df-pr 4568  df-op 4572  df-br 5082  df-opab 5144  df-id 5500  df-xp 5606  df-rel 5607  df-cnv 5608  df-co 5609  df-dm 5610  df-rn 5611  df-res 5612  df-ima 5613  df-ec 8531  df-coss 36631  df-cnvrefrel 36747  df-disjALTV 36925
This theorem is referenced by:  disjlem18  37020
  Copyright terms: Public domain W3C validator