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

Theorem mndpfo 13079
Description: The addition operation of a monoid as a function is an onto function. (Contributed by FL, 2-Nov-2009.) (Revised by Mario Carneiro, 11-Oct-2013.) (Revised by AV, 23-Jan-2020.)
Hypotheses
Ref Expression
mndpf.b 𝐵 = (Base‘𝐺)
mndpf.p = (+𝑓𝐺)
Assertion
Ref Expression
mndpfo (𝐺 ∈ Mnd → :(𝐵 × 𝐵)–onto𝐵)

Proof of Theorem mndpfo
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 mndpf.b . . 3 𝐵 = (Base‘𝐺)
2 mndpf.p . . 3 = (+𝑓𝐺)
31, 2mndplusf 13074 . 2 (𝐺 ∈ Mnd → :(𝐵 × 𝐵)⟶𝐵)
4 simpr 110 . . . . 5 ((𝐺 ∈ Mnd ∧ 𝑥𝐵) → 𝑥𝐵)
5 eqid 2196 . . . . . . 7 (0g𝐺) = (0g𝐺)
61, 5mndidcl 13071 . . . . . 6 (𝐺 ∈ Mnd → (0g𝐺) ∈ 𝐵)
76adantr 276 . . . . 5 ((𝐺 ∈ Mnd ∧ 𝑥𝐵) → (0g𝐺) ∈ 𝐵)
8 eqid 2196 . . . . . . 7 (+g𝐺) = (+g𝐺)
91, 8, 5mndrid 13077 . . . . . 6 ((𝐺 ∈ Mnd ∧ 𝑥𝐵) → (𝑥(+g𝐺)(0g𝐺)) = 𝑥)
109eqcomd 2202 . . . . 5 ((𝐺 ∈ Mnd ∧ 𝑥𝐵) → 𝑥 = (𝑥(+g𝐺)(0g𝐺)))
11 rspceov 5964 . . . . 5 ((𝑥𝐵 ∧ (0g𝐺) ∈ 𝐵𝑥 = (𝑥(+g𝐺)(0g𝐺))) → ∃𝑦𝐵𝑧𝐵 𝑥 = (𝑦(+g𝐺)𝑧))
124, 7, 10, 11syl3anc 1249 . . . 4 ((𝐺 ∈ Mnd ∧ 𝑥𝐵) → ∃𝑦𝐵𝑧𝐵 𝑥 = (𝑦(+g𝐺)𝑧))
131, 8, 2plusfvalg 13006 . . . . . . . . 9 ((𝐺 ∈ Mnd ∧ 𝑦𝐵𝑧𝐵) → (𝑦 𝑧) = (𝑦(+g𝐺)𝑧))
1413eqeq2d 2208 . . . . . . . 8 ((𝐺 ∈ Mnd ∧ 𝑦𝐵𝑧𝐵) → (𝑥 = (𝑦 𝑧) ↔ 𝑥 = (𝑦(+g𝐺)𝑧)))
15143expa 1205 . . . . . . 7 (((𝐺 ∈ Mnd ∧ 𝑦𝐵) ∧ 𝑧𝐵) → (𝑥 = (𝑦 𝑧) ↔ 𝑥 = (𝑦(+g𝐺)𝑧)))
1615rexbidva 2494 . . . . . 6 ((𝐺 ∈ Mnd ∧ 𝑦𝐵) → (∃𝑧𝐵 𝑥 = (𝑦 𝑧) ↔ ∃𝑧𝐵 𝑥 = (𝑦(+g𝐺)𝑧)))
1716rexbidva 2494 . . . . 5 (𝐺 ∈ Mnd → (∃𝑦𝐵𝑧𝐵 𝑥 = (𝑦 𝑧) ↔ ∃𝑦𝐵𝑧𝐵 𝑥 = (𝑦(+g𝐺)𝑧)))
1817adantr 276 . . . 4 ((𝐺 ∈ Mnd ∧ 𝑥𝐵) → (∃𝑦𝐵𝑧𝐵 𝑥 = (𝑦 𝑧) ↔ ∃𝑦𝐵𝑧𝐵 𝑥 = (𝑦(+g𝐺)𝑧)))
1912, 18mpbird 167 . . 3 ((𝐺 ∈ Mnd ∧ 𝑥𝐵) → ∃𝑦𝐵𝑧𝐵 𝑥 = (𝑦 𝑧))
2019ralrimiva 2570 . 2 (𝐺 ∈ Mnd → ∀𝑥𝐵𝑦𝐵𝑧𝐵 𝑥 = (𝑦 𝑧))
21 foov 6070 . 2 ( :(𝐵 × 𝐵)–onto𝐵 ↔ ( :(𝐵 × 𝐵)⟶𝐵 ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 𝑥 = (𝑦 𝑧)))
223, 20, 21sylanbrc 417 1 (𝐺 ∈ Mnd → :(𝐵 × 𝐵)–onto𝐵)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104  wb 105  w3a 980   = wceq 1364  wcel 2167  wral 2475  wrex 2476   × cxp 4661  wf 5254  ontowfo 5256  cfv 5258  (class class class)co 5922  Basecbs 12678  +gcplusg 12755  0gc0g 12927  +𝑓cplusf 12996  Mndcmnd 13057
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 615  ax-in2 616  ax-io 710  ax-5 1461  ax-7 1462  ax-gen 1463  ax-ie1 1507  ax-ie2 1508  ax-8 1518  ax-10 1519  ax-11 1520  ax-i12 1521  ax-bndl 1523  ax-4 1524  ax-17 1540  ax-i9 1544  ax-ial 1548  ax-i5r 1549  ax-13 2169  ax-14 2170  ax-ext 2178  ax-coll 4148  ax-sep 4151  ax-pow 4207  ax-pr 4242  ax-un 4468  ax-setind 4573  ax-cnex 7970  ax-resscn 7971  ax-1re 7973  ax-addrcl 7976
This theorem depends on definitions:  df-bi 117  df-3an 982  df-tru 1367  df-fal 1370  df-nf 1475  df-sb 1777  df-eu 2048  df-mo 2049  df-clab 2183  df-cleq 2189  df-clel 2192  df-nfc 2328  df-ne 2368  df-ral 2480  df-rex 2481  df-reu 2482  df-rmo 2483  df-rab 2484  df-v 2765  df-sbc 2990  df-csb 3085  df-dif 3159  df-un 3161  df-in 3163  df-ss 3170  df-pw 3607  df-sn 3628  df-pr 3629  df-op 3631  df-uni 3840  df-int 3875  df-iun 3918  df-br 4034  df-opab 4095  df-mpt 4096  df-id 4328  df-xp 4669  df-rel 4670  df-cnv 4671  df-co 4672  df-dm 4673  df-rn 4674  df-res 4675  df-ima 4676  df-iota 5219  df-fun 5260  df-fn 5261  df-f 5262  df-f1 5263  df-fo 5264  df-f1o 5265  df-fv 5266  df-riota 5877  df-ov 5925  df-oprab 5926  df-mpo 5927  df-1st 6198  df-2nd 6199  df-inn 8991  df-2 9049  df-ndx 12681  df-slot 12682  df-base 12684  df-plusg 12768  df-0g 12929  df-plusf 12998  df-mgm 12999  df-sgrp 13045  df-mnd 13058
This theorem is referenced by:  mndfo  13080  grpplusfo  13148
  Copyright terms: Public domain W3C validator