MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  f1eqcocnv Structured version   Visualization version   GIF version

Theorem f1eqcocnv 7173
Description: Condition for function equality in terms of vanishing of the composition with the inverse. (Contributed by Stefan O'Rear, 12-Feb-2015.) (Proof shortened by Wolf Lammen, 29-May-2024.)
Assertion
Ref Expression
f1eqcocnv ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → (𝐹 = 𝐺 ↔ (𝐹𝐺) = ( I ↾ 𝐴)))

Proof of Theorem f1eqcocnv
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 f1cocnv1 6746 . . . 4 (𝐹:𝐴1-1𝐵 → (𝐹𝐹) = ( I ↾ 𝐴))
2 coeq2 5767 . . . . 5 (𝐹 = 𝐺 → (𝐹𝐹) = (𝐹𝐺))
32eqeq1d 2740 . . . 4 (𝐹 = 𝐺 → ((𝐹𝐹) = ( I ↾ 𝐴) ↔ (𝐹𝐺) = ( I ↾ 𝐴)))
41, 3syl5ibcom 244 . . 3 (𝐹:𝐴1-1𝐵 → (𝐹 = 𝐺 → (𝐹𝐺) = ( I ↾ 𝐴)))
54adantr 481 . 2 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → (𝐹 = 𝐺 → (𝐹𝐺) = ( I ↾ 𝐴)))
6 f1fn 6671 . . . . . . 7 (𝐺:𝐴1-1𝐵𝐺 Fn 𝐴)
76adantl 482 . . . . . 6 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → 𝐺 Fn 𝐴)
87adantr 481 . . . . 5 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) → 𝐺 Fn 𝐴)
9 f1fn 6671 . . . . . . 7 (𝐹:𝐴1-1𝐵𝐹 Fn 𝐴)
109adantr 481 . . . . . 6 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → 𝐹 Fn 𝐴)
1110adantr 481 . . . . 5 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) → 𝐹 Fn 𝐴)
12 equid 2015 . . . . . . . . . 10 𝑥 = 𝑥
13 resieq 5902 . . . . . . . . . 10 ((𝑥𝐴𝑥𝐴) → (𝑥( I ↾ 𝐴)𝑥𝑥 = 𝑥))
1412, 13mpbiri 257 . . . . . . . . 9 ((𝑥𝐴𝑥𝐴) → 𝑥( I ↾ 𝐴)𝑥)
1514anidms 567 . . . . . . . 8 (𝑥𝐴𝑥( I ↾ 𝐴)𝑥)
1615adantl 482 . . . . . . 7 ((((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) ∧ 𝑥𝐴) → 𝑥( I ↾ 𝐴)𝑥)
17 breq 5076 . . . . . . . 8 ((𝐹𝐺) = ( I ↾ 𝐴) → (𝑥(𝐹𝐺)𝑥𝑥( I ↾ 𝐴)𝑥))
1817ad2antlr 724 . . . . . . 7 ((((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) ∧ 𝑥𝐴) → (𝑥(𝐹𝐺)𝑥𝑥( I ↾ 𝐴)𝑥))
1916, 18mpbird 256 . . . . . 6 ((((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) ∧ 𝑥𝐴) → 𝑥(𝐹𝐺)𝑥)
20 fnfun 6533 . . . . . . . . . . . . . . 15 (𝐺 Fn 𝐴 → Fun 𝐺)
217, 20syl 17 . . . . . . . . . . . . . 14 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → Fun 𝐺)
227fndmd 6538 . . . . . . . . . . . . . . . 16 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → dom 𝐺 = 𝐴)
2322eleq2d 2824 . . . . . . . . . . . . . . 15 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → (𝑥 ∈ dom 𝐺𝑥𝐴))
2423biimpar 478 . . . . . . . . . . . . . 14 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → 𝑥 ∈ dom 𝐺)
25 funopfvb 6825 . . . . . . . . . . . . . 14 ((Fun 𝐺𝑥 ∈ dom 𝐺) → ((𝐺𝑥) = 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐺))
2621, 24, 25syl2an2r 682 . . . . . . . . . . . . 13 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → ((𝐺𝑥) = 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐺))
2726bicomd 222 . . . . . . . . . . . 12 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (⟨𝑥, 𝑦⟩ ∈ 𝐺 ↔ (𝐺𝑥) = 𝑦))
28 df-br 5075 . . . . . . . . . . . 12 (𝑥𝐺𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐺)
29 eqcom 2745 . . . . . . . . . . . 12 (𝑦 = (𝐺𝑥) ↔ (𝐺𝑥) = 𝑦)
3027, 28, 293bitr4g 314 . . . . . . . . . . 11 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (𝑥𝐺𝑦𝑦 = (𝐺𝑥)))
3130biimpd 228 . . . . . . . . . 10 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (𝑥𝐺𝑦𝑦 = (𝐺𝑥)))
32 df-br 5075 . . . . . . . . . . . . 13 (𝑥𝐹𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐹)
33 fnfun 6533 . . . . . . . . . . . . . . 15 (𝐹 Fn 𝐴 → Fun 𝐹)
3410, 33syl 17 . . . . . . . . . . . . . 14 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → Fun 𝐹)
3510fndmd 6538 . . . . . . . . . . . . . . . 16 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → dom 𝐹 = 𝐴)
3635eleq2d 2824 . . . . . . . . . . . . . . 15 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → (𝑥 ∈ dom 𝐹𝑥𝐴))
3736biimpar 478 . . . . . . . . . . . . . 14 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → 𝑥 ∈ dom 𝐹)
38 funopfvb 6825 . . . . . . . . . . . . . 14 ((Fun 𝐹𝑥 ∈ dom 𝐹) → ((𝐹𝑥) = 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐹))
3934, 37, 38syl2an2r 682 . . . . . . . . . . . . 13 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → ((𝐹𝑥) = 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐹))
4032, 39bitr4id 290 . . . . . . . . . . . 12 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (𝑥𝐹𝑦 ↔ (𝐹𝑥) = 𝑦))
41 vex 3436 . . . . . . . . . . . . 13 𝑦 ∈ V
42 vex 3436 . . . . . . . . . . . . 13 𝑥 ∈ V
4341, 42brcnv 5791 . . . . . . . . . . . 12 (𝑦𝐹𝑥𝑥𝐹𝑦)
44 eqcom 2745 . . . . . . . . . . . 12 (𝑦 = (𝐹𝑥) ↔ (𝐹𝑥) = 𝑦)
4540, 43, 443bitr4g 314 . . . . . . . . . . 11 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (𝑦𝐹𝑥𝑦 = (𝐹𝑥)))
4645biimpd 228 . . . . . . . . . 10 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (𝑦𝐹𝑥𝑦 = (𝐹𝑥)))
4731, 46anim12d 609 . . . . . . . . 9 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → ((𝑥𝐺𝑦𝑦𝐹𝑥) → (𝑦 = (𝐺𝑥) ∧ 𝑦 = (𝐹𝑥))))
4847eximdv 1920 . . . . . . . 8 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (∃𝑦(𝑥𝐺𝑦𝑦𝐹𝑥) → ∃𝑦(𝑦 = (𝐺𝑥) ∧ 𝑦 = (𝐹𝑥))))
4942, 42brco 5779 . . . . . . . 8 (𝑥(𝐹𝐺)𝑥 ↔ ∃𝑦(𝑥𝐺𝑦𝑦𝐹𝑥))
50 fvex 6787 . . . . . . . . 9 (𝐺𝑥) ∈ V
5150eqvinc 3579 . . . . . . . 8 ((𝐺𝑥) = (𝐹𝑥) ↔ ∃𝑦(𝑦 = (𝐺𝑥) ∧ 𝑦 = (𝐹𝑥)))
5248, 49, 513imtr4g 296 . . . . . . 7 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (𝑥(𝐹𝐺)𝑥 → (𝐺𝑥) = (𝐹𝑥)))
5352adantlr 712 . . . . . 6 ((((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) ∧ 𝑥𝐴) → (𝑥(𝐹𝐺)𝑥 → (𝐺𝑥) = (𝐹𝑥)))
5419, 53mpd 15 . . . . 5 ((((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) ∧ 𝑥𝐴) → (𝐺𝑥) = (𝐹𝑥))
558, 11, 54eqfnfvd 6912 . . . 4 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) → 𝐺 = 𝐹)
5655eqcomd 2744 . . 3 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) → 𝐹 = 𝐺)
5756ex 413 . 2 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → ((𝐹𝐺) = ( I ↾ 𝐴) → 𝐹 = 𝐺))
585, 57impbid 211 1 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → (𝐹 = 𝐺 ↔ (𝐹𝐺) = ( I ↾ 𝐴)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wex 1782  wcel 2106  cop 4567   class class class wbr 5074   I cid 5488  ccnv 5588  dom cdm 5589  cres 5591  ccom 5593  Fun wfun 6427   Fn wfn 6428  1-1wf1 6430  cfv 6433
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-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  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-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  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-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441
This theorem is referenced by:  weisoeq  7226
  Copyright terms: Public domain W3C validator