Average Error: 19.7 → 0.2
Time: 18.6s
Precision: binary64
Cost: 20096
\[\frac{1}{\sqrt{x}} - \frac{1}{\sqrt{x + 1}}\]
\[{x}^{-0.5} \cdot \frac{1}{\left(x + 1\right) + \sqrt{x} \cdot \sqrt{x + 1}}\]
\frac{1}{\sqrt{x}} - \frac{1}{\sqrt{x + 1}}
{x}^{-0.5} \cdot \frac{1}{\left(x + 1\right) + \sqrt{x} \cdot \sqrt{x + 1}}
(FPCore (x) :precision binary64 (- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0)))))
(FPCore (x)
 :precision binary64
 (* (pow x -0.5) (/ 1.0 (+ (+ x 1.0) (* (sqrt x) (sqrt (+ x 1.0)))))))
double code(double x) {
	return (1.0 / sqrt(x)) - (1.0 / sqrt(x + 1.0));
}
double code(double x) {
	return pow(x, -0.5) * (1.0 / ((x + 1.0) + (sqrt(x) * sqrt(x + 1.0))));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Target

Original19.7
Target0.6
Herbie0.2
\[\frac{1}{\left(x + 1\right) \cdot \sqrt{x} + x \cdot \sqrt{x + 1}}\]

Alternatives

Alternative 1
Error0.6
Cost91456
\[\frac{\frac{\sqrt[3]{1} \cdot \sqrt[3]{1}}{\sqrt[3]{\sqrt{x} + \sqrt{1 + x}} \cdot \sqrt[3]{\sqrt{x} + \sqrt{1 + x}}}}{\frac{\sqrt{x}}{\frac{\frac{\sqrt[3]{1}}{\sqrt[3]{\sqrt{x} + \sqrt{1 + x}}}}{\sqrt{1 + x}}}}\]
Alternative 2
Error0.6
Cost91456
\[\frac{\frac{\sqrt[3]{1}}{\sqrt[3]{\sqrt{x} + \sqrt{1 + x}}}}{\sqrt{1 + x}} \cdot \frac{\frac{\sqrt[3]{1} \cdot \sqrt[3]{1}}{\sqrt[3]{\sqrt{x} + \sqrt{1 + x}} \cdot \sqrt[3]{\sqrt{x} + \sqrt{1 + x}}}}{\sqrt{x}}\]
Alternative 3
Error0.6
Cost72128
\[\frac{\frac{1}{\sqrt[3]{\sqrt{x} + \sqrt{1 + x}} \cdot \sqrt[3]{\sqrt{x} + \sqrt{1 + x}}}}{\sqrt{x}} \cdot \frac{\frac{1}{\sqrt[3]{\sqrt{x} + \sqrt{1 + x}}}}{\sqrt{1 + x}}\]
Alternative 4
Error1.2
Cost72000
\[\frac{\frac{1}{\sqrt{x} + \sqrt{1 + x}}}{\sqrt[3]{\sqrt{x} \cdot \sqrt{1 + x}} \cdot \left(\sqrt[3]{\sqrt{x} \cdot \sqrt{1 + x}} \cdot \sqrt[3]{\sqrt{x} \cdot \sqrt{1 + x}}\right)}\]
Alternative 5
Error0.6
Cost72000
\[\frac{\frac{\frac{1}{\sqrt[3]{\sqrt{x} + \sqrt{1 + x}} \cdot \sqrt[3]{\sqrt{x} + \sqrt{1 + x}}}}{\sqrt[3]{\sqrt{x} + \sqrt{1 + x}}}}{\sqrt{x} \cdot \sqrt{1 + x}}\]
Alternative 6
Error0.7
Cost65216
\[\frac{\frac{1}{\sqrt{x} + \sqrt{1 + x}}}{\left(\sqrt{\sqrt{x}} \cdot \sqrt{\sqrt{1 + x}}\right) \cdot \left(\sqrt{\sqrt{x}} \cdot \sqrt{\sqrt{1 + x}}\right)}\]
Alternative 7
Error28.9
Cost65088
\[\frac{\sqrt[3]{1} \cdot \sqrt[3]{1}}{\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{x}}} \cdot \frac{\sqrt[3]{1}}{\sqrt[3]{\sqrt{x}}} - \frac{1}{\sqrt{1 + x}}\]
Alternative 8
Error1.5
Cost60224
\[\sqrt[3]{\frac{1}{x \cdot \sqrt{1 + x} + \sqrt{x} \cdot \left(1 + x\right)}} \cdot \left(\sqrt[3]{\frac{1}{x \cdot \sqrt{1 + x} + \sqrt{x} \cdot \left(1 + x\right)}} \cdot \sqrt[3]{\frac{1}{x \cdot \sqrt{1 + x} + \sqrt{x} \cdot \left(1 + x\right)}}\right)\]
Alternative 9
Error20.2
Cost59456
\[\sqrt[3]{\frac{1}{\sqrt{x}} - \frac{1}{\sqrt{1 + x}}} \cdot \left(\sqrt[3]{\frac{1}{\sqrt{x}} - \frac{1}{\sqrt{1 + x}}} \cdot \sqrt[3]{\frac{1}{\sqrt{x}} - \frac{1}{\sqrt{1 + x}}}\right)\]
Alternative 10
Error1.2
Cost58688
\[\frac{\frac{1}{\sqrt{x} + \sqrt{1 + x}}}{\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{x}}\right) \cdot \left(\sqrt{1 + x} \cdot \sqrt[3]{\sqrt{x}}\right)}\]
Alternative 11
Error0.4
Cost52544
\[\frac{\sqrt{\frac{1}{\sqrt{x} + \sqrt{1 + x}}}}{\sqrt{x}} \cdot \frac{\sqrt{\frac{1}{\sqrt{x} + \sqrt{1 + x}}}}{\sqrt{1 + x}}\]
Alternative 12
Error23.0
Cost52416
\[\left(\sqrt{\frac{1}{\sqrt{1 + x}}} + \frac{1}{\sqrt{\sqrt{x}}}\right) \cdot \left(\frac{1}{\sqrt{\sqrt{x}}} - \sqrt{\frac{1}{\sqrt{1 + x}}}\right)\]
Alternative 13
Error23.0
Cost52416
\[\left(\sqrt{\frac{1}{\sqrt{x}}} + \frac{1}{\sqrt{\sqrt{1 + x}}}\right) \cdot \left(\sqrt{\frac{1}{\sqrt{x}}} - \frac{1}{\sqrt{\sqrt{1 + x}}}\right)\]
Alternative 14
Error19.9
Cost52416
\[\left(\sqrt{\frac{1}{\sqrt{1 + x}}} + \sqrt{\frac{1}{\sqrt{x}}}\right) \cdot \left(\sqrt{\frac{1}{\sqrt{x}}} - \sqrt{\frac{1}{\sqrt{1 + x}}}\right)\]
Alternative 15
Error0.8
Cost52288
\[\frac{\frac{1}{\sqrt{x} + \sqrt{1 + x}}}{\sqrt{\sqrt[3]{x} \cdot \sqrt[3]{x}} \cdot \left(\sqrt{1 + x} \cdot \sqrt{\sqrt[3]{x}}\right)}\]
Alternative 16
Error27.2
Cost52160
\[\frac{\sqrt[3]{1} \cdot \sqrt[3]{1}}{\left|\sqrt[3]{x}\right|} \cdot \frac{\sqrt[3]{1}}{\sqrt{\sqrt[3]{x}}} - \frac{1}{\sqrt{1 + x}}\]
Alternative 17
Error26.0
Cost52160
\[\frac{\sqrt[3]{1} \cdot \sqrt[3]{1}}{\sqrt{\sqrt{x}}} \cdot \frac{\sqrt[3]{1}}{\sqrt{\sqrt{x}}} - \frac{1}{\sqrt{1 + x}}\]
Alternative 18
Error30.4
Cost46400
\[\frac{\frac{{\left(\sqrt{1 + x}\right)}^{3} - {x}^{1.5}}{\left(1 + x\right) + \left(x + \sqrt{x} \cdot \sqrt{1 + x}\right)}}{\sqrt{x} \cdot \sqrt{1 + x}}\]
Alternative 19
Error28.4
Cost46144
\[\frac{1}{\sqrt{x}} - \sqrt[3]{\frac{1}{\sqrt{1 + x}}} \cdot \left(\sqrt[3]{\frac{1}{\sqrt{1 + x}}} \cdot \sqrt[3]{\frac{1}{\sqrt{1 + x}}}\right)\]
Alternative 20
Error29.2
Cost45888
\[\sqrt[3]{\frac{1}{\sqrt{x}}} \cdot \left(\sqrt[3]{\frac{1}{\sqrt{x}}} \cdot \sqrt[3]{\frac{1}{\sqrt{x}}}\right) - \frac{1}{\sqrt{1 + x}}\]
Alternative 21
Error0.5
Cost45888
\[\frac{\frac{1}{\sqrt{x} + \sqrt{1 + x}}}{\sqrt{\sqrt[3]{1 + x}} \cdot \left(\sqrt{x} \cdot \left|\sqrt[3]{1 + x}\right|\right)}\]
Alternative 22
Error28.9
Cost45760
\[\frac{1}{\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{x}}} \cdot \frac{1}{\sqrt[3]{\sqrt{x}}} - \frac{1}{\sqrt{1 + x}}\]
Alternative 23
Error0.6
Cost45760
\[\frac{\frac{1}{\sqrt{x} + \sqrt{1 + x}}}{\sqrt{\sqrt{x}} \cdot \left(\sqrt{1 + x} \cdot \sqrt{\sqrt{x}}\right)}\]
Alternative 24
Error28.9
Cost45632
\[\frac{\frac{1}{\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{x}}}}{\sqrt[3]{\sqrt{x}}} - \frac{1}{\sqrt{1 + x}}\]
Alternative 25
Error0.9
Cost40128
\[\sqrt{\frac{1}{x \cdot \sqrt{1 + x} + \sqrt{x} \cdot \left(1 + x\right)}} \cdot \sqrt{\frac{1}{x \cdot \sqrt{1 + x} + \sqrt{x} \cdot \left(1 + x\right)}}\]
Alternative 26
Error5.3
Cost39872
\[\frac{\frac{1}{\sqrt{x}}}{{\left(\sqrt{1 + x}\right)}^{3} + {x}^{1.5}} \cdot \left(\frac{x + \left(1 + x\right)}{\sqrt{1 + x}} - \sqrt{x}\right)\]
Alternative 27
Error21.7
Cost39808
\[\frac{\frac{1}{\sqrt{x} + \sqrt{1 + x}}}{\frac{\sqrt{x} \cdot \sqrt{1 + {x}^{3}}}{\sqrt{1 + \left(x \cdot x - x\right)}}}\]
Alternative 28
Error19.9
Cost39616
\[\sqrt{\frac{1}{\sqrt{x}} - \frac{1}{\sqrt{1 + x}}} \cdot \sqrt{\frac{1}{\sqrt{x}} - \frac{1}{\sqrt{1 + x}}}\]
Alternative 29
Error0.4
Cost39616
\[\frac{1}{\sqrt{x}} \cdot \frac{1}{\left(1 + x\right) + \sqrt{\sqrt[3]{1 + x}} \cdot \left(\sqrt{x} \cdot \left|\sqrt[3]{1 + x}\right|\right)}\]
Alternative 30
Error0.8
Cost39488
\[\frac{\frac{1}{\left|\sqrt[3]{x}\right|}}{\sqrt{\sqrt[3]{x}}} \cdot \frac{1}{\left(1 + x\right) + \sqrt{x} \cdot \sqrt{1 + x}}\]
Alternative 31
Error0.6
Cost39488
\[\frac{\frac{1}{\sqrt{\sqrt{x}}}}{\sqrt{\sqrt{x}}} \cdot \frac{1}{\left(1 + x\right) + \sqrt{x} \cdot \sqrt{1 + x}}\]
Alternative 32
Error0.3
Cost39488
\[\frac{\sqrt[3]{1} \cdot \sqrt[3]{1}}{\sqrt{x}} \cdot \frac{\sqrt[3]{1}}{\left(1 + x\right) + \sqrt{x} \cdot \sqrt{1 + x}}\]
Alternative 33
Error20.9
Cost39296
\[\frac{\frac{1}{\sqrt{x} + \sqrt{1 + x}}}{\sqrt[3]{{\left(\sqrt{x} \cdot \sqrt{1 + x}\right)}^{3}}}\]
Alternative 34
Error0.5
Cost39296
\[\frac{\sqrt[3]{{\left(\frac{1}{\sqrt{x} + \sqrt{1 + x}}\right)}^{3}}}{\sqrt{x} \cdot \sqrt{1 + x}}\]
Alternative 35
Error0.8
Cost39296
\[\frac{\frac{1}{\sqrt[3]{{\left(\sqrt{x} + \sqrt{1 + x}\right)}^{3}}}}{\sqrt{x} \cdot \sqrt{1 + x}}\]
Alternative 36
Error4.1
Cost39232
\[\frac{\frac{1}{\sqrt{x} + \sqrt{1 + x}}}{e^{\log \left(\sqrt{x} \cdot \sqrt{1 + x}\right)}}\]
Alternative 37
Error19.7
Cost39104
\[\frac{\log \left(e^{\sqrt{1 + x} - \sqrt{x}}\right)}{\sqrt{x} \cdot \sqrt{1 + x}}\]
Alternative 38
Error30.5
Cost33856
\[\frac{\frac{1}{{x}^{1.5}} + \frac{-1}{{\left(\sqrt{1 + x}\right)}^{3}}}{\frac{1}{x} + \left(\frac{1}{1 + x} + \frac{1}{\sqrt{x} \cdot \sqrt{1 + x}}\right)}\]
Alternative 39
Error21.7
Cost33408
\[\sqrt{1 + \left(x \cdot x - x\right)} \cdot \frac{1}{\sqrt{1 + {x}^{3}} \cdot \left(x + \sqrt{x} \cdot \sqrt{1 + x}\right)}\]
Alternative 40
Error10.7
Cost33024
\[\frac{1}{\sqrt{x}} \cdot \frac{1}{\left(1 + x\right) + \sqrt[3]{{\left(\sqrt{x} \cdot \sqrt{1 + x}\right)}^{3}}}\]
Alternative 41
Error26.7
Cost32960
\[\frac{1}{\sqrt{x}} - \frac{1}{\left|\sqrt[3]{1 + x}\right|} \cdot \frac{1}{\sqrt{\sqrt[3]{1 + x}}}\]
Alternative 42
Error24.6
Cost32960
\[\frac{1}{\sqrt{x}} - \sqrt{\frac{1}{\sqrt{1 + x}}} \cdot \sqrt{\frac{1}{\sqrt{1 + x}}}\]
Alternative 43
Error27.2
Cost32832
\[\frac{1}{\left|\sqrt[3]{x}\right|} \cdot \frac{1}{\sqrt{\sqrt[3]{x}}} - \frac{1}{\sqrt{1 + x}}\]
Alternative 44
Error26.0
Cost32832
\[\frac{1}{\sqrt{\sqrt{x}}} \cdot \frac{1}{\sqrt{\sqrt{x}}} - \frac{1}{\sqrt{1 + x}}\]
Alternative 45
Error24.8
Cost32832
\[\sqrt{\frac{1}{\sqrt{x}}} \cdot \sqrt{\frac{1}{\sqrt{x}}} - \frac{1}{\sqrt{1 + x}}\]
Alternative 46
Error25.8
Cost32832
\[\frac{1}{\sqrt{x}} + \frac{-1}{\left|\sqrt[3]{1 + x}\right| \cdot \sqrt{\sqrt[3]{1 + x}}}\]
Alternative 47
Error27.1
Cost32704
\[\frac{\frac{1}{\left|\sqrt[3]{x}\right|}}{\sqrt{\sqrt[3]{x}}} - \frac{1}{\sqrt{1 + x}}\]
Alternative 48
Error25.0
Cost32704
\[\frac{\frac{1}{\sqrt{\sqrt{x}}}}{\sqrt{\sqrt{x}}} - \frac{1}{\sqrt{1 + x}}\]
Alternative 49
Error30.7
Cost26624
\[\frac{1}{\sqrt{x}} - \frac{\sqrt{x \cdot x + \left(1 - x\right)}}{\sqrt{1 + {x}^{3}}}\]
Alternative 50
Error11.5
Cost26624
\[\sqrt[3]{\frac{1}{{x}^{1.5}}} \cdot \frac{1}{\left(1 + x\right) + \sqrt{x} \cdot \sqrt{1 + x}}\]
Alternative 51
Error24.7
Cost26496
\[\sqrt[3]{\frac{1}{{\left(x \cdot \sqrt{1 + x} + \sqrt{x} \cdot \left(1 + x\right)\right)}^{3}}}\]
Alternative 52
Error0.4
Cost26432
\[\frac{\frac{1}{\sqrt{x} + \sqrt{1 + x}}}{\sqrt{x} \cdot \sqrt{1 + x}}\]
Alternative 53
Error4.6
Cost26368
\[e^{-\log \left(x \cdot \sqrt{1 + x} + \sqrt{x} \cdot \left(1 + x\right)\right)}\]
Alternative 54
Error19.7
Cost26304
\[\frac{\sqrt{1 + x} - \sqrt{x}}{\sqrt{x} \cdot \sqrt{1 + x}}\]
Alternative 55
Error0.6
Cost26304
\[{\left({x}^{1.5} + \left(\sqrt{x} + x \cdot \sqrt{1 + x}\right)\right)}^{-1}\]
Alternative 56
Error29.8
Cost26240
\[\frac{1}{\sqrt{x}} - \frac{1}{\sqrt[3]{{\left(\sqrt{1 + x}\right)}^{3}}}\]
Alternative 57
Error29.8
Cost26240
\[\frac{1}{\sqrt{x}} - \sqrt[3]{{\left(\frac{1}{\sqrt{1 + x}}\right)}^{3}}\]
Alternative 58
Error30.5
Cost26240
\[\sqrt[3]{{\left(\frac{1}{\sqrt{x}} - \frac{1}{\sqrt{1 + x}}\right)}^{3}}\]
Alternative 59
Error61.6
Cost26176
\[\log \left(e^{\frac{1}{\sqrt{x}}}\right) - \frac{1}{\sqrt{1 + x}}\]
Alternative 60
Error21.9
Cost26176
\[e^{\log \left(\frac{1}{\sqrt{x}} - \frac{1}{\sqrt{1 + x}}\right)}\]
Alternative 61
Error51.1
Cost26176
\[\log \left(e^{\frac{1}{\sqrt{x}} - \frac{1}{\sqrt{1 + x}}}\right)\]
Alternative 62
Error32.2
Cost26112
\[e^{-\log \left(\sqrt{x}\right)} - \frac{1}{\sqrt{1 + x}}\]
Alternative 63
Error61.6
Cost20160
\[\frac{1}{\sqrt{x}} - \frac{1}{\frac{\sqrt{-1 + x \cdot x}}{\sqrt{x + -1}}}\]
Alternative 64
Error61.6
Cost20160
\[\frac{1}{\sqrt{x}} - \sqrt{x + -1} \cdot \frac{1}{\sqrt{-1 + x \cdot x}}\]
Alternative 65
Error0.3
Cost20160
\[\frac{1}{\sqrt{x}} \cdot \frac{1}{\left(1 + x\right) + \sqrt{x} \cdot \sqrt{1 + x}}\]
Alternative 66
Error5.5
Cost20096
\[\frac{\frac{1}{\sqrt{x} + \sqrt{1 + x}}}{{\left(x \cdot \left(1 + x\right)\right)}^{0.5}}\]
Alternative 67
Error0.2
Cost20096
\[{x}^{-0.5} \cdot \frac{1}{\left(1 + x\right) + \sqrt{x} \cdot \sqrt{1 + x}}\]
Alternative 68
Error61.6
Cost20032
\[\frac{1}{\sqrt{x}} - \frac{\sqrt{x + -1}}{\sqrt{-1 + x \cdot x}}\]
Alternative 69
Error5.5
Cost20032
\[\frac{\frac{1}{\sqrt{x} + \sqrt{1 + x}}}{\sqrt{x \cdot \left(1 + x\right)}}\]
Alternative 70
Error0.3
Cost20032
\[\frac{\frac{1}{x + \sqrt{x} \cdot \sqrt{1 + x}}}{\sqrt{1 + x}}\]
Alternative 71
Error0.6
Cost19968
\[\frac{1}{{x}^{1.5} + \left(\sqrt{x} + x \cdot \sqrt{1 + x}\right)}\]
Alternative 72
Error19.7
Cost19904
\[\frac{-1 + \frac{\sqrt{1 + x}}{\sqrt{x}}}{\sqrt{1 + x}}\]
Alternative 73
Error40.8
Cost19840
\[\sqrt[3]{\frac{1}{{x}^{1.5}}} - \frac{1}{\sqrt{1 + x}}\]
Alternative 74
Error19.7
Cost14016
\[\frac{\frac{1}{x} - \frac{1}{1 + x}}{\frac{1}{\sqrt{x}} + \frac{1}{\sqrt{1 + x}}}\]
Alternative 75
Error5.6
Cost13824
\[\frac{1}{\sqrt{x}} \cdot \frac{1}{\left(1 + x\right) + {\left(x \cdot \left(1 + x\right)\right)}^{0.5}}\]
Alternative 76
Error31.5
Cost13760
\[\frac{\frac{1}{\sqrt{x} + \sqrt{1 + x}}}{\left(x + 0.5\right) - \frac{0.125}{x}}\]
Alternative 77
Error5.6
Cost13760
\[\frac{1}{\sqrt{x}} \cdot \frac{1}{\left(1 + x\right) + \sqrt{x \cdot \left(1 + x\right)}}\]
Alternative 78
Error0.6
Cost13632
\[\frac{1}{x \cdot \sqrt{1 + x} + \sqrt{x} \cdot \left(1 + x\right)}\]
Alternative 79
Error30.0
Cost13504
\[\frac{\frac{1}{\sqrt{x} + \sqrt{1 + x}}}{x + 0.5}\]
Alternative 80
Error30.4
Cost13376
\[\frac{\frac{1}{\sqrt{x} + \sqrt{1 + x}}}{x}\]
Alternative 81
Error19.7
Cost13376
\[\frac{1}{\sqrt{x}} - \frac{1}{\sqrt{1 + x}}\]
Alternative 82
Error22.4
Cost13312
\[\frac{1}{\sqrt{x}} - {\left(1 + x\right)}^{-0.5}\]
Alternative 83
Error22.3
Cost13312
\[{x}^{-0.5} - \frac{1}{\sqrt{1 + x}}\]
Alternative 84
Error49.5
Cost13248
\[\frac{\sqrt{1 + x} - \sqrt{x}}{x}\]
Alternative 85
Error31.6
Cost7488
\[\frac{1}{\sqrt{x}} \cdot \frac{1}{\left(1 + x\right) + \left(\left(x + 0.5\right) - \frac{0.125}{x}\right)}\]
Alternative 86
Error25.9
Cost7232
\[\frac{1}{\sqrt{x}} \cdot \frac{1}{\left(1 + x\right) + \left(x + 0.5\right)}\]
Alternative 87
Error2.2
Cost7104
\[\frac{1}{\sqrt{x}} \cdot \frac{1}{x + \left(1 + x\right)}\]
Alternative 88
Error31.5
Cost6976
\[\frac{1}{\sqrt{x}} - \left(1 - x \cdot 0.5\right)\]
Alternative 89
Error31.3
Cost6848
\[\frac{1}{\sqrt{x}} \cdot \frac{0.5}{x}\]
Alternative 90
Error31.9
Cost6720
\[\frac{1}{\sqrt{x}} - 1\]
Alternative 91
Error60.3
Cost64
\[1\]
Alternative 92
Error51.5
Cost64
\[0\]
Alternative 93
Error62.8
Cost64
\[-1\]

Error

Derivation

  1. Initial program 19.7

    \[\frac{1}{\sqrt{x}} - \frac{1}{\sqrt{x + 1}}\]
  2. Using strategy rm
  3. Applied frac-sub_binary64_341019.7

    \[\leadsto \color{blue}{\frac{1 \cdot \sqrt{x + 1} - \sqrt{x} \cdot 1}{\sqrt{x} \cdot \sqrt{x + 1}}}\]
  4. Simplified19.7

    \[\leadsto \frac{\color{blue}{\sqrt{1 + x} - \sqrt{x}}}{\sqrt{x} \cdot \sqrt{x + 1}}\]
  5. Simplified19.7

    \[\leadsto \frac{\sqrt{1 + x} - \sqrt{x}}{\color{blue}{\sqrt{x} \cdot \sqrt{1 + x}}}\]
  6. Using strategy rm
  7. Applied flip--_binary64_337619.5

    \[\leadsto \frac{\color{blue}{\frac{\sqrt{1 + x} \cdot \sqrt{1 + x} - \sqrt{x} \cdot \sqrt{x}}{\sqrt{1 + x} + \sqrt{x}}}}{\sqrt{x} \cdot \sqrt{1 + x}}\]
  8. Simplified0.4

    \[\leadsto \frac{\frac{\color{blue}{1}}{\sqrt{1 + x} + \sqrt{x}}}{\sqrt{x} \cdot \sqrt{1 + x}}\]
  9. Using strategy rm
  10. Applied *-un-lft-identity_binary64_34010.4

    \[\leadsto \frac{\frac{1}{\color{blue}{1 \cdot \left(\sqrt{1 + x} + \sqrt{x}\right)}}}{\sqrt{x} \cdot \sqrt{1 + x}}\]
  11. Applied add-sqr-sqrt_binary64_34230.4

    \[\leadsto \frac{\frac{\color{blue}{\sqrt{1} \cdot \sqrt{1}}}{1 \cdot \left(\sqrt{1 + x} + \sqrt{x}\right)}}{\sqrt{x} \cdot \sqrt{1 + x}}\]
  12. Applied times-frac_binary64_34070.4

    \[\leadsto \frac{\color{blue}{\frac{\sqrt{1}}{1} \cdot \frac{\sqrt{1}}{\sqrt{1 + x} + \sqrt{x}}}}{\sqrt{x} \cdot \sqrt{1 + x}}\]
  13. Applied times-frac_binary64_34070.4

    \[\leadsto \color{blue}{\frac{\frac{\sqrt{1}}{1}}{\sqrt{x}} \cdot \frac{\frac{\sqrt{1}}{\sqrt{1 + x} + \sqrt{x}}}{\sqrt{1 + x}}}\]
  14. Simplified0.4

    \[\leadsto \color{blue}{\frac{1}{\sqrt{x}}} \cdot \frac{\frac{\sqrt{1}}{\sqrt{1 + x} + \sqrt{x}}}{\sqrt{1 + x}}\]
  15. Simplified0.3

    \[\leadsto \frac{1}{\sqrt{x}} \cdot \color{blue}{\frac{1}{\left(x + 1\right) + \sqrt{x} \cdot \sqrt{x + 1}}}\]
  16. Using strategy rm
  17. Applied pow1/2_binary64_34810.3

    \[\leadsto \frac{1}{\color{blue}{{x}^{0.5}}} \cdot \frac{1}{\left(x + 1\right) + \sqrt{x} \cdot \sqrt{x + 1}}\]
  18. Applied pow-flip_binary64_34750.2

    \[\leadsto \color{blue}{{x}^{\left(-0.5\right)}} \cdot \frac{1}{\left(x + 1\right) + \sqrt{x} \cdot \sqrt{x + 1}}\]
  19. Simplified0.2

    \[\leadsto {x}^{\color{blue}{-0.5}} \cdot \frac{1}{\left(x + 1\right) + \sqrt{x} \cdot \sqrt{x + 1}}\]
  20. Simplified0.2

    \[\leadsto \color{blue}{{x}^{-0.5} \cdot \frac{1}{\left(1 + x\right) + \sqrt{x} \cdot \sqrt{1 + x}}}\]
  21. Final simplification0.2

    \[\leadsto {x}^{-0.5} \cdot \frac{1}{\left(x + 1\right) + \sqrt{x} \cdot \sqrt{x + 1}}\]

Reproduce

herbie shell --seed 2021042 
(FPCore (x)
  :name "2isqrt (example 3.6)"
  :precision binary64

  :herbie-target
  (/ 1.0 (+ (* (+ x 1.0) (sqrt x)) (* x (sqrt (+ x 1.0)))))

  (- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0)))))