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

Theorem foeqcnvco 5996
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 5665 . . . 4 (𝐹:𝐴–onto→𝐵 → (𝐹 ∘ ◡𝐹) = ( I ↾ 𝐵))
2 cnveq 4954 . . . . . 6 (𝐹 = 𝐺 → ◡𝐹 = ◡𝐺)
32coeq2d 4942 . . . . 5 (𝐹 = 𝐺 → (𝐹 ∘ ◡𝐹) = (𝐹 ∘ ◡𝐺))
43eqeq1d 2247 . . . 4 (𝐹 = 𝐺 → ((𝐹 ∘ ◡𝐹) = ( I ↾ 𝐵) ↔ (𝐹 ∘ ◡𝐺) = ( I ↾ 𝐵)))
51, 4syl5ibcom 155 . . 3 (𝐹:𝐴–onto→𝐵 → (𝐹 = 𝐺 → (𝐹 ∘ ◡𝐺) = ( I ↾ 𝐵)))
65adantr 276 . 2 ((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) → (𝐹 = 𝐺 → (𝐹 ∘ ◡𝐺) = ( I ↾ 𝐵)))
7 fofn 5617 . . . . 5 (𝐹:𝐴–onto→𝐵 → 𝐹 Fn 𝐴)
87ad2antrr 492 . . . 4 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ (𝐹 ∘ ◡𝐺) = ( I ↾ 𝐵)) → 𝐹 Fn 𝐴)
9 fofn 5617 . . . . 5 (𝐺:𝐴–onto→𝐵 → 𝐺 Fn 𝐴)
109ad2antlr 493 . . . 4 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ (𝐹 ∘ ◡𝐺) = ( I ↾ 𝐵)) → 𝐺 Fn 𝐴)
119adantl 277 . . . . . . . . . . . 12 ((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) → 𝐺 Fn 𝐴)
12 fnopfv 5838 . . . . . . . . . . . 12 ((𝐺 Fn 𝐴 ∧ 𝑥 ∈ 𝐴) → ⟨𝑥, (𝐺‘𝑥)⟩ ∈ 𝐺)
1311, 12sylan 283 . . . . . . . . . . 11 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ 𝑥 ∈ 𝐴) → ⟨𝑥, (𝐺‘𝑥)⟩ ∈ 𝐺)
149anim1i 340 . . . . . . . . . . . . 13 ((𝐺:𝐴–onto→𝐵 ∧ 𝑥 ∈ 𝐴) → (𝐺 Fn 𝐴 ∧ 𝑥 ∈ 𝐴))
1514adantll 480 . . . . . . . . . . . 12 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ 𝑥 ∈ 𝐴) → (𝐺 Fn 𝐴 ∧ 𝑥 ∈ 𝐴))
16 funfvex 5712 . . . . . . . . . . . . . . 15 ((Fun 𝐺 ∧ 𝑥 ∈ dom 𝐺) → (𝐺‘𝑥) ∈ V)
1716funfni 5483 . . . . . . . . . . . . . 14 ((𝐺 Fn 𝐴 ∧ 𝑥 ∈ 𝐴) → (𝐺‘𝑥) ∈ V)
18 vex 2824 . . . . . . . . . . . . . 14 𝑥 ∈ V
19 brcnvg 4961 . . . . . . . . . . . . . 14 (((𝐺‘𝑥) ∈ V ∧ 𝑥 ∈ V) → ((𝐺‘𝑥)◡𝐺𝑥 ↔ 𝑥𝐺(𝐺‘𝑥)))
2017, 18, 19sylancl 417 . . . . . . . . . . . . 13 ((𝐺 Fn 𝐴 ∧ 𝑥 ∈ 𝐴) → ((𝐺‘𝑥)◡𝐺𝑥 ↔ 𝑥𝐺(𝐺‘𝑥)))
21 df-br 4131 . . . . . . . . . . . . 13 (𝑥𝐺(𝐺‘𝑥) ↔ ⟨𝑥, (𝐺‘𝑥)⟩ ∈ 𝐺)
2220, 21bitrdi 196 . . . . . . . . . . . 12 ((𝐺 Fn 𝐴 ∧ 𝑥 ∈ 𝐴) → ((𝐺‘𝑥)◡𝐺𝑥 ↔ ⟨𝑥, (𝐺‘𝑥)⟩ ∈ 𝐺))
2315, 22syl 14 . . . . . . . . . . 11 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ 𝑥 ∈ 𝐴) → ((𝐺‘𝑥)◡𝐺𝑥 ↔ ⟨𝑥, (𝐺‘𝑥)⟩ ∈ 𝐺))
2413, 23mpbird 167 . . . . . . . . . 10 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ 𝑥 ∈ 𝐴) → (𝐺‘𝑥)◡𝐺𝑥)
257adantr 276 . . . . . . . . . . . 12 ((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) → 𝐹 Fn 𝐴)
26 fnopfv 5838 . . . . . . . . . . . 12 ((𝐹 Fn 𝐴 ∧ 𝑥 ∈ 𝐴) → ⟨𝑥, (𝐹‘𝑥)⟩ ∈ 𝐹)
2725, 26sylan 283 . . . . . . . . . . 11 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ 𝑥 ∈ 𝐴) → ⟨𝑥, (𝐹‘𝑥)⟩ ∈ 𝐹)
28 df-br 4131 . . . . . . . . . . 11 (𝑥𝐹(𝐹‘𝑥) ↔ ⟨𝑥, (𝐹‘𝑥)⟩ ∈ 𝐹)
2927, 28sylibr 134 . . . . . . . . . 10 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ 𝑥 ∈ 𝐴) → 𝑥𝐹(𝐹‘𝑥))
30 breq2 4134 . . . . . . . . . . . 12 (𝑦 = 𝑥 → ((𝐺‘𝑥)◡𝐺𝑦 ↔ (𝐺‘𝑥)◡𝐺𝑥))
31 breq1 4133 . . . . . . . . . . . 12 (𝑦 = 𝑥 → (𝑦𝐹(𝐹‘𝑥) ↔ 𝑥𝐹(𝐹‘𝑥)))
3230, 31anbi12d 477 . . . . . . . . . . 11 (𝑦 = 𝑥 → (((𝐺‘𝑥)◡𝐺𝑦 ∧ 𝑦𝐹(𝐹‘𝑥)) ↔ ((𝐺‘𝑥)◡𝐺𝑥 ∧ 𝑥𝐹(𝐹‘𝑥))))
3318, 32spcev 2920 . . . . . . . . . 10 (((𝐺‘𝑥)◡𝐺𝑥 ∧ 𝑥𝐹(𝐹‘𝑥)) → ∃𝑦((𝐺‘𝑥)◡𝐺𝑦 ∧ 𝑦𝐹(𝐹‘𝑥)))
3424, 29, 33syl2anc 415 . . . . . . . . 9 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ 𝑥 ∈ 𝐴) → ∃𝑦((𝐺‘𝑥)◡𝐺𝑦 ∧ 𝑦𝐹(𝐹‘𝑥)))
3515, 17syl 14 . . . . . . . . . 10 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ 𝑥 ∈ 𝐴) → (𝐺‘𝑥) ∈ V)
367anim1i 340 . . . . . . . . . . . 12 ((𝐹:𝐴–onto→𝐵 ∧ 𝑥 ∈ 𝐴) → (𝐹 Fn 𝐴 ∧ 𝑥 ∈ 𝐴))
3736adantlr 481 . . . . . . . . . . 11 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ 𝑥 ∈ 𝐴) → (𝐹 Fn 𝐴 ∧ 𝑥 ∈ 𝐴))
38 funfvex 5712 . . . . . . . . . . . 12 ((Fun 𝐹 ∧ 𝑥 ∈ dom 𝐹) → (𝐹‘𝑥) ∈ V)
3938funfni 5483 . . . . . . . . . . 11 ((𝐹 Fn 𝐴 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) ∈ V)
4037, 39syl 14 . . . . . . . . . 10 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) ∈ V)
41 brcog 4947 . . . . . . . . . 10 (((𝐺‘𝑥) ∈ V ∧ (𝐹‘𝑥) ∈ V) → ((𝐺‘𝑥)(𝐹 ∘ ◡𝐺)(𝐹‘𝑥) ↔ ∃𝑦((𝐺‘𝑥)◡𝐺𝑦 ∧ 𝑦𝐹(𝐹‘𝑥))))
4235, 40, 41syl2anc 415 . . . . . . . . 9 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ 𝑥 ∈ 𝐴) → ((𝐺‘𝑥)(𝐹 ∘ ◡𝐺)(𝐹‘𝑥) ↔ ∃𝑦((𝐺‘𝑥)◡𝐺𝑦 ∧ 𝑦𝐹(𝐹‘𝑥))))
4334, 42mpbird 167 . . . . . . . 8 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ 𝑥 ∈ 𝐴) → (𝐺‘𝑥)(𝐹 ∘ ◡𝐺)(𝐹‘𝑥))
4443adantlr 481 . . . . . . 7 ((((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ (𝐹 ∘ ◡𝐺) = ( I ↾ 𝐵)) ∧ 𝑥 ∈ 𝐴) → (𝐺‘𝑥)(𝐹 ∘ ◡𝐺)(𝐹‘𝑥))
45 breq 4132 . . . . . . . 8 ((𝐹 ∘ ◡𝐺) = ( I ↾ 𝐵) → ((𝐺‘𝑥)(𝐹 ∘ ◡𝐺)(𝐹‘𝑥) ↔ (𝐺‘𝑥)( I ↾ 𝐵)(𝐹‘𝑥)))
4645ad2antlr 493 . . . . . . 7 ((((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ (𝐹 ∘ ◡𝐺) = ( I ↾ 𝐵)) ∧ 𝑥 ∈ 𝐴) → ((𝐺‘𝑥)(𝐹 ∘ ◡𝐺)(𝐹‘𝑥) ↔ (𝐺‘𝑥)( I ↾ 𝐵)(𝐹‘𝑥)))
4744, 46mpbid 147 . . . . . 6 ((((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ (𝐹 ∘ ◡𝐺) = ( I ↾ 𝐵)) ∧ 𝑥 ∈ 𝐴) → (𝐺‘𝑥)( I ↾ 𝐵)(𝐹‘𝑥))
48 fof 5615 . . . . . . . . . 10 (𝐺:𝐴–onto→𝐵 → 𝐺:𝐴⟶𝐵)
4948adantl 277 . . . . . . . . 9 ((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) → 𝐺:𝐴⟶𝐵)
5049ffvelcdmda 5843 . . . . . . . 8 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ 𝑥 ∈ 𝐴) → (𝐺‘𝑥) ∈ 𝐵)
51 fof 5615 . . . . . . . . . 10 (𝐹:𝐴–onto→𝐵 → 𝐹:𝐴⟶𝐵)
5251adantr 276 . . . . . . . . 9 ((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) → 𝐹:𝐴⟶𝐵)
5352ffvelcdmda 5843 . . . . . . . 8 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) ∈ 𝐵)
54 resieq 5073 . . . . . . . 8 (((𝐺‘𝑥) ∈ 𝐵 ∧ (𝐹‘𝑥) ∈ 𝐵) → ((𝐺‘𝑥)( I ↾ 𝐵)(𝐹‘𝑥) ↔ (𝐺‘𝑥) = (𝐹‘𝑥)))
5550, 53, 54syl2anc 415 . . . . . . 7 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ 𝑥 ∈ 𝐴) → ((𝐺‘𝑥)( I ↾ 𝐵)(𝐹‘𝑥) ↔ (𝐺‘𝑥) = (𝐹‘𝑥)))
5655adantlr 481 . . . . . 6 ((((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ (𝐹 ∘ ◡𝐺) = ( I ↾ 𝐵)) ∧ 𝑥 ∈ 𝐴) → ((𝐺‘𝑥)( I ↾ 𝐵)(𝐹‘𝑥) ↔ (𝐺‘𝑥) = (𝐹‘𝑥)))
5747, 56mpbid 147 . . . . 5 ((((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ (𝐹 ∘ ◡𝐺) = ( I ↾ 𝐵)) ∧ 𝑥 ∈ 𝐴) → (𝐺‘𝑥) = (𝐹‘𝑥))
5857eqcomd 2244 . . . 4 ((((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ (𝐹 ∘ ◡𝐺) = ( I ↾ 𝐵)) ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) = (𝐺‘𝑥))
598, 10, 58eqfnfvd 5809 . . 3 (((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) ∧ (𝐹 ∘ ◡𝐺) = ( I ↾ 𝐵)) → 𝐹 = 𝐺)
6059ex 115 . 2 ((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) → ((𝐹 ∘ ◡𝐺) = ( I ↾ 𝐵) → 𝐹 = 𝐺))
616, 60impbid 129 1 ((𝐹:𝐴–onto→𝐵 ∧ 𝐺:𝐴–onto→𝐵) → (𝐹 = 𝐺 ↔ (𝐹 ∘ ◡𝐺) = ( I ↾ 𝐵)))
Colors of variables:    wff set class
This proof depends on syntax axioms:   → wi 4   ∧ wa 104   ↔ wb 105   = wceq 1402  ∃wex 1545   ∈ wcel 2209  Vcvv 2821  ⟨cop 3712   class class class wbr 4130   I cid 4433  ◡ccnv 4773   ↾ cres 4776   ∘ ccom 4778   Fn wfn 5372  ⟶wf 5373  –onto→wfo 5375  ‘cfv 5377
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-sep 4249  ax-pow 4311  ax-pr 4346
This proof depends on definitions:  df-bi 117  df-3an 1011  df-tru 1405  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ral 2533  df-rex 2534  df-v 2823  df-sbc 3052  df-csb 3148  df-un 3224  df-in 3226  df-ss 3233  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-br 4131  df-opab 4193  df-mpt 4194  df-id 4438  df-xp 4780  df-rel 4781  df-cnv 4782  df-co 4783  df-dm 4784  df-rn 4785  df-res 4786  df-iota 5337  df-fun 5379  df-fn 5380  df-f 5381  df-fo 5383  df-fv 5385
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator