HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
Unicode version

Theorem sqrlem21 6693
Description: Lemma for square root theorem.
Hypotheses
Ref Expression
sqrlem1.1 |- A e. RR
sqrlem1.2 |- 0 < A
sqrlem21.3 |- S = {x e. RR | (0 <_ x /\ (x x. x) <_ A)}
sqrlem21.4 |- B = sup(S, RR, < )
Assertion
Ref Expression
sqrlem21 |- -. A < (B x. B)
Distinct variable groups:   x,A   x,B   x,S

Proof of Theorem sqrlem21
StepHypRef Expression
1 sqrlem21.4 . 2 |- B = sup(S, RR, < )
2 eqeq1 1481 . . . 4 |- (B = if(A < (B x. B), B, (1 + A)) -> (B = sup(S, RR, < ) <-> if(A < (B x. B), B, (1 + A)) = sup(S, RR, < )))
32negbid 611 . . 3 |- (B = if(A < (B x. B), B, (1 + A)) -> (-. B = sup(S, RR, < ) <-> -. if(A < (B x. B), B, (1 + A)) = sup(S, RR, < )))
4 sqrlem1.1 . . . 4 |- A e. RR
5 sqrlem1.2 . . . 4 |- 0 < A
6 sqrlem21.3 . . . . . 6 |- S = {x e. RR | (0 <_ x /\ (x x. x) <_ A)}
74, 5, 6, 1sqrlem7 6679 . . . . 5 |- B e. RR
8 1re 5435 . . . . . 6 |- 1 e. RR
98, 4readdcl 5334 . . . . 5 |- (1 + A) e. RR
107, 9keepel 2399 . . . 4 |- if(A < (B x. B), B, (1 + A)) e. RR
11 id 59 . . . . . . . 8 |- (B = if(A < (B x. B), B, (1 + A)) -> B = if(A < (B x. B), B, (1 + A)))
12 opreq2 3969 . . . . . . . 8 |- (B = if(A < (B x. B), B, (1 + A)) -> (A / B) = (A / if(A < (B x. B), B, (1 + A))))
1311, 12opreq12d 3978 . . . . . . 7 |- (B = if(A < (B x. B), B, (1 + A)) -> (B + (A / B)) = (if(A < (B x. B), B, (1 + A)) + (A / if(A < (B x. B), B, (1 + A)))))
1413opreq1d 3975 . . . . . 6 |- (B = if(A < (B x. B), B, (1 + A)) -> ((B + (A / B)) / (1 + 1)) = ((if(A < (B x. B), B, (1 + A)) + (A / if(A < (B x. B), B, (1 + A)))) / (1 + 1)))
1514eleq1d 1540 . . . . 5 |- (B = if(A < (B x. B), B, (1 + A)) -> (((B + (A / B)) / (1 + 1)) e. RR <-> ((if(A < (B x. B), B, (1 + A)) + (A / if(A < (B x. B), B, (1 + A)))) / (1 + 1)) e. RR))
16 id 59 . . . . . . . 8 |- ((1 + A) = if(A < (B x. B), B, (1 + A)) -> (1 + A) = if(A < (B x. B), B, (1 + A)))
17 opreq2 3969 . . . . . . . 8 |- ((1 + A) = if(A < (B x. B), B, (1 + A)) -> (A / (1 + A)) = (A / if(A < (B x. B), B, (1 + A))))
1816, 17opreq12d 3978 . . . . . . 7 |- ((1 + A) = if(A < (B x. B), B, (1 + A)) -> ((1 + A) + (A / (1 + A))) = (if(A < (B x. B), B, (1 + A)) + (A / if(A < (B x. B), B, (1 + A)))))
1918opreq1d 3975 . . . . . 6 |- ((1 + A) = if(A < (B x. B), B, (1 + A)) -> (((1 + A) + (A / (1 + A))) / (1 + 1)) = ((if(A < (B x. B), B, (1 + A)) + (A / if(A < (B x. B), B, (1 + A)))) / (1 + 1)))
2019eleq1d 1540 . . . . 5 |- ((1 + A) = if(A < (B x. B), B, (1 + A)) -> ((((1 + A) + (A / (1 + A))) / (1 + 1)) e. RR <-> ((if(A < (B x. B), B, (1 + A)) + (A / if(A < (B x. B), B, (1 + A)))) / (1 + 1)) e. RR))
214, 5, 6, 1sqrlem8 6680 . . . . . . . . 9 |- 0 < B
227, 21gt0ne0i 5617 . . . . . . . 8 |- B =/= 0
234, 7, 22redivcl 5798 . . . . . . 7 |- (A / B) e. RR
247, 23readdcl 5334 . . . . . 6 |- (B + (A / B)) e. RR
258, 8readdcl 5334 . . . . . 6 |- (1 + 1) e. RR
26 lt01 5680 . . . . . . . 8 |- 0 < 1
278, 8, 26, 26addgt0i 5601 . . . . . . 7 |- 0 < (1 + 1)
2825, 27gt0ne0i 5617 . . . . . 6 |- (1 + 1) =/= 0
2924, 25, 28redivcl 5798 . . . . 5 |- ((B + (A / B)) / (1 + 1)) e. RR
308, 4, 26, 5addgt0i 5601 . . . . . . . . 9 |- 0 < (1 + A)
319, 30gt0ne0i 5617 . . . . . . . 8 |- (1 + A) =/= 0
324, 9, 31redivcl 5798 . . . . . . 7 |- (A / (1 + A)) e. RR
339, 32readdcl 5334 . . . . . 6 |- ((1 + A) + (A / (1 + A))) e. RR
3433, 25, 28redivcl 5798 . . . . 5 |- (((1 + A) + (A / (1 + A))) / (1 + 1)) e. RR
3515, 20, 29, 34keephyp 2396 . . . 4 |- ((if(A < (B x. B), B, (1 + A)) + (A / if(A < (B x. B), B, (1 + A)))) / (1 + 1)) e. RR
36 breq2 2623 . . . . 5 |- (B = if(A < (B x. B), B, (1 + A)) -> (0 < B <-> 0 < if(A < (B x. B), B, (1 + A))))
37 breq2 2623 . . . . 5 |- ((1 + A) = if(A < (B x. B), B, (1 + A)) -> (0 < (1 + A) <-> 0 < if(A < (B x. B), B, (1 + A))))
3836, 37, 21, 30keephyp 2396 . . . 4 |- 0 < if(A < (B x. B), B, (1 + A))
39 opreq12 3970 . . . . . . 7 |- ((B = if(A < (B x. B), B, (1 + A)) /\ B = if(A < (B x. B), B, (1 + A))) -> (B x. B) = (if(A < (B x. B), B, (1 + A)) x. if(A < (B x. B), B, (1 + A))))
4039anidms 434 . . . . . 6 |- (B = if(A < (B x. B), B, (1 + A)) -> (B x. B) = (if(A < (B x. B), B, (1 + A)) x. if(A < (B x. B), B, (1 + A))))
4140breq2d 2630 . . . . 5 |- (B = if(A < (B x. B), B, (1 + A)) -> (A < (B x. B) <-> A < (if(A < (B x. B), B, (1 + A)) x. if(A < (B x. B), B, (1 + A)))))
42 opreq12 3970 . . . . . . 7 |- (((1 + A) = if(A < (B x. B), B, (1 + A)) /\ (1 + A) = if(A < (B x. B), B, (1 + A))) -> ((1 + A) x. (1 + A)) = (if(A < (B x. B), B, (1 + A)) x. if(A < (B x. B), B, (1 + A))))
4342anidms 434 . . . . . 6 |- ((1 + A) = if(A < (B x. B), B, (1 + A)) -> ((1 + A) x. (1 + A)) = (if(A < (B x. B), B, (1 + A)) x. if(A < (B x. B), B, (1 + A))))
4443breq2d 2630 . . . . 5 |- ((1 + A) = if(A < (B x. B), B, (1 + A)) -> (A < ((1 + A) x. (1 + A)) <-> A < (if(A < (B x. B), B, (1 + A)) x. if(A < (B x. B), B, (1 + A)))))
454, 5sqrlem1 6673 . . . . 5 |- A < ((1 + A) x. (1 + A))
4641, 44, 45elimhyp 2390 . . . 4 |- A < (if(A < (B x. B), B, (1 + A)) x. if(A < (B x. B), B, (1 + A)))
47 eqid 1475 . . . 4 |- ((if(A < (B x. B), B, (1 + A)) + (A / if(A < (B x. B), B, (1 + A)))) / (1 + 1)) = ((if(A < (B x. B), B, (1 + A)) + (A / if(A < (B x. B), B, (1 + A)))) / (1 + 1))
484, 5, 10, 35, 38, 46, 47, 6sqrlem14 6686 . . 3 |- -. if(A < (B x. B), B, (1 + A)) = sup(S, RR, < )
493, 48ded