Details

Time bar (total: 9.2s)

sample104.0ms

Algorithm
intervals
Results
28.0ms59×body10240exit
23.0ms47×body1280valid
13.0ms49×body640valid
6.0ms97×body80nan
6.0ms111×body80valid
5.0ms27×body320valid
2.0ms22×body160valid
2.0msbody1280nan
1.0msbody640nan
1.0msbody320nan
1.0msbody160nan

simplify209.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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 26.5b

Counts
2 → 1

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)))

rewrite28.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))
8.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
5.0ms
(log (+ (- 1.0 y) (* y (exp z))))
7.0ms
(+ (- 1.0 y) (* y (exp z)))

series307.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* y (exp z))
177.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
69.0ms
(log (+ (- 1.0 y) (* y (exp z))))
39.0ms
(+ (- 1.0 y) (* y (exp z)))

simplify64.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0499918
12002785
25001761

prune335.0ms

Filtered
114 candidates to 91 candidates (79.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1095114
Fresh000
Picked101
Done000
Total1105115

Merged error: 3.6b

Counts
115 → 5

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))))

rewrite13.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))
5.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
3.0ms
(log (+ 1.0 (* y (expm1 z))))

series269.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(* y (expm1 z))
161.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
72.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify47.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0429631
11711580
25002571

prune216.0ms

Filtered
80 candidates to 62 candidates (77.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New75580
Fresh314
Picked101
Done000
Total79685

Merged error: 3.5b

Counts
85 → 6

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))))

rewrite24.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))
3.0ms
(/ t (log (+ 1.0 (* y (expm1 z)))))
6.0ms
(/ 1 (/ t (log (+ 1.0 (* y (expm1 z))))))
3.0ms
(log (+ 1.0 (* y (expm1 z))))

series387.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* y (expm1 z))
202.0ms
(/ t (log (+ 1.0 (* y (expm1 z)))))
77.0ms
(/ 1 (/ t (log (+ 1.0 (* y (expm1 z))))))
68.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify82.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
07231701
134511541
250021448

prune337.0ms

Filtered
171 candidates to 102 candidates (59.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1692171
Fresh145
Picked011
Done000
Total1707177

Merged error: 3.5b

Counts
177 → 7

localize186.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)))))

rewrite29.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))))
12.0ms
(/ (+ (log (sqrt (+ 1.0 (* y (expm1 z))))) (log (sqrt (+ 1.0 (* y (expm1 z)))))) t)
3.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))
3.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))

series2.5s

Counts
4 → 12
Calls
4 calls:
362.0ms
(sqrt (+ 1.0 (* y (expm1 z))))
1.4s
(/ (+ (log (sqrt (+ 1.0 (* y (expm1 z))))) (log (sqrt (+ 1.0 (* y (expm1 z)))))) t)
329.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))
329.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))

simplify66.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
012603093
150012585

prune502.0ms

Filtered
198 candidates to 120 candidates (60.6%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1962198
Fresh055
Picked011
Done011
Total1969205

Merged error: 3.2b

Counts
205 → 9

regimes305.0ms

Accuracy

39.6% (4.5b remaining)

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

bsearch126.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
04230
14230

end0.0ms

sample3.1s

Algorithm
intervals
Results
789.0ms1489×body1280valid
724.0ms1490×body10240exit
445.0ms1525×body640valid
207.0ms3565×body80valid
161.0ms903×body320valid
90.0ms2551×body80nan
87.0ms69×body2560valid
55.0ms473×body160valid
51.0ms264×body640nan
38.0ms134×body1280nan
25.0ms176×body320nan
8.0ms97×body160nan