Details

Time bar (total: 10.3s)

sample110.0ms

Algorithm
intervals
Results
28.0ms52×body1280valid
23.0ms46×body10240exit
13.0ms47×body640valid
7.0ms118×body80valid
4.0msbody2560valid
4.0ms22×body320valid
3.0ms93×body80nan
2.0msbody1280nan
2.0ms16×body160valid
1.0msbody640nan
1.0msbody320nan
0.0msbody160nan

simplify221.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.7b

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

rewrite118.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:
11.0ms
(* y (exp z))
51.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
19.0ms
(log (+ (- 1.0 y) (* y (exp z))))
35.0ms
(+ (- 1.0 y) (* y (exp z)))

series265.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* y (exp z))
144.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
65.0ms
(log (+ (- 1.0 y) (* y (exp z))))
35.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

prune340.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 3.6b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
17×add-cube-cbrt *-un-lft-identity
12×times-frac
11×pow1
add-exp-log
add-cbrt-cube
add-log-exp
log-pow
expm1-log1p-u log-div log1p-expm1-u associate-/l*
log-prod fma-def flip3-+ associate-*r* associate-*l* associate-/r* flip-+
div-sub
cbrt-undiv +-commutative frac-2neg div-exp rem-log-exp pow-prod-down prod-exp clear-num sum-log *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 87
Calls
4 calls:
5.0ms
(+ 1.0 (* y (expm1 z)))
9.0ms
(* y (expm1 z))
13.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
4.0ms
(log (+ 1.0 (* y (expm1 z))))

series292.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(+ 1.0 (* y (expm1 z)))
34.0ms
(* y (expm1 z))
153.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
67.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify53.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0473718
11893652
25001644

prune297.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 3.5b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
94×log-pow
81×*-un-lft-identity
78×times-frac
74×pow1
59×add-sqr-sqrt
57×add-cube-cbrt
40×distribute-rgt-out
32×distribute-lft-out
26×sqrt-pow1 pow1/2 associate-/l*
12×log-prod
10×add-exp-log
log-div distribute-lft1-in sqrt-div distribute-rgt1-in add-cbrt-cube
sqrt-prod
flip3-+ flip-+
expm1-log1p-u count-2 div-sub log1p-expm1-u add-log-exp
associate-*r* associate-*l* associate-/r*
associate-+l- associate-+r- rem-log-exp associate-/l/
cbrt-undiv frac-2neg div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 189
Calls
4 calls:
7.0ms
(* y (expm1 z))
55.0ms
(/ (+ (log (sqrt (+ 1.0 (* y (expm1 z))))) (log (sqrt (+ 1.0 (* y (expm1 z)))))) t)
5.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))
5.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))

series2.5s

Counts
4 → 12
Calls
4 calls:
39.0ms
(* y (expm1 z))
1.8s
(/ (+ (log (sqrt (+ 1.0 (* y (expm1 z))))) (log (sqrt (+ 1.0 (* y (expm1 z)))))) t)
342.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))
334.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))

simplify53.0ms

Algorithm
egg-herbie
Counts
201 → 201
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012092979
150012513

prune599.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 3.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cbrt (+ 1.0 (* y (expm1 z)))) (cbrt (+ 1.0 (* y (expm1 z)))))
2.7b
(log (sqrt (+ 1.0 (* y (expm1 z)))))
2.8b
(log (sqrt (* (cbrt (+ 1.0 (* y (expm1 z)))) (cbrt (+ 1.0 (* y (expm1 z)))))))
2.8b
(log (sqrt (cbrt (+ 1.0 (* y (expm1 z))))))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt cbrt-div
24×pow1
19×cbrt-prod log-prod
18×add-cube-cbrt *-un-lft-identity log-pow
14×flip3-+ flip-+
13×pow1/3
12×log-div sqrt-pow1 sqrt-div
10×sqrt-prod
add-exp-log
frac-times
swap-sqr associate-*r* associate-*l*
expm1-log1p-u associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow1/2 rem-log-exp
pow2 pow-plus
prod-exp *-commutative cbrt-unprod
Counts
4 → 129
Calls
4 calls:
28.0ms
(* (cbrt (+ 1.0 (* y (expm1 z)))) (cbrt (+ 1.0 (* y (expm1 z)))))
5.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))
21.0ms
(log (sqrt (* (cbrt (+ 1.0 (* y (expm1 z)))) (cbrt (+ 1.0 (* y (expm1 z)))))))
6.0ms
(log (sqrt (cbrt (+ 1.0 (* y (expm1 z))))))

series784.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(* (cbrt (+ 1.0 (* y (expm1 z)))) (cbrt (+ 1.0 (* y (expm1 z)))))
331.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))
139.0ms
(log (sqrt (* (cbrt (+ 1.0 (* y (expm1 z)))) (cbrt (+ 1.0 (* y (expm1 z)))))))
182.0ms
(log (sqrt (cbrt (+ 1.0 (* y (expm1 z))))))

simplify98.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
010802195
143812030
250012027

prune699.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 3.0b

regimes210.0ms

Accuracy

28.2% (5.5b remaining)

Error of 9.0b against oracle of 3.5b and baseline of 11.1b

bsearch88.0ms

Steps
ItersRangePoint
7
-3.144652509885462e-246
-2.7496425187334983e-248
-3.083544696508266e-246

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03524
13524

end0.0ms

sample3.3s

Algorithm
intervals
Results
769.0ms1578×body10240exit
758.0ms1476×body1280valid
435.0ms1499×body640valid
216.0ms3611×body80valid
162.0ms898×body320valid
114.0ms88×body2560valid
92.0ms2592×body80nan
53.0ms470×body160valid
51.0ms263×body640nan
32.0ms110×body1280nan
27.0ms190×body320nan
10.0ms122×body160nan