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 ⊢ 𝐴 ∈ ℝ
re2sqaddcli.2 ⊢ 𝐵 ∈ ℝ
Assertion re2sqaddcli ( ( 𝐴 ↑ 2 ) + ( 𝐵 ↑ 2 ) ) ∈ ℝ

Proof

Step Hyp Ref Expression
1 re2sqaddcli.1 ⊢ 𝐴 ∈ ℝ
2 re2sqaddcli.2 ⊢ 𝐵 ∈ ℝ
3 resqcl ⊢ ( 𝐴 ∈ ℝ → ( 𝐴 ↑ 2 ) ∈ ℝ )
4 1 3 ax-mp ⊢ ( 𝐴 ↑ 2 ) ∈ ℝ
5 resqcl ⊢ ( 𝐵 ∈ ℝ → ( 𝐵 ↑ 2 ) ∈ ℝ )
6 2 5 ax-mp ⊢ ( 𝐵 ↑ 2 ) ∈ ℝ
7 readdcl ⊢ ( ( ( 𝐴 ↑ 2 ) ∈ ℝ ∧ ( 𝐵 ↑ 2 ) ∈ ℝ ) → ( ( 𝐴 ↑ 2 ) + ( 𝐵 ↑ 2 ) ) ∈ ℝ )
8 4 6 7 mp2an ⊢ ( ( 𝐴 ↑ 2 ) + ( 𝐵 ↑ 2 ) ) ∈ ℝ