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

Theorem sqrlem21 6623
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 1473 . . . 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 609 . . 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 6609 . . . . 5 |- B e. RR
8 1re 5407 . . . . . 6 |- 1 e. RR
98, 4readdcl 5306 . . . . 5 |- (1 + A) e. RR
107, 9keepel 2389 . . . 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 3954 . . . . . . . 8 |- (B = if(A < (B x. B), B, (1 + A)) -> (A / B) = (A / if(A < (B x. B), B, (1 + A))))
1311, 12opreq12d 3963 . . . . . . 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 3960 . . . . . 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 1532 . . . . 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 3954 . . . . . . . 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 3963 . . . . . . 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 3960 . . . . . 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 1532 . . . . 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 6610 . . . . . . . . 9 |- 0 < B
227, 21gt0ne0i 5591 . . . . . . . 8 |- B =/= 0
234, 7, 22redivcl 5754 . . . . . . 7 |- (A / B) e. RR
247, 23readdcl 5306 . . . . . 6 |- (B + (A / B)) e. RR
258, 8readdcl 5306 . . . . . 6 |- (1 + 1) e. RR
26 lt01 5653 . . . . . . . 8 |- 0 < 1
278, 8, 26, 26addgt0i 5575 . . . . . . 7 |- 0 < (1 + 1)
2825, 27gt0ne0i 5591 . . . . . 6 |- (1 + 1) =/= 0
2924, 25, 28redivcl 5754 . . . . 5 |- ((B + (A / B)) / (1 + 1)) e. RR
308, 4, 26, 5addgt0i 5575 . . . . . . . . 9 |- 0 < (1 + A)
319, 30gt0ne0i 5591 . . . . . . . 8 |- (1 + A) =/= 0
324, 9, 31redivcl 5754 . . . . . . 7 |- (A / (1 + A)) e. RR
339, 32readdcl 5306 . . . . . 6 |- ((1 + A) + (A / (1 + A))) e. RR
3433, 25, 28redivcl 5754 . . . . 5 |- (((1 + A) + (A / (1 + A))) / (1 + 1)) e. RR
3515, 20, 29, 34keephyp 2386 . . . 4 |- ((if(A < (B x. B), B, (1 + A)) + (A / if(A < (B x. B), B, (1 + A)))) / (1 + 1)) e. RR
36 breq2 2613 . . . . 5 |- (B = if(A < (B x. B), B, (1 + A)) -> (0 < B <-> 0 < if(A < (B x. B), B, (1 + A))))
37 breq2 2613 . . . . 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 2386 . . . 4 |- 0 < if(A < (B x. B), B, (1 + A))
39 opreq12 3955 . . . . . . 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 2620 . . . . 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 3955 . . . . . . 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 2620 . . . . 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 6603 . . . . 5 |- A < ((1 + A) x. (1 + A))
4641, 44, 45elimhyp 2380 . . . 4 |- A < (if(A < (B x. B), B, (1 + A)) x. if(A < (B x. B), B, (1 + A)))
47 eqid 1468 . . . 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 6616 . . 3 |- -. if(A < (B x. B), B, (1 + A)) = sup(S, RR, < )
493, 48dedth 2373