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

Theorem f1eqcocnv 7054
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 6635 . . . 4 (𝐹:𝐴1-1𝐵 → (𝐹𝐹) = ( I ↾ 𝐴))
2 coeq2 5703 . . . . 5 (𝐹 = 𝐺 → (𝐹𝐹) = (𝐹𝐺))
32eqeq1d 2760 . . . 4 (𝐹 = 𝐺 → ((𝐹𝐹) = ( I ↾ 𝐴) ↔ (𝐹𝐺) = ( I ↾ 𝐴)))
41, 3syl5ibcom 248 . . 3 (𝐹:𝐴1-1𝐵 → (𝐹 = 𝐺 → (𝐹𝐺) = ( I ↾ 𝐴)))
54adantr 484 . 2 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → (𝐹 = 𝐺 → (𝐹𝐺) = ( I ↾ 𝐴)))
6 f1fn 6565 . . . . . . 7 (𝐺:𝐴1-1𝐵𝐺 Fn 𝐴)
76adantl 485 . . . . . 6 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → 𝐺 Fn 𝐴)
87adantr 484 . . . . 5 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) → 𝐺 Fn 𝐴)
9 f1fn 6565 . . . . . . 7 (𝐹:𝐴1-1𝐵𝐹 Fn 𝐴)
109adantr 484 . . . . . 6 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → 𝐹 Fn 𝐴)
1110adantr 484 . . . . 5 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) → 𝐹 Fn 𝐴)
12 equid 2019 . . . . . . . . . 10 𝑥 = 𝑥
13 resieq 5838 . . . . . . . . . 10 ((𝑥𝐴𝑥𝐴) → (𝑥( I ↾ 𝐴)𝑥𝑥 = 𝑥))
1412, 13mpbiri 261 . . . . . . . . 9 ((𝑥𝐴𝑥𝐴) → 𝑥( I ↾ 𝐴)𝑥)
1514anidms 570 . . . . . . . 8 (𝑥𝐴𝑥( I ↾ 𝐴)𝑥)
1615adantl 485 . . . . . . 7 ((((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) ∧ 𝑥𝐴) → 𝑥( I ↾ 𝐴)𝑥)
17 breq 5037 . . . . . . . 8 ((𝐹𝐺) = ( I ↾ 𝐴) → (𝑥(𝐹𝐺)𝑥𝑥( I ↾ 𝐴)𝑥))
1817ad2antlr 726 . . . . . . 7 ((((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) ∧ 𝑥𝐴) → (𝑥(𝐹𝐺)𝑥𝑥( I ↾ 𝐴)𝑥))
1916, 18mpbird 260 . . . . . 6 ((((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) ∧ 𝑥𝐴) → 𝑥(𝐹𝐺)𝑥)
20 fnfun 6438 . . . . . . . . . . . . . . 15 (𝐺 Fn 𝐴 → Fun 𝐺)
217, 20syl 17 . . . . . . . . . . . . . 14 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → Fun 𝐺)
227fndmd 6442 . . . . . . . . . . . . . . . 16 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → dom 𝐺 = 𝐴)
2322eleq2d 2837 . . . . . . . . . . . . . . 15 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → (𝑥 ∈ dom 𝐺𝑥𝐴))
2423biimpar 481 . . . . . . . . . . . . . 14 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → 𝑥 ∈ dom 𝐺)
25 funopfvb 6713 . . . . . . . . . . . . . 14 ((Fun 𝐺𝑥 ∈ dom 𝐺) → ((𝐺𝑥) = 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐺))
2621, 24, 25syl2an2r 684 . . . . . . . . . . . . 13 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → ((𝐺𝑥) = 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐺))
2726bicomd 226 . . . . . . . . . . . 12 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (⟨𝑥, 𝑦⟩ ∈ 𝐺 ↔ (𝐺𝑥) = 𝑦))
28 df-br 5036 . . . . . . . . . . . 12 (𝑥𝐺𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐺)
29 eqcom 2765 . . . . . . . . . . . 12 (𝑦 = (𝐺𝑥) ↔ (𝐺𝑥) = 𝑦)
3027, 28, 293bitr4g 317 . . . . . . . . . . 11 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (𝑥𝐺𝑦𝑦 = (𝐺𝑥)))
3130biimpd 232 . . . . . . . . . 10 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (𝑥𝐺𝑦𝑦 = (𝐺𝑥)))
32 df-br 5036 . . . . . . . . . . . . 13 (𝑥𝐹𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐹)
33 fnfun 6438 . . . . . . . . . . . . . . 15 (𝐹 Fn 𝐴 → Fun 𝐹)
3410, 33syl 17 . . . . . . . . . . . . . 14 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → Fun 𝐹)
3510fndmd 6442 . . . . . . . . . . . . . . . 16 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → dom 𝐹 = 𝐴)
3635eleq2d 2837 . . . . . . . . . . . . . . 15 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → (𝑥 ∈ dom 𝐹𝑥𝐴))
3736biimpar 481 . . . . . . . . . . . . . 14 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → 𝑥 ∈ dom 𝐹)
38 funopfvb 6713 . . . . . . . . . . . . . 14 ((Fun 𝐹𝑥 ∈ dom 𝐹) → ((𝐹𝑥) = 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐹))
3934, 37, 38syl2an2r 684 . . . . . . . . . . . . 13 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → ((𝐹𝑥) = 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐹))
4032, 39bitr4id 293 . . . . . . . . . . . 12 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (𝑥𝐹𝑦 ↔ (𝐹𝑥) = 𝑦))
41 vex 3413 . . . . . . . . . . . . 13 𝑦 ∈ V
42 vex 3413 . . . . . . . . . . . . 13 𝑥 ∈ V
4341, 42brcnv 5727 . . . . . . . . . . . 12 (𝑦𝐹𝑥𝑥𝐹𝑦)
44 eqcom 2765 . . . . . . . . . . . 12 (𝑦 = (𝐹𝑥) ↔ (𝐹𝑥) = 𝑦)
4540, 43, 443bitr4g 317 . . . . . . . . . . 11 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (𝑦𝐹𝑥𝑦 = (𝐹𝑥)))
4645biimpd 232 . . . . . . . . . 10 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (𝑦𝐹𝑥𝑦 = (𝐹𝑥)))
4731, 46anim12d 611 . . . . . . . . 9 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → ((𝑥𝐺𝑦𝑦𝐹𝑥) → (𝑦 = (𝐺𝑥) ∧ 𝑦 = (𝐹𝑥))))
4847eximdv 1918 . . . . . . . 8 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (∃𝑦(𝑥𝐺𝑦𝑦𝐹𝑥) → ∃𝑦(𝑦 = (𝐺𝑥) ∧ 𝑦 = (𝐹𝑥))))
4942, 42brco 5715 . . . . . . . 8 (𝑥(𝐹𝐺)𝑥 ↔ ∃𝑦(𝑥𝐺𝑦𝑦𝐹𝑥))
50 fvex 6675 . . . . . . . . 9 (𝐺𝑥) ∈ V
5150eqvinc 3562 . . . . . . . 8 ((𝐺𝑥) = (𝐹𝑥) ↔ ∃𝑦(𝑦 = (𝐺𝑥) ∧ 𝑦 = (𝐹𝑥)))
5248, 49, 513imtr4g 299 . . . . . . 7 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ 𝑥𝐴) → (𝑥(𝐹𝐺)𝑥 → (𝐺𝑥) = (𝐹𝑥)))
5352adantlr 714 . . . . . 6 ((((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) ∧ 𝑥𝐴) → (𝑥(𝐹𝐺)𝑥 → (𝐺𝑥) = (𝐹𝑥)))
5419, 53mpd 15 . . . . 5 ((((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) ∧ 𝑥𝐴) → (𝐺𝑥) = (𝐹𝑥))
558, 11, 54eqfnfvd 6800 . . . 4 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) → 𝐺 = 𝐹)
5655eqcomd 2764 . . 3 (((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐴)) → 𝐹 = 𝐺)
5756ex 416 . 2 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → ((𝐹𝐺) = ( I ↾ 𝐴) → 𝐹 = 𝐺))
585, 57impbid 215 1 ((𝐹:𝐴1-1𝐵𝐺:𝐴1-1𝐵) → (𝐹 = 𝐺 ↔ (𝐹𝐺) = ( I ↾ 𝐴)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1538  wex 1781  wcel 2111  cop 4531   class class class wbr 5035   I cid 5432  ccnv 5526  dom cdm 5527  cres 5529  ccom 5531  Fun wfun 6333   Fn wfn 6334  1-1wf1 6336  cfv 6339
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2729  ax-sep 5172  ax-nul 5179  ax-pr 5301
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-fal 1551  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2557  df-eu 2588  df-clab 2736  df-cleq 2750  df-clel 2830  df-nfc 2901  df-ne 2952  df-ral 3075  df-rex 3076  df-rab 3079  df-v 3411  df-sbc 3699  df-csb 3808  df-dif 3863  df-un 3865  df-in 3867  df-ss 3877  df-nul 4228  df-if 4424  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4802  df-br 5036  df-opab 5098  df-mpt 5116  df-id 5433  df-xp 5533  df-rel 5534  df-cnv 5535  df-co 5536  df-dm 5537  df-rn 5538  df-res 5539  df-ima 5540  df-iota 6298  df-fun 6341  df-fn 6342  df-f 6343  df-f1 6344  df-fo 6345  df-f1o 6346  df-fv 6347
This theorem is referenced by:  weisoeq  7107
  Copyright terms: Public domain W3C validator