Metamath Proof Explorer


Theorem dflringlem

Description: Lemma for dflring3 . If a ring R has a single maximal ideal M , then any element X outside of M is a unit. (Contributed by Thierry Arnoux, 2-Jun-2026)

Ref Expression
Hypotheses dflringlem.b B = Base R
dflringlem.u U = Unit R
dflringlem.r φ R CRing
dflringlem.m φ M MaxIdeal R
dflringlem.1 φ MaxIdeal R = M
dflringlem.x φ X B M
Assertion dflringlem φ X U

Proof

Step Hyp Ref Expression
1 dflringlem.b B = Base R
2 dflringlem.u U = Unit R
3 dflringlem.r φ R CRing
4 dflringlem.m φ M MaxIdeal R
5 dflringlem.1 φ MaxIdeal R = M
6 dflringlem.x φ X B M
7 4 adantr φ ¬ X U M MaxIdeal R
8 3 crngringd φ R Ring
9 8 adantr φ ¬ X U R Ring
10 6 eldifad φ X B
11 10 snssd φ X B
12 eqid RSpan R = RSpan R
13 eqid LIdeal R = LIdeal R
14 12 1 13 rspcl R Ring X B RSpan R X LIdeal R
15 8 11 14 syl2anc φ RSpan R X LIdeal R
16 15 adantr φ ¬ X U RSpan R X LIdeal R
17 eqid RSpan R X = RSpan R X
18 2 12 17 1 10 3 unitpidl1 φ RSpan R X = B X U
19 18 notbid φ ¬ RSpan R X = B ¬ X U
20 19 biimpar φ ¬ X U ¬ RSpan R X = B
21 20 neqned φ ¬ X U RSpan R X B
22 1 ssmxidl R Ring RSpan R X LIdeal R RSpan R X B m MaxIdeal R RSpan R X m
23 9 16 21 22 syl3anc φ ¬ X U m MaxIdeal R RSpan R X m
24 5 adantr φ ¬ X U MaxIdeal R = M
25 23 24 rexeqtrdv φ ¬ X U m M RSpan R X m
26 sseq2 m = M RSpan R X m RSpan R X M
27 26 rexsng M MaxIdeal R m M RSpan R X m RSpan R X M
28 27 biimpa M MaxIdeal R m M RSpan R X m RSpan R X M
29 7 25 28 syl2anc φ ¬ X U RSpan R X M
30 1 12 rspsnid R Ring X B X RSpan R X
31 8 10 30 syl2anc φ X RSpan R X
32 6 eldifbd φ ¬ X M
33 nelss X RSpan R X ¬ X M ¬ RSpan R X M
34 31 32 33 syl2anc φ ¬ RSpan R X M
35 34 adantr φ ¬ X U ¬ RSpan R X M
36 29 35 condan φ X U