Average Error: 60.3 → 59.1
Time: 43.2s
Precision: 64
\[\cos^{-1} \left({\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}^{\left(\log_* (1 + a)\right)}\right)\]
\[\cos^{-1} \left({\left(\left(\log \left(\sqrt{e^{\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}}}\right) + \left(\log \left(\sqrt{\sqrt{e^{\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}}}}\right) + \log \left(\sqrt{\sqrt{e^{\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}}}}\right)\right)\right) \cdot \sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}\right)}^{\left(\log_* (1 + a)\right)}\right)\]
\cos^{-1} \left({\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}^{\left(\log_* (1 + a)\right)}\right)
\cos^{-1} \left({\left(\left(\log \left(\sqrt{e^{\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}}}\right) + \left(\log \left(\sqrt{\sqrt{e^{\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}}}}\right) + \log \left(\sqrt{\sqrt{e^{\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}}}}\right)\right)\right) \cdot \sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}\right)}^{\left(\log_* (1 + a)\right)}\right)
double f(double a) {
        double r101101 = a;
        double r101102 = cosh(r101101);
        double r101103 = r101101 * r101101;
        double r101104 = fmod(r101102, r101103);
        double r101105 = log1p(r101101);
        double r101106 = pow(r101104, r101105);
        double r101107 = acos(r101106);
        return r101107;
}

double f(double a) {
        double r101108 = a;
        double r101109 = cosh(r101108);
        double r101110 = r101108 * r101108;
        double r101111 = fmod(r101109, r101110);
        double r101112 = sqrt(r101111);
        double r101113 = exp(r101112);
        double r101114 = sqrt(r101113);
        double r101115 = log(r101114);
        double r101116 = sqrt(r101114);
        double r101117 = log(r101116);
        double r101118 = r101117 + r101117;
        double r101119 = r101115 + r101118;
        double r101120 = r101119 * r101112;
        double r101121 = log1p(r101108);
        double r101122 = pow(r101120, r101121);
        double r101123 = acos(r101122);
        return r101123;
}

Error

Bits error versus a

Derivation

  1. Initial program 60.3

    \[\cos^{-1} \left({\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}^{\left(\log_* (1 + a)\right)}\right)\]
  2. Using strategy rm
  3. Applied add-log-exp59.4

    \[\leadsto \cos^{-1} \left({\color{blue}{\left(\log \left(e^{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}\right)\right)}}^{\left(\log_* (1 + a)\right)}\right)\]
  4. Using strategy rm
  5. Applied add-sqr-sqrt59.4

    \[\leadsto \cos^{-1} \left({\left(\log \left(e^{\color{blue}{\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)} \cdot \sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}}}\right)\right)}^{\left(\log_* (1 + a)\right)}\right)\]
  6. Applied exp-prod59.4

    \[\leadsto \cos^{-1} \left({\left(\log \color{blue}{\left({\left(e^{\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}}\right)}^{\left(\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}\right)}\right)}\right)}^{\left(\log_* (1 + a)\right)}\right)\]
  7. Applied log-pow59.1

    \[\leadsto \cos^{-1} \left({\color{blue}{\left(\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)} \cdot \log \left(e^{\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}}\right)\right)}}^{\left(\log_* (1 + a)\right)}\right)\]
  8. Using strategy rm
  9. Applied add-sqr-sqrt59.1

    \[\leadsto \cos^{-1} \left({\left(\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)} \cdot \log \color{blue}{\left(\sqrt{e^{\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}}} \cdot \sqrt{e^{\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}}}\right)}\right)}^{\left(\log_* (1 + a)\right)}\right)\]
  10. Applied log-prod59.1

    \[\leadsto \cos^{-1} \left({\left(\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)} \cdot \color{blue}{\left(\log \left(\sqrt{e^{\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}}}\right) + \log \left(\sqrt{e^{\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}}}\right)\right)}\right)}^{\left(\log_* (1 + a)\right)}\right)\]
  11. Using strategy rm
  12. Applied add-sqr-sqrt59.1

    \[\leadsto \cos^{-1} \left({\left(\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)} \cdot \left(\log \left(\sqrt{e^{\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}}}\right) + \log \color{blue}{\left(\sqrt{\sqrt{e^{\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}}}} \cdot \sqrt{\sqrt{e^{\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}}}}\right)}\right)\right)}^{\left(\log_* (1 + a)\right)}\right)\]
  13. Applied log-prod59.1

    \[\leadsto \cos^{-1} \left({\left(\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)} \cdot \left(\log \left(\sqrt{e^{\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}}}\right) + \color{blue}{\left(\log \left(\sqrt{\sqrt{e^{\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}}}}\right) + \log \left(\sqrt{\sqrt{e^{\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}}}}\right)\right)}\right)\right)}^{\left(\log_* (1 + a)\right)}\right)\]
  14. Final simplification59.1

    \[\leadsto \cos^{-1} \left({\left(\left(\log \left(\sqrt{e^{\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}}}\right) + \left(\log \left(\sqrt{\sqrt{e^{\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}}}}\right) + \log \left(\sqrt{\sqrt{e^{\sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}}}}\right)\right)\right) \cdot \sqrt{\left(\left(\cosh a\right) \bmod \left(a \cdot a\right)\right)}\right)}^{\left(\log_* (1 + a)\right)}\right)\]

Reproduce

herbie shell --seed 2019104 +o rules:numerics
(FPCore (a)
  :name "Random Jason Timeout Test 012"
  (acos (pow (fmod (cosh a) (* a a)) (log1p a))))