HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
GIF version

Theorem fcoi2 2766
Description: Composition of restricted identity and a mapping.
Assertion
Ref Expression
fcoi2 (F:A–→B → ((IB) ∘ F) = F)

Proof of Theorem fcoi2
StepHypRef Expression
1 visset 1350 . . . . . . . 8 yV
21opelf 2762 . . . . . . 7 ((F:A–→B ∧ ⟨x, y⟩ ∈ F) → (xAyB))
32pm3.27d 262 . . . . . 6 ((F:A–→B ∧ ⟨x, y⟩ ∈ F) → yB)
43exp 291 . . . . 5 (F:A–→B → (⟨x, y⟩ ∈ FyB))
5 pm4.71 481 . . . . 5 ((⟨x, y⟩ ∈ FyB) ↔ (⟨x, y⟩ ∈ F ↔ (⟨x, y⟩ ∈ FyB)))
64, 5sylib 173 . . . 4 (F:A–→B → (⟨x, y⟩ ∈ F ↔ (⟨x, y⟩ ∈ FyB)))
7 visset 1350 . . . . . 6 xV
8 opelcog 2511 . . . . . 6 ((xVyV) → (⟨x, y⟩ ∈ ((IB) ∘ F) ↔ ∃z(⟨x, z⟩ ∈ F ∧ ⟨z, y⟩ ∈ (IB))))
97, 1, 8mp2an 520 . . . . 5 (⟨x, y⟩ ∈ ((IB) ∘ F) ↔ ∃z(⟨x, z⟩ ∈ F ∧ ⟨z, y⟩ ∈ (IB)))
101opelres 2579 . . . . . . . . 9 (⟨z, y⟩ ∈ (IB) ↔ (⟨z, y⟩ ∈ IzB))
11 df-br 2063 . . . . . . . . . . 11 (zIy ↔ ⟨z, y⟩ ∈ I)
12 visset 1350 . . . . . . . . . . . 12 zV
1312, 1ideq 2127 . . . . . . . . . . 11 (zIyz = y)
1411, 13bitr3 153 . . . . . . . . . 10 (⟨z, y⟩ ∈ Iz = y)
1514anbi1i 368 . . . . . . . . 9 ((⟨z, y⟩ ∈ IzB) ↔ (z = yzB))
1610, 15bitr 151 . . . . . . . 8 (⟨z, y⟩ ∈ (IB) ↔ (z = yzB))
1716anbi2i 367 . . . . . . 7 ((⟨x, z⟩ ∈ F ∧ ⟨z, y⟩ ∈ (IB)) ↔ (⟨x, z⟩ ∈ F ∧ (z = yzB)))
18 an12 370 . . . . . . 7 ((⟨x, z⟩ ∈ F ∧ (z = yzB)) ↔ (z = y ∧ (⟨x, z⟩ ∈ FzB)))
1917, 18bitr 151 . . . . . 6 ((⟨x, z⟩ ∈ F ∧ ⟨z, y⟩ ∈ (IB)) ↔ (z = y ∧ (⟨x, z⟩ ∈ FzB)))
2019biex 733 . . . . 5 (∃z(⟨x, z⟩ ∈ F ∧ ⟨z, y⟩ ∈ (IB)) ↔ ∃z(z = y ∧ (⟨x, z⟩ ∈ FzB)))
21 opeq2 1877 . . . . . . . 8 (z = y → ⟨x, z⟩ = ⟨x, y⟩)
2221eleq1d 1155 . . . . . . 7 (z = y → (⟨x, z⟩ ∈ F ↔ ⟨x, y⟩ ∈ F))
23 eleq1 1149 . . . . . . 7 (z = y → (zByB))
2422, 23anbi12d 476 . . . . . 6 (z = y → ((⟨x, z⟩ ∈ FzB) ↔ (⟨x, y⟩ ∈ FyB)))
251, 24ceqsexv 1371 . . . . 5 (∃z(z = y ∧ (⟨x, z⟩ ∈ FzB)) ↔ (⟨x, y⟩ ∈ FyB))
269, 20, 253bitr 155 . . . 4 (⟨x, y⟩ ∈ ((IB) ∘ F) ↔ (⟨x, y⟩ ∈ FyB))
276, 26syl6rbbr 417 . . 3 (F:A–→B → (⟨x, y⟩ ∈ ((IB) ∘ F) ↔ ⟨x, y⟩ ∈ F))
282719.21aivv 944 . 2 (F:A–→B → ∀xy(⟨x, y⟩ ∈ ((IB) ∘ F) ↔ ⟨x, y⟩ ∈ F))
29 frel 2755 . . 3 (F:A–→B → Rel F)
30 relco 2658 . . . 4 Rel ((IB) ∘ F)
31 cleqrel 2483 . . . 4 ((Rel ((IB) ∘ F) ∧ Rel F) → (((IB) ∘ F) = F ↔ ∀xy(⟨x, y⟩ ∈ ((IB) ∘ F) ↔ ⟨x, y⟩ ∈ F)))
3230, 31mpan 518 . . 3 (Rel F → (((IB) ∘ F) = F ↔ ∀xy(⟨x, y⟩ ∈ ((IB) ∘ F) ↔ ⟨x, y⟩ ∈ F)))
3329, 32syl 12 . 2 (F:A–→B → (((IB) ∘ F) = F ↔ ∀xy(⟨x, y⟩ ∈ ((IB) ∘ F) ↔ ⟨x, y⟩ ∈ F)))
3428, 33mpbird 171 1 (F:A–→B → ((IB) ∘ F) = F)
Colors of variables: wff set class
Syntax hints:   → wi 2   ↔ wb 127   ∧ wa 196  ∀wal 672  ∃wex 678   = weq 797   = wceq 1091   ∈ wcel 1092  Vcvv 1348  ⟨cop 1810   class class class wbr 2054  Icid 2057   ↾ cres 2412   ∘ ccom 2414  Rel wrel 2415  –→wf 2418
This theorem is referenced by:  mapenlem2 3385
This theorem was proved from axioms:  ax-1 3  ax-2 4  ax-3 5  ax-mp 6  ax-4 673  ax-5 674  ax-6 675  ax-7 676  ax-gen 677  ax-8 798  ax-9 799  ax-10 800  ax-11 801  ax-12 802  ax-13 804  ax-14 805  ax-16 922  ax-17 925  ax-ext 1074  ax-rep 1075  ax-pow 1077
This theorem depends on definitions:  df-bi 128  df-or 197  df-an 198  df-ex 679  df-sb 853  df-clab 1093  df-cleq 1097  df-clel 1099  df-v 1349  df-dif 1489  df-un 1490  df-in 1491  df-ss 1492  df-nul 1708  df-pw 1799  df-sn 1811  df-pr 1812  df-op 1815  df-br 2063  df-opab 2098  df-id 2125  df-xp 2424  df-rel 2425  df-cnv 2426  df-co 2427  df-dm 2428  df-rn 2429  df-res 2430  df-fun 2432  df-fn 2433  df-f 2434
metamath.org