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

Theorem issubrg 18761
Description: The subring predicate. (Contributed by Stefan O'Rear, 27-Nov-2014.) (Proof shortened by AV, 12-Oct-2020.)
Hypotheses
Ref Expression
issubrg.b 𝐵 = (Base‘𝑅)
issubrg.i 1 = (1r𝑅)
Assertion
Ref Expression
issubrg (𝐴 ∈ (SubRing‘𝑅) ↔ ((𝑅 ∈ Ring ∧ (𝑅s 𝐴) ∈ Ring) ∧ (𝐴𝐵1𝐴)))

Proof of Theorem issubrg
Dummy variables 𝑠 𝑟 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-subrg 18759 . . 3 SubRing = (𝑟 ∈ Ring ↦ {𝑠 ∈ 𝒫 (Base‘𝑟) ∣ ((𝑟s 𝑠) ∈ Ring ∧ (1r𝑟) ∈ 𝑠)})
21mptrcl 6276 . 2 (𝐴 ∈ (SubRing‘𝑅) → 𝑅 ∈ Ring)
3 simpll 789 . 2 (((𝑅 ∈ Ring ∧ (𝑅s 𝐴) ∈ Ring) ∧ (𝐴𝐵1𝐴)) → 𝑅 ∈ Ring)
4 fveq2 6178 . . . . . . . 8 (𝑟 = 𝑅 → (Base‘𝑟) = (Base‘𝑅))
5 issubrg.b . . . . . . . 8 𝐵 = (Base‘𝑅)
64, 5syl6eqr 2672 . . . . . . 7 (𝑟 = 𝑅 → (Base‘𝑟) = 𝐵)
76pweqd 4154 . . . . . 6 (𝑟 = 𝑅 → 𝒫 (Base‘𝑟) = 𝒫 𝐵)
8 oveq1 6642 . . . . . . . 8 (𝑟 = 𝑅 → (𝑟s 𝑠) = (𝑅s 𝑠))
98eleq1d 2684 . . . . . . 7 (𝑟 = 𝑅 → ((𝑟s 𝑠) ∈ Ring ↔ (𝑅s 𝑠) ∈ Ring))
10 fveq2 6178 . . . . . . . . 9 (𝑟 = 𝑅 → (1r𝑟) = (1r𝑅))
11 issubrg.i . . . . . . . . 9 1 = (1r𝑅)
1210, 11syl6eqr 2672 . . . . . . . 8 (𝑟 = 𝑅 → (1r𝑟) = 1 )
1312eleq1d 2684 . . . . . . 7 (𝑟 = 𝑅 → ((1r𝑟) ∈ 𝑠1𝑠))
149, 13anbi12d 746 . . . . . 6 (𝑟 = 𝑅 → (((𝑟s 𝑠) ∈ Ring ∧ (1r𝑟) ∈ 𝑠) ↔ ((𝑅s 𝑠) ∈ Ring ∧ 1𝑠)))
157, 14rabeqbidv 3190 . . . . 5 (𝑟 = 𝑅 → {𝑠 ∈ 𝒫 (Base‘𝑟) ∣ ((𝑟s 𝑠) ∈ Ring ∧ (1r𝑟) ∈ 𝑠)} = {𝑠 ∈ 𝒫 𝐵 ∣ ((𝑅s 𝑠) ∈ Ring ∧ 1𝑠)})
16 fvex 6188 . . . . . . . 8 (Base‘𝑅) ∈ V
175, 16eqeltri 2695 . . . . . . 7 𝐵 ∈ V
1817pwex 4839 . . . . . 6 𝒫 𝐵 ∈ V
1918rabex 4804 . . . . 5 {𝑠 ∈ 𝒫 𝐵 ∣ ((𝑅s 𝑠) ∈ Ring ∧ 1𝑠)} ∈ V
2015, 1, 19fvmpt 6269 . . . 4 (𝑅 ∈ Ring → (SubRing‘𝑅) = {𝑠 ∈ 𝒫 𝐵 ∣ ((𝑅s 𝑠) ∈ Ring ∧ 1𝑠)})
2120eleq2d 2685 . . 3 (𝑅 ∈ Ring → (𝐴 ∈ (SubRing‘𝑅) ↔ 𝐴 ∈ {𝑠 ∈ 𝒫 𝐵 ∣ ((𝑅s 𝑠) ∈ Ring ∧ 1𝑠)}))
22 oveq2 6643 . . . . . . . 8 (𝑠 = 𝐴 → (𝑅s 𝑠) = (𝑅s 𝐴))
2322eleq1d 2684 . . . . . . 7 (𝑠 = 𝐴 → ((𝑅s 𝑠) ∈ Ring ↔ (𝑅s 𝐴) ∈ Ring))
24 eleq2 2688 . . . . . . 7 (𝑠 = 𝐴 → ( 1𝑠1𝐴))
2523, 24anbi12d 746 . . . . . 6 (𝑠 = 𝐴 → (((𝑅s 𝑠) ∈ Ring ∧ 1𝑠) ↔ ((𝑅s 𝐴) ∈ Ring ∧ 1𝐴)))
2625elrab 3357 . . . . 5 (𝐴 ∈ {𝑠 ∈ 𝒫 𝐵 ∣ ((𝑅s 𝑠) ∈ Ring ∧ 1𝑠)} ↔ (𝐴 ∈ 𝒫 𝐵 ∧ ((𝑅s 𝐴) ∈ Ring ∧ 1𝐴)))
2717elpw2 4819 . . . . . 6 (𝐴 ∈ 𝒫 𝐵𝐴𝐵)
2827anbi1i 730 . . . . 5 ((𝐴 ∈ 𝒫 𝐵 ∧ ((𝑅s 𝐴) ∈ Ring ∧ 1𝐴)) ↔ (𝐴𝐵 ∧ ((𝑅s 𝐴) ∈ Ring ∧ 1𝐴)))
29 an12 837 . . . . 5 ((𝐴𝐵 ∧ ((𝑅s 𝐴) ∈ Ring ∧ 1𝐴)) ↔ ((𝑅s 𝐴) ∈ Ring ∧ (𝐴𝐵1𝐴)))
3026, 28, 293bitri 286 . . . 4 (𝐴 ∈ {𝑠 ∈ 𝒫 𝐵 ∣ ((𝑅s 𝑠) ∈ Ring ∧ 1𝑠)} ↔ ((𝑅s 𝐴) ∈ Ring ∧ (𝐴𝐵1𝐴)))
31 ibar 525 . . . . 5 (𝑅 ∈ Ring → ((𝑅s 𝐴) ∈ Ring ↔ (𝑅 ∈ Ring ∧ (𝑅s 𝐴) ∈ Ring)))
3231anbi1d 740 . . . 4 (𝑅 ∈ Ring → (((𝑅s 𝐴) ∈ Ring ∧ (𝐴𝐵1𝐴)) ↔ ((𝑅 ∈ Ring ∧ (𝑅s 𝐴) ∈ Ring) ∧ (𝐴𝐵1𝐴))))
3330, 32syl5bb 272 . . 3 (𝑅 ∈ Ring → (𝐴 ∈ {𝑠 ∈ 𝒫 𝐵 ∣ ((𝑅s 𝑠) ∈ Ring ∧ 1𝑠)} ↔ ((𝑅 ∈ Ring ∧ (𝑅s 𝐴) ∈ Ring) ∧ (𝐴𝐵1𝐴))))
3421, 33bitrd 268 . 2 (𝑅 ∈ Ring → (𝐴 ∈ (SubRing‘𝑅) ↔ ((𝑅 ∈ Ring ∧ (𝑅s 𝐴) ∈ Ring) ∧ (𝐴𝐵1𝐴))))
352, 3, 34pm5.21nii 368 1 (𝐴 ∈ (SubRing‘𝑅) ↔ ((𝑅 ∈ Ring ∧ (𝑅s 𝐴) ∈ Ring) ∧ (𝐴𝐵1𝐴)))
Colors of variables: wff setvar class
Syntax hints:  wb 196  wa 384   = wceq 1481  wcel 1988  {crab 2913  Vcvv 3195  wss 3567  𝒫 cpw 4149  cfv 5876  (class class class)co 6635  Basecbs 15838  s cress 15839  1rcur 18482  Ringcrg 18528  SubRingcsubrg 18757
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1720  ax-4 1735  ax-5 1837  ax-6 1886  ax-7 1933  ax-8 1990  ax-9 1997  ax-10 2017  ax-11 2032  ax-12 2045  ax-13 2244  ax-ext 2600  ax-sep 4772  ax-nul 4780  ax-pow 4834  ax-pr 4897
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1484  df-ex 1703  df-nf 1708  df-sb 1879  df-eu 2472  df-mo 2473  df-clab 2607  df-cleq 2613  df-clel 2616  df-nfc 2751  df-ral 2914  df-rex 2915  df-rab 2918  df-v 3197  df-sbc 3430  df-dif 3570  df-un 3572  df-in 3574  df-ss 3581  df-nul 3908  df-if 4078  df-pw 4151  df-sn 4169  df-pr 4171  df-op 4175  df-uni 4428  df-br 4645  df-opab 4704  df-mpt 4721  df-id 5014  df-xp 5110  df-rel 5111  df-cnv 5112  df-co 5113  df-dm 5114  df-rn 5115  df-res 5116  df-ima 5117  df-iota 5839  df-fun 5878  df-fv 5884  df-ov 6638  df-subrg 18759
This theorem is referenced by:  subrgss  18762  subrgid  18763  subrgring  18764  subrgrcl  18766  subrg1cl  18769  issubrg2  18781  subsubrg  18787  subrgpropd  18795  issubassa  19305  subrgpsr  19400  cphsubrglem  22958
  Copyright terms: Public domain W3C validator