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

Theorem issrg 19743
Description: The predicate "is a semiring". (Contributed by Thierry Arnoux, 21-Mar-2018.)
Hypotheses
Ref Expression
issrg.b 𝐵 = (Base‘𝑅)
issrg.g 𝐺 = (mulGrp‘𝑅)
issrg.p + = (+g𝑅)
issrg.t · = (.r𝑅)
issrg.0 0 = (0g𝑅)
Assertion
Ref Expression
issrg (𝑅 ∈ SRing ↔ (𝑅 ∈ CMnd ∧ 𝐺 ∈ Mnd ∧ ∀𝑥𝐵 (∀𝑦𝐵𝑧𝐵 ((𝑥 · (𝑦 + 𝑧)) = ((𝑥 · 𝑦) + (𝑥 · 𝑧)) ∧ ((𝑥 + 𝑦) · 𝑧) = ((𝑥 · 𝑧) + (𝑦 · 𝑧))) ∧ (( 0 · 𝑥) = 0 ∧ (𝑥 · 0 ) = 0 ))))
Distinct variable groups:   𝑥,𝑦,𝑧, +   𝑥, 0 ,𝑦,𝑧   𝑥, · ,𝑦,𝑧   𝑥,𝐵,𝑦,𝑧   𝑥,𝑅,𝑦,𝑧
Allowed substitution hints:   𝐺(𝑥,𝑦,𝑧)

Proof of Theorem issrg
Dummy variables 𝑛 𝑏 𝑝 𝑟 𝑡 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 issrg.g . . . . . 6 𝐺 = (mulGrp‘𝑅)
21eleq1i 2829 . . . . 5 (𝐺 ∈ Mnd ↔ (mulGrp‘𝑅) ∈ Mnd)
32bicomi 223 . . . 4 ((mulGrp‘𝑅) ∈ Mnd ↔ 𝐺 ∈ Mnd)
4 issrg.b . . . . . 6 𝐵 = (Base‘𝑅)
54fvexi 6788 . . . . 5 𝐵 ∈ V
6 issrg.p . . . . . 6 + = (+g𝑅)
76fvexi 6788 . . . . 5 + ∈ V
8 issrg.t . . . . . . . 8 · = (.r𝑅)
98fvexi 6788 . . . . . . 7 · ∈ V
109a1i 11 . . . . . 6 ((𝑏 = 𝐵𝑝 = + ) → · ∈ V)
11 issrg.0 . . . . . . . . 9 0 = (0g𝑅)
1211fvexi 6788 . . . . . . . 8 0 ∈ V
1312a1i 11 . . . . . . 7 (((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) → 0 ∈ V)
14 simplll 772 . . . . . . . 8 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → 𝑏 = 𝐵)
15 simplr 766 . . . . . . . . . . . . . 14 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → 𝑡 = · )
16 eqidd 2739 . . . . . . . . . . . . . 14 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → 𝑥 = 𝑥)
17 simpllr 773 . . . . . . . . . . . . . . 15 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → 𝑝 = + )
1817oveqd 7292 . . . . . . . . . . . . . 14 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → (𝑦𝑝𝑧) = (𝑦 + 𝑧))
1915, 16, 18oveq123d 7296 . . . . . . . . . . . . 13 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → (𝑥𝑡(𝑦𝑝𝑧)) = (𝑥 · (𝑦 + 𝑧)))
2015oveqd 7292 . . . . . . . . . . . . . 14 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → (𝑥𝑡𝑦) = (𝑥 · 𝑦))
2115oveqd 7292 . . . . . . . . . . . . . 14 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → (𝑥𝑡𝑧) = (𝑥 · 𝑧))
2217, 20, 21oveq123d 7296 . . . . . . . . . . . . 13 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) = ((𝑥 · 𝑦) + (𝑥 · 𝑧)))
2319, 22eqeq12d 2754 . . . . . . . . . . . 12 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → ((𝑥𝑡(𝑦𝑝𝑧)) = ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) ↔ (𝑥 · (𝑦 + 𝑧)) = ((𝑥 · 𝑦) + (𝑥 · 𝑧))))
2417oveqd 7292 . . . . . . . . . . . . . 14 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → (𝑥𝑝𝑦) = (𝑥 + 𝑦))
25 eqidd 2739 . . . . . . . . . . . . . 14 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → 𝑧 = 𝑧)
2615, 24, 25oveq123d 7296 . . . . . . . . . . . . 13 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → ((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥 + 𝑦) · 𝑧))
2715oveqd 7292 . . . . . . . . . . . . . 14 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → (𝑦𝑡𝑧) = (𝑦 · 𝑧))
2817, 21, 27oveq123d 7296 . . . . . . . . . . . . 13 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧)) = ((𝑥 · 𝑧) + (𝑦 · 𝑧)))
2926, 28eqeq12d 2754 . . . . . . . . . . . 12 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → (((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧)) ↔ ((𝑥 + 𝑦) · 𝑧) = ((𝑥 · 𝑧) + (𝑦 · 𝑧))))
3023, 29anbi12d 631 . . . . . . . . . . 11 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → (((𝑥𝑡(𝑦𝑝𝑧)) = ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) ∧ ((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧))) ↔ ((𝑥 · (𝑦 + 𝑧)) = ((𝑥 · 𝑦) + (𝑥 · 𝑧)) ∧ ((𝑥 + 𝑦) · 𝑧) = ((𝑥 · 𝑧) + (𝑦 · 𝑧)))))
3114, 30raleqbidv 3336 . . . . . . . . . 10 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → (∀𝑧𝑏 ((𝑥𝑡(𝑦𝑝𝑧)) = ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) ∧ ((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧))) ↔ ∀𝑧𝐵 ((𝑥 · (𝑦 + 𝑧)) = ((𝑥 · 𝑦) + (𝑥 · 𝑧)) ∧ ((𝑥 + 𝑦) · 𝑧) = ((𝑥 · 𝑧) + (𝑦 · 𝑧)))))
3214, 31raleqbidv 3336 . . . . . . . . 9 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → (∀𝑦𝑏𝑧𝑏 ((𝑥𝑡(𝑦𝑝𝑧)) = ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) ∧ ((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧))) ↔ ∀𝑦𝐵𝑧𝐵 ((𝑥 · (𝑦 + 𝑧)) = ((𝑥 · 𝑦) + (𝑥 · 𝑧)) ∧ ((𝑥 + 𝑦) · 𝑧) = ((𝑥 · 𝑧) + (𝑦 · 𝑧)))))
33 simpr 485 . . . . . . . . . . . 12 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → 𝑛 = 0 )
3415, 33, 16oveq123d 7296 . . . . . . . . . . 11 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → (𝑛𝑡𝑥) = ( 0 · 𝑥))
3534, 33eqeq12d 2754 . . . . . . . . . 10 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → ((𝑛𝑡𝑥) = 𝑛 ↔ ( 0 · 𝑥) = 0 ))
3615, 16, 33oveq123d 7296 . . . . . . . . . . 11 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → (𝑥𝑡𝑛) = (𝑥 · 0 ))
3736, 33eqeq12d 2754 . . . . . . . . . 10 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → ((𝑥𝑡𝑛) = 𝑛 ↔ (𝑥 · 0 ) = 0 ))
3835, 37anbi12d 631 . . . . . . . . 9 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → (((𝑛𝑡𝑥) = 𝑛 ∧ (𝑥𝑡𝑛) = 𝑛) ↔ (( 0 · 𝑥) = 0 ∧ (𝑥 · 0 ) = 0 )))
3932, 38anbi12d 631 . . . . . . . 8 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → ((∀𝑦𝑏𝑧𝑏 ((𝑥𝑡(𝑦𝑝𝑧)) = ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) ∧ ((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧))) ∧ ((𝑛𝑡𝑥) = 𝑛 ∧ (𝑥𝑡𝑛) = 𝑛)) ↔ (∀𝑦𝐵𝑧𝐵 ((𝑥 · (𝑦 + 𝑧)) = ((𝑥 · 𝑦) + (𝑥 · 𝑧)) ∧ ((𝑥 + 𝑦) · 𝑧) = ((𝑥 · 𝑧) + (𝑦 · 𝑧))) ∧ (( 0 · 𝑥) = 0 ∧ (𝑥 · 0 ) = 0 ))))
4014, 39raleqbidv 3336 . . . . . . 7 ((((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) ∧ 𝑛 = 0 ) → (∀𝑥𝑏 (∀𝑦𝑏𝑧𝑏 ((𝑥𝑡(𝑦𝑝𝑧)) = ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) ∧ ((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧))) ∧ ((𝑛𝑡𝑥) = 𝑛 ∧ (𝑥𝑡𝑛) = 𝑛)) ↔ ∀𝑥𝐵 (∀𝑦𝐵𝑧𝐵 ((𝑥 · (𝑦 + 𝑧)) = ((𝑥 · 𝑦) + (𝑥 · 𝑧)) ∧ ((𝑥 + 𝑦) · 𝑧) = ((𝑥 · 𝑧) + (𝑦 · 𝑧))) ∧ (( 0 · 𝑥) = 0 ∧ (𝑥 · 0 ) = 0 ))))
4113, 40sbcied 3761 . . . . . 6 (((𝑏 = 𝐵𝑝 = + ) ∧ 𝑡 = · ) → ([ 0 / 𝑛]𝑥𝑏 (∀𝑦𝑏𝑧𝑏 ((𝑥𝑡(𝑦𝑝𝑧)) = ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) ∧ ((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧))) ∧ ((𝑛𝑡𝑥) = 𝑛 ∧ (𝑥𝑡𝑛) = 𝑛)) ↔ ∀𝑥𝐵 (∀𝑦𝐵𝑧𝐵 ((𝑥 · (𝑦 + 𝑧)) = ((𝑥 · 𝑦) + (𝑥 · 𝑧)) ∧ ((𝑥 + 𝑦) · 𝑧) = ((𝑥 · 𝑧) + (𝑦 · 𝑧))) ∧ (( 0 · 𝑥) = 0 ∧ (𝑥 · 0 ) = 0 ))))
4210, 41sbcied 3761 . . . . 5 ((𝑏 = 𝐵𝑝 = + ) → ([ · / 𝑡][ 0 / 𝑛]𝑥𝑏 (∀𝑦𝑏𝑧𝑏 ((𝑥𝑡(𝑦𝑝𝑧)) = ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) ∧ ((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧))) ∧ ((𝑛𝑡𝑥) = 𝑛 ∧ (𝑥𝑡𝑛) = 𝑛)) ↔ ∀𝑥𝐵 (∀𝑦𝐵𝑧𝐵 ((𝑥 · (𝑦 + 𝑧)) = ((𝑥 · 𝑦) + (𝑥 · 𝑧)) ∧ ((𝑥 + 𝑦) · 𝑧) = ((𝑥 · 𝑧) + (𝑦 · 𝑧))) ∧ (( 0 · 𝑥) = 0 ∧ (𝑥 · 0 ) = 0 ))))
435, 7, 42sbc2ie 3799 . . . 4 ([𝐵 / 𝑏][ + / 𝑝][ · / 𝑡][ 0 / 𝑛]𝑥𝑏 (∀𝑦𝑏𝑧𝑏 ((𝑥𝑡(𝑦𝑝𝑧)) = ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) ∧ ((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧))) ∧ ((𝑛𝑡𝑥) = 𝑛 ∧ (𝑥𝑡𝑛) = 𝑛)) ↔ ∀𝑥𝐵 (∀𝑦𝐵𝑧𝐵 ((𝑥 · (𝑦 + 𝑧)) = ((𝑥 · 𝑦) + (𝑥 · 𝑧)) ∧ ((𝑥 + 𝑦) · 𝑧) = ((𝑥 · 𝑧) + (𝑦 · 𝑧))) ∧ (( 0 · 𝑥) = 0 ∧ (𝑥 · 0 ) = 0 )))
443, 43anbi12i 627 . . 3 (((mulGrp‘𝑅) ∈ Mnd ∧ [𝐵 / 𝑏][ + / 𝑝][ · / 𝑡][ 0 / 𝑛]𝑥𝑏 (∀𝑦𝑏𝑧𝑏 ((𝑥𝑡(𝑦𝑝𝑧)) = ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) ∧ ((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧))) ∧ ((𝑛𝑡𝑥) = 𝑛 ∧ (𝑥𝑡𝑛) = 𝑛))) ↔ (𝐺 ∈ Mnd ∧ ∀𝑥𝐵 (∀𝑦𝐵𝑧𝐵 ((𝑥 · (𝑦 + 𝑧)) = ((𝑥 · 𝑦) + (𝑥 · 𝑧)) ∧ ((𝑥 + 𝑦) · 𝑧) = ((𝑥 · 𝑧) + (𝑦 · 𝑧))) ∧ (( 0 · 𝑥) = 0 ∧ (𝑥 · 0 ) = 0 ))))
4544anbi2i 623 . 2 ((𝑅 ∈ CMnd ∧ ((mulGrp‘𝑅) ∈ Mnd ∧ [𝐵 / 𝑏][ + / 𝑝][ · / 𝑡][ 0 / 𝑛]𝑥𝑏 (∀𝑦𝑏𝑧𝑏 ((𝑥𝑡(𝑦𝑝𝑧)) = ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) ∧ ((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧))) ∧ ((𝑛𝑡𝑥) = 𝑛 ∧ (𝑥𝑡𝑛) = 𝑛)))) ↔ (𝑅 ∈ CMnd ∧ (𝐺 ∈ Mnd ∧ ∀𝑥𝐵 (∀𝑦𝐵𝑧𝐵 ((𝑥 · (𝑦 + 𝑧)) = ((𝑥 · 𝑦) + (𝑥 · 𝑧)) ∧ ((𝑥 + 𝑦) · 𝑧) = ((𝑥 · 𝑧) + (𝑦 · 𝑧))) ∧ (( 0 · 𝑥) = 0 ∧ (𝑥 · 0 ) = 0 )))))
46 fveq2 6774 . . . . 5 (𝑟 = 𝑅 → (mulGrp‘𝑟) = (mulGrp‘𝑅))
4746eleq1d 2823 . . . 4 (𝑟 = 𝑅 → ((mulGrp‘𝑟) ∈ Mnd ↔ (mulGrp‘𝑅) ∈ Mnd))
48 fveq2 6774 . . . . . 6 (𝑟 = 𝑅 → (Base‘𝑟) = (Base‘𝑅))
4948, 4eqtr4di 2796 . . . . 5 (𝑟 = 𝑅 → (Base‘𝑟) = 𝐵)
50 fveq2 6774 . . . . . . 7 (𝑟 = 𝑅 → (+g𝑟) = (+g𝑅))
5150, 6eqtr4di 2796 . . . . . 6 (𝑟 = 𝑅 → (+g𝑟) = + )
52 fveq2 6774 . . . . . . . 8 (𝑟 = 𝑅 → (.r𝑟) = (.r𝑅))
5352, 8eqtr4di 2796 . . . . . . 7 (𝑟 = 𝑅 → (.r𝑟) = · )
54 fveq2 6774 . . . . . . . . 9 (𝑟 = 𝑅 → (0g𝑟) = (0g𝑅))
5554, 11eqtr4di 2796 . . . . . . . 8 (𝑟 = 𝑅 → (0g𝑟) = 0 )
5655sbceq1d 3721 . . . . . . 7 (𝑟 = 𝑅 → ([(0g𝑟) / 𝑛]𝑥𝑏 (∀𝑦𝑏𝑧𝑏 ((𝑥𝑡(𝑦𝑝𝑧)) = ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) ∧ ((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧))) ∧ ((𝑛𝑡𝑥) = 𝑛 ∧ (𝑥𝑡𝑛) = 𝑛)) ↔ [ 0 / 𝑛]𝑥𝑏 (∀𝑦𝑏𝑧𝑏 ((𝑥𝑡(𝑦𝑝𝑧)) = ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) ∧ ((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧))) ∧ ((𝑛𝑡𝑥) = 𝑛 ∧ (𝑥𝑡𝑛) = 𝑛))))
5753, 56sbceqbid 3723 . . . . . 6 (𝑟 = 𝑅 → ([(.r𝑟) / 𝑡][(0g𝑟) / 𝑛]𝑥𝑏 (∀𝑦𝑏𝑧𝑏 ((𝑥𝑡(𝑦𝑝𝑧)) = ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) ∧ ((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧))) ∧ ((𝑛𝑡𝑥) = 𝑛 ∧ (𝑥𝑡𝑛) = 𝑛)) ↔ [ · / 𝑡][ 0 / 𝑛]𝑥𝑏 (∀𝑦𝑏𝑧𝑏 ((𝑥𝑡(𝑦𝑝𝑧)) = ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) ∧ ((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧))) ∧ ((𝑛𝑡𝑥) = 𝑛 ∧ (𝑥𝑡𝑛) = 𝑛))))
5851, 57sbceqbid 3723 . . . . 5 (𝑟 = 𝑅 → ([(+g𝑟) / 𝑝][(.r𝑟) / 𝑡][(0g𝑟) / 𝑛]𝑥𝑏 (∀𝑦𝑏𝑧𝑏 ((𝑥𝑡(𝑦𝑝𝑧)) = ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) ∧ ((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧))) ∧ ((𝑛𝑡𝑥) = 𝑛 ∧ (𝑥𝑡𝑛) = 𝑛)) ↔ [ + / 𝑝][ · / 𝑡][ 0 / 𝑛]𝑥𝑏 (∀𝑦𝑏𝑧𝑏 ((𝑥𝑡(𝑦𝑝𝑧)) = ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) ∧ ((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧))) ∧ ((𝑛𝑡𝑥) = 𝑛 ∧ (𝑥𝑡𝑛) = 𝑛))))
5949, 58sbceqbid 3723 . . . 4 (𝑟 = 𝑅 → ([(Base‘𝑟) / 𝑏][(+g𝑟) / 𝑝][(.r𝑟) / 𝑡][(0g𝑟) / 𝑛]𝑥𝑏 (∀𝑦𝑏𝑧𝑏 ((𝑥𝑡(𝑦𝑝𝑧)) = ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) ∧ ((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧))) ∧ ((𝑛𝑡𝑥) = 𝑛 ∧ (𝑥𝑡𝑛) = 𝑛)) ↔ [𝐵 / 𝑏][ + / 𝑝][ · / 𝑡][ 0 / 𝑛]𝑥𝑏 (∀𝑦𝑏𝑧𝑏 ((𝑥𝑡(𝑦𝑝𝑧)) = ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) ∧ ((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧))) ∧ ((𝑛𝑡𝑥) = 𝑛 ∧ (𝑥𝑡𝑛) = 𝑛))))
6047, 59anbi12d 631 . . 3 (𝑟 = 𝑅 → (((mulGrp‘𝑟) ∈ Mnd ∧ [(Base‘𝑟) / 𝑏][(+g𝑟) / 𝑝][(.r𝑟) / 𝑡][(0g𝑟) / 𝑛]𝑥𝑏 (∀𝑦𝑏𝑧𝑏 ((𝑥𝑡(𝑦𝑝𝑧)) = ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) ∧ ((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧))) ∧ ((𝑛𝑡𝑥) = 𝑛 ∧ (𝑥𝑡𝑛) = 𝑛))) ↔ ((mulGrp‘𝑅) ∈ Mnd ∧ [𝐵 / 𝑏][ + / 𝑝][ · / 𝑡][ 0 / 𝑛]𝑥𝑏 (∀𝑦𝑏𝑧𝑏 ((𝑥𝑡(𝑦𝑝𝑧)) = ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) ∧ ((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧))) ∧ ((𝑛𝑡𝑥) = 𝑛 ∧ (𝑥𝑡𝑛) = 𝑛)))))
61 df-srg 19742 . . 3 SRing = {𝑟 ∈ CMnd ∣ ((mulGrp‘𝑟) ∈ Mnd ∧ [(Base‘𝑟) / 𝑏][(+g𝑟) / 𝑝][(.r𝑟) / 𝑡][(0g𝑟) / 𝑛]𝑥𝑏 (∀𝑦𝑏𝑧𝑏 ((𝑥𝑡(𝑦𝑝𝑧)) = ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) ∧ ((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧))) ∧ ((𝑛𝑡𝑥) = 𝑛 ∧ (𝑥𝑡𝑛) = 𝑛)))}
6260, 61elrab2 3627 . 2 (𝑅 ∈ SRing ↔ (𝑅 ∈ CMnd ∧ ((mulGrp‘𝑅) ∈ Mnd ∧ [𝐵 / 𝑏][ + / 𝑝][ · / 𝑡][ 0 / 𝑛]𝑥𝑏 (∀𝑦𝑏𝑧𝑏 ((𝑥𝑡(𝑦𝑝𝑧)) = ((𝑥𝑡𝑦)𝑝(𝑥𝑡𝑧)) ∧ ((𝑥𝑝𝑦)𝑡𝑧) = ((𝑥𝑡𝑧)𝑝(𝑦𝑡𝑧))) ∧ ((𝑛𝑡𝑥) = 𝑛 ∧ (𝑥𝑡𝑛) = 𝑛)))))
63 3anass 1094 . 2 ((𝑅 ∈ CMnd ∧ 𝐺 ∈ Mnd ∧ ∀𝑥𝐵 (∀𝑦𝐵𝑧𝐵 ((𝑥 · (𝑦 + 𝑧)) = ((𝑥 · 𝑦) + (𝑥 · 𝑧)) ∧ ((𝑥 + 𝑦) · 𝑧) = ((𝑥 · 𝑧) + (𝑦 · 𝑧))) ∧ (( 0 · 𝑥) = 0 ∧ (𝑥 · 0 ) = 0 ))) ↔ (𝑅 ∈ CMnd ∧ (𝐺 ∈ Mnd ∧ ∀𝑥𝐵 (∀𝑦𝐵𝑧𝐵 ((𝑥 · (𝑦 + 𝑧)) = ((𝑥 · 𝑦) + (𝑥 · 𝑧)) ∧ ((𝑥 + 𝑦) · 𝑧) = ((𝑥 · 𝑧) + (𝑦 · 𝑧))) ∧ (( 0 · 𝑥) = 0 ∧ (𝑥 · 0 ) = 0 )))))
6445, 62, 633bitr4i 303 1 (𝑅 ∈ SRing ↔ (𝑅 ∈ CMnd ∧ 𝐺 ∈ Mnd ∧ ∀𝑥𝐵 (∀𝑦𝐵𝑧𝐵 ((𝑥 · (𝑦 + 𝑧)) = ((𝑥 · 𝑦) + (𝑥 · 𝑧)) ∧ ((𝑥 + 𝑦) · 𝑧) = ((𝑥 · 𝑧) + (𝑦 · 𝑧))) ∧ (( 0 · 𝑥) = 0 ∧ (𝑥 · 0 ) = 0 ))))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 396  w3a 1086   = wceq 1539  wcel 2106  wral 3064  Vcvv 3432  [wsbc 3716  cfv 6433  (class class class)co 7275  Basecbs 16912  +gcplusg 16962  .rcmulr 16963  0gc0g 17150  Mndcmnd 18385  CMndccmn 19386  mulGrpcmgp 19720  SRingcsrg 19741
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-nul 5230
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-iota 6391  df-fv 6441  df-ov 7278  df-srg 19742
This theorem is referenced by:  srgcmn  19744  srgmgp  19746  srgi  19747  srgrz  19762  srglz  19763  ringsrg  19828  nn0srg  20668  rge0srg  20669
  Copyright terms: Public domain W3C validator