MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  mgmn0plusgplusf Structured version   Visualization version   GIF version

Theorem mgmn0plusgplusf 18903
Description: The group addition function of a magma is the restriction of its group operation to its base set if the base set does not contain the empty set. (Contributed by AV, 16-Aug-2026.)
Hypotheses
Ref Expression
mgmn0plusgf.b 𝐵 = (Base‘𝐺)
mgmn0plusgf.p + = (+g‘𝐺)
mgmn0plusgf.g (𝜑 → 𝐺 ∈ Mgm)
mgmn0plusgf.0 (𝜑 → ∅ ∉ 𝐵)
mgmn0plusgplusf.p ⨣ = (+𝑓‘𝐺)
Assertion
Ref Expression
mgmn0plusgplusf (𝜑 → ⨣ = ( + ↾ (𝐵 × 𝐵)))

Proof of Theorem mgmn0plusgplusf
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 mgmn0plusgf.g . . . 4 (𝜑 → 𝐺 ∈ Mgm)
2 mgmn0plusgf.b . . . . 5 𝐵 = (Base‘𝐺)
3 mgmn0plusgplusf.p . . . . 5 ⨣ = (+𝑓‘𝐺)
42, 3mgmplusf 18901 . . . 4 (𝐺 ∈ Mgm → ⨣ :(𝐵 × 𝐵)⟶𝐵)
51, 4syl 18 . . 3 (𝜑 → ⨣ :(𝐵 × 𝐵)⟶𝐵)
65ffnd 6755 . 2 (𝜑 → ⨣ Fn (𝐵 × 𝐵))
7 mgmn0plusgf.p . . . 4 + = (+g‘𝐺)
8 mgmn0plusgf.0 . . . 4 (𝜑 → ∅ ∉ 𝐵)
9 eqid 2774 . . . 4 ( + ↾ (𝐵 × 𝐵)) = ( + ↾ (𝐵 × 𝐵))
102, 7, 1, 8, 9mgmn0plusgf 18902 . . 3 (𝜑 → ( + ↾ (𝐵 × 𝐵)):(𝐵 × 𝐵)⟶𝐵)
1110ffnd 6755 . 2 (𝜑 → ( + ↾ (𝐵 × 𝐵)) Fn (𝐵 × 𝐵))
12 elxp 5689 . . . 4 (𝑧 ∈ (𝐵 × 𝐵) ↔ ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)))
13 df-ov 7470 . . . . . . . . 9 (𝑥 + 𝑦) = ( + ‘⟨𝑥, 𝑦⟩)
142, 7, 3plusfval 18898 . . . . . . . . . 10 ((𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵) → (𝑥 ⨣ 𝑦) = (𝑥 + 𝑦))
1514ad2antlr 740 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ 𝑧 = ⟨𝑥, 𝑦⟩) → (𝑥 ⨣ 𝑦) = (𝑥 + 𝑦))
16 opelxpi 5703 . . . . . . . . . . 11 ((𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵) → ⟨𝑥, 𝑦⟩ ∈ (𝐵 × 𝐵))
1716ad2antlr 740 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ 𝑧 = ⟨𝑥, 𝑦⟩) → ⟨𝑥, 𝑦⟩ ∈ (𝐵 × 𝐵))
1817fvresd 6951 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ 𝑧 = ⟨𝑥, 𝑦⟩) → (( + ↾ (𝐵 × 𝐵))‘⟨𝑥, 𝑦⟩) = ( + ‘⟨𝑥, 𝑦⟩))
1913, 15, 183eqtr4a 2835 . . . . . . . 8 (((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ 𝑧 = ⟨𝑥, 𝑦⟩) → (𝑥 ⨣ 𝑦) = (( + ↾ (𝐵 × 𝐵))‘⟨𝑥, 𝑦⟩))
20 fveq2 6931 . . . . . . . . . . 11 (𝑧 = ⟨𝑥, 𝑦⟩ → ( ⨣ ‘𝑧) = ( ⨣ ‘⟨𝑥, 𝑦⟩))
21 df-ov 7470 . . . . . . . . . . 11 (𝑥 ⨣ 𝑦) = ( ⨣ ‘⟨𝑥, 𝑦⟩)
2220, 21eqtr4di 2827 . . . . . . . . . 10 (𝑧 = ⟨𝑥, 𝑦⟩ → ( ⨣ ‘𝑧) = (𝑥 ⨣ 𝑦))
23 fveq2 6931 . . . . . . . . . 10 (𝑧 = ⟨𝑥, 𝑦⟩ → (( + ↾ (𝐵 × 𝐵))‘𝑧) = (( + ↾ (𝐵 × 𝐵))‘⟨𝑥, 𝑦⟩))
2422, 23eqeq12d 2790 . . . . . . . . 9 (𝑧 = ⟨𝑥, 𝑦⟩ → (( ⨣ ‘𝑧) = (( + ↾ (𝐵 × 𝐵))‘𝑧) ↔ (𝑥 ⨣ 𝑦) = (( + ↾ (𝐵 × 𝐵))‘⟨𝑥, 𝑦⟩)))
2524adantl 487 . . . . . . . 8 (((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ 𝑧 = ⟨𝑥, 𝑦⟩) → (( ⨣ ‘𝑧) = (( + ↾ (𝐵 × 𝐵))‘𝑧) ↔ (𝑥 ⨣ 𝑦) = (( + ↾ (𝐵 × 𝐵))‘⟨𝑥, 𝑦⟩)))
2619, 25mpbird 260 . . . . . . 7 (((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ 𝑧 = ⟨𝑥, 𝑦⟩) → ( ⨣ ‘𝑧) = (( + ↾ (𝐵 × 𝐵))‘𝑧))
2726exp31 425 . . . . . 6 (𝜑 → ((𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵) → (𝑧 = ⟨𝑥, 𝑦⟩ → ( ⨣ ‘𝑧) = (( + ↾ (𝐵 × 𝐵))‘𝑧))))
2827impcomd 417 . . . . 5 (𝜑 → ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → ( ⨣ ‘𝑧) = (( + ↾ (𝐵 × 𝐵))‘𝑧)))
2928exlimdvv 1976 . . . 4 (𝜑 → (∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → ( ⨣ ‘𝑧) = (( + ↾ (𝐵 × 𝐵))‘𝑧)))
3012, 29biimtrid 245 . . 3 (𝜑 → (𝑧 ∈ (𝐵 × 𝐵) → ( ⨣ ‘𝑧) = (( + ↾ (𝐵 × 𝐵))‘𝑧)))
3130imp 412 . 2 ((𝜑 ∧ 𝑧 ∈ (𝐵 × 𝐵)) → ( ⨣ ‘𝑧) = (( + ↾ (𝐵 × 𝐵))‘𝑧))
326, 11, 31eqfnfvd 7078 1 (𝜑 → ⨣ = ( + ↾ (𝐵 × 𝐵)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572  ∃wex 1818   ∈ wcel 2156   ∉ wnel 3076  ∅c0 4288  ⟨cop 4848   × cxp 5664   ↾ cres 5668  ⟶wf 6574  ‘cfv 6578  (class class class)co 7467  Basecbs 17452  +gcplusg 17493  +𝑓cplusf 18888  Mgmcmgm 18889
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7799
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-nel 3077  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6532  df-fun 6580  df-fn 6581  df-f 6582  df-fv 6586  df-ov 7470  df-oprab 7471  df-mpo 7472  df-1st 8051  df-2nd 8052  df-plusf 18890  df-mgm 18891
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator