Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  f1cof1b Structured version   Visualization version   GIF version

Theorem f1cof1b 44569
Description: If the range of 𝐹 equals the domain of 𝐺, then the composition (𝐺𝐹) is injective iff 𝐹 and 𝐺 are both injective. (Contributed by GL and AV, 19-Sep-2024.)
Assertion
Ref Expression
f1cof1b ((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) → ((𝐺𝐹):𝐴1-1𝐷 ↔ (𝐹:𝐴1-1𝐵𝐺:𝐶1-1𝐷)))

Proof of Theorem f1cof1b
StepHypRef Expression
1 simp1 1135 . . . . . . . . 9 ((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) → 𝐹:𝐴𝐵)
2 eqid 2738 . . . . . . . . 9 (ran 𝐹𝐶) = (ran 𝐹𝐶)
3 eqid 2738 . . . . . . . . 9 (𝐹𝐶) = (𝐹𝐶)
4 eqid 2738 . . . . . . . . 9 (𝐹 ↾ (𝐹𝐶)) = (𝐹 ↾ (𝐹𝐶))
5 simp2 1136 . . . . . . . . 9 ((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) → 𝐺:𝐶𝐷)
6 eqid 2738 . . . . . . . . 9 (𝐺 ↾ (ran 𝐹𝐶)) = (𝐺 ↾ (ran 𝐹𝐶))
7 simp3 1137 . . . . . . . . 9 ((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) → ran 𝐹 = 𝐶)
81, 2, 3, 4, 5, 6, 7f1cof1blem 44568 . . . . . . . 8 ((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) → (((𝐹𝐶) = 𝐴 ∧ (ran 𝐹𝐶) = 𝐶) ∧ ((𝐹 ↾ (𝐹𝐶)) = 𝐹 ∧ (𝐺 ↾ (ran 𝐹𝐶)) = 𝐺)))
9 simpll 764 . . . . . . . 8 ((((𝐹𝐶) = 𝐴 ∧ (ran 𝐹𝐶) = 𝐶) ∧ ((𝐹 ↾ (𝐹𝐶)) = 𝐹 ∧ (𝐺 ↾ (ran 𝐹𝐶)) = 𝐺)) → (𝐹𝐶) = 𝐴)
10 f1eq2 6666 . . . . . . . 8 ((𝐹𝐶) = 𝐴 → ((𝐺𝐹):(𝐹𝐶)–1-1𝐷 ↔ (𝐺𝐹):𝐴1-1𝐷))
118, 9, 103syl 18 . . . . . . 7 ((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) → ((𝐺𝐹):(𝐹𝐶)–1-1𝐷 ↔ (𝐺𝐹):𝐴1-1𝐷))
1211bicomd 222 . . . . . 6 ((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) → ((𝐺𝐹):𝐴1-1𝐷 ↔ (𝐺𝐹):(𝐹𝐶)–1-1𝐷))
13 ancom 461 . . . . . . . . . 10 (((𝐺 ↾ (ran 𝐹𝐶)) = 𝐺 ∧ (𝐹 ↾ (𝐹𝐶)) = 𝐹) ↔ ((𝐹 ↾ (𝐹𝐶)) = 𝐹 ∧ (𝐺 ↾ (ran 𝐹𝐶)) = 𝐺))
1413anbi2i 623 . . . . . . . . 9 ((((𝐹𝐶) = 𝐴 ∧ (ran 𝐹𝐶) = 𝐶) ∧ ((𝐺 ↾ (ran 𝐹𝐶)) = 𝐺 ∧ (𝐹 ↾ (𝐹𝐶)) = 𝐹)) ↔ (((𝐹𝐶) = 𝐴 ∧ (ran 𝐹𝐶) = 𝐶) ∧ ((𝐹 ↾ (𝐹𝐶)) = 𝐹 ∧ (𝐺 ↾ (ran 𝐹𝐶)) = 𝐺)))
158, 14sylibr 233 . . . . . . . 8 ((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) → (((𝐹𝐶) = 𝐴 ∧ (ran 𝐹𝐶) = 𝐶) ∧ ((𝐺 ↾ (ran 𝐹𝐶)) = 𝐺 ∧ (𝐹 ↾ (𝐹𝐶)) = 𝐹)))
1615adantr 481 . . . . . . 7 (((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) ∧ (𝐺𝐹):(𝐹𝐶)–1-1𝐷) → (((𝐹𝐶) = 𝐴 ∧ (ran 𝐹𝐶) = 𝐶) ∧ ((𝐺 ↾ (ran 𝐹𝐶)) = 𝐺 ∧ (𝐹 ↾ (𝐹𝐶)) = 𝐹)))
171adantr 481 . . . . . . . . 9 (((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) ∧ (𝐺𝐹):(𝐹𝐶)–1-1𝐷) → 𝐹:𝐴𝐵)
185adantr 481 . . . . . . . . 9 (((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) ∧ (𝐺𝐹):(𝐹𝐶)–1-1𝐷) → 𝐺:𝐶𝐷)
19 simpr 485 . . . . . . . . 9 (((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) ∧ (𝐺𝐹):(𝐹𝐶)–1-1𝐷) → (𝐺𝐹):(𝐹𝐶)–1-1𝐷)
2017, 2, 3, 4, 18, 6, 19fcoresf1 44563 . . . . . . . 8 (((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) ∧ (𝐺𝐹):(𝐹𝐶)–1-1𝐷) → ((𝐹 ↾ (𝐹𝐶)):(𝐹𝐶)–1-1→(ran 𝐹𝐶) ∧ (𝐺 ↾ (ran 𝐹𝐶)):(ran 𝐹𝐶)–1-1𝐷))
2120ancomd 462 . . . . . . 7 (((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) ∧ (𝐺𝐹):(𝐹𝐶)–1-1𝐷) → ((𝐺 ↾ (ran 𝐹𝐶)):(ran 𝐹𝐶)–1-1𝐷 ∧ (𝐹 ↾ (𝐹𝐶)):(𝐹𝐶)–1-1→(ran 𝐹𝐶)))
22 simprl 768 . . . . . . . . . 10 ((((𝐹𝐶) = 𝐴 ∧ (ran 𝐹𝐶) = 𝐶) ∧ ((𝐺 ↾ (ran 𝐹𝐶)) = 𝐺 ∧ (𝐹 ↾ (𝐹𝐶)) = 𝐹)) → (𝐺 ↾ (ran 𝐹𝐶)) = 𝐺)
23 simpr 485 . . . . . . . . . . 11 (((𝐹𝐶) = 𝐴 ∧ (ran 𝐹𝐶) = 𝐶) → (ran 𝐹𝐶) = 𝐶)
2423adantr 481 . . . . . . . . . 10 ((((𝐹𝐶) = 𝐴 ∧ (ran 𝐹𝐶) = 𝐶) ∧ ((𝐺 ↾ (ran 𝐹𝐶)) = 𝐺 ∧ (𝐹 ↾ (𝐹𝐶)) = 𝐹)) → (ran 𝐹𝐶) = 𝐶)
25 eqidd 2739 . . . . . . . . . 10 ((((𝐹𝐶) = 𝐴 ∧ (ran 𝐹𝐶) = 𝐶) ∧ ((𝐺 ↾ (ran 𝐹𝐶)) = 𝐺 ∧ (𝐹 ↾ (𝐹𝐶)) = 𝐹)) → 𝐷 = 𝐷)
2622, 24, 25f1eq123d 6708 . . . . . . . . 9 ((((𝐹𝐶) = 𝐴 ∧ (ran 𝐹𝐶) = 𝐶) ∧ ((𝐺 ↾ (ran 𝐹𝐶)) = 𝐺 ∧ (𝐹 ↾ (𝐹𝐶)) = 𝐹)) → ((𝐺 ↾ (ran 𝐹𝐶)):(ran 𝐹𝐶)–1-1𝐷𝐺:𝐶1-1𝐷))
2726biimpd 228 . . . . . . . 8 ((((𝐹𝐶) = 𝐴 ∧ (ran 𝐹𝐶) = 𝐶) ∧ ((𝐺 ↾ (ran 𝐹𝐶)) = 𝐺 ∧ (𝐹 ↾ (𝐹𝐶)) = 𝐹)) → ((𝐺 ↾ (ran 𝐹𝐶)):(ran 𝐹𝐶)–1-1𝐷𝐺:𝐶1-1𝐷))
28 simprr 770 . . . . . . . . . 10 ((((𝐹𝐶) = 𝐴 ∧ (ran 𝐹𝐶) = 𝐶) ∧ ((𝐺 ↾ (ran 𝐹𝐶)) = 𝐺 ∧ (𝐹 ↾ (𝐹𝐶)) = 𝐹)) → (𝐹 ↾ (𝐹𝐶)) = 𝐹)
29 simpll 764 . . . . . . . . . 10 ((((𝐹𝐶) = 𝐴 ∧ (ran 𝐹𝐶) = 𝐶) ∧ ((𝐺 ↾ (ran 𝐹𝐶)) = 𝐺 ∧ (𝐹 ↾ (𝐹𝐶)) = 𝐹)) → (𝐹𝐶) = 𝐴)
3028, 29, 24f1eq123d 6708 . . . . . . . . 9 ((((𝐹𝐶) = 𝐴 ∧ (ran 𝐹𝐶) = 𝐶) ∧ ((𝐺 ↾ (ran 𝐹𝐶)) = 𝐺 ∧ (𝐹 ↾ (𝐹𝐶)) = 𝐹)) → ((𝐹 ↾ (𝐹𝐶)):(𝐹𝐶)–1-1→(ran 𝐹𝐶) ↔ 𝐹:𝐴1-1𝐶))
3130biimpd 228 . . . . . . . 8 ((((𝐹𝐶) = 𝐴 ∧ (ran 𝐹𝐶) = 𝐶) ∧ ((𝐺 ↾ (ran 𝐹𝐶)) = 𝐺 ∧ (𝐹 ↾ (𝐹𝐶)) = 𝐹)) → ((𝐹 ↾ (𝐹𝐶)):(𝐹𝐶)–1-1→(ran 𝐹𝐶) → 𝐹:𝐴1-1𝐶))
3227, 31anim12d 609 . . . . . . 7 ((((𝐹𝐶) = 𝐴 ∧ (ran 𝐹𝐶) = 𝐶) ∧ ((𝐺 ↾ (ran 𝐹𝐶)) = 𝐺 ∧ (𝐹 ↾ (𝐹𝐶)) = 𝐹)) → (((𝐺 ↾ (ran 𝐹𝐶)):(ran 𝐹𝐶)–1-1𝐷 ∧ (𝐹 ↾ (𝐹𝐶)):(𝐹𝐶)–1-1→(ran 𝐹𝐶)) → (𝐺:𝐶1-1𝐷𝐹:𝐴1-1𝐶)))
3316, 21, 32sylc 65 . . . . . 6 (((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) ∧ (𝐺𝐹):(𝐹𝐶)–1-1𝐷) → (𝐺:𝐶1-1𝐷𝐹:𝐴1-1𝐶))
3412, 33sylbida 592 . . . . 5 (((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) ∧ (𝐺𝐹):𝐴1-1𝐷) → (𝐺:𝐶1-1𝐷𝐹:𝐴1-1𝐶))
35 ffrn 6614 . . . . . . . . . . . 12 (𝐹:𝐴𝐵𝐹:𝐴⟶ran 𝐹)
36 ax-1 6 . . . . . . . . . . . 12 (𝐹:𝐴𝐵 → (𝐹:𝐴⟶ran 𝐹𝐹:𝐴𝐵))
3735, 36impbid2 225 . . . . . . . . . . 11 (𝐹:𝐴𝐵 → (𝐹:𝐴𝐵𝐹:𝐴⟶ran 𝐹))
3837anbi1d 630 . . . . . . . . . 10 (𝐹:𝐴𝐵 → ((𝐹:𝐴𝐵 ∧ Fun 𝐹) ↔ (𝐹:𝐴⟶ran 𝐹 ∧ Fun 𝐹)))
39 df-f1 6438 . . . . . . . . . 10 (𝐹:𝐴1-1𝐵 ↔ (𝐹:𝐴𝐵 ∧ Fun 𝐹))
40 df-f1 6438 . . . . . . . . . 10 (𝐹:𝐴1-1→ran 𝐹 ↔ (𝐹:𝐴⟶ran 𝐹 ∧ Fun 𝐹))
4138, 39, 403bitr4g 314 . . . . . . . . 9 (𝐹:𝐴𝐵 → (𝐹:𝐴1-1𝐵𝐹:𝐴1-1→ran 𝐹))
42413ad2ant1 1132 . . . . . . . 8 ((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) → (𝐹:𝐴1-1𝐵𝐹:𝐴1-1→ran 𝐹))
43 f1eq3 6667 . . . . . . . . 9 (ran 𝐹 = 𝐶 → (𝐹:𝐴1-1→ran 𝐹𝐹:𝐴1-1𝐶))
44433ad2ant3 1134 . . . . . . . 8 ((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) → (𝐹:𝐴1-1→ran 𝐹𝐹:𝐴1-1𝐶))
4542, 44bitrd 278 . . . . . . 7 ((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) → (𝐹:𝐴1-1𝐵𝐹:𝐴1-1𝐶))
4645anbi2d 629 . . . . . 6 ((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) → ((𝐺:𝐶1-1𝐷𝐹:𝐴1-1𝐵) ↔ (𝐺:𝐶1-1𝐷𝐹:𝐴1-1𝐶)))
4746adantr 481 . . . . 5 (((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) ∧ (𝐺𝐹):𝐴1-1𝐷) → ((𝐺:𝐶1-1𝐷𝐹:𝐴1-1𝐵) ↔ (𝐺:𝐶1-1𝐷𝐹:𝐴1-1𝐶)))
4834, 47mpbird 256 . . . 4 (((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) ∧ (𝐺𝐹):𝐴1-1𝐷) → (𝐺:𝐶1-1𝐷𝐹:𝐴1-1𝐵))
4948ancomd 462 . . 3 (((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) ∧ (𝐺𝐹):𝐴1-1𝐷) → (𝐹:𝐴1-1𝐵𝐺:𝐶1-1𝐷))
5049ex 413 . 2 ((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) → ((𝐺𝐹):𝐴1-1𝐷 → (𝐹:𝐴1-1𝐵𝐺:𝐶1-1𝐷)))
51 f1cof1 6681 . . . 4 ((𝐺:𝐶1-1𝐷𝐹:𝐴1-1𝐵) → (𝐺𝐹):(𝐹𝐶)–1-1𝐷)
5251ancoms 459 . . 3 ((𝐹:𝐴1-1𝐵𝐺:𝐶1-1𝐷) → (𝐺𝐹):(𝐹𝐶)–1-1𝐷)
53 imaeq2 5965 . . . . . . . 8 (𝐶 = ran 𝐹 → (𝐹𝐶) = (𝐹 “ ran 𝐹))
54 cnvimarndm 5990 . . . . . . . 8 (𝐹 “ ran 𝐹) = dom 𝐹
5553, 54eqtrdi 2794 . . . . . . 7 (𝐶 = ran 𝐹 → (𝐹𝐶) = dom 𝐹)
5655eqcoms 2746 . . . . . 6 (ran 𝐹 = 𝐶 → (𝐹𝐶) = dom 𝐹)
57563ad2ant3 1134 . . . . 5 ((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) → (𝐹𝐶) = dom 𝐹)
581fdmd 6611 . . . . 5 ((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) → dom 𝐹 = 𝐴)
5957, 58eqtrd 2778 . . . 4 ((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) → (𝐹𝐶) = 𝐴)
6059, 10syl 17 . . 3 ((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) → ((𝐺𝐹):(𝐹𝐶)–1-1𝐷 ↔ (𝐺𝐹):𝐴1-1𝐷))
6152, 60syl5ib 243 . 2 ((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) → ((𝐹:𝐴1-1𝐵𝐺:𝐶1-1𝐷) → (𝐺𝐹):𝐴1-1𝐷))
6250, 61impbid 211 1 ((𝐹:𝐴𝐵𝐺:𝐶𝐷 ∧ ran 𝐹 = 𝐶) → ((𝐺𝐹):𝐴1-1𝐷 ↔ (𝐹:𝐴1-1𝐵𝐺:𝐶1-1𝐷)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  cin 3886  ccnv 5588  dom cdm 5589  ran crn 5590  cres 5591  cima 5592  ccom 5593  Fun wfun 6427  wf 6429  1-1wf1 6430
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-fv 6441
This theorem is referenced by:  f1ocof1ob  44573
  Copyright terms: Public domain W3C validator