Details

Time bar (total: 9.6s)

sample140.0ms

Algorithm
intervals
Results
36.0ms50×body10240exit
27.0ms45×body1280valid
21.0ms54×body640valid
13.0ms114×body80valid
8.0ms28×body320valid
6.0ms95×body80nan
2.0ms14×body160valid
2.0msbody2560valid
2.0msbody1280nan
1.0msbody640nan
1.0msbody320nan
0.0msbody80overflowed
0.0msbody160nan

simplify242.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: 25.9b

localize14.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.9b
(log (+ (- 1.0 y) (* y (exp z))))
2.1b
(+ (- 1.0 y) (* y (exp z)))

rewrite54.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))
22.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
9.0ms
(log (+ (- 1.0 y) (* y (exp z))))
16.0ms
(+ (- 1.0 y) (* y (exp z)))

series323.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* y (exp z))
173.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
81.0ms
(log (+ (- 1.0 y) (* y (exp z))))
44.0ms
(+ (- 1.0 y) (* y (exp z)))

simplify75.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0499918
12002785
25001761

prune432.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 5.8b

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

rewrite14.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))
7.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
2.0ms
(log (+ 1.0 (* y (expm1 z))))

series308.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(* y (expm1 z))
174.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
85.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify57.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0429631
11711580
25002571

prune300.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 5.7b

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

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

series452.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* y (expm1 z))
232.0ms
(/ t (log (+ 1.0 (* y (expm1 z)))))
92.0ms
(/ 1 (/ t (log (+ 1.0 (* y (expm1 z))))))
86.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify106.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
07231701
134511541
250021448

prune700.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 5.7b

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

rewrite41.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:
3.0ms
(* y (expm1 z))
2.0ms
(/ 1 (log (+ 1.0 (* y (expm1 z)))))
13.0ms
(/ (/ 1 t) (/ 1 (log (+ 1.0 (* y (expm1 z))))))
2.0ms
(log (+ 1.0 (* y (expm1 z))))

series752.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* y (expm1 z))
526.0ms
(/ 1 (log (+ 1.0 (* y (expm1 z)))))
89.0ms
(/ (/ 1 t) (/ 1 (log (+ 1.0 (* y (expm1 z))))))
87.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify84.0ms

Algorithm
egg-herbie
Counts
356 → 356
Iterations

Useful iterations: 1 (41.0ms)

IterNodesCost
015624934
150014359

prune743.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 5.7b

regimes414.0ms

Accuracy

36.2% (4.8b remaining)

Error of 9.1b against oracle of 4.3b and baseline of 11.8b

bsearch76.0ms

Steps
ItersRangePoint
5
-2.4240530748776662e-172
-1.1095929358571949e-172
-2.4006361517684793e-172

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03518
13518

end0.0ms

sample4.2s

Algorithm
intervals
Results
976.0ms1463×body10240exit
935.0ms1452×body1280valid
624.0ms1581×body640valid
392.0ms3463×body80valid
255.0ms946×body320valid
182.0ms2517×body80nan
135.0ms93×body2560valid
87.0ms486×body160valid
80.0ms278×body640nan
41.0ms196×body320nan
37.0ms97×body1280nan
16.0ms117×body160nan
7.0ms86×body80overflowed