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 30847
Description: Build an equivalence relation from a function. Two values are equivalent if they have the same image by the function. See also fcoinvbr 30848. (Contributed by Thierry Arnoux, 3-Jan-2020.)
Assertion
Ref Expression
fcoinver (𝐹 Fn 𝑋 → (𝐹𝐹) Er 𝑋)

Proof of Theorem fcoinver
StepHypRef Expression
1 relco 6137 . . 3 Rel (𝐹𝐹)
21a1i 11 . 2 (𝐹 Fn 𝑋 → Rel (𝐹𝐹))
3 dmco 6147 . . 3 dom (𝐹𝐹) = (𝐹 “ dom 𝐹)
4 df-rn 5591 . . . . 5 ran 𝐹 = dom 𝐹
54imaeq2i 5956 . . . 4 (𝐹 “ ran 𝐹) = (𝐹 “ dom 𝐹)
6 cnvimarndm 5979 . . . . 5 (𝐹 “ ran 𝐹) = dom 𝐹
7 fndm 6520 . . . . 5 (𝐹 Fn 𝑋 → dom 𝐹 = 𝑋)
86, 7syl5eq 2791 . . . 4 (𝐹 Fn 𝑋 → (𝐹 “ ran 𝐹) = 𝑋)
95, 8eqtr3id 2793 . . 3 (𝐹 Fn 𝑋 → (𝐹 “ dom 𝐹) = 𝑋)
103, 9syl5eq 2791 . 2 (𝐹 Fn 𝑋 → dom (𝐹𝐹) = 𝑋)
11 cnvco 5783 . . . . 5 (𝐹𝐹) = (𝐹𝐹)
12 cnvcnvss 6086 . . . . . 6 𝐹𝐹
13 coss2 5754 . . . . . 6 (𝐹𝐹 → (𝐹𝐹) ⊆ (𝐹𝐹))
1412, 13ax-mp 5 . . . . 5 (𝐹𝐹) ⊆ (𝐹𝐹)
1511, 14eqsstri 3951 . . . 4 (𝐹𝐹) ⊆ (𝐹𝐹)
1615a1i 11 . . 3 (𝐹 Fn 𝑋(𝐹𝐹) ⊆ (𝐹𝐹))
17 coass 6158 . . . . 5 ((𝐹𝐹) ∘ (𝐹𝐹)) = (𝐹 ∘ (𝐹 ∘ (𝐹𝐹)))
18 coass 6158 . . . . . . 7 ((𝐹𝐹) ∘ 𝐹) = (𝐹 ∘ (𝐹𝐹))
19 fnfun 6517 . . . . . . . . . 10 (𝐹 Fn 𝑋 → Fun 𝐹)
20 funcocnv2 6724 . . . . . . . . . 10 (Fun 𝐹 → (𝐹𝐹) = ( I ↾ ran 𝐹))
2119, 20syl 17 . . . . . . . . 9 (𝐹 Fn 𝑋 → (𝐹𝐹) = ( I ↾ ran 𝐹))
2221coeq1d 5759 . . . . . . . 8 (𝐹 Fn 𝑋 → ((𝐹𝐹) ∘ 𝐹) = (( I ↾ ran 𝐹) ∘ 𝐹))
23 dffn3 6597 . . . . . . . . 9 (𝐹 Fn 𝑋𝐹:𝑋⟶ran 𝐹)
24 fcoi2 6633 . . . . . . . . 9 (𝐹:𝑋⟶ran 𝐹 → (( I ↾ ran 𝐹) ∘ 𝐹) = 𝐹)
2523, 24sylbi 216 . . . . . . . 8 (𝐹 Fn 𝑋 → (( I ↾ ran 𝐹) ∘ 𝐹) = 𝐹)
2622, 25eqtrd 2778 . . . . . . 7 (𝐹 Fn 𝑋 → ((𝐹𝐹) ∘ 𝐹) = 𝐹)
2718, 26eqtr3id 2793 . . . . . 6 (𝐹 Fn 𝑋 → (𝐹 ∘ (𝐹𝐹)) = 𝐹)
2827coeq2d 5760 . . . . 5 (𝐹 Fn 𝑋 → (𝐹 ∘ (𝐹 ∘ (𝐹𝐹))) = (𝐹𝐹))
2917, 28syl5eq 2791 . . . 4 (𝐹 Fn 𝑋 → ((𝐹𝐹) ∘ (𝐹𝐹)) = (𝐹𝐹))
30 ssid 3939 . . . 4 (𝐹𝐹) ⊆ (𝐹𝐹)
3129, 30eqsstrdi 3971 . . 3 (𝐹 Fn 𝑋 → ((𝐹𝐹) ∘ (𝐹𝐹)) ⊆ (𝐹𝐹))
3216, 31unssd 4116 . 2 (𝐹 Fn 𝑋 → ((𝐹𝐹) ∪ ((𝐹𝐹) ∘ (𝐹𝐹))) ⊆ (𝐹𝐹))
33 df-er 8456 . 2 ((𝐹𝐹) Er 𝑋 ↔ (Rel (𝐹𝐹) ∧ dom (𝐹𝐹) = 𝑋 ∧ ((𝐹𝐹) ∪ ((𝐹𝐹) ∘ (𝐹𝐹))) ⊆ (𝐹𝐹)))
342, 10, 32, 33syl3anbrc 1341 1 (𝐹 Fn 𝑋 → (𝐹𝐹) Er 𝑋)
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1539  cun 3881  wss 3883   I cid 5479  ccnv 5579  dom cdm 5580  ran crn 5581  cres 5582  cima 5583  ccom 5584  Rel wrel 5585  Fun wfun 6412   Fn wfn 6413  wf 6414   Er wer 8453
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-br 5071  df-opab 5133  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-fun 6420  df-fn 6421  df-f 6422  df-er 8456
This theorem is referenced by:  qtophaus  31688
  Copyright terms: Public domain W3C validator