Details

Time bar (total: 7.4s)

sample102.0ms

Algorithm
intervals
Results
28.0ms58×body10240exit
19.0ms37×body1280valid
15.0ms50×body640valid
7.0ms38×body320valid
7.0ms117×body80valid
4.0msbody2560valid
3.0ms78×body80nan
1.0ms11×body160valid
1.0msbody320nan
1.0msbody640nan
0.0msbody1280nan
0.0msbody160nan

simplify205.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0207
1357
2537
3817
41217
52507
63147
75327
89087
913977
1015517
1118867
1245457
1350017

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 23.2b

Counts
2 → 1

localize13.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.8b
(+ (- 1.0 y) (* y (exp z)))

rewrite67.0ms

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

series321.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* y (exp z))
154.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
78.0ms
(log (+ (- 1.0 y) (* y (exp z))))
64.0ms
(+ (- 1.0 y) (* y (exp z)))

simplify58.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0496959
11999815
25002791

prune290.0ms

Filtered
123 candidates to 92 candidates (25.2%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1176123
Fresh000
Picked101
Done000
Total1186124

Merged error: 4.4b

Counts
124 → 6

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
64×add-sqr-sqrt
63×*-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
log-prod
expm1-log1p-u div-sub associate-*l* log1p-expm1-u div-inv associate-/l*
flip3-+ fma-neg associate-*r* associate-/r* flip-+
distribute-lft-out 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 → 143
Calls
4 calls:
9.0ms
(- x (/ (log (+ 1.0 (* y (expm1 z)))) t))
3.0ms
(* y (expm1 z))
8.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
6.0ms
(log (+ 1.0 (* y (expm1 z))))

series460.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(- x (/ (log (+ 1.0 (* y (expm1 z)))) t))
40.0ms
(* y (expm1 z))
256.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
79.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify87.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
07372879
127311989
250011791

prune293.0ms

Filtered
155 candidates to 89 candidates (42.6%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1469155
Fresh235
Picked101
Done000
Total14912161

Merged error: 4.3b

Counts
161 → 12

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

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

series411.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* y (expm1 z))
81.0ms
(/ 1 (/ t (log (+ 1.0 (* y (expm1 z))))))
206.0ms
(/ t (log (+ 1.0 (* y (expm1 z)))))
79.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify88.0ms

Algorithm
egg-herbie
Counts
184 → 184
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
07221741
134471575
250011482

prune356.0ms

Filtered
184 candidates to 106 candidates (42.4%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1813184
Fresh2911
Picked101
Done000
Total18412196

Merged error: 4.2b

Counts
196 → 12

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
112×add-sqr-sqrt
82×*-un-lft-identity
75×prod-diff
72×add-cube-cbrt
54×associate-*l*
46×times-frac
16×associate-*r*
15×log-prod unswap-sqr
14×add-exp-log
11×pow1
associate-*l/ add-cbrt-cube
distribute-rgt-in distribute-lft-in associate--r+ add-log-exp
log-pow div-inv
expm1-log1p-u prod-exp *-commutative log1p-expm1-u difference-of-squares
fma-neg associate-/r* associate-/l* distribute-lft-out--
div-exp cbrt-unprod
cbrt-undiv sub-neg rec-exp flip3-- frac-2neg diff-log 1-exp rem-log-exp pow-prod-down clear-num flip-- fma-udef
Counts
4 → 181
Calls
4 calls:
14.0ms
(- x (* (/ 1 t) (log (fma (expm1 z) y 1.0))))
1.0ms
(fma (expm1 z) y 1.0)
8.0ms
(* (/ 1 t) (log (fma (expm1 z) y 1.0)))
2.0ms
(log (fma (expm1 z) y 1.0))

series281.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(- x (* (/ 1 t) (log (fma (expm1 z) y 1.0))))
46.0ms
(fma (expm1 z) y 1.0)
86.0ms
(* (/ 1 t) (log (fma (expm1 z) y 1.0)))
71.0ms
(log (fma (expm1 z) y 1.0))

simplify112.0ms

Algorithm
egg-herbie
Counts
193 → 193
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
09443531
134902314
250012168

prune306.0ms

Filtered
193 candidates to 103 candidates (46.6%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1885193
Fresh4711
Picked011
Done000
Total19213205

Merged error: 4.2b

Counts
205 → 13

regimes425.0ms

Accuracy

-3.1% (7.2b remaining)

Error of 11.9b against oracle of 4.6b and baseline of 11.6b

bsearch192.0ms

Steps
ItersRangePoint
9
4.7151388039762676e-80
1.212700641608673e-73
1.2328997270443114e-76
7
-1.9974011950166226e-147
-7.1959372318129105e-149
-7.878876498544208e-149

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04026
14026

end0.0ms

sample3.2s

Algorithm
intervals
Results
790.0ms1566×body10240exit
750.0ms1407×body1280valid
477.0ms1614×body640valid
215.0ms3486×body80valid
175.0ms945×body320valid
109.0ms89×body2560valid
91.0ms2500×body80nan
57.0ms489×body160valid
54.0ms277×body640nan
33.0ms116×body1280nan
25.0ms186×body320nan
10.0ms119×body160nan