This is an inofficial mirror of http://metamath.tirix.org for personal testing of a visualizer extension only.

Metamath Proof Explorer


Theorem unitpidl1

Description: The ideal I generated by an element X of a commutative ring R is the unit ideal B iff X is a ring unit. (Contributed by Thierry Arnoux, 22-Mar-2025)

Ref Expression
Hypotheses unitpidl1.1 U = Unit R
unitpidl1.2 K = RSpan R
unitpidl1.3 I = K X
unitpidl1.4 B = Base R
unitpidl1.5 φ X B
unitpidl1.6 φ R CRing
Assertion unitpidl1 φ I = B X U

Proof

Step Hyp Ref Expression
1 unitpidl1.1 U = Unit R
2 unitpidl1.2 K = RSpan R
3 unitpidl1.3 I = K X
4 unitpidl1.4 B = Base R
5 unitpidl1.5 φ X B
6 unitpidl1.6 φ R CRing
7 6 ad3antrrr φ I = B y B 1 R = y R X R CRing
8 simplr φ I = B y B 1 R = y R X y B
9 5 ad3antrrr φ I = B y B 1 R = y R X X B
10 simpr φ I = B y B 1 R = y R X 1 R = y R X
11 6 crngringd φ R Ring
12 eqid 1 R = 1 R
13 1 12 1unit R Ring 1 R U
14 11 13 syl φ 1 R U
15 14 ad3antrrr φ I = B y B 1 R = y R X 1 R U
16 10 15 eqeltrrd φ I = B y B 1 R = y R X y R X U
17 eqid R = R
18 1 17 4 unitmulclb R CRing y B X B y R X U y U X U
19 18 simplbda R CRing y B X B y R X U X U
20 7 8 9 16 19 syl31anc φ I = B y B 1 R = y R X X U
21 11 adantr φ I = B R Ring
22 5 adantr φ I = B X B
23 5 snssd φ X B
24 eqid LIdeal R = LIdeal R
25 2 4 24 rspcl R Ring X B K X LIdeal R
26 11 23 25 syl2anc φ K X LIdeal R
27 3 26 eqeltrid φ I LIdeal R
28 27 adantr φ I = B I LIdeal R
29 simpr φ I = B I = B
30 24 4 12 lidl1el R Ring I LIdeal R 1 R I I = B
31 30 biimpar R Ring I LIdeal R I = B 1 R I
32 21 28 29 31 syl21anc φ I = B 1 R I
33 32 3 eleqtrdi φ I = B 1 R K X
34 4 17 2 elrspsn R Ring X B 1 R K X y B 1 R = y R X
35 34 biimpa R Ring X B 1 R K X y B 1 R = y R X
36 21 22 33 35 syl21anc φ I = B y B 1 R = y R X
37 20 36 r19.29a φ I = B X U
38 simpr φ X U X U
39 2 4 rspssid R Ring X B X K X
40 11 23 39 syl2anc φ X K X
41 40 3 sseqtrrdi φ X I
42 snssg X B X I X I
43 42 biimpar X B X I X I
44 5 41 43 syl2anc φ X I
45 44 adantr φ X U X I
46 11 adantr φ X U R Ring
47 27 adantr φ X U I LIdeal R
48 4 1 38 45 46 47 lidlunitel φ X U I = B
49 37 48 impbida φ I = B X U