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

Proof of Theorem fcoinver
StepHypRef Expression
1 relco 6148 . . 3 Rel (𝐹𝐹)
21a1i 11 . 2 (𝐹 Fn 𝑋 → Rel (𝐹𝐹))
3 dmco 6158 . . 3 dom (𝐹𝐹) = (𝐹 “ dom 𝐹)
4 df-rn 5600 . . . . 5 ran 𝐹 = dom 𝐹
54imaeq2i 5967 . . . 4 (𝐹 “ ran 𝐹) = (𝐹 “ dom 𝐹)
6 cnvimarndm 5990 . . . . 5 (𝐹 “ ran 𝐹) = dom 𝐹
7 fndm 6536 . . . . 5 (𝐹 Fn 𝑋 → dom 𝐹 = 𝑋)
86, 7eqtrid 2790 . . . 4 (𝐹 Fn 𝑋 → (𝐹 “ ran 𝐹) = 𝑋)
95, 8eqtr3id 2792 . . 3 (𝐹 Fn 𝑋 → (𝐹 “ dom 𝐹) = 𝑋)
103, 9eqtrid 2790 . 2 (𝐹 Fn 𝑋 → dom (𝐹𝐹) = 𝑋)
11 cnvco 5794 . . . . 5 (𝐹𝐹) = (𝐹𝐹)
12 cnvcnvss 6097 . . . . . 6 𝐹𝐹
13 coss2 5765 . . . . . 6 (𝐹𝐹 → (𝐹𝐹) ⊆ (𝐹𝐹))
1412, 13ax-mp 5 . . . . 5 (𝐹𝐹) ⊆ (𝐹𝐹)
1511, 14eqsstri 3955 . . . 4 (𝐹𝐹) ⊆ (𝐹𝐹)
1615a1i 11 . . 3 (𝐹 Fn 𝑋(𝐹𝐹) ⊆ (𝐹𝐹))
17 coass 6169 . . . . 5 ((𝐹𝐹) ∘ (𝐹𝐹)) = (𝐹 ∘ (𝐹 ∘ (𝐹𝐹)))
18 coass 6169 . . . . . . 7 ((𝐹𝐹) ∘ 𝐹) = (𝐹 ∘ (𝐹𝐹))
19 fnfun 6533 . . . . . . . . . 10 (𝐹 Fn 𝑋 → Fun 𝐹)
20 funcocnv2 6741 . . . . . . . . . 10 (Fun 𝐹 → (𝐹𝐹) = ( I ↾ ran 𝐹))
2119, 20syl 17 . . . . . . . . 9 (𝐹 Fn 𝑋 → (𝐹𝐹) = ( I ↾ ran 𝐹))
2221coeq1d 5770 . . . . . . . 8 (𝐹 Fn 𝑋 → ((𝐹𝐹) ∘ 𝐹) = (( I ↾ ran 𝐹) ∘ 𝐹))
23 dffn3 6613 . . . . . . . . 9 (𝐹 Fn 𝑋𝐹:𝑋⟶ran 𝐹)
24 fcoi2 6649 . . . . . . . . 9 (𝐹:𝑋⟶ran 𝐹 → (( I ↾ ran 𝐹) ∘ 𝐹) = 𝐹)
2523, 24sylbi 216 . . . . . . . 8 (𝐹 Fn 𝑋 → (( I ↾ ran 𝐹) ∘ 𝐹) = 𝐹)
2622, 25eqtrd 2778 . . . . . . 7 (𝐹 Fn 𝑋 → ((𝐹𝐹) ∘ 𝐹) = 𝐹)
2718, 26eqtr3id 2792 . . . . . 6 (𝐹 Fn 𝑋 → (𝐹 ∘ (𝐹𝐹)) = 𝐹)
2827coeq2d 5771 . . . . 5 (𝐹 Fn 𝑋 → (𝐹 ∘ (𝐹 ∘ (𝐹𝐹))) = (𝐹𝐹))
2917, 28eqtrid 2790 . . . 4 (𝐹 Fn 𝑋 → ((𝐹𝐹) ∘ (𝐹𝐹)) = (𝐹𝐹))
30 ssid 3943 . . . 4 (𝐹𝐹) ⊆ (𝐹𝐹)
3129, 30eqsstrdi 3975 . . 3 (𝐹 Fn 𝑋 → ((𝐹𝐹) ∘ (𝐹𝐹)) ⊆ (𝐹𝐹))
3216, 31unssd 4120 . 2 (𝐹 Fn 𝑋 → ((𝐹𝐹) ∪ ((𝐹𝐹) ∘ (𝐹𝐹))) ⊆ (𝐹𝐹))
33 df-er 8498 . 2 ((𝐹𝐹) Er 𝑋 ↔ (Rel (𝐹𝐹) ∧ dom (𝐹𝐹) = 𝑋 ∧ ((𝐹𝐹) ∪ ((𝐹𝐹) ∘ (𝐹𝐹))) ⊆ (𝐹𝐹)))
342, 10, 32, 33syl3anbrc 1342 1 (𝐹 Fn 𝑋 → (𝐹𝐹) Er 𝑋)
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1539  cun 3885  wss 3887   I cid 5488  ccnv 5588  dom cdm 5589  ran crn 5590  cres 5591  cima 5592  ccom 5593  Rel wrel 5594  Fun wfun 6427   Fn wfn 6428  wf 6429   Er wer 8495
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-br 5075  df-opab 5137  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-fun 6435  df-fn 6436  df-f 6437  df-er 8498
This theorem is referenced by:  qtophaus  31786
  Copyright terms: Public domain W3C validator