Details

Time bar (total: 7.2s)

sample80.0ms

Algorithm
intervals
Results
23.0ms46×body1280valid
11.0ms43×body640valid
8.0ms133×body80valid
4.0ms84×body80overflowed
4.0msbody2560valid
3.0ms17×body320valid
2.0ms66×body80nan
2.0ms14×body160valid
2.0msbody640nan
1.0msbody1280nan
1.0msbody160nan
0.0msbody320nan

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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 21.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)
1.8b
(+ (- 1.0 y) (* y (exp z)))
1.9b
(log (+ (- 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))
52.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
31.0ms
(+ (- 1.0 y) (* y (exp z)))
21.0ms
(log (+ (- 1.0 y) (* y (exp z))))

series281.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* y (exp z))
156.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
33.0ms
(+ (- 1.0 y) (* y (exp z)))
71.0ms
(log (+ (- 1.0 y) (* y (exp z))))

simplify60.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0499918
12002785
25001761

prune544.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 1.7b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite26.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:
6.0ms
(* y (expm1 z))
14.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
4.0ms
(log (+ 1.0 (* y (expm1 z))))

series240.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(* y (expm1 z))
139.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
67.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify52.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0429631
11711580
25002571

prune250.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 1.7b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.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:
5.0ms
(/ t (log (+ 1.0 (* y (expm1 z)))))
6.0ms
(* y (expm1 z))
12.0ms
(/ 1 (/ t (log (+ 1.0 (* y (expm1 z))))))
4.0ms
(log (+ 1.0 (* y (expm1 z))))

series373.0ms

Counts
4 → 12
Calls
4 calls:
193.0ms
(/ t (log (+ 1.0 (* y (expm1 z)))))
38.0ms
(* y (expm1 z))
71.0ms
(/ 1 (/ t (log (+ 1.0 (* y (expm1 z))))))
70.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify90.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07231701
134511541
250021448

prune417.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 1.6b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
54×add-sqr-sqrt
46×times-frac
38×add-cube-cbrt *-un-lft-identity
37×sqrt-prod
25×associate-*r*
16×pow1
13×add-exp-log
11×add-cbrt-cube
10×log-pow
associate-*l* associate-/l*
log-prod unswap-sqr
expm1-log1p-u log-div log1p-expm1-u add-log-exp
associate-/r*
cbrt-undiv flip3-+ div-exp rem-log-exp prod-exp cbrt-unprod flip-+ div-inv
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
4 → 131
Calls
4 calls:
7.0ms
(/ (sqrt (log (+ 1.0 (* y (expm1 z))))) t)
24.0ms
(* (sqrt (log (+ 1.0 (* y (expm1 z))))) (/ (sqrt (log (+ 1.0 (* y (expm1 z))))) t))
4.0ms
(log (+ 1.0 (* y (expm1 z))))
4.0ms
(log (+ 1.0 (* y (expm1 z))))

series1.0s

Counts
4 → 12
Calls
4 calls:
746.0ms
(/ (sqrt (log (+ 1.0 (* y (expm1 z))))) t)
148.0ms
(* (sqrt (log (+ 1.0 (* y (expm1 z))))) (/ (sqrt (log (+ 1.0 (* y (expm1 z))))) t))
74.0ms
(log (+ 1.0 (* y (expm1 z))))
72.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify75.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06361804
126271583
250011512

prune485.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 1.6b

regimes269.0ms

Accuracy

42.1% (4.4b remaining)

Error of 5.6b against oracle of 1.2b and baseline of 8.8b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03417
13417

end0.0ms

sample2.5s

Algorithm
intervals
Results
696.0ms1388×body1280valid
385.0ms1437×body640valid
223.0ms3962×body80valid
125.0ms742×body320valid
116.0ms2510×body80overflowed
99.0ms79×body2560valid
99.0ms2723×body80nan
54.0ms289×body640nan
45.0ms420×body160valid
36.0ms130×body1280nan
25.0ms206×body320nan
9.0ms119×body160nan