Metamath Proof Explorer


Theorem flt3lemA

Description: Lemma A for flt3 . The summands of a solution of FLT3 can be assumed to be coprime. Step 2 in LFP-1. (Contributed by AV, 3-Nov-2026)

Ref Expression
Hypotheses flt3lemA.z
|- Z = ( ZZ \ { 0 } )
flt3lemA.e
|- ( ph -> ( ( ( A ^ 3 ) + ( B ^ 3 ) ) + ( C ^ 3 ) ) = 0 )
flt3lemA.a
|- ( ph -> A e. Z )
flt3lemA.b
|- ( ph -> B e. Z )
flt3lemA.c
|- ( ph -> C e. Z )
Assertion flt3lemA
|- ( ph -> E. a e. Z E. b e. Z E. c e. Z ( ( ( ( a ^ 3 ) + ( b ^ 3 ) ) + ( c ^ 3 ) ) = 0 /\ ( ( a gcd b ) = 1 /\ ( a gcd c ) = 1 /\ ( b gcd c ) = 1 ) ) )

Proof

Step Hyp Ref Expression
1 flt3lemA.z
 |-  Z = ( ZZ \ { 0 } )
2 flt3lemA.e
 |-  ( ph -> ( ( ( A ^ 3 ) + ( B ^ 3 ) ) + ( C ^ 3 ) ) = 0 )
3 flt3lemA.a
 |-  ( ph -> A e. Z )
4 flt3lemA.b
 |-  ( ph -> B e. Z )
5 flt3lemA.c
 |-  ( ph -> C e. Z )
6 3nn
 |-  3 e. NN
7 6 a1i
 |-  ( ph -> 3 e. NN )
8 n2dvds3
 |-  -. 2 || 3
9 8 a1i
 |-  ( ph -> -. 2 || 3 )
10 7 1 3 4 5 9 2 fltcoprmoddsum
 |-  ( ph -> E. a e. Z E. b e. Z E. c e. Z ( ( ( ( a ^ 3 ) + ( b ^ 3 ) ) + ( c ^ 3 ) ) = 0 /\ ( ( a gcd b ) = 1 /\ ( a gcd c ) = 1 /\ ( b gcd c ) = 1 ) ) )