Metamath Proof Explorer


Theorem mgmplusfreseq

Description: If the empty set is not contained in the base set of a magma, the restriction of the addition operation to (the Cartesian square of) the base set is the functionalization of it. (Contributed by AV, 28-Jan-2020)

Ref Expression
Hypotheses plusfreseq.1 ⊢ B = Base M
plusfreseq.2 ⊢ + ˙ = + M
plusfreseq.3 ⊢ ⨣ ˙ = + 𝑓 ⁡ M
Assertion mgmplusfreseq ⊢ M ∈ Mgm ∧ ∅ ∉ B → + ˙ ↾ B × B = ⨣ ˙

Proof

Step Hyp Ref Expression
1 plusfreseq.1 ⊢ B = Base M
2 plusfreseq.2 ⊢ + ˙ = + M
3 plusfreseq.3 ⊢ ⨣ ˙ = + 𝑓 ⁡ M
4 1 3 mgmplusf ⊢ M ∈ Mgm → ⨣ ˙ : B × B ⟶ B
5 frn ⊢ ⨣ ˙ : B × B ⟶ B → ran ⁡ ⨣ ˙ ⊆ B
6 ssel ⊢ ran ⁡ ⨣ ˙ ⊆ B → ∅ ∈ ran ⁡ ⨣ ˙ → ∅ ∈ B
7 6 nelcon3d ⊢ ran ⁡ ⨣ ˙ ⊆ B → ∅ ∉ B → ∅ ∉ ran ⁡ ⨣ ˙
8 4 5 7 3syl ⊢ M ∈ Mgm → ∅ ∉ B → ∅ ∉ ran ⁡ ⨣ ˙
9 8 imp ⊢ M ∈ Mgm ∧ ∅ ∉ B → ∅ ∉ ran ⁡ ⨣ ˙
10 1 2 3 plusfreseq ⊢ ∅ ∉ ran ⁡ ⨣ ˙ → + ˙ ↾ B × B = ⨣ ˙
11 9 10 syl ⊢ M ∈ Mgm ∧ ∅ ∉ B → + ˙ ↾ B × B = ⨣ ˙