


Bits error versus t



Bits error versus l



Bits error versus Om



Bits error versus Omc
if (/ t l) < 5.521943502452571e+42Initial program 7.1
Initial simplification7.1
rmApplied expm1-log1p-u7.1
rmApplied sqrt-div7.1
if 5.521943502452571e+42 < (/ t l) Initial program 22.8
Initial simplification22.8
rmApplied expm1-log1p-u22.8
rmApplied sqrt-div22.8
Taylor expanded around -inf 1.1
Final simplification5.8
herbie shell --seed 2018365 +o rules:numerics
(FPCore (t l Om Omc)
:name "Toniolo and Linder, Equation (2)"
(asin (sqrt (/ (- 1 (pow (/ Om Omc) 2)) (+ 1 (* 2 (pow (/ t l) 2)))))))
Time bar (total: 53.7s)Debug log
1 alts after pruning (1 fresh and 0 done)
Merged error: 12.0b
Found 4 expressions with local error:
| 10.9b | (sqrt (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1))) |
| 0.5b | (asin (sqrt (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1)))) |
| 0.4b | (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1)) |
| 0.2b | (* (/ t l) (/ t l)) |
4 calls. Slowest were:
| 15.0ms | (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1)) |
| 7.0ms | (* (/ t l) (/ t l)) |
| 4.0ms | (sqrt (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1))) |
4 calls. Slowest were:
| 123.0ms | (sqrt (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1))) |
| 61.0ms | (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1)) |
| 20.0ms | (asin (sqrt (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1)))) |
| 19.0ms | (* (/ t l) (/ t l)) |
71 calls. Slowest were:
| 935.0ms | (* (* (* (/ t l) (/ t l)) (/ t l)) (* (* (/ t l) (/ t l)) (/ t l))) |
| 442.0ms | (asin (sqrt (/ (- 1 (/ (pow Om 2) (pow Omc 2))) (fma (/ (pow t 2) (pow l 2)) 2 1)))) |
| 440.0ms | (asin (sqrt (/ (- 1 (/ (pow Om 2) (pow Omc 2))) (fma (/ (pow t 2) (pow l 2)) 2 1)))) |
6 alts after pruning (6 fresh and 0 done)
Merged error: 12.0b
Found 4 expressions with local error:
| 10.9b | (sqrt (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1))) |
| 0.5b | (asin (sqrt (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1)))) |
| 0.4b | (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1)) |
| 0.2b | (* (/ t l) (/ t l)) |
4 calls. Slowest were:
| 4.0ms | (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1)) |
| 3.0ms | (* (/ t l) (/ t l)) |
| 2.0ms | (sqrt (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1))) |
4 calls. Slowest were:
| 133.0ms | (sqrt (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1))) |
| 82.0ms | (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1)) |
| 25.0ms | (* (/ t l) (/ t l)) |
| 10.0ms | (asin (sqrt (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1)))) |
71 calls. Slowest were:
| 972.0ms | (* (* (* (/ t l) (/ t l)) (/ t l)) (* (* (/ t l) (/ t l)) (/ t l))) |
| 441.0ms | (asin (sqrt (/ (- 1 (/ (pow Om 2) (pow Omc 2))) (fma (/ (pow t 2) (pow l 2)) 2 1)))) |
| 406.0ms | (/ (* (* (- 1 (* (/ Om Omc) (/ Om Omc))) (- 1 (* (/ Om Omc) (/ Om Omc)))) (- 1 (* (/ Om Omc) (/ Om Omc)))) (* (* (fma (* (/ t l) (/ t l)) 2 1) (fma (* (/ t l) (/ t l)) 2 1)) (fma (* (/ t l) (/ t l)) 2 1))) |
5 alts after pruning (5 fresh and 0 done)
Merged error: 12.0b
Found 4 expressions with local error:
| 11.0b | (sqrt (fma (* (/ t l) (/ t l)) 2 1)) |
| 0.6b | (/ (sqrt (- 1 (* (/ Om Omc) (/ Om Omc)))) (sqrt (fma (* (/ t l) (/ t l)) 2 1))) |
| 0.5b | (asin (/ (sqrt (- 1 (* (/ Om Omc) (/ Om Omc)))) (sqrt (fma (* (/ t l) (/ t l)) 2 1)))) |
| 0.2b | (* (/ t l) (/ t l)) |
4 calls. Slowest were:
| 14.0ms | (/ (sqrt (- 1 (* (/ Om Omc) (/ Om Omc)))) (sqrt (fma (* (/ t l) (/ t l)) 2 1))) |
| 6.0ms | (* (/ t l) (/ t l)) |
| 1.0ms | (sqrt (fma (* (/ t l) (/ t l)) 2 1)) |
4 calls. Slowest were:
| 152.0ms | (/ (sqrt (- 1 (* (/ Om Omc) (/ Om Omc)))) (sqrt (fma (* (/ t l) (/ t l)) 2 1))) |
| 53.0ms | (sqrt (fma (* (/ t l) (/ t l)) 2 1)) |
| 24.0ms | (* (/ t l) (/ t l)) |
| 20.0ms | (asin (/ (sqrt (- 1 (* (/ Om Omc) (/ Om Omc)))) (sqrt (fma (* (/ t l) (/ t l)) 2 1)))) |
119 calls. Slowest were:
| 935.0ms | (* (* (* (/ t l) (/ t l)) (/ t l)) (* (* (/ t l) (/ t l)) (/ t l))) |
| 534.0ms | (asin (sqrt (/ (- 1 (/ (pow Om 2) (pow Omc 2))) (fma (/ (pow t 2) (pow l 2)) 2 1)))) |
| 501.0ms | (asin (sqrt (/ (- 1 (/ (pow Om 2) (pow Omc 2))) (fma (/ (pow t 2) (pow l 2)) 2 1)))) |
6 alts after pruning (5 fresh and 1 done)
Merged error: 7.3b
Found 4 expressions with local error:
| 10.9b | (sqrt (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1))) |
| 10.9b | (sqrt (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1))) |
| 8.5b | (sqrt (sqrt (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1)))) |
| 8.5b | (sqrt (sqrt (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1)))) |
4 calls. Slowest were:
| 2.0ms | (sqrt (sqrt (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1)))) |
| 2.0ms | (sqrt (sqrt (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1)))) |
| 2.0ms | (sqrt (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1))) |
4 calls. Slowest were:
| 225.0ms | (sqrt (sqrt (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1)))) |
| 191.0ms | (sqrt (sqrt (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1)))) |
| 137.0ms | (sqrt (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1))) |
| 97.0ms | (sqrt (/ (- 1 (* (/ Om Omc) (/ Om Omc))) (fma (* (/ t l) (/ t l)) 2 1))) |
84 calls. Slowest were:
| 627.0ms | (exp (* 1/4 (- (+ (* 2 (log (/ 1 t))) (+ (* 2 (log (/ 1 Omc))) (log -1/2))) (+ (* 2 (log (/ 1 Om))) (* 2 (log (/ 1 l))))))) |
| 595.0ms | (exp (* 1/4 (- (+ (* 2 (log (/ 1 t))) (+ (* 2 (log (/ 1 Omc))) (log -1/2))) (+ (* 2 (log (/ 1 Om))) (* 2 (log (/ 1 l))))))) |
| 428.0ms | (exp (* 1/4 (- (+ (* 2 (log (/ -1 t))) (+ (* 2 (log (/ -1 Omc))) (log -1/2))) (+ (* 2 (log (/ -1 l))) (* 2 (log (/ -1 Om))))))) |
6 alts after pruning (4 fresh and 2 done)
Merged error: 7.3b
97.8% (0.1b remaining)
Error of 5.8b against oracle of 5.7b and baseline of 10.5b