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

Theorem mndpfo 13340
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 13335 . 2 (𝐺 ∈ Mnd → :(𝐵 × 𝐵)⟶𝐵)
4 simpr 110 . . . . 5 ((𝐺 ∈ Mnd ∧ 𝑥𝐵) → 𝑥𝐵)
5 eqid 2206 . . . . . . 7 (0g𝐺) = (0g𝐺)
61, 5mndidcl 13332 . . . . . 6 (𝐺 ∈ Mnd → (0g𝐺) ∈ 𝐵)
76adantr 276 . . . . 5 ((𝐺 ∈ Mnd ∧ 𝑥𝐵) → (0g𝐺) ∈ 𝐵)
8 eqid 2206 . . . . . . 7 (+g𝐺) = (+g𝐺)
91, 8, 5mndrid 13338 . . . . . 6 ((𝐺 ∈ Mnd ∧ 𝑥𝐵) → (𝑥(+g𝐺)(0g𝐺)) = 𝑥)
109eqcomd 2212 . . . . 5 ((𝐺 ∈ Mnd ∧ 𝑥𝐵) → 𝑥 = (𝑥(+g𝐺)(0g𝐺)))
11 rspceov 5999 . . . . 5 ((𝑥𝐵 ∧ (0g𝐺) ∈ 𝐵𝑥 = (𝑥(+g𝐺)(0g𝐺))) → ∃𝑦𝐵𝑧𝐵 𝑥 = (𝑦(+g𝐺)𝑧))
124, 7, 10, 11syl3anc 1250 . . . 4 ((𝐺 ∈ Mnd ∧ 𝑥𝐵) → ∃𝑦𝐵𝑧𝐵 𝑥 = (𝑦(+g𝐺)𝑧))
131, 8, 2plusfvalg 13265 . . . . . . . . 9 ((𝐺 ∈ Mnd ∧ 𝑦𝐵𝑧𝐵) → (𝑦 𝑧) = (𝑦(+g𝐺)𝑧))
1413eqeq2d 2218 . . . . . . . 8 ((𝐺 ∈ Mnd ∧ 𝑦𝐵𝑧𝐵) → (𝑥 = (𝑦 𝑧) ↔ 𝑥 = (𝑦(+g𝐺)𝑧)))
15143expa 1206 . . . . . . 7 (((𝐺 ∈ Mnd ∧ 𝑦𝐵) ∧ 𝑧𝐵) → (𝑥 = (𝑦 𝑧) ↔ 𝑥 = (𝑦(+g𝐺)𝑧)))
1615rexbidva 2504 . . . . . 6 ((𝐺 ∈ Mnd ∧ 𝑦𝐵) → (∃𝑧𝐵 𝑥 = (𝑦 𝑧) ↔ ∃𝑧𝐵 𝑥 = (𝑦(+g𝐺)𝑧)))
1716rexbidva 2504 . . . . 5 (𝐺 ∈ Mnd → (∃𝑦𝐵𝑧𝐵 𝑥 = (𝑦 𝑧) ↔ ∃𝑦𝐵𝑧𝐵 𝑥 = (𝑦(+g𝐺)𝑧)))
1817adantr 276 . . . 4 ((𝐺 ∈ Mnd ∧ 𝑥𝐵) → (∃𝑦𝐵𝑧𝐵 𝑥 = (𝑦 𝑧) ↔ ∃𝑦𝐵𝑧𝐵 𝑥 = (𝑦(+g𝐺)𝑧)))
1912, 18mpbird 167 . . 3 ((𝐺 ∈ Mnd ∧ 𝑥𝐵) → ∃𝑦𝐵𝑧𝐵 𝑥 = (𝑦 𝑧))
2019ralrimiva 2580 . 2 (𝐺 ∈ Mnd → ∀𝑥𝐵𝑦𝐵𝑧𝐵 𝑥 = (𝑦 𝑧))
21 foov 6105 . 2 ( :(𝐵 × 𝐵)–onto𝐵 ↔ ( :(𝐵 × 𝐵)⟶𝐵 ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 𝑥 = (𝑦 𝑧)))
223, 20, 21sylanbrc 417 1 (𝐺 ∈ Mnd → :(𝐵 × 𝐵)–onto𝐵)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104  wb 105  w3a 981   = wceq 1373  wcel 2177  wral 2485  wrex 2486   × cxp 4680  wf 5275  ontowfo 5277  cfv 5279  (class class class)co 5956  Basecbs 12902  +gcplusg 12979  0gc0g 13158  +𝑓cplusf 13255  Mndcmnd 13318
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 711  ax-5 1471  ax-7 1472  ax-gen 1473  ax-ie1 1517  ax-ie2 1518  ax-8 1528  ax-10 1529  ax-11 1530  ax-i12 1531  ax-bndl 1533  ax-4 1534  ax-17 1550  ax-i9 1554  ax-ial 1558  ax-i5r 1559  ax-13 2179  ax-14 2180  ax-ext 2188  ax-coll 4166  ax-sep 4169  ax-pow 4225  ax-pr 4260  ax-un 4487  ax-setind 4592  ax-cnex 8031  ax-resscn 8032  ax-1re 8034  ax-addrcl 8037
This theorem depends on definitions:  df-bi 117  df-3an 983  df-tru 1376  df-fal 1379  df-nf 1485  df-sb 1787  df-eu 2058  df-mo 2059  df-clab 2193  df-cleq 2199  df-clel 2202  df-nfc 2338  df-ne 2378  df-ral 2490  df-rex 2491  df-reu 2492  df-rmo 2493  df-rab 2494  df-v 2775  df-sbc 3003  df-csb 3098  df-dif 3172  df-un 3174  df-in 3176  df-ss 3183  df-pw 3622  df-sn 3643  df-pr 3644  df-op 3646  df-uni 3856  df-int 3891  df-iun 3934  df-br 4051  df-opab 4113  df-mpt 4114  df-id 4347  df-xp 4688  df-rel 4689  df-cnv 4690  df-co 4691  df-dm 4692  df-rn 4693  df-res 4694  df-ima 4695  df-iota 5240  df-fun 5281  df-fn 5282  df-f 5283  df-f1 5284  df-fo 5285  df-f1o 5286  df-fv 5287  df-riota 5911  df-ov 5959  df-oprab 5960  df-mpo 5961  df-1st 6238  df-2nd 6239  df-inn 9052  df-2 9110  df-ndx 12905  df-slot 12906  df-base 12908  df-plusg 12992  df-0g 13160  df-plusf 13257  df-mgm 13258  df-sgrp 13304  df-mnd 13319
This theorem is referenced by:  mndfo  13341  grpplusfo  13418
  Copyright terms: Public domain W3C validator