\[\sqrt{x + 1} - \sqrt{x}\]
Test:
NMSE example 3.1
Bits:
128 bits
Bits error versus x
Time: 5.3 s
Input Error: 29.8
Output Error: 0.2
Log:
Profile: 🕒
\(\frac{1}{\sqrt{x + 1} + \sqrt{x}}\)
  1. Started with
    \[\sqrt{x + 1} - \sqrt{x}\]
    29.8
  2. Using strategy rm
    29.8
  3. Applied flip-- to get
    \[\color{red}{\sqrt{x + 1} - \sqrt{x}} \leadsto \color{blue}{\frac{{\left(\sqrt{x + 1}\right)}^2 - {\left(\sqrt{x}\right)}^2}{\sqrt{x + 1} + \sqrt{x}}}\]
    29.6
  4. Applied simplify to get
    \[\frac{\color{red}{{\left(\sqrt{x + 1}\right)}^2 - {\left(\sqrt{x}\right)}^2}}{\sqrt{x + 1} + \sqrt{x}} \leadsto \frac{\color{blue}{1}}{\sqrt{x + 1} + \sqrt{x}}\]
    0.2

Original test:


(lambda ((x default))
  #:name "NMSE example 3.1"
  (- (sqrt (+ x 1)) (sqrt x))
  #:target
  (/ 1 (+ (sqrt (+ x 1)) (sqrt x))))