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

Theorem f1eqcocnv 7153
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 6729 . . . 4 (𝐹:𝐴1-1𝐵 → (𝐹𝐹) = ( I ↾ 𝐴))
2 coeq2 5756 . . . . 5 (𝐹 = 𝐺 → (𝐹𝐹) = (𝐹𝐺))
32eqeq1d 2740 . . . 4 (𝐹 = 𝐺 → ((𝐹𝐹) = ( I ↾ 𝐴) ↔ (𝐹𝐺) = ( I ↾ 𝐴)))
41, 3syl5ibcom 244 . . 3 (𝐹:𝐴1-1𝐵 → (𝐹 = 𝐺 → (𝐹𝐺) = ( I ↾ 𝐴)))
54adantr 480 . 2 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → (𝐹 = 𝐺 → (𝐹𝐺) = ( I ↾ 𝐴)))
6 f1fn 6655 . . . . . . 7 (𝐺:𝐴1-1𝐵𝐺 Fn 𝐴)
76adantl 481 . . . . . 6 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → 𝐺 Fn 𝐴)
87adantr 480 . . . . 5 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) → 𝐺 Fn 𝐴)
9 f1fn 6655 . . . . . . 7 (𝐹:𝐴1-1𝐵𝐹 Fn 𝐴)
109adantr 480 . . . . . 6 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → 𝐹 Fn 𝐴)
1110adantr 480 . . . . 5 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) → 𝐹 Fn 𝐴)
12 equid 2016 . . . . . . . . . 10 𝑥 = 𝑥
13 resieq 5891 . . . . . . . . . 10 ((𝑥𝐴𝑥𝐴) → (𝑥( I ↾ 𝐴)𝑥𝑥 = 𝑥))
1412, 13mpbiri 257 . . . . . . . . 9 ((𝑥𝐴𝑥𝐴) → 𝑥( I ↾ 𝐴)𝑥)
1514anidms 566 . . . . . . . 8 (𝑥𝐴𝑥( I ↾ 𝐴)𝑥)
1615adantl 481 . . . . . . 7 ((((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) ∧ 𝑥𝐴) → 𝑥( I ↾ 𝐴)𝑥)
17 breq 5072 . . . . . . . 8 ((𝐹𝐺) = ( I ↾ 𝐴) → (𝑥(𝐹𝐺)𝑥𝑥( I ↾ 𝐴)𝑥))
1817ad2antlr 723 . . . . . . 7 ((((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) ∧ 𝑥𝐴) → (𝑥(𝐹𝐺)𝑥𝑥( I ↾ 𝐴)𝑥))
1916, 18mpbird 256 . . . . . 6 ((((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) ∧ 𝑥𝐴) → 𝑥(𝐹𝐺)𝑥)
20 fnfun 6517 . . . . . . . . . . . . . . 15 (𝐺 Fn 𝐴 → Fun 𝐺)
217, 20syl 17 . . . . . . . . . . . . . 14 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → Fun 𝐺)
227fndmd 6522 . . . . . . . . . . . . . . . 16 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → dom 𝐺 = 𝐴)
2322eleq2d 2824 . . . . . . . . . . . . . . 15 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → (𝑥 ∈ dom 𝐺𝑥𝐴))
2423biimpar 477 . . . . . . . . . . . . . 14 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → 𝑥 ∈ dom 𝐺)
25 funopfvb 6807 . . . . . . . . . . . . . 14 ((Fun 𝐺𝑥 ∈ dom 𝐺) → ((𝐺𝑥) = 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐺))
2621, 24, 25syl2an2r 681 . . . . . . . . . . . . 13 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → ((𝐺𝑥) = 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐺))
2726bicomd 222 . . . . . . . . . . . 12 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (⟨𝑥, 𝑦⟩ ∈ 𝐺 ↔ (𝐺𝑥) = 𝑦))
28 df-br 5071 . . . . . . . . . . . 12 (𝑥𝐺𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐺)
29 eqcom 2745 . . . . . . . . . . . 12 (𝑦 = (𝐺𝑥) ↔ (𝐺𝑥) = 𝑦)
3027, 28, 293bitr4g 313 . . . . . . . . . . 11 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (𝑥𝐺𝑦𝑦 = (𝐺𝑥)))
3130biimpd 228 . . . . . . . . . 10 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (𝑥𝐺𝑦𝑦 = (𝐺𝑥)))
32 df-br 5071 . . . . . . . . . . . . 13 (𝑥𝐹𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐹)
33 fnfun 6517 . . . . . . . . . . . . . . 15 (𝐹 Fn 𝐴 → Fun 𝐹)
3410, 33syl 17 . . . . . . . . . . . . . 14 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → Fun 𝐹)
3510fndmd 6522 . . . . . . . . . . . . . . . 16 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → dom 𝐹 = 𝐴)
3635eleq2d 2824 . . . . . . . . . . . . . . 15 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → (𝑥 ∈ dom 𝐹𝑥𝐴))
3736biimpar 477 . . . . . . . . . . . . . 14 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → 𝑥 ∈ dom 𝐹)
38 funopfvb 6807 . . . . . . . . . . . . . 14 ((Fun 𝐹𝑥 ∈ dom 𝐹) → ((𝐹𝑥) = 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐹))
3934, 37, 38syl2an2r 681 . . . . . . . . . . . . 13 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → ((𝐹𝑥) = 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐹))
4032, 39bitr4id 289 . . . . . . . . . . . 12 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (𝑥𝐹𝑦 ↔ (𝐹𝑥) = 𝑦))
41 vex 3426 . . . . . . . . . . . . 13 𝑦 ∈ V
42 vex 3426 . . . . . . . . . . . . 13 𝑥 ∈ V
4341, 42brcnv 5780 . . . . . . . . . . . 12 (𝑦𝐹𝑥𝑥𝐹𝑦)
44 eqcom 2745 . . . . . . . . . . . 12 (𝑦 = (𝐹𝑥) ↔ (𝐹𝑥) = 𝑦)
4540, 43, 443bitr4g 313 . . . . . . . . . . 11 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (𝑦𝐹𝑥𝑦 = (𝐹𝑥)))
4645biimpd 228 . . . . . . . . . 10 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (𝑦𝐹𝑥𝑦 = (𝐹𝑥)))
4731, 46anim12d 608 . . . . . . . . 9 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → ((𝑥𝐺𝑦𝑦𝐹𝑥) → (𝑦 = (𝐺𝑥) ∧ 𝑦 = (𝐹𝑥))))
4847eximdv 1921 . . . . . . . 8 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (∃𝑦(𝑥𝐺𝑦𝑦𝐹𝑥) → ∃𝑦(𝑦 = (𝐺𝑥) ∧ 𝑦 = (𝐹𝑥))))
4942, 42brco 5768 . . . . . . . 8 (𝑥(𝐹𝐺)𝑥 ↔ ∃𝑦(𝑥𝐺𝑦𝑦𝐹𝑥))
50 fvex 6769 . . . . . . . . 9 (𝐺𝑥) ∈ V
5150eqvinc 3571 . . . . . . . 8 ((𝐺𝑥) = (𝐹𝑥) ↔ ∃𝑦(𝑦 = (𝐺𝑥) ∧ 𝑦 = (𝐹𝑥)))
5248, 49, 513imtr4g 295 . . . . . . 7 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (𝑥(𝐹𝐺)𝑥 → (𝐺𝑥) = (𝐹𝑥)))
5352adantlr 711 . . . . . 6 ((((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) ∧ 𝑥𝐴) → (𝑥(𝐹𝐺)𝑥 → (𝐺𝑥) = (𝐹𝑥)))
5419, 53mpd 15 . . . . 5 ((((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) ∧ 𝑥𝐴) → (𝐺𝑥) = (𝐹𝑥))
558, 11, 54eqfnfvd 6894 . . . 4 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) → 𝐺 = 𝐹)
5655eqcomd 2744 . . 3 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) → 𝐹 = 𝐺)
5756ex 412 . 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 395   = wceq 1539  wex 1783  wcel 2108  cop 4564   class class class wbr 5070   I cid 5479  ccnv 5579  dom cdm 5580  cres 5582  ccom 5584  Fun wfun 6412   Fn wfn 6413  1-1wf1 6415  cfv 6418
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-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  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-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  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-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426
This theorem is referenced by:  weisoeq  7206
  Copyright terms: Public domain W3C validator