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

Theorem isnzr2 14191
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 2229 . . 3 (1r𝑅) = (1r𝑅)
2 eqid 2229 . . 3 (0g𝑅) = (0g𝑅)
31, 2isnzr 14188 . 2 (𝑅 ∈ NzRing ↔ (𝑅 ∈ Ring ∧ (1r𝑅) ≠ (0g𝑅)))
4 isnzr2.b . . . . . . . . 9 𝐵 = (Base‘𝑅)
54, 1ringidcl 14026 . . . . . . . 8 (𝑅 ∈ Ring → (1r𝑅) ∈ 𝐵)
65adantr 276 . . . . . . 7 ((𝑅 ∈ Ring ∧ (1r𝑅) ≠ (0g𝑅)) → (1r𝑅) ∈ 𝐵)
74, 2ring0cl 14027 . . . . . . . 8 (𝑅 ∈ Ring → (0g𝑅) ∈ 𝐵)
87adantr 276 . . . . . . 7 ((𝑅 ∈ Ring ∧ (1r𝑅) ≠ (0g𝑅)) → (0g𝑅) ∈ 𝐵)
9 simpr 110 . . . . . . 7 ((𝑅 ∈ Ring ∧ (1r𝑅) ≠ (0g𝑅)) → (1r𝑅) ≠ (0g𝑅))
10 df-ne 2401 . . . . . . . . 9 (𝑥𝑦 ↔ ¬ 𝑥 = 𝑦)
11 neeq1 2413 . . . . . . . . 9 (𝑥 = (1r𝑅) → (𝑥𝑦 ↔ (1r𝑅) ≠ 𝑦))
1210, 11bitr3id 194 . . . . . . . 8 (𝑥 = (1r𝑅) → (¬ 𝑥 = 𝑦 ↔ (1r𝑅) ≠ 𝑦))
13 neeq2 2414 . . . . . . . 8 (𝑦 = (0g𝑅) → ((1r𝑅) ≠ 𝑦 ↔ (1r𝑅) ≠ (0g𝑅)))
1412, 13rspc2ev 2923 . . . . . . 7 (((1r𝑅) ∈ 𝐵 ∧ (0g𝑅) ∈ 𝐵 ∧ (1r𝑅) ≠ (0g𝑅)) → ∃𝑥𝐵𝑦𝐵 ¬ 𝑥 = 𝑦)
156, 8, 9, 14syl3anc 1271 . . . . . 6 ((𝑅 ∈ Ring ∧ (1r𝑅) ≠ (0g𝑅)) → ∃𝑥𝐵𝑦𝐵 ¬ 𝑥 = 𝑦)
1615ex 115 . . . . 5 (𝑅 ∈ Ring → ((1r𝑅) ≠ (0g𝑅) → ∃𝑥𝐵𝑦𝐵 ¬ 𝑥 = 𝑦))
174, 1, 2ring1eq0 14054 . . . . . . . 8 ((𝑅 ∈ Ring ∧ 𝑥𝐵𝑦𝐵) → ((1r𝑅) = (0g𝑅) → 𝑥 = 𝑦))
18173expb 1228 . . . . . . 7 ((𝑅 ∈ Ring ∧ (𝑥𝐵𝑦𝐵)) → ((1r𝑅) = (0g𝑅) → 𝑥 = 𝑦))
1918necon3bd 2443 . . . . . 6 ((𝑅 ∈ Ring ∧ (𝑥𝐵𝑦𝐵)) → (¬ 𝑥 = 𝑦 → (1r𝑅) ≠ (0g𝑅)))
2019rexlimdvva 2656 . . . . 5 (𝑅 ∈ Ring → (∃𝑥𝐵𝑦𝐵 ¬ 𝑥 = 𝑦 → (1r𝑅) ≠ (0g𝑅)))
2116, 20impbid 129 . . . 4 (𝑅 ∈ Ring → ((1r𝑅) ≠ (0g𝑅) ↔ ∃𝑥𝐵𝑦𝐵 ¬ 𝑥 = 𝑦))
22 simpl 109 . . . . . . . . . . . 12 ((𝑥𝐵 ∧ (𝑦𝐵 ∧ ¬ 𝑥 = 𝑦)) → 𝑥𝐵)
23 simprl 529 . . . . . . . . . . . 12 ((𝑥𝐵 ∧ (𝑦𝐵 ∧ ¬ 𝑥 = 𝑦)) → 𝑦𝐵)
24 simprr 531 . . . . . . . . . . . 12 ((𝑥𝐵 ∧ (𝑦𝐵 ∧ ¬ 𝑥 = 𝑦)) → ¬ 𝑥 = 𝑦)
2522, 23, 24enpr2d 6992 . . . . . . . . . . 11 ((𝑥𝐵 ∧ (𝑦𝐵 ∧ ¬ 𝑥 = 𝑦)) → {𝑥, 𝑦} ≈ 2o)
2625adantl 277 . . . . . . . . . 10 ((𝑅 ∈ Ring ∧ (𝑥𝐵 ∧ (𝑦𝐵 ∧ ¬ 𝑥 = 𝑦))) → {𝑥, 𝑦} ≈ 2o)
2726ensymd 6952 . . . . . . . . 9 ((𝑅 ∈ Ring ∧ (𝑥𝐵 ∧ (𝑦𝐵 ∧ ¬ 𝑥 = 𝑦))) → 2o ≈ {𝑥, 𝑦})
28 basfn 13134 . . . . . . . . . . . . 13 Base Fn V
29 elex 2812 . . . . . . . . . . . . 13 (𝑅 ∈ Ring → 𝑅 ∈ V)
30 funfvex 5652 . . . . . . . . . . . . . 14 ((Fun Base ∧ 𝑅 ∈ dom Base) → (Base‘𝑅) ∈ V)
3130funfni 5429 . . . . . . . . . . . . 13 ((Base Fn V ∧ 𝑅 ∈ V) → (Base‘𝑅) ∈ V)
3228, 29, 31sylancr 414 . . . . . . . . . . . 12 (𝑅 ∈ Ring → (Base‘𝑅) ∈ V)
334, 32eqeltrid 2316 . . . . . . . . . . 11 (𝑅 ∈ Ring → 𝐵 ∈ V)
34 ssdomg 6947 . . . . . . . . . . 11 (𝐵 ∈ V → ({𝑥, 𝑦} ⊆ 𝐵 → {𝑥, 𝑦} ≼ 𝐵))
3533, 34syl 14 . . . . . . . . . 10 (𝑅 ∈ Ring → ({𝑥, 𝑦} ⊆ 𝐵 → {𝑥, 𝑦} ≼ 𝐵))
3622, 23prssd 3830 . . . . . . . . . 10 ((𝑥𝐵 ∧ (𝑦𝐵 ∧ ¬ 𝑥 = 𝑦)) → {𝑥, 𝑦} ⊆ 𝐵)
3735, 36impel 280 . . . . . . . . 9 ((𝑅 ∈ Ring ∧ (𝑥𝐵 ∧ (𝑦𝐵 ∧ ¬ 𝑥 = 𝑦))) → {𝑥, 𝑦} ≼ 𝐵)
38 endomtr 6959 . . . . . . . . 9 ((2o ≈ {𝑥, 𝑦} ∧ {𝑥, 𝑦} ≼ 𝐵) → 2o𝐵)
3927, 37, 38syl2anc 411 . . . . . . . 8 ((𝑅 ∈ Ring ∧ (𝑥𝐵 ∧ (𝑦𝐵 ∧ ¬ 𝑥 = 𝑦))) → 2o𝐵)
4039anassrs 400 . . . . . . 7 (((𝑅 ∈ Ring ∧ 𝑥𝐵) ∧ (𝑦𝐵 ∧ ¬ 𝑥 = 𝑦)) → 2o𝐵)
4140rexlimdvaa 2649 . . . . . 6 ((𝑅 ∈ Ring ∧ 𝑥𝐵) → (∃𝑦𝐵 ¬ 𝑥 = 𝑦 → 2o𝐵))
4241rexlimdva 2648 . . . . 5 (𝑅 ∈ Ring → (∃𝑥𝐵𝑦𝐵 ¬ 𝑥 = 𝑦 → 2o𝐵))
43 2dom 6975 . . . . 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 1395  wcel 2200  wne 2400  wrex 2509  Vcvv 2800  wss 3198  {cpr 3668   class class class wbr 4086   Fn wfn 5319  cfv 5324  2oc2o 6571  cen 6902  cdom 6903  Basecbs 13075  0gc0g 13332  1rcur 13965  Ringcrg 14002  NzRingcnzr 14186
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 617  ax-in2 618  ax-io 714  ax-5 1493  ax-7 1494  ax-gen 1495  ax-ie1 1539  ax-ie2 1540  ax-8 1550  ax-10 1551  ax-11 1552  ax-i12 1553  ax-bndl 1555  ax-4 1556  ax-17 1572  ax-i9 1576  ax-ial 1580  ax-i5r 1581  ax-13 2202  ax-14 2203  ax-ext 2211  ax-coll 4202  ax-sep 4205  ax-nul 4213  ax-pow 4262  ax-pr 4297  ax-un 4528  ax-setind 4633  ax-cnex 8116  ax-resscn 8117  ax-1cn 8118  ax-1re 8119  ax-icn 8120  ax-addcl 8121  ax-addrcl 8122  ax-mulcl 8123  ax-addcom 8125  ax-addass 8127  ax-i2m1 8130  ax-0lt1 8131  ax-0id 8133  ax-rnegex 8134  ax-pre-ltirr 8137  ax-pre-ltadd 8141
This theorem depends on definitions:  df-bi 117  df-3an 1004  df-tru 1398  df-fal 1401  df-nf 1507  df-sb 1809  df-eu 2080  df-mo 2081  df-clab 2216  df-cleq 2222  df-clel 2225  df-nfc 2361  df-ne 2401  df-nel 2496  df-ral 2513  df-rex 2514  df-reu 2515  df-rmo 2516  df-rab 2517  df-v 2802  df-sbc 3030  df-csb 3126  df-dif 3200  df-un 3202  df-in 3204  df-ss 3211  df-nul 3493  df-pw 3652  df-sn 3673  df-pr 3674  df-op 3676  df-uni 3892  df-int 3927  df-iun 3970  df-br 4087  df-opab 4149  df-mpt 4150  df-tr 4186  df-id 4388  df-iord 4461  df-on 4463  df-suc 4466  df-xp 4729  df-rel 4730  df-cnv 4731  df-co 4732  df-dm 4733  df-rn 4734  df-res 4735  df-ima 4736  df-iota 5284  df-fun 5326  df-fn 5327  df-f 5328  df-f1 5329  df-fo 5330  df-f1o 5331  df-fv 5332  df-riota 5966  df-ov 6016  df-oprab 6017  df-mpo 6018  df-1o 6577  df-2o 6578  df-er 6697  df-en 6905  df-dom 6906  df-pnf 8209  df-mnf 8210  df-ltxr 8212  df-inn 9137  df-2 9195  df-3 9196  df-ndx 13078  df-slot 13079  df-base 13081  df-sets 13082  df-plusg 13166  df-mulr 13167  df-0g 13334  df-mgm 13432  df-sgrp 13478  df-mnd 13493  df-grp 13579  df-minusg 13580  df-mgp 13927  df-ur 13966  df-ring 14004  df-nzr 14187
This theorem is referenced by:  znidom  14664  znidomb  14665
  Copyright terms: Public domain W3C validator