Metamath Proof Explorer


Theorem resubsqcld

Description: The square of a difference of real numbers is real, in deduction form. Proof prepared with AI assistance from OpenAI Codex. (Contributed by Owen Orger, 11-Nov-2026)

Ref Expression
Hypotheses resubsqcld.1
|- ( ph -> A e. RR )
resubsqcld.2
|- ( ph -> B e. RR )
Assertion resubsqcld
|- ( ph -> ( ( A - B ) ^ 2 ) e. RR )

Proof

Step Hyp Ref Expression
1 resubsqcld.1
 |-  ( ph -> A e. RR )
2 resubsqcld.2
 |-  ( ph -> B e. RR )
3 1 2 resubcld
 |-  ( ph -> ( A - B ) e. RR )
4 3 resqcld
 |-  ( ph -> ( ( A - B ) ^ 2 ) e. RR )