Details

Time bar (total: 9.6s)

sample109.0ms

Algorithm
intervals
Results
33.0ms47×body1280valid
20.0ms49×body640valid
10.0ms111×body80valid
7.0ms27×body320valid
6.0ms97×body80nan
4.0ms59×body80overflowed
4.0ms22×body160valid
2.0msbody1280nan
2.0msbody640nan
1.0msbody320nan
1.0msbody160nan

simplify214.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0207
1357
2537
3817
41217
52507
63147
75327
89087
913977
1015537
1118927
1246827
1350017

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.5b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* y (exp z))
0.0b
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
2.2b
(log (+ (- 1.0 y) (* y (exp z))))
3.8b
(+ (- 1.0 y) (* y (exp z)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
25×*-un-lft-identity
23×add-cube-cbrt
12×times-frac
11×pow1 associate-+l+
prod-diff add-log-exp
add-exp-log add-cbrt-cube
fma-def log-pow
expm1-log1p-u log-div log1p-expm1-u associate-/l*
log-prod flip3-+ associate-*r* associate-*l* associate-/r* flip-+
div-sub sum-log
cbrt-undiv +-commutative associate-+l- sub-neg frac-2neg diff-log div-exp rem-log-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 102
Calls
4 calls:
5.0ms
(* y (exp z))
24.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
9.0ms
(log (+ (- 1.0 y) (* y (exp z))))
16.0ms
(+ (- 1.0 y) (* y (exp z)))

series280.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* y (exp z))
152.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
73.0ms
(log (+ (- 1.0 y) (* y (exp z))))
34.0ms
(+ (- 1.0 y) (* y (exp z)))

simplify59.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0499918
12002785
25001761

prune374.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 3.6b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(* y (expm1 z))
0.1b
(/ (log (+ 1.0 (* y (expm1 z)))) t)
3.3b
(log (+ 1.0 (* y (expm1 z))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
12×times-frac
10×pow1
add-exp-log
add-cbrt-cube
log-pow
log-div associate-/l*
expm1-log1p-u log-prod associate-*r* associate-*l* associate-/r* log1p-expm1-u add-log-exp
flip3-+ div-sub flip-+
cbrt-undiv frac-2neg div-exp rem-log-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv unswap-sqr
Counts
3 → 71
Calls
3 calls:
3.0ms
(* y (expm1 z))
6.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
2.0ms
(log (+ 1.0 (* y (expm1 z))))

series267.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(* y (expm1 z))
156.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
74.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify49.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0429631
11711580
25002571

prune258.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 3.5b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* y (expm1 z))
0.1b
(/ t (log (+ 1.0 (* y (expm1 z)))))
0.1b
(/ 1 (/ t (log (+ 1.0 (* y (expm1 z))))))
3.3b
(log (+ 1.0 (* y (expm1 z))))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
108×times-frac
67×add-sqr-sqrt
65×add-cube-cbrt *-un-lft-identity
24×pow1
20×add-exp-log associate-/r*
17×log-pow
13×add-cbrt-cube
div-exp
div-inv associate-/l*
cbrt-undiv expm1-log1p-u log1p-expm1-u add-log-exp
log-prod associate-*r* associate-*l*
log-div rec-exp frac-2neg 1-exp clear-num
pow-flip flip3-+ rem-log-exp pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod flip-+ inv-pow unswap-sqr
Counts
4 → 159
Calls
4 calls:
3.0ms
(* y (expm1 z))
2.0ms
(/ t (log (+ 1.0 (* y (expm1 z)))))
6.0ms
(/ 1 (/ t (log (+ 1.0 (* y (expm1 z))))))
2.0ms
(log (+ 1.0 (* y (expm1 z))))

series404.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* y (expm1 z))
205.0ms
(/ t (log (+ 1.0 (* y (expm1 z)))))
81.0ms
(/ 1 (/ t (log (+ 1.0 (* y (expm1 z))))))
76.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify87.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
07231701
134511541
250021448

prune418.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 3.5b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ 1.0 (* y (expm1 z))))
0.1b
(/ (+ (log (sqrt (+ 1.0 (* y (expm1 z))))) (log (sqrt (+ 1.0 (* y (expm1 z)))))) t)
3.4b
(log (sqrt (+ 1.0 (* y (expm1 z)))))
3.4b
(log (sqrt (+ 1.0 (* y (expm1 z)))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
94×log-pow
80×*-un-lft-identity
78×times-frac
73×pow1
57×add-sqr-sqrt
56×add-cube-cbrt
40×distribute-rgt-out
32×distribute-lft-out
27×sqrt-pow1 pow1/2
26×associate-/l*
12×log-prod
10×sqrt-div
sqrt-prod
add-exp-log log-div distribute-lft1-in distribute-rgt1-in
flip3-+ add-cbrt-cube flip-+
expm1-log1p-u count-2 div-sub log1p-expm1-u add-log-exp
associate-/r*
associate-+l- associate-+r- rem-log-exp associate-/l/
cbrt-undiv rem-sqrt-square frac-2neg div-exp clear-num div-inv
Counts
4 → 186
Calls
4 calls:
3.0ms
(sqrt (+ 1.0 (* y (expm1 z))))
28.0ms
(/ (+ (log (sqrt (+ 1.0 (* y (expm1 z))))) (log (sqrt (+ 1.0 (* y (expm1 z)))))) t)
2.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))
2.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))

series2.5s

Counts
4 → 12
Calls
4 calls:
352.0ms
(sqrt (+ 1.0 (* y (expm1 z))))
1.5s
(/ (+ (log (sqrt (+ 1.0 (* y (expm1 z))))) (log (sqrt (+ 1.0 (* y (expm1 z)))))) t)
342.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))
343.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))

simplify57.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
012603109
150022589

prune603.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 3.2b

regimes290.0ms

Accuracy

39.6% (4.5b remaining)

Error of 8.2b against oracle of 3.7b and baseline of 11.2b

bsearch153.0ms

Steps
ItersRangePoint
8
4.120859846406049e-58
2.66572929097632e-55
4.717741906354947e-57
5
-5.111952297160968e-38
-2.2868282571572898e-38
-4.6972541441660704e-38

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04738
14738

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.0s1489×body1280valid
634.0ms1525×body640valid
324.0ms3565×body80valid
249.0ms903×body320valid
168.0ms2551×body80nan
106.0ms1490×body80overflowed
102.0ms69×body2560valid
87.0ms264×body640nan
84.0ms473×body160valid
58.0ms134×body1280nan
39.0ms176×body320nan
14.0ms97×body160nan