Details

Time bar (total: 8.1s)

sample103.0ms

Algorithm
intervals
Results
20.0ms42×body1280valid
19.0ms43×body10240exit
17.0ms65×body640valid
6.0ms103×body80valid
5.0msbody2560valid
5.0ms28×body320valid
4.0msbody640nan
2.0ms65×body80nan
2.0ms17×body160valid
1.0msbody1280nan
1.0msbody320nan
0.0msbody160nan

simplify207.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: 26.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.5b
(log (+ (- 1.0 y) (* y (exp z))))
2.6b
(+ (- 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)
19.0ms
(log (+ (- 1.0 y) (* y (exp z))))
33.0ms
(+ (- 1.0 y) (* y (exp z)))

series299.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* y (exp z))
164.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
73.0ms
(log (+ (- 1.0 y) (* y (exp z))))
40.0ms
(+ (- 1.0 y) (* y (exp z)))

simplify58.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0499918
12002785
25001761

prune356.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 4.2b

localize9.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)
3.6b
(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:
8.0ms
(+ 1.0 (* y (expm1 z)))
7.0ms
(* y (expm1 z))
13.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
4.0ms
(log (+ 1.0 (* y (expm1 z))))

series359.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(+ 1.0 (* y (expm1 z)))
58.0ms
(* y (expm1 z))
171.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
72.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify50.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0473718
11893652
25001644

prune302.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 4.1b

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.2b
(/ 1 (/ t (log (+ 1.0 (* y (expm1 z))))))
3.6b
(log (+ 1.0 (* y (expm1 z))))

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

series414.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(* y (expm1 z))
211.0ms
(/ t (log (+ 1.0 (* y (expm1 z)))))
84.0ms
(/ 1 (/ t (log (+ 1.0 (* y (expm1 z))))))
80.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify80.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
07231701
134511541
250021448

prune413.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.1b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
541×times-frac
249×add-sqr-sqrt
247×add-cube-cbrt *-un-lft-identity
54×pow1
51×add-exp-log
47×log-pow
34×div-exp
33×div-inv
20×associate-/r* add-cbrt-cube
16×associate-/l*
cbrt-undiv rec-exp 1-exp
expm1-log1p-u log1p-expm1-u add-log-exp
log-prod associate-*r* associate-*l*
log-div frac-2neg clear-num
pow-flip flip3-+ rem-log-exp pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod flip-+ associate-/l/ inv-pow unswap-sqr
Counts
4 → 344
Calls
4 calls:
7.0ms
(* y (expm1 z))
9.0ms
(/ 1 (log (+ 1.0 (* y (expm1 z)))))
19.0ms
(/ (/ 1 t) (/ 1 (log (+ 1.0 (* y (expm1 z))))))
4.0ms
(log (+ 1.0 (* y (expm1 z))))

series694.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* y (expm1 z))
482.0ms
(/ 1 (log (+ 1.0 (* y (expm1 z)))))
89.0ms
(/ (/ 1 t) (/ 1 (log (+ 1.0 (* y (expm1 z))))))
83.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify72.0ms

Algorithm
egg-herbie
Counts
356 → 356
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
015624934
150014359

prune876.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 4.1b

regimes367.0ms

Accuracy

40.9% (4.0b remaining)

Error of 8.6b against oracle of 4.6b and baseline of 11.4b

bsearch46.0ms

Steps
ItersRangePoint
5
-3.087949021713197e-106
-1.0243182995054909e-106
-1.8224838885264432e-106

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03416
13616
23616

end0.0ms

sample3.1s

Algorithm
intervals
Results
725.0ms1432×body1280valid
711.0ms1518×body10240exit
432.0ms1568×body640valid
200.0ms3512×body80valid
159.0ms935×body320valid
86.0ms71×body2560valid
81.0ms2521×body80nan
58.0ms509×body160valid
51.0ms280×body640nan
30.0ms110×body1280nan
26.0ms193×body320nan
8.0ms101×body160nan