Details

Time bar (total: 7.7s)

sample102.0ms

Algorithm
intervals
Results
28.0ms49×body1280valid
20.0ms41×body10240exit
15.0ms55×body640valid
6.0ms101×body80valid
6.0ms31×body320valid
4.0msbody2560valid
2.0ms72×body80nan
2.0ms18×body160valid
1.0msbody640nan
1.0msbody1280nan
1.0msbody320nan
0.0msbody160nan

simplify216.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: 25.4b

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

rewrite58.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:
7.0ms
(* y (exp z))
23.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))
151.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
73.0ms
(log (+ (- 1.0 y) (* y (exp z))))
35.0ms
(+ (- 1.0 y) (* y (exp z)))

simplify56.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0499918
12002785
25001761

prune362.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 2.6b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

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

series350.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(- x (/ (log (+ 1.0 (* y (expm1 z)))) t))
37.0ms
(* y (expm1 z))
157.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
77.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify94.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
07462869
127691983
250011785

prune410.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 2.5b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(cbrt (+ 1.0 (* y (expm1 z))))
0.1b
(cbrt (+ 1.0 (* y (expm1 z))))
3.1b
(log (cbrt (+ 1.0 (* y (expm1 z)))))
3.1b
(log (cbrt (+ 1.0 (* y (expm1 z)))))

rewrite13.0ms

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

series627.0ms

Counts
4 → 12
Calls
4 calls:
162.0ms
(cbrt (+ 1.0 (* y (expm1 z))))
167.0ms
(cbrt (+ 1.0 (* y (expm1 z))))
150.0ms
(log (cbrt (+ 1.0 (* y (expm1 z)))))
148.0ms
(log (cbrt (+ 1.0 (* y (expm1 z)))))

simplify42.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0318880
11062820
25001794

prune458.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 2.5b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 1/3 (log (+ 1.0 (* y (expm1 z)))))
0.1b
(cbrt (+ 1.0 (* y (expm1 z))))
3.0b
(log (+ 1.0 (* y (expm1 z))))
3.1b
(log (cbrt (+ 1.0 (* y (expm1 z)))))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
15×log-prod
14×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
pow1
add-exp-log
cbrt-prod add-cbrt-cube
expm1-log1p-u log-div cbrt-div associate-*r* log-pow log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in flip3-+ associate-*l* flip-+
pow1/3 rem-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 78
Calls
4 calls:
6.0ms
(* 1/3 (log (+ 1.0 (* y (expm1 z)))))
2.0ms
(cbrt (+ 1.0 (* y (expm1 z))))
2.0ms
(log (+ 1.0 (* y (expm1 z))))
3.0ms
(log (cbrt (+ 1.0 (* y (expm1 z)))))

series486.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(* 1/3 (log (+ 1.0 (* y (expm1 z)))))
160.0ms
(cbrt (+ 1.0 (* y (expm1 z))))
79.0ms
(log (+ 1.0 (* y (expm1 z))))
152.0ms
(log (cbrt (+ 1.0 (* y (expm1 z)))))

simplify58.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0454873
11637788
25001755

prune433.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 2.5b

regimes368.0ms

Accuracy

44% (3.9b remaining)

Error of 7.9b against oracle of 4.0b and baseline of 11.0b

bsearch42.0ms

Steps
ItersRangePoint
4
-1.835471523199371e-27
-1.0306700494205176e-27
-1.052384401893189e-27

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03930
13930

end0.0ms

sample3.1s

Algorithm
intervals
Results
779.0ms1567×body10240exit
760.0ms1438×body1280valid
468.0ms1643×body640valid
209.0ms3542×body80valid
156.0ms880×body320valid
94.0ms69×body2560valid
93.0ms2490×body80nan
61.0ms301×body640nan
53.0ms458×body160valid
31.0ms107×body1280nan
25.0ms188×body320nan
9.0ms115×body160nan