Description: The sum of two squares of real numbers is nonnegative. Proof prepared with AI assistance from OpenAI Codex. (Contributed by Owen Orger, 11-Nov-2026)
| Ref | Expression | ||
|---|---|---|---|
| Hypotheses | sqaddge0i.1 | |- A e. RR |
|
| sqaddge0i.2 | |- B e. RR |
||
| Assertion | sqaddge0i | |- 0 <_ ( ( A ^ 2 ) + ( B ^ 2 ) ) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | sqaddge0i.1 | |- A e. RR |
|
| 2 | sqaddge0i.2 | |- B e. RR |
|
| 3 | 1 | sqge0i | |- 0 <_ ( A ^ 2 ) |
| 4 | 2 | sqge0i | |- 0 <_ ( B ^ 2 ) |
| 5 | resqcl | |- ( A e. RR -> ( A ^ 2 ) e. RR ) |
|
| 6 | 1 5 | ax-mp | |- ( A ^ 2 ) e. RR |
| 7 | resqcl | |- ( B e. RR -> ( B ^ 2 ) e. RR ) |
|
| 8 | 2 7 | ax-mp | |- ( B ^ 2 ) e. RR |
| 9 | 6 8 | addge0i | |- ( ( 0 <_ ( A ^ 2 ) /\ 0 <_ ( B ^ 2 ) ) -> 0 <_ ( ( A ^ 2 ) + ( B ^ 2 ) ) ) |
| 10 | 3 4 9 | mp2an | |- 0 <_ ( ( A ^ 2 ) + ( B ^ 2 ) ) |