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

Theorem isnzr2 14351
Description: Equivalent characterization of nonzero rings: they have at least two elements. (Contributed by Stefan O'Rear, 24-Feb-2015.)
Hypothesis
Ref Expression
isnzr2.b 𝐵 = (Base‘𝑅)
Assertion
Ref Expression
isnzr2 (𝑅 ∈ NzRing ↔ (𝑅 ∈ Ring ∧ 2o𝐵))

Proof of Theorem isnzr2
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2234 . . 3 (1r𝑅) = (1r𝑅)
2 eqid 2234 . . 3 (0g𝑅) = (0g𝑅)
31, 2isnzr 14348 . 2 (𝑅 ∈ NzRing ↔ (𝑅 ∈ Ring ∧ (1r𝑅) ≠ (0g𝑅)))
4 isnzr2.b . . . . . . . . 9 𝐵 = (Base‘𝑅)
54, 1ringidcl 14185 . . . . . . . 8 (𝑅 ∈ Ring → (1r𝑅) ∈ 𝐵)
65adantr 276 . . . . . . 7 ((𝑅 ∈ Ring ∧ (1r𝑅) ≠ (0g𝑅)) → (1r𝑅) ∈ 𝐵)
74, 2ring0cl 14186 . . . . . . . 8 (𝑅 ∈ Ring → (0g𝑅) ∈ 𝐵)
87adantr 276 . . . . . . 7 ((𝑅 ∈ Ring ∧ (1r𝑅) ≠ (0g𝑅)) → (0g𝑅) ∈ 𝐵)
9 simpr 110 . . . . . . 7 ((𝑅 ∈ Ring ∧ (1r𝑅) ≠ (0g𝑅)) → (1r𝑅) ≠ (0g𝑅))
10 df-ne 2415 . . . . . . . . 9 (𝑥𝑦 ↔ ¬ 𝑥 = 𝑦)
11 neeq1 2427 . . . . . . . . 9 (𝑥 = (1r𝑅) → (𝑥𝑦 ↔ (1r𝑅) ≠ 𝑦))
1210, 11bitr3id 194 . . . . . . . 8 (𝑥 = (1r𝑅) → (¬ 𝑥 = 𝑦 ↔ (1r𝑅) ≠ 𝑦))
13 neeq2 2428 . . . . . . . 8 (𝑦 = (0g𝑅) → ((1r𝑅) ≠ 𝑦 ↔ (1r𝑅) ≠ (0g𝑅)))
1412, 13rspc2ev 2938 . . . . . . 7 (((1r𝑅) ∈ 𝐵 ∧ (0g𝑅) ∈ 𝐵 ∧ (1r𝑅) ≠ (0g𝑅)) → ∃𝑥𝐵𝑦𝐵 ¬ 𝑥 = 𝑦)
156, 8, 9, 14syl3anc 1274 . . . . . 6 ((𝑅 ∈ Ring ∧ (1r𝑅) ≠ (0g𝑅)) → ∃𝑥𝐵𝑦𝐵 ¬ 𝑥 = 𝑦)
1615ex 115 . . . . 5 (𝑅 ∈ Ring → ((1r𝑅) ≠ (0g𝑅) → ∃𝑥𝐵𝑦𝐵 ¬ 𝑥 = 𝑦))
174, 1, 2ring1eq0 14213 . . . . . . . 8 ((𝑅 ∈ Ring ∧ 𝑥𝐵𝑦𝐵) → ((1r𝑅) = (0g𝑅) → 𝑥 = 𝑦))
18173expb 1231 . . . . . . 7 ((𝑅 ∈ Ring ∧ (𝑥𝐵𝑦𝐵)) → ((1r𝑅) = (0g𝑅) → 𝑥 = 𝑦))
1918necon3bd 2457 . . . . . 6 ((𝑅 ∈ Ring ∧ (𝑥𝐵𝑦𝐵)) → (¬ 𝑥 = 𝑦 → (1r𝑅) ≠ (0g𝑅)))
2019rexlimdvva 2670 . . . . 5 (𝑅 ∈ Ring → (∃𝑥𝐵𝑦𝐵 ¬ 𝑥 = 𝑦 → (1r𝑅) ≠ (0g𝑅)))
2116, 20impbid 129 . . . 4 (𝑅 ∈ Ring → ((1r𝑅) ≠ (0g𝑅) ↔ ∃𝑥𝐵𝑦𝐵 ¬ 𝑥 = 𝑦))
22 simpl 109 . . . . . . . . . . . 12 ((𝑥𝐵 ∧ (𝑦𝐵 ∧ ¬ 𝑥 = 𝑦)) → 𝑥𝐵)
23 simprl 531 . . . . . . . . . . . 12 ((𝑥𝐵 ∧ (𝑦𝐵 ∧ ¬ 𝑥 = 𝑦)) → 𝑦𝐵)
24 simprr 533 . . . . . . . . . . . 12 ((𝑥𝐵 ∧ (𝑦𝐵 ∧ ¬ 𝑥 = 𝑦)) → ¬ 𝑥 = 𝑦)
2522, 23, 24enpr2d 7066 . . . . . . . . . . 11 ((𝑥𝐵 ∧ (𝑦𝐵 ∧ ¬ 𝑥 = 𝑦)) → {𝑥, 𝑦} ≈ 2o)
2625adantl 277 . . . . . . . . . 10 ((𝑅 ∈ Ring ∧ (𝑥𝐵 ∧ (𝑦𝐵 ∧ ¬ 𝑥 = 𝑦))) → {𝑥, 𝑦} ≈ 2o)
2726ensymd 7025 . . . . . . . . 9 ((𝑅 ∈ Ring ∧ (𝑥𝐵 ∧ (𝑦𝐵 ∧ ¬ 𝑥 = 𝑦))) → 2o ≈ {𝑥, 𝑦})
28 basfn 13292 . . . . . . . . . . . . 13 Base Fn V
29 elex 2827 . . . . . . . . . . . . 13 (𝑅 ∈ Ring → 𝑅 ∈ V)
30 funfvex 5689 . . . . . . . . . . . . . 14 ((Fun Base ∧ 𝑅 ∈ dom Base) → (Base‘𝑅) ∈ V)
3130funfni 5460 . . . . . . . . . . . . 13 ((Base Fn V ∧ 𝑅 ∈ V) → (Base‘𝑅) ∈ V)
3228, 29, 31sylancr 414 . . . . . . . . . . . 12 (𝑅 ∈ Ring → (Base‘𝑅) ∈ V)
334, 32eqeltrid 2321 . . . . . . . . . . 11 (𝑅 ∈ Ring → 𝐵 ∈ V)
34 ssdomg 7020 . . . . . . . . . . 11 (𝐵 ∈ V → ({𝑥, 𝑦} ⊆ 𝐵 → {𝑥, 𝑦} ≼ 𝐵))
3533, 34syl 14 . . . . . . . . . 10 (𝑅 ∈ Ring → ({𝑥, 𝑦} ⊆ 𝐵 → {𝑥, 𝑦} ≼ 𝐵))
3622, 23prssd 3855 . . . . . . . . . 10 ((𝑥𝐵 ∧ (𝑦𝐵 ∧ ¬ 𝑥 = 𝑦)) → {𝑥, 𝑦} ⊆ 𝐵)
3735, 36impel 280 . . . . . . . . 9 ((𝑅 ∈ Ring ∧ (𝑥𝐵 ∧ (𝑦𝐵 ∧ ¬ 𝑥 = 𝑦))) → {𝑥, 𝑦} ≼ 𝐵)
38 endomtr 7032 . . . . . . . . 9 ((2o ≈ {𝑥, 𝑦} ∧ {𝑥, 𝑦} ≼ 𝐵) → 2o𝐵)
3927, 37, 38syl2anc 411 . . . . . . . 8 ((𝑅 ∈ Ring ∧ (𝑥𝐵 ∧ (𝑦𝐵 ∧ ¬ 𝑥 = 𝑦))) → 2o𝐵)
4039anassrs 400 . . . . . . 7 (((𝑅 ∈ Ring ∧ 𝑥𝐵) ∧ (𝑦𝐵 ∧ ¬ 𝑥 = 𝑦)) → 2o𝐵)
4140rexlimdvaa 2663 . . . . . 6 ((𝑅 ∈ Ring ∧ 𝑥𝐵) → (∃𝑦𝐵 ¬ 𝑥 = 𝑦 → 2o𝐵))
4241rexlimdva 2662 . . . . 5 (𝑅 ∈ Ring → (∃𝑥𝐵𝑦𝐵 ¬ 𝑥 = 𝑦 → 2o𝐵))
43 2dom 7048 . . . . 5 (2o𝐵 → ∃𝑥𝐵𝑦𝐵 ¬ 𝑥 = 𝑦)
4442, 43impbid1 142 . . . 4 (𝑅 ∈ Ring → (∃𝑥𝐵𝑦𝐵 ¬ 𝑥 = 𝑦 ↔ 2o𝐵))
4521, 44bitrd 188 . . 3 (𝑅 ∈ Ring → ((1r𝑅) ≠ (0g𝑅) ↔ 2o𝐵))
4645pm5.32i 454 . 2 ((𝑅 ∈ Ring ∧ (1r𝑅) ≠ (0g𝑅)) ↔ (𝑅 ∈ Ring ∧ 2o𝐵))
473, 46bitri 184 1 (𝑅 ∈ NzRing ↔ (𝑅 ∈ Ring ∧ 2o𝐵))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 104  wb 105   = wceq 1398  wcel 2205  wne 2414  wrex 2523  Vcvv 2815  wss 3213  {cpr 3692   class class class wbr 4111   Fn wfn 5349  cfv 5354  2oc2o 6643  cen 6975  cdom 6976  Basecbs 13233  0gc0g 13490  1rcur 14124  Ringcrg 14161  NzRingcnzr 14346
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 619  ax-in2 620  ax-io 717  ax-5 1496  ax-7 1497  ax-gen 1498  ax-ie1 1542  ax-ie2 1543  ax-8 1553  ax-10 1554  ax-11 1555  ax-i12 1556  ax-bndl 1558  ax-4 1559  ax-17 1575  ax-i9 1579  ax-ial 1583  ax-i5r 1584  ax-13 2207  ax-14 2208  ax-ext 2216  ax-coll 4227  ax-sep 4230  ax-nul 4238  ax-pow 4289  ax-pr 4324  ax-un 4556  ax-setind 4661  ax-cnex 8223  ax-resscn 8224  ax-1cn 8225  ax-1re 8226  ax-icn 8227  ax-addcl 8228  ax-addrcl 8229  ax-mulcl 8230  ax-addcom 8232  ax-addass 8234  ax-i2m1 8237  ax-0lt1 8238  ax-0id 8240  ax-rnegex 8241  ax-pre-ltirr 8244  ax-pre-ltadd 8248
This theorem depends on definitions:  df-bi 117  df-3an 1007  df-tru 1401  df-fal 1404  df-nf 1510  df-sb 1812  df-eu 2085  df-mo 2086  df-clab 2221  df-cleq 2227  df-clel 2230  df-nfc 2375  df-ne 2415  df-nel 2510  df-ral 2527  df-rex 2528  df-reu 2529  df-rmo 2530  df-rab 2531  df-v 2817  df-sbc 3045  df-csb 3141  df-dif 3215  df-un 3217  df-in 3219  df-ss 3226  df-nul 3511  df-pw 3673  df-sn 3697  df-pr 3698  df-op 3700  df-uni 3917  df-int 3952  df-iun 3995  df-br 4112  df-opab 4174  df-mpt 4175  df-tr 4211  df-id 4416  df-iord 4489  df-on 4491  df-suc 4494  df-xp 4757  df-rel 4758  df-cnv 4759  df-co 4760  df-dm 4761  df-rn 4762  df-res 4763  df-ima 4764  df-iota 5314  df-fun 5356  df-fn 5357  df-f 5358  df-f1 5359  df-fo 5360  df-f1o 5361  df-fv 5362  df-riota 6005  df-ov 6055  df-oprab 6056  df-mpo 6057  df-1o 6649  df-2o 6650  df-er 6769  df-en 6978  df-dom 6979  df-pnf 8315  df-mnf 8316  df-ltxr 8318  df-inn 9243  df-2 9301  df-3 9302  df-ndx 13236  df-slot 13237  df-base 13239  df-sets 13240  df-plusg 13324  df-mulr 13325  df-0g 13492  df-mgm 13590  df-sgrp 13636  df-mnd 13651  df-grp 13737  df-minusg 13738  df-mgp 14086  df-ur 14125  df-ring 14163  df-nzr 14347
This theorem is referenced by:  znidom  14854  znidomb  14855
  Copyright terms: Public domain W3C validator