Metamath Proof Explorer


Theorem re2sqaddcli

Description: The sum of the squares of two real numbers is real. Proof prepared with AI assistance from OpenAI Codex. (Contributed by Owen Orger, 11-Nov-2026)

Ref Expression
Hypotheses re2sqaddcli.1
|- A e. RR
re2sqaddcli.2
|- B e. RR
Assertion re2sqaddcli
|- ( ( A ^ 2 ) + ( B ^ 2 ) ) e. RR

Proof

Step Hyp Ref Expression
1 re2sqaddcli.1
 |-  A e. RR
2 re2sqaddcli.2
 |-  B e. RR
3 resqcl
 |-  ( A e. RR -> ( A ^ 2 ) e. RR )
4 1 3 ax-mp
 |-  ( A ^ 2 ) e. RR
5 resqcl
 |-  ( B e. RR -> ( B ^ 2 ) e. RR )
6 2 5 ax-mp
 |-  ( B ^ 2 ) e. RR
7 readdcl
 |-  ( ( ( A ^ 2 ) e. RR /\ ( B ^ 2 ) e. RR ) -> ( ( A ^ 2 ) + ( B ^ 2 ) ) e. RR )
8 4 6 7 mp2an
 |-  ( ( A ^ 2 ) + ( B ^ 2 ) ) e. RR