ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  foeqcnvco GIF version

Theorem foeqcnvco 5430
Description: Condition for function equality in terms of vanishing of the composition with the converse. EDITORIAL: Is there a relation-algebraic proof of this? (Contributed by Stefan O'Rear, 12-Feb-2015.)
Assertion
Ref Expression
foeqcnvco ((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) → (𝐹 = 𝐺 ↔ (𝐹𝐺) = ( I ↾ 𝐵)))

Proof of Theorem foeqcnvco
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fococnv2 5152 . . . 4 (𝐹:𝐴onto𝐵 → (𝐹𝐹) = ( I ↾ 𝐵))
2 cnveq 4509 . . . . . 6 (𝐹 = 𝐺𝐹 = 𝐺)
32coeq2d 4498 . . . . 5 (𝐹 = 𝐺 → (𝐹𝐹) = (𝐹𝐺))
43eqeq1d 2048 . . . 4 (𝐹 = 𝐺 → ((𝐹𝐹) = ( I ↾ 𝐵) ↔ (𝐹𝐺) = ( I ↾ 𝐵)))
51, 4syl5ibcom 144 . . 3 (𝐹:𝐴onto𝐵 → (𝐹 = 𝐺 → (𝐹𝐺) = ( I ↾ 𝐵)))
65adantr 261 . 2 ((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) → (𝐹 = 𝐺 → (𝐹𝐺) = ( I ↾ 𝐵)))
7 fofn 5108 . . . . 5 (𝐹:𝐴onto𝐵𝐹 Fn 𝐴)
87ad2antrr 457 . . . 4 (((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐵)) → 𝐹 Fn 𝐴)
9 fofn 5108 . . . . 5 (𝐺:𝐴onto𝐵𝐺 Fn 𝐴)
109ad2antlr 458 . . . 4 (((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐵)) → 𝐺 Fn 𝐴)
119adantl 262 . . . . . . . . . . . 12 ((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) → 𝐺 Fn 𝐴)
12 fnopfv 5297 . . . . . . . . . . . 12 ((𝐺 Fn 𝐴𝑥𝐴) → ⟨𝑥, (𝐺𝑥)⟩ ∈ 𝐺)
1311, 12sylan 267 . . . . . . . . . . 11 (((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ 𝑥𝐴) → ⟨𝑥, (𝐺𝑥)⟩ ∈ 𝐺)
149anim1i 323 . . . . . . . . . . . . 13 ((𝐺:𝐴onto𝐵𝑥𝐴) → (𝐺 Fn 𝐴𝑥𝐴))
1514adantll 445 . . . . . . . . . . . 12 (((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ 𝑥𝐴) → (𝐺 Fn 𝐴𝑥𝐴))
16 funfvex 5192 . . . . . . . . . . . . . . 15 ((Fun 𝐺𝑥 ∈ dom 𝐺) → (𝐺𝑥) ∈ V)
1716funfni 4999 . . . . . . . . . . . . . 14 ((𝐺 Fn 𝐴𝑥𝐴) → (𝐺𝑥) ∈ V)
18 vex 2560 . . . . . . . . . . . . . 14 𝑥 ∈ V
19 brcnvg 4516 . . . . . . . . . . . . . 14 (((𝐺𝑥) ∈ V ∧ 𝑥 ∈ V) → ((𝐺𝑥)𝐺𝑥𝑥𝐺(𝐺𝑥)))
2017, 18, 19sylancl 392 . . . . . . . . . . . . 13 ((𝐺 Fn 𝐴𝑥𝐴) → ((𝐺𝑥)𝐺𝑥𝑥𝐺(𝐺𝑥)))
21 df-br 3765 . . . . . . . . . . . . 13 (𝑥𝐺(𝐺𝑥) ↔ ⟨𝑥, (𝐺𝑥)⟩ ∈ 𝐺)
2220, 21syl6bb 185 . . . . . . . . . . . 12 ((𝐺 Fn 𝐴𝑥𝐴) → ((𝐺𝑥)𝐺𝑥 ↔ ⟨𝑥, (𝐺𝑥)⟩ ∈ 𝐺))
2315, 22syl 14 . . . . . . . . . . 11 (((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ 𝑥𝐴) → ((𝐺𝑥)𝐺𝑥 ↔ ⟨𝑥, (𝐺𝑥)⟩ ∈ 𝐺))
2413, 23mpbird 156 . . . . . . . . . 10 (((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ 𝑥𝐴) → (𝐺𝑥)𝐺𝑥)
257adantr 261 . . . . . . . . . . . 12 ((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) → 𝐹 Fn 𝐴)
26 fnopfv 5297 . . . . . . . . . . . 12 ((𝐹 Fn 𝐴𝑥𝐴) → ⟨𝑥, (𝐹𝑥)⟩ ∈ 𝐹)
2725, 26sylan 267 . . . . . . . . . . 11 (((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ 𝑥𝐴) → ⟨𝑥, (𝐹𝑥)⟩ ∈ 𝐹)
28 df-br 3765 . . . . . . . . . . 11 (𝑥𝐹(𝐹𝑥) ↔ ⟨𝑥, (𝐹𝑥)⟩ ∈ 𝐹)
2927, 28sylibr 137 . . . . . . . . . 10 (((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ 𝑥𝐴) → 𝑥𝐹(𝐹𝑥))
30 breq2 3768 . . . . . . . . . . . 12 (𝑦 = 𝑥 → ((𝐺𝑥)𝐺𝑦 ↔ (𝐺𝑥)𝐺𝑥))
31 breq1 3767 . . . . . . . . . . . 12 (𝑦 = 𝑥 → (𝑦𝐹(𝐹𝑥) ↔ 𝑥𝐹(𝐹𝑥)))
3230, 31anbi12d 442 . . . . . . . . . . 11 (𝑦 = 𝑥 → (((𝐺𝑥)𝐺𝑦𝑦𝐹(𝐹𝑥)) ↔ ((𝐺𝑥)𝐺𝑥𝑥𝐹(𝐹𝑥))))
3318, 32spcev 2647 . . . . . . . . . 10 (((𝐺𝑥)𝐺𝑥𝑥𝐹(𝐹𝑥)) → ∃𝑦((𝐺𝑥)𝐺𝑦𝑦𝐹(𝐹𝑥)))
3424, 29, 33syl2anc 391 . . . . . . . . 9 (((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ 𝑥𝐴) → ∃𝑦((𝐺𝑥)𝐺𝑦𝑦𝐹(𝐹𝑥)))
3515, 17syl 14 . . . . . . . . . 10 (((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ 𝑥𝐴) → (𝐺𝑥) ∈ V)
367anim1i 323 . . . . . . . . . . . 12 ((𝐹:𝐴onto𝐵𝑥𝐴) → (𝐹 Fn 𝐴𝑥𝐴))
3736adantlr 446 . . . . . . . . . . 11 (((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ 𝑥𝐴) → (𝐹 Fn 𝐴𝑥𝐴))
38 funfvex 5192 . . . . . . . . . . . 12 ((Fun 𝐹𝑥 ∈ dom 𝐹) → (𝐹𝑥) ∈ V)
3938funfni 4999 . . . . . . . . . . 11 ((𝐹 Fn 𝐴𝑥𝐴) → (𝐹𝑥) ∈ V)
4037, 39syl 14 . . . . . . . . . 10 (((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ 𝑥𝐴) → (𝐹𝑥) ∈ V)
41 brcog 4502 . . . . . . . . . 10 (((𝐺𝑥) ∈ V ∧ (𝐹𝑥) ∈ V) → ((𝐺𝑥)(𝐹𝐺)(𝐹𝑥) ↔ ∃𝑦((𝐺𝑥)𝐺𝑦𝑦𝐹(𝐹𝑥))))
4235, 40, 41syl2anc 391 . . . . . . . . 9 (((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ 𝑥𝐴) → ((𝐺𝑥)(𝐹𝐺)(𝐹𝑥) ↔ ∃𝑦((𝐺𝑥)𝐺𝑦𝑦𝐹(𝐹𝑥))))
4334, 42mpbird 156 . . . . . . . 8 (((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ 𝑥𝐴) → (𝐺𝑥)(𝐹𝐺)(𝐹𝑥))
4443adantlr 446 . . . . . . 7 ((((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐵)) ∧ 𝑥𝐴) → (𝐺𝑥)(𝐹𝐺)(𝐹𝑥))
45 breq 3766 . . . . . . . 8 ((𝐹𝐺) = ( I ↾ 𝐵) → ((𝐺𝑥)(𝐹𝐺)(𝐹𝑥) ↔ (𝐺𝑥)( I ↾ 𝐵)(𝐹𝑥)))
4645ad2antlr 458 . . . . . . 7 ((((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐵)) ∧ 𝑥𝐴) → ((𝐺𝑥)(𝐹𝐺)(𝐹𝑥) ↔ (𝐺𝑥)( I ↾ 𝐵)(𝐹𝑥)))
4744, 46mpbid 135 . . . . . 6 ((((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐵)) ∧ 𝑥𝐴) → (𝐺𝑥)( I ↾ 𝐵)(𝐹𝑥))
48 fof 5106 . . . . . . . . . 10 (𝐺:𝐴onto𝐵𝐺:𝐴𝐵)
4948adantl 262 . . . . . . . . 9 ((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) → 𝐺:𝐴𝐵)
5049ffvelrnda 5302 . . . . . . . 8 (((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ 𝑥𝐴) → (𝐺𝑥) ∈ 𝐵)
51 fof 5106 . . . . . . . . . 10 (𝐹:𝐴onto𝐵𝐹:𝐴𝐵)
5251adantr 261 . . . . . . . . 9 ((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) → 𝐹:𝐴𝐵)
5352ffvelrnda 5302 . . . . . . . 8 (((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ 𝑥𝐴) → (𝐹𝑥) ∈ 𝐵)
54 resieq 4622 . . . . . . . 8 (((𝐺𝑥) ∈ 𝐵 ∧ (𝐹𝑥) ∈ 𝐵) → ((𝐺𝑥)( I ↾ 𝐵)(𝐹𝑥) ↔ (𝐺𝑥) = (𝐹𝑥)))
5550, 53, 54syl2anc 391 . . . . . . 7 (((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ 𝑥𝐴) → ((𝐺𝑥)( I ↾ 𝐵)(𝐹𝑥) ↔ (𝐺𝑥) = (𝐹𝑥)))
5655adantlr 446 . . . . . 6 ((((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐵)) ∧ 𝑥𝐴) → ((𝐺𝑥)( I ↾ 𝐵)(𝐹𝑥) ↔ (𝐺𝑥) = (𝐹𝑥)))
5747, 56mpbid 135 . . . . 5 ((((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐵)) ∧ 𝑥𝐴) → (𝐺𝑥) = (𝐹𝑥))
5857eqcomd 2045 . . . 4 ((((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐵)) ∧ 𝑥𝐴) → (𝐹𝑥) = (𝐺𝑥))
598, 10, 58eqfnfvd 5268 . . 3 (((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) ∧ (𝐹𝐺) = ( I ↾ 𝐵)) → 𝐹 = 𝐺)
6059ex 108 . 2 ((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) → ((𝐹𝐺) = ( I ↾ 𝐵) → 𝐹 = 𝐺))
616, 60impbid 120 1 ((𝐹:𝐴onto𝐵𝐺:𝐴onto𝐵) → (𝐹 = 𝐺 ↔ (𝐹𝐺) = ( I ↾ 𝐵)))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 97  wb 98   = wceq 1243  wex 1381  wcel 1393  Vcvv 2557  cop 3378   class class class wbr 3764   I cid 4025  ccnv 4344  cres 4347  ccom 4349   Fn wfn 4897  wf 4898  ontowfo 4900  cfv 4902
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-14 1405  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022  ax-sep 3875  ax-pow 3927  ax-pr 3944
This theorem depends on definitions:  df-bi 110  df-3an 887  df-tru 1246  df-nf 1350  df-sb 1646  df-eu 1903  df-mo 1904  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-ral 2311  df-rex 2312  df-v 2559  df-sbc 2765  df-csb 2853  df-un 2922  df-in 2924  df-ss 2931  df-pw 3361  df-sn 3381  df-pr 3382  df-op 3384  df-uni 3581  df-br 3765  df-opab 3819  df-mpt 3820  df-id 4030  df-xp 4351  df-rel 4352  df-cnv 4353  df-co 4354  df-dm 4355  df-rn 4356  df-res 4357  df-iota 4867  df-fun 4904  df-fn 4905  df-f 4906  df-fo 4908  df-fv 4910
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator