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

Theorem fcof1o 5429
Description: Show that two functions are inverse to each other by computing their compositions. (Contributed by Mario Carneiro, 21-Mar-2015.)
Assertion
Ref Expression
fcof1o (((𝐹:𝐴𝐵𝐺:𝐵𝐴) ∧ ((𝐹𝐺) = ( I ↾ 𝐵) ∧ (𝐺𝐹) = ( I ↾ 𝐴))) → (𝐹:𝐴1-1-onto𝐵𝐹 = 𝐺))

Proof of Theorem fcof1o
StepHypRef Expression
1 fcof1 5423 . . . 4 ((𝐹:𝐴𝐵 ∧ (𝐺𝐹) = ( I ↾ 𝐴)) → 𝐹:𝐴1-1𝐵)
21ad2ant2rl 480 . . 3 (((𝐹:𝐴𝐵𝐺:𝐵𝐴) ∧ ((𝐹𝐺) = ( I ↾ 𝐵) ∧ (𝐺𝐹) = ( I ↾ 𝐴))) → 𝐹:𝐴1-1𝐵)
3 fcofo 5424 . . . . 5 ((𝐹:𝐴𝐵𝐺:𝐵𝐴 ∧ (𝐹𝐺) = ( I ↾ 𝐵)) → 𝐹:𝐴onto𝐵)
433expa 1104 . . . 4 (((𝐹:𝐴𝐵𝐺:𝐵𝐴) ∧ (𝐹𝐺) = ( I ↾ 𝐵)) → 𝐹:𝐴onto𝐵)
54adantrr 448 . . 3 (((𝐹:𝐴𝐵𝐺:𝐵𝐴) ∧ ((𝐹𝐺) = ( I ↾ 𝐵) ∧ (𝐺𝐹) = ( I ↾ 𝐴))) → 𝐹:𝐴onto𝐵)
6 df-f1o 4909 . . 3 (𝐹:𝐴1-1-onto𝐵 ↔ (𝐹:𝐴1-1𝐵𝐹:𝐴onto𝐵))
72, 5, 6sylanbrc 394 . 2 (((𝐹:𝐴𝐵𝐺:𝐵𝐴) ∧ ((𝐹𝐺) = ( I ↾ 𝐵) ∧ (𝐺𝐹) = ( I ↾ 𝐴))) → 𝐹:𝐴1-1-onto𝐵)
8 simprl 483 . . . 4 (((𝐹:𝐴𝐵𝐺:𝐵𝐴) ∧ ((𝐹𝐺) = ( I ↾ 𝐵) ∧ (𝐺𝐹) = ( I ↾ 𝐴))) → (𝐹𝐺) = ( I ↾ 𝐵))
98coeq2d 4498 . . 3 (((𝐹:𝐴𝐵𝐺:𝐵𝐴) ∧ ((𝐹𝐺) = ( I ↾ 𝐵) ∧ (𝐺𝐹) = ( I ↾ 𝐴))) → (𝐹 ∘ (𝐹𝐺)) = (𝐹 ∘ ( I ↾ 𝐵)))
10 coass 4839 . . . 4 ((𝐹𝐹) ∘ 𝐺) = (𝐹 ∘ (𝐹𝐺))
11 f1ococnv1 5155 . . . . . . 7 (𝐹:𝐴1-1-onto𝐵 → (𝐹𝐹) = ( I ↾ 𝐴))
127, 11syl 14 . . . . . 6 (((𝐹:𝐴𝐵𝐺:𝐵𝐴) ∧ ((𝐹𝐺) = ( I ↾ 𝐵) ∧ (𝐺𝐹) = ( I ↾ 𝐴))) → (𝐹𝐹) = ( I ↾ 𝐴))
1312coeq1d 4497 . . . . 5 (((𝐹:𝐴𝐵𝐺:𝐵𝐴) ∧ ((𝐹𝐺) = ( I ↾ 𝐵) ∧ (𝐺𝐹) = ( I ↾ 𝐴))) → ((𝐹𝐹) ∘ 𝐺) = (( I ↾ 𝐴) ∘ 𝐺))
14 fcoi2 5071 . . . . . 6 (𝐺:𝐵𝐴 → (( I ↾ 𝐴) ∘ 𝐺) = 𝐺)
1514ad2antlr 458 . . . . 5 (((𝐹:𝐴𝐵𝐺:𝐵𝐴) ∧ ((𝐹𝐺) = ( I ↾ 𝐵) ∧ (𝐺𝐹) = ( I ↾ 𝐴))) → (( I ↾ 𝐴) ∘ 𝐺) = 𝐺)
1613, 15eqtrd 2072 . . . 4 (((𝐹:𝐴𝐵𝐺:𝐵𝐴) ∧ ((𝐹𝐺) = ( I ↾ 𝐵) ∧ (𝐺𝐹) = ( I ↾ 𝐴))) → ((𝐹𝐹) ∘ 𝐺) = 𝐺)
1710, 16syl5eqr 2086 . . 3 (((𝐹:𝐴𝐵𝐺:𝐵𝐴) ∧ ((𝐹𝐺) = ( I ↾ 𝐵) ∧ (𝐺𝐹) = ( I ↾ 𝐴))) → (𝐹 ∘ (𝐹𝐺)) = 𝐺)
18 f1ocnv 5139 . . . 4 (𝐹:𝐴1-1-onto𝐵𝐹:𝐵1-1-onto𝐴)
19 f1of 5126 . . . 4 (𝐹:𝐵1-1-onto𝐴𝐹:𝐵𝐴)
20 fcoi1 5070 . . . 4 (𝐹:𝐵𝐴 → (𝐹 ∘ ( I ↾ 𝐵)) = 𝐹)
217, 18, 19, 204syl 18 . . 3 (((𝐹:𝐴𝐵𝐺:𝐵𝐴) ∧ ((𝐹𝐺) = ( I ↾ 𝐵) ∧ (𝐺𝐹) = ( I ↾ 𝐴))) → (𝐹 ∘ ( I ↾ 𝐵)) = 𝐹)
229, 17, 213eqtr3rd 2081 . 2 (((𝐹:𝐴𝐵𝐺:𝐵𝐴) ∧ ((𝐹𝐺) = ( I ↾ 𝐵) ∧ (𝐺𝐹) = ( I ↾ 𝐴))) → 𝐹 = 𝐺)
237, 22jca 290 1 (((𝐹:𝐴𝐵𝐺:𝐵𝐴) ∧ ((𝐹𝐺) = ( I ↾ 𝐵) ∧ (𝐺𝐹) = ( I ↾ 𝐴))) → (𝐹:𝐴1-1-onto𝐵𝐹 = 𝐺))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 97   = wceq 1243   I cid 4025  ccnv 4344  cres 4347  ccom 4349  wf 4898  1-1wf1 4899  ontowfo 4900  1-1-ontowf1o 4901
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-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-ima 4358  df-iota 4867  df-fun 4904  df-fn 4905  df-f 4906  df-f1 4907  df-fo 4908  df-f1o 4909  df-fv 4910
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator