Details

Time bar (total: 7.7s)

sample124.0ms

Algorithm
intervals
Results
35.0ms64×body10240exit
28.0ms51×body1280valid
16.0ms51×body640valid
7.0ms110×body80valid
6.0msbody2560valid
5.0ms28×body320valid
3.0ms95×body80nan
1.0msbody640nan
1.0ms12×body160valid
1.0msbody320nan
0.0msbody160nan

simplify249.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 23.0b

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)
1.5b
(+ (- 1.0 y) (* y (exp z)))
2.4b
(log (+ (- 1.0 y) (* y (exp z))))

rewrite57.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))
25.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
16.0ms
(+ (- 1.0 y) (* y (exp z)))
9.0ms
(log (+ (- 1.0 y) (* y (exp z))))

series293.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* y (exp z))
162.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
35.0ms
(+ (- 1.0 y) (* y (exp z)))
75.0ms
(log (+ (- 1.0 y) (* y (exp z))))

simplify57.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0499918
12002785
25001761

prune369.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 5.1b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- x (/ (log (+ 1.0 (* y (expm1 z)))) t))
0.1b
(/ (log (+ 1.0 (* y (expm1 z)))) t)
3.8b
(log (+ 1.0 (* y (expm1 z))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
56×*-un-lft-identity
54×add-cube-cbrt
49×times-frac
48×prod-diff
17×pow1
14×log-pow
add-exp-log log-div
add-cbrt-cube add-log-exp
div-sub div-inv associate-/l*
expm1-log1p-u log-prod flip3-+ fma-neg associate-/r* flip-+ log1p-expm1-u
associate--r- difference-of-squares
cbrt-undiv sub-neg flip3-- frac-2neg diff-log div-exp rem-log-exp clear-num flip-- distribute-lft-out--
Counts
3 → 121
Calls
3 calls:
10.0ms
(- x (/ (log (+ 1.0 (* y (expm1 z)))) t))
8.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
2.0ms
(log (+ 1.0 (* y (expm1 z))))

series308.0ms

Counts
3 → 9
Calls
3 calls:
78.0ms
(- x (/ (log (+ 1.0 (* y (expm1 z)))) t))
153.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
76.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify70.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
06772789
123741909
250011711

prune296.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 5.1b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- x (/ 1 (/ t (log (+ 1.0 (* y (expm1 z)))))))
0.1b
(/ 1 (/ t (log (+ 1.0 (* y (expm1 z))))))
0.1b
(/ t (log (+ 1.0 (* y (expm1 z)))))
3.8b
(log (+ 1.0 (* y (expm1 z))))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
366×times-frac
254×add-sqr-sqrt
245×*-un-lft-identity
240×add-cube-cbrt
159×prod-diff
49×pow1
44×log-pow
20×associate-/r*
19×div-inv
18×add-exp-log
11×add-cbrt-cube
div-exp
associate-/l* add-log-exp
difference-of-squares
cbrt-undiv expm1-log1p-u associate-/r/ log1p-expm1-u
log-prod fma-neg
log-div rec-exp frac-2neg 1-exp clear-num distribute-lft-out--
sub-neg flip3-- pow-flip flip3-+ diff-log rem-log-exp flip-- flip-+ inv-pow
Counts
4 → 322
Calls
4 calls:
29.0ms
(- x (/ 1 (/ t (log (+ 1.0 (* y (expm1 z)))))))
6.0ms
(/ 1 (/ t (log (+ 1.0 (* y (expm1 z))))))
2.0ms
(/ t (log (+ 1.0 (* y (expm1 z)))))
2.0ms
(log (+ 1.0 (* y (expm1 z))))

series424.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(- x (/ 1 (/ t (log (+ 1.0 (* y (expm1 z)))))))
77.0ms
(/ 1 (/ t (log (+ 1.0 (* y (expm1 z))))))
195.0ms
(/ t (log (+ 1.0 (* y (expm1 z)))))
76.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify105.0ms

Algorithm
egg-herbie
Counts
334 → 334
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
0157610340
150027401

prune529.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 5.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt t)
0.6b
(cbrt t)
3.8b
(log (+ 1.0 (* y (expm1 z))))
3.8b
(log (+ 1.0 (* y (expm1 z))))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log cbrt-prod log-prod
expm1-log1p-u log-div add-cbrt-cube log1p-expm1-u add-log-exp
flip3-+ pow1/3 rem-log-exp log-pow flip-+
Counts
4 → 58
Calls
4 calls:
0.0ms
(cbrt t)
0.0ms
(cbrt t)
2.0ms
(log (+ 1.0 (* y (expm1 z))))
2.0ms
(log (+ 1.0 (* y (expm1 z))))

series596.0ms

Counts
4 → 12
Calls
4 calls:
201.0ms
(cbrt t)
215.0ms
(cbrt t)
106.0ms
(log (+ 1.0 (* y (expm1 z))))
75.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify93.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
0236420
1782376
23740360
35001358

prune336.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 5.0b

regimes442.0ms

Accuracy

44% (4.5b remaining)

Error of 8.9b against oracle of 4.4b and baseline of 12.4b

bsearch60.0ms

Steps
ItersRangePoint
5
-3.460978998595751e-79
-9.125160771875588e-80
-2.3881342686465996e-79

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03628
13628

end0.0ms

sample3.2s

Algorithm
intervals
Results
766.0ms1552×body10240exit
757.0ms1440×body1280valid
468.0ms1581×body640valid
206.0ms3486×body80valid
170.0ms946×body320valid
138.0ms106×body2560valid
94.0ms2566×body80nan
53.0ms459×body160valid
52.0ms268×body640nan
33.0ms111×body1280nan
26.0ms203×body320nan
10.0ms121×body160nan