Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fcoinver Structured version   Visualization version   GIF version

Theorem fcoinver 29869
Description: Build an equivalence relation from a function. Two values are equivalent if they have the same image by the function. See also fcoinvbr 29870. (Contributed by Thierry Arnoux, 3-Jan-2020.)
Assertion
Ref Expression
fcoinver (𝐹 Fn 𝑋 → (𝐹𝐹) Er 𝑋)

Proof of Theorem fcoinver
StepHypRef Expression
1 relco 5821 . . 3 Rel (𝐹𝐹)
21a1i 11 . 2 (𝐹 Fn 𝑋 → Rel (𝐹𝐹))
3 dmco 5831 . . 3 dom (𝐹𝐹) = (𝐹 “ dom 𝐹)
4 df-rn 5290 . . . . 5 ran 𝐹 = dom 𝐹
54imaeq2i 5648 . . . 4 (𝐹 “ ran 𝐹) = (𝐹 “ dom 𝐹)
6 cnvimarndm 5670 . . . . 5 (𝐹 “ ran 𝐹) = dom 𝐹
7 fndm 6170 . . . . 5 (𝐹 Fn 𝑋 → dom 𝐹 = 𝑋)
86, 7syl5eq 2811 . . . 4 (𝐹 Fn 𝑋 → (𝐹 “ ran 𝐹) = 𝑋)
95, 8syl5eqr 2813 . . 3 (𝐹 Fn 𝑋 → (𝐹 “ dom 𝐹) = 𝑋)
103, 9syl5eq 2811 . 2 (𝐹 Fn 𝑋 → dom (𝐹𝐹) = 𝑋)
11 cnvco 5478 . . . . 5 (𝐹𝐹) = (𝐹𝐹)
12 cnvcnvss 5774 . . . . . 6 𝐹𝐹
13 coss2 5449 . . . . . 6 (𝐹𝐹 → (𝐹𝐹) ⊆ (𝐹𝐹))
1412, 13ax-mp 5 . . . . 5 (𝐹𝐹) ⊆ (𝐹𝐹)
1511, 14eqsstri 3797 . . . 4 (𝐹𝐹) ⊆ (𝐹𝐹)
1615a1i 11 . . 3 (𝐹 Fn 𝑋(𝐹𝐹) ⊆ (𝐹𝐹))
17 coass 5842 . . . . 5 ((𝐹𝐹) ∘ (𝐹𝐹)) = (𝐹 ∘ (𝐹 ∘ (𝐹𝐹)))
18 coass 5842 . . . . . . 7 ((𝐹𝐹) ∘ 𝐹) = (𝐹 ∘ (𝐹𝐹))
19 fnfun 6168 . . . . . . . . . 10 (𝐹 Fn 𝑋 → Fun 𝐹)
20 funcocnv2 6346 . . . . . . . . . 10 (Fun 𝐹 → (𝐹𝐹) = ( I ↾ ran 𝐹))
2119, 20syl 17 . . . . . . . . 9 (𝐹 Fn 𝑋 → (𝐹𝐹) = ( I ↾ ran 𝐹))
2221coeq1d 5454 . . . . . . . 8 (𝐹 Fn 𝑋 → ((𝐹𝐹) ∘ 𝐹) = (( I ↾ ran 𝐹) ∘ 𝐹))
23 dffn3 6236 . . . . . . . . 9 (𝐹 Fn 𝑋𝐹:𝑋⟶ran 𝐹)
24 fcoi2 6263 . . . . . . . . 9 (𝐹:𝑋⟶ran 𝐹 → (( I ↾ ran 𝐹) ∘ 𝐹) = 𝐹)
2523, 24sylbi 208 . . . . . . . 8 (𝐹 Fn 𝑋 → (( I ↾ ran 𝐹) ∘ 𝐹) = 𝐹)
2622, 25eqtrd 2799 . . . . . . 7 (𝐹 Fn 𝑋 → ((𝐹𝐹) ∘ 𝐹) = 𝐹)
2718, 26syl5eqr 2813 . . . . . 6 (𝐹 Fn 𝑋 → (𝐹 ∘ (𝐹𝐹)) = 𝐹)
2827coeq2d 5455 . . . . 5 (𝐹 Fn 𝑋 → (𝐹 ∘ (𝐹 ∘ (𝐹𝐹))) = (𝐹𝐹))
2917, 28syl5eq 2811 . . . 4 (𝐹 Fn 𝑋 → ((𝐹𝐹) ∘ (𝐹𝐹)) = (𝐹𝐹))
30 ssid 3785 . . . 4 (𝐹𝐹) ⊆ (𝐹𝐹)
3129, 30syl6eqss 3817 . . 3 (𝐹 Fn 𝑋 → ((𝐹𝐹) ∘ (𝐹𝐹)) ⊆ (𝐹𝐹))
3216, 31unssd 3953 . 2 (𝐹 Fn 𝑋 → ((𝐹𝐹) ∪ ((𝐹𝐹) ∘ (𝐹𝐹))) ⊆ (𝐹𝐹))
33 df-er 7949 . 2 ((𝐹𝐹) Er 𝑋 ↔ (Rel (𝐹𝐹) ∧ dom (𝐹𝐹) = 𝑋 ∧ ((𝐹𝐹) ∪ ((𝐹𝐹) ∘ (𝐹𝐹))) ⊆ (𝐹𝐹)))
342, 10, 32, 33syl3anbrc 1443 1 (𝐹 Fn 𝑋 → (𝐹𝐹) Er 𝑋)
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1652  cun 3732  wss 3734   I cid 5186  ccnv 5278  dom cdm 5279  ran crn 5280  cres 5281  cima 5282  ccom 5283  Rel wrel 5284  Fun wfun 6064   Fn wfn 6065  wf 6066   Er wer 7946
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1890  ax-4 1904  ax-5 2005  ax-6 2070  ax-7 2105  ax-9 2164  ax-10 2183  ax-11 2198  ax-12 2211  ax-13 2352  ax-ext 2743  ax-sep 4943  ax-nul 4951  ax-pr 5064
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 874  df-3an 1109  df-tru 1656  df-ex 1875  df-nf 1879  df-sb 2063  df-mo 2565  df-eu 2582  df-clab 2752  df-cleq 2758  df-clel 2761  df-nfc 2896  df-ral 3060  df-rex 3061  df-rab 3064  df-v 3352  df-dif 3737  df-un 3739  df-in 3741  df-ss 3748  df-nul 4082  df-if 4246  df-sn 4337  df-pr 4339  df-op 4343  df-br 4812  df-opab 4874  df-id 5187  df-xp 5285  df-rel 5286  df-cnv 5287  df-co 5288  df-dm 5289  df-rn 5290  df-res 5291  df-ima 5292  df-fun 6072  df-fn 6073  df-f 6074  df-er 7949
This theorem is referenced by:  qtophaus  30353
  Copyright terms: Public domain W3C validator