Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  opelco3 Structured version   Visualization version   GIF version

Theorem opelco3 33728
Description: Alternate way of saying that an ordered pair is in a composition. (Contributed by Scott Fenton, 6-May-2018.)
Assertion
Ref Expression
opelco3 (⟨𝐴, 𝐵⟩ ∈ (𝐶𝐷) ↔ 𝐵 ∈ (𝐶 “ (𝐷 “ {𝐴})))

Proof of Theorem opelco3
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 df-br 5079 . 2 (𝐴(𝐶𝐷)𝐵 ↔ ⟨𝐴, 𝐵⟩ ∈ (𝐶𝐷))
2 relco 6145 . . . 4 Rel (𝐶𝐷)
32brrelex12i 5641 . . 3 (𝐴(𝐶𝐷)𝐵 → (𝐴 ∈ V ∧ 𝐵 ∈ V))
4 snprc 4658 . . . . . 6 𝐴 ∈ V ↔ {𝐴} = ∅)
5 noel 4269 . . . . . . 7 ¬ 𝐵 ∈ ∅
6 imaeq2 5962 . . . . . . . . . 10 ({𝐴} = ∅ → (𝐷 “ {𝐴}) = (𝐷 “ ∅))
76imaeq2d 5966 . . . . . . . . 9 ({𝐴} = ∅ → (𝐶 “ (𝐷 “ {𝐴})) = (𝐶 “ (𝐷 “ ∅)))
8 ima0 5982 . . . . . . . . . . 11 (𝐷 “ ∅) = ∅
98imaeq2i 5964 . . . . . . . . . 10 (𝐶 “ (𝐷 “ ∅)) = (𝐶 “ ∅)
10 ima0 5982 . . . . . . . . . 10 (𝐶 “ ∅) = ∅
119, 10eqtri 2767 . . . . . . . . 9 (𝐶 “ (𝐷 “ ∅)) = ∅
127, 11eqtrdi 2795 . . . . . . . 8 ({𝐴} = ∅ → (𝐶 “ (𝐷 “ {𝐴})) = ∅)
1312eleq2d 2825 . . . . . . 7 ({𝐴} = ∅ → (𝐵 ∈ (𝐶 “ (𝐷 “ {𝐴})) ↔ 𝐵 ∈ ∅))
145, 13mtbiri 326 . . . . . 6 ({𝐴} = ∅ → ¬ 𝐵 ∈ (𝐶 “ (𝐷 “ {𝐴})))
154, 14sylbi 216 . . . . 5 𝐴 ∈ V → ¬ 𝐵 ∈ (𝐶 “ (𝐷 “ {𝐴})))
1615con4i 114 . . . 4 (𝐵 ∈ (𝐶 “ (𝐷 “ {𝐴})) → 𝐴 ∈ V)
17 elex 3448 . . . 4 (𝐵 ∈ (𝐶 “ (𝐷 “ {𝐴})) → 𝐵 ∈ V)
1816, 17jca 511 . . 3 (𝐵 ∈ (𝐶 “ (𝐷 “ {𝐴})) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
19 df-rex 3071 . . . . 5 (∃𝑧 ∈ (𝐷 “ {𝐴})𝑧𝐶𝐵 ↔ ∃𝑧(𝑧 ∈ (𝐷 “ {𝐴}) ∧ 𝑧𝐶𝐵))
20 elimasng 5993 . . . . . . . . . 10 ((𝐴 ∈ V ∧ 𝑧 ∈ V) → (𝑧 ∈ (𝐷 “ {𝐴}) ↔ ⟨𝐴, 𝑧⟩ ∈ 𝐷))
2120elvd 3437 . . . . . . . . 9 (𝐴 ∈ V → (𝑧 ∈ (𝐷 “ {𝐴}) ↔ ⟨𝐴, 𝑧⟩ ∈ 𝐷))
22 df-br 5079 . . . . . . . . 9 (𝐴𝐷𝑧 ↔ ⟨𝐴, 𝑧⟩ ∈ 𝐷)
2321, 22bitr4di 288 . . . . . . . 8 (𝐴 ∈ V → (𝑧 ∈ (𝐷 “ {𝐴}) ↔ 𝐴𝐷𝑧))
2423adantr 480 . . . . . . 7 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (𝑧 ∈ (𝐷 “ {𝐴}) ↔ 𝐴𝐷𝑧))
2524anbi1d 629 . . . . . 6 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → ((𝑧 ∈ (𝐷 “ {𝐴}) ∧ 𝑧𝐶𝐵) ↔ (𝐴𝐷𝑧𝑧𝐶𝐵)))
2625exbidv 1927 . . . . 5 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (∃𝑧(𝑧 ∈ (𝐷 “ {𝐴}) ∧ 𝑧𝐶𝐵) ↔ ∃𝑧(𝐴𝐷𝑧𝑧𝐶𝐵)))
2719, 26bitr2id 283 . . . 4 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (∃𝑧(𝐴𝐷𝑧𝑧𝐶𝐵) ↔ ∃𝑧 ∈ (𝐷 “ {𝐴})𝑧𝐶𝐵))
28 brcog 5772 . . . 4 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (𝐴(𝐶𝐷)𝐵 ↔ ∃𝑧(𝐴𝐷𝑧𝑧𝐶𝐵)))
29 elimag 5970 . . . . 5 (𝐵 ∈ V → (𝐵 ∈ (𝐶 “ (𝐷 “ {𝐴})) ↔ ∃𝑧 ∈ (𝐷 “ {𝐴})𝑧𝐶𝐵))
3029adantl 481 . . . 4 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (𝐵 ∈ (𝐶 “ (𝐷 “ {𝐴})) ↔ ∃𝑧 ∈ (𝐷 “ {𝐴})𝑧𝐶𝐵))
3127, 28, 303bitr4d 310 . . 3 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (𝐴(𝐶𝐷)𝐵𝐵 ∈ (𝐶 “ (𝐷 “ {𝐴}))))
323, 18, 31pm5.21nii 379 . 2 (𝐴(𝐶𝐷)𝐵𝐵 ∈ (𝐶 “ (𝐷 “ {𝐴})))
331, 32bitr3i 276 1 (⟨𝐴, 𝐵⟩ ∈ (𝐶𝐷) ↔ 𝐵 ∈ (𝐶 “ (𝐷 “ {𝐴})))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 205  wa 395   = wceq 1541  wex 1785  wcel 2109  wrex 3066  Vcvv 3430  c0 4261  {csn 4566  cop 4572   class class class wbr 5078  cima 5591  ccom 5592
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710  ax-sep 5226  ax-nul 5233  ax-pr 5355
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1544  df-fal 1554  df-ex 1786  df-nf 1790  df-sb 2071  df-clab 2717  df-cleq 2731  df-clel 2817  df-ral 3070  df-rex 3071  df-rab 3074  df-v 3432  df-dif 3894  df-un 3896  df-in 3898  df-ss 3908  df-nul 4262  df-if 4465  df-sn 4567  df-pr 4569  df-op 4573  df-br 5079  df-opab 5141  df-xp 5594  df-rel 5595  df-cnv 5596  df-co 5597  df-dm 5598  df-rn 5599  df-res 5600  df-ima 5601
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator