\[\frac{\log \left(1 - x\right)}{\log \left(1 + x\right)}\]
Test:
NMSE example 3.10
Bits:
128 bits
Bits error versus x
Time: 12.8 s
Input Error: 60.8
Output Error: 0.1
Log:
Profile: 🕒
\(\sqrt[3]{\log_* (1 + (e^{{\left(\frac{\log_* (1 + \left(-x\right))}{\log_* (1 + x)}\right)}^3} - 1)^*)}\)
  1. Started with
    \[\frac{\log \left(1 - x\right)}{\log \left(1 + x\right)}\]
    60.8
  2. Applied simplify to get
    \[\color{red}{\frac{\log \left(1 - x\right)}{\log \left(1 + x\right)}} \leadsto \color{blue}{\frac{\log \left(1 - x\right)}{\log_* (1 + x)}}\]
    60.0
  3. Using strategy rm
    60.0
  4. Applied sub-neg to get
    \[\frac{\log \color{red}{\left(1 - x\right)}}{\log_* (1 + x)} \leadsto \frac{\log \color{blue}{\left(1 + \left(-x\right)\right)}}{\log_* (1 + x)}\]
    60.0
  5. Applied log1p-def to get
    \[\frac{\color{red}{\log \left(1 + \left(-x\right)\right)}}{\log_* (1 + x)} \leadsto \frac{\color{blue}{\log_* (1 + \left(-x\right))}}{\log_* (1 + x)}\]
    0.0
  6. Using strategy rm
    0.0
  7. Applied add-cbrt-cube to get
    \[\frac{\log_* (1 + \left(-x\right))}{\color{red}{\log_* (1 + x)}} \leadsto \frac{\log_* (1 + \left(-x\right))}{\color{blue}{\sqrt[3]{{\left(\log_* (1 + x)\right)}^3}}}\]
    40.4
  8. Applied add-cbrt-cube to get
    \[\frac{\color{red}{\log_* (1 + \left(-x\right))}}{\sqrt[3]{{\left(\log_* (1 + x)\right)}^3}} \leadsto \frac{\color{blue}{\sqrt[3]{{\left(\log_* (1 + \left(-x\right))\right)}^3}}}{\sqrt[3]{{\left(\log_* (1 + x)\right)}^3}}\]
    40.9
  9. Applied cbrt-undiv to get
    \[\color{red}{\frac{\sqrt[3]{{\left(\log_* (1 + \left(-x\right))\right)}^3}}{\sqrt[3]{{\left(\log_* (1 + x)\right)}^3}}} \leadsto \color{blue}{\sqrt[3]{\frac{{\left(\log_* (1 + \left(-x\right))\right)}^3}{{\left(\log_* (1 + x)\right)}^3}}}\]
    40.8
  10. Applied simplify to get
    \[\sqrt[3]{\color{red}{\frac{{\left(\log_* (1 + \left(-x\right))\right)}^3}{{\left(\log_* (1 + x)\right)}^3}}} \leadsto \sqrt[3]{\color{blue}{{\left(\frac{\log_* (1 + \left(-x\right))}{\log_* (1 + x)}\right)}^3}}\]
    0.0
  11. Using strategy rm
    0.0
  12. Applied log1p-expm1-u to get
    \[\sqrt[3]{\color{red}{{\left(\frac{\log_* (1 + \left(-x\right))}{\log_* (1 + x)}\right)}^3}} \leadsto \sqrt[3]{\color{blue}{\log_* (1 + (e^{{\left(\frac{\log_* (1 + \left(-x\right))}{\log_* (1 + x)}\right)}^3} - 1)^*)}}\]
    0.1

Original test:


(lambda ((x default))
  #:name "NMSE example 3.10"
  (/ (log (- 1 x)) (log (+ 1 x)))
  #:target
  (- (+ (+ (+ 1 x) (/ (sqr x) 2)) (* 5/12 (pow x 3)))))