| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > invfun | Structured version Visualization version GIF version | ||
| Description: The inverse relation is a function, which is to say that every morphism has at most one inverse. (Contributed by Mario Carneiro, 2-Jan-2017.) |
| Ref | Expression |
|---|---|
| invfval.b | ⊢ 𝐵 = (Base‘𝐶) |
| invfval.n | ⊢ 𝑁 = (Inv‘𝐶) |
| invfval.c | ⊢ (𝜑 → 𝐶 ∈ Cat) |
| invss.x | ⊢ (𝜑 → 𝑋 ∈ 𝐵) |
| invss.y | ⊢ (𝜑 → 𝑌 ∈ 𝐵) |
| Ref | Expression |
|---|---|
| invfun | ⊢ (𝜑 → Fun (𝑋𝑁𝑌)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | invfval.b | . . . 4 ⊢ 𝐵 = (Base‘𝐶) | |
| 2 | invfval.n | . . . 4 ⊢ 𝑁 = (Inv‘𝐶) | |
| 3 | invfval.c | . . . 4 ⊢ (𝜑 → 𝐶 ∈ Cat) | |
| 4 | invss.x | . . . 4 ⊢ (𝜑 → 𝑋 ∈ 𝐵) | |
| 5 | invss.y | . . . 4 ⊢ (𝜑 → 𝑌 ∈ 𝐵) | |
| 6 | eqid 2729 | . . . 4 ⊢ (Hom ‘𝐶) = (Hom ‘𝐶) | |
| 7 | 1, 2, 3, 4, 5, 6 | invss 17668 | . . 3 ⊢ (𝜑 → (𝑋𝑁𝑌) ⊆ ((𝑋(Hom ‘𝐶)𝑌) × (𝑌(Hom ‘𝐶)𝑋))) |
| 8 | relxp 5637 | . . 3 ⊢ Rel ((𝑋(Hom ‘𝐶)𝑌) × (𝑌(Hom ‘𝐶)𝑋)) | |
| 9 | relss 5725 | . . 3 ⊢ ((𝑋𝑁𝑌) ⊆ ((𝑋(Hom ‘𝐶)𝑌) × (𝑌(Hom ‘𝐶)𝑋)) → (Rel ((𝑋(Hom ‘𝐶)𝑌) × (𝑌(Hom ‘𝐶)𝑋)) → Rel (𝑋𝑁𝑌))) | |
| 10 | 7, 8, 9 | mpisyl 21 | . 2 ⊢ (𝜑 → Rel (𝑋𝑁𝑌)) |
| 11 | eqid 2729 | . . . . . 6 ⊢ (Sect‘𝐶) = (Sect‘𝐶) | |
| 12 | 3 | adantr 480 | . . . . . 6 ⊢ ((𝜑 ∧ (𝑓(𝑋𝑁𝑌)𝑔 ∧ 𝑓(𝑋𝑁𝑌)ℎ)) → 𝐶 ∈ Cat) |
| 13 | 5 | adantr 480 | . . . . . 6 ⊢ ((𝜑 ∧ (𝑓(𝑋𝑁𝑌)𝑔 ∧ 𝑓(𝑋𝑁𝑌)ℎ)) → 𝑌 ∈ 𝐵) |
| 14 | 4 | adantr 480 | . . . . . 6 ⊢ ((𝜑 ∧ (𝑓(𝑋𝑁𝑌)𝑔 ∧ 𝑓(𝑋𝑁𝑌)ℎ)) → 𝑋 ∈ 𝐵) |
| 15 | 1, 2, 3, 4, 5, 11 | isinv 17667 | . . . . . . . 8 ⊢ (𝜑 → (𝑓(𝑋𝑁𝑌)𝑔 ↔ (𝑓(𝑋(Sect‘𝐶)𝑌)𝑔 ∧ 𝑔(𝑌(Sect‘𝐶)𝑋)𝑓))) |
| 16 | 15 | simplbda 499 | . . . . . . 7 ⊢ ((𝜑 ∧ 𝑓(𝑋𝑁𝑌)𝑔) → 𝑔(𝑌(Sect‘𝐶)𝑋)𝑓) |
| 17 | 16 | adantrr 717 | . . . . . 6 ⊢ ((𝜑 ∧ (𝑓(𝑋𝑁𝑌)𝑔 ∧ 𝑓(𝑋𝑁𝑌)ℎ)) → 𝑔(𝑌(Sect‘𝐶)𝑋)𝑓) |
| 18 | 1, 2, 3, 4, 5, 11 | isinv 17667 | . . . . . . . 8 ⊢ (𝜑 → (𝑓(𝑋𝑁𝑌)ℎ ↔ (𝑓(𝑋(Sect‘𝐶)𝑌)ℎ ∧ ℎ(𝑌(Sect‘𝐶)𝑋)𝑓))) |
| 19 | 18 | simprbda 498 | . . . . . . 7 ⊢ ((𝜑 ∧ 𝑓(𝑋𝑁𝑌)ℎ) → 𝑓(𝑋(Sect‘𝐶)𝑌)ℎ) |
| 20 | 19 | adantrl 716 | . . . . . 6 ⊢ ((𝜑 ∧ (𝑓(𝑋𝑁𝑌)𝑔 ∧ 𝑓(𝑋𝑁𝑌)ℎ)) → 𝑓(𝑋(Sect‘𝐶)𝑌)ℎ) |
| 21 | 1, 11, 12, 13, 14, 17, 20 | sectcan 17662 | . . . . 5 ⊢ ((𝜑 ∧ (𝑓(𝑋𝑁𝑌)𝑔 ∧ 𝑓(𝑋𝑁𝑌)ℎ)) → 𝑔 = ℎ) |
| 22 | 21 | ex 412 | . . . 4 ⊢ (𝜑 → ((𝑓(𝑋𝑁𝑌)𝑔 ∧ 𝑓(𝑋𝑁𝑌)ℎ) → 𝑔 = ℎ)) |
| 23 | 22 | alrimiv 1927 | . . 3 ⊢ (𝜑 → ∀ℎ((𝑓(𝑋𝑁𝑌)𝑔 ∧ 𝑓(𝑋𝑁𝑌)ℎ) → 𝑔 = ℎ)) |
| 24 | 23 | alrimivv 1928 | . 2 ⊢ (𝜑 → ∀𝑓∀𝑔∀ℎ((𝑓(𝑋𝑁𝑌)𝑔 ∧ 𝑓(𝑋𝑁𝑌)ℎ) → 𝑔 = ℎ)) |
| 25 | dffun2 6492 | . 2 ⊢ (Fun (𝑋𝑁𝑌) ↔ (Rel (𝑋𝑁𝑌) ∧ ∀𝑓∀𝑔∀ℎ((𝑓(𝑋𝑁𝑌)𝑔 ∧ 𝑓(𝑋𝑁𝑌)ℎ) → 𝑔 = ℎ))) | |
| 26 | 10, 24, 25 | sylanbrc 583 | 1 ⊢ (𝜑 → Fun (𝑋𝑁𝑌)) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 395 ∀wal 1538 = wceq 1540 ∈ wcel 2109 ⊆ wss 3903 class class class wbr 5092 × cxp 5617 Rel wrel 5624 Fun wfun 6476 ‘cfv 6482 (class class class)co 7349 Basecbs 17120 Hom chom 17172 Catccat 17570 Sectcsect 17651 Invcinv 17652 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2008 ax-8 2111 ax-9 2119 ax-10 2142 ax-11 2158 ax-12 2178 ax-ext 2701 ax-rep 5218 ax-sep 5235 ax-nul 5245 ax-pow 5304 ax-pr 5371 ax-un 7671 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1780 df-nf 1784 df-sb 2066 df-mo 2533 df-eu 2562 df-clab 2708 df-cleq 2721 df-clel 2803 df-nfc 2878 df-ne 2926 df-ral 3045 df-rex 3054 df-rmo 3343 df-reu 3344 df-rab 3395 df-v 3438 df-sbc 3743 df-csb 3852 df-dif 3906 df-un 3908 df-in 3910 df-ss 3920 df-nul 4285 df-if 4477 df-pw 4553 df-sn 4578 df-pr 4580 df-op 4584 df-uni 4859 df-iun 4943 df-br 5093 df-opab 5155 df-mpt 5174 df-id 5514 df-xp 5625 df-rel 5626 df-cnv 5627 df-co 5628 df-dm 5629 df-rn 5630 df-res 5631 df-ima 5632 df-iota 6438 df-fun 6484 df-fn 6485 df-f 6486 df-f1 6487 df-fo 6488 df-f1o 6489 df-fv 6490 df-riota 7306 df-ov 7352 df-oprab 7353 df-mpo 7354 df-1st 7924 df-2nd 7925 df-cat 17574 df-cid 17575 df-sect 17654 df-inv 17655 |
| This theorem is referenced by: inviso1 17673 invf 17675 invco 17678 idinv 17696 ffthiso 17838 fuciso 17885 setciso 17998 catciso 18018 rngciso 20523 ringciso 20557 rngcisoALTV 48261 ringcisoALTV 48295 |
| Copyright terms: Public domain | W3C validator |