Metamath Proof Explorer


Theorem ezspanpair

Description: The ideal generated by two Eisenstein integers consists of their Eisenstein linear combinations. Proof prepared with AI assistance from OpenAI Codex. (Contributed by Beckett Kaplinski, 22-Nov-2026)

Ref Expression
Hypotheses ezspanpair.s
|- S = ( Z[] ` ( bRoU ` 3 ) )
ezspanpair.r
|- R = ( CCfld |`s S )
ezspanpair.a
|- ( ph -> A e. S )
ezspanpair.b
|- ( ph -> B e. S )
Assertion ezspanpair
|- ( ph -> ( C e. ( ( RSpan ` R ) ` { A , B } ) <-> E. k e. S E. l e. S C = ( ( k x. A ) + ( l x. B ) ) ) )

Proof

Step Hyp Ref Expression
1 ezspanpair.s
 |-  S = ( Z[] ` ( bRoU ` 3 ) )
2 ezspanpair.r
 |-  R = ( CCfld |`s S )
3 ezspanpair.a
 |-  ( ph -> A e. S )
4 ezspanpair.b
 |-  ( ph -> B e. S )
5 ezsubrg
 |-  ( Z[] ` ( bRoU ` 3 ) ) e. ( SubRing ` CCfld )
6 1 5 eqeltri
 |-  S e. ( SubRing ` CCfld )
7 subrgccsscc
 |-  ( S e. ( SubRing ` CCfld ) -> S C_ CC )
8 6 7 ax-mp
 |-  S C_ CC
9 2 cnfldsrngbas
 |-  ( S C_ CC -> S = ( Base ` R ) )
10 8 9 ax-mp
 |-  S = ( Base ` R )
11 rlmbas
 |-  ( Base ` R ) = ( Base ` ( ringLMod ` R ) )
12 10 11 eqtri
 |-  S = ( Base ` ( ringLMod ` R ) )
13 fvex
 |-  ( Z[] ` ( bRoU ` 3 ) ) e. _V
14 1 13 eqeltri
 |-  S e. _V
15 2 cnfldsrngadd
 |-  ( S e. _V -> + = ( +g ` R ) )
16 14 15 ax-mp
 |-  + = ( +g ` R )
17 rlmplusg
 |-  ( +g ` R ) = ( +g ` ( ringLMod ` R ) )
18 16 17 eqtri
 |-  + = ( +g ` ( ringLMod ` R ) )
19 ovex
 |-  ( CCfld |`s S ) e. _V
20 2 19 eqeltri
 |-  R e. _V
21 rlmsca
 |-  ( R e. _V -> R = ( Scalar ` ( ringLMod ` R ) ) )
22 20 21 ax-mp
 |-  R = ( Scalar ` ( ringLMod ` R ) )
23 2 cnfldsrngmul
 |-  ( S e. _V -> x. = ( .r ` R ) )
24 14 23 ax-mp
 |-  x. = ( .r ` R )
25 rlmvsca
 |-  ( .r ` R ) = ( .s ` ( ringLMod ` R ) )
26 24 25 eqtri
 |-  x. = ( .s ` ( ringLMod ` R ) )
27 rspval
 |-  ( RSpan ` R ) = ( LSpan ` ( ringLMod ` R ) )
28 2 6 subrgccidom
 |-  R e. IDomn
29 28 a1i
 |-  ( ph -> R e. IDomn )
30 29 idomringd
 |-  ( ph -> R e. Ring )
31 rlmlmod
 |-  ( R e. Ring -> ( ringLMod ` R ) e. LMod )
32 30 31 syl
 |-  ( ph -> ( ringLMod ` R ) e. LMod )
33 12 18 22 10 26 27 32 3 4 lspprel
 |-  ( ph -> ( C e. ( ( RSpan ` R ) ` { A , B } ) <-> E. k e. S E. l e. S C = ( ( k x. A ) + ( l x. B ) ) ) )