Metamath Proof Explorer


Theorem int-sqgeq0d

Description: SquareGEQZero generator rule. (Contributed by Stanislas Polu, 7-Apr-2020)

Ref Expression
Hypotheses int-sqgeq0d.1 φA
int-sqgeq0d.2 φB
int-sqgeq0d.3 φA=B
Assertion int-sqgeq0d φ0AB

Proof

Step Hyp Ref Expression
1 int-sqgeq0d.1 φA
2 int-sqgeq0d.2 φB
3 int-sqgeq0d.3 φA=B
4 1 sqge0d φ0A2
5 3 oveq1d φA2=B2
6 2 recnd φB
7 6 sqvald φB2=BB
8 eqcom A=BB=A
9 8 imbi2i φA=BφB=A
10 3 9 mpbi φB=A
11 10 oveq1d φBB=AB
12 7 11 eqtrd φB2=AB
13 5 12 eqtrd φA2=AB
14 4 13 breqtrd φ0AB