Details

Time bar (total: 10.8s)

sample109.0ms

Algorithm
intervals
Results
24.0ms43×body10240exit
23.0ms46×body1280valid
13.0ms45×body640valid
7.0ms111×body80valid
7.0msbody2560valid
6.0ms34×body320valid
2.0ms71×body80nan
2.0ms16×body160valid
2.0msbody640nan
1.0msbody1280nan
1.0msbody320nan
0.0msbody160nan

simplify217.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.5b

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

rewrite117.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))
51.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
33.0ms
(+ (- 1.0 y) (* y (exp z)))
18.0ms
(log (+ (- 1.0 y) (* y (exp z))))

series310.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* y (exp z))
175.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
35.0ms
(+ (- 1.0 y) (* y (exp z)))
77.0ms
(log (+ (- 1.0 y) (* y (exp z))))

simplify62.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0499918
12002785
25001761

prune371.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 5.4b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* y (expm1 z))
0.0b
(- x (/ (log (+ 1.0 (* y (expm1 z)))) t))
0.0b
(/ (log (+ 1.0 (* y (expm1 z)))) t)
3.0b
(log (+ 1.0 (* y (expm1 z))))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
64×add-sqr-sqrt
59×*-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
expm1-log1p-u div-sub log1p-expm1-u div-inv associate-/l*
log-prod flip3-+ fma-neg associate-*r* associate-*l* associate-/r* flip-+
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 → 141
Calls
4 calls:
9.0ms
(* y (expm1 z))
19.0ms
(- x (/ (log (+ 1.0 (* y (expm1 z)))) t))
24.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
7.0ms
(log (+ 1.0 (* y (expm1 z))))

series376.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* y (expm1 z))
92.0ms
(- x (/ (log (+ 1.0 (* y (expm1 z)))) t))
172.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
73.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify81.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
07462869
127691983
250011785

prune558.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 5.3b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite78.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:
5.0ms
(sqrt (+ 1.0 (* y (expm1 z))))
55.0ms
(/ (+ (log (sqrt (+ 1.0 (* y (expm1 z))))) (log (sqrt (+ 1.0 (* y (expm1 z)))))) t)
5.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))
5.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))

series2.8s

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

simplify60.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012603093
150012585

prune635.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 4.5b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
364×times-frac
216×sqrt-prod
186×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
60×pow1
56×log-pow
32×associate-/r*
13×add-exp-log
11×add-cbrt-cube
10×div-inv associate-/l*
log-prod
cbrt-undiv expm1-log1p-u log-div div-exp log1p-expm1-u add-log-exp
frac-2neg flip3-+ rem-log-exp clear-num flip-+
associate-/r/
Counts
4 → 301
Calls
4 calls:
7.0ms
(/ t (sqrt (log (+ 1.0 (* y (expm1 z))))))
17.0ms
(/ (sqrt (log (+ 1.0 (* y (expm1 z))))) (/ t (sqrt (log (+ 1.0 (* y (expm1 z)))))))
3.0ms
(log (+ 1.0 (* y (expm1 z))))
4.0ms
(log (+ 1.0 (* y (expm1 z))))

series538.0ms

Counts
4 → 12
Calls
4 calls:
214.0ms
(/ t (sqrt (log (+ 1.0 (* y (expm1 z))))))
163.0ms
(/ (sqrt (log (+ 1.0 (* y (expm1 z))))) (/ t (sqrt (log (+ 1.0 (* y (expm1 z)))))))
80.0ms
(log (+ 1.0 (* y (expm1 z))))
79.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify128.0ms

Algorithm
egg-herbie
Counts
313 → 313
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
09386143
146215519
250015513

prune682.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 4.5b

regimes326.0ms

Accuracy

39.7% (4.7b remaining)

Error of 8.4b against oracle of 3.7b and baseline of 11.5b

bsearch138.0ms

Steps
ItersRangePoint
8
2.154642011990829e-105
1.2294377081901462e-100
1.5524150020171308e-104
7
-3.7288871600754755e-81
-2.016647678620738e-83
-4.412489822281961e-82

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04832
14832

end0.0ms

sample3.1s

Algorithm
intervals
Results
750.0ms1444×body1280valid
701.0ms1466×body10240exit
435.0ms1560×body640valid
208.0ms3496×body80valid
168.0ms958×body320valid
94.0ms78×body2560valid
91.0ms2501×body80nan
51.0ms495×body160valid
48.0ms255×body640nan
28.0ms101×body1280nan
25.0ms204×body320nan
7.0ms90×body160nan