Details

Time bar (total: 10.5s)

sample104.0ms

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

simplify212.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: 25.5b

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.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:
12.0ms
(* y (exp z))
52.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
31.0ms
(+ (- 1.0 y) (* y (exp z)))
19.0ms
(log (+ (- 1.0 y) (* y (exp z))))

series261.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* y (exp z))
140.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
34.0ms
(+ (- 1.0 y) (* y (exp z)))
67.0ms
(log (+ (- 1.0 y) (* y (exp z))))

simplify61.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0499918
12002785
25001761

prune368.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 5.4b

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

rewrite47.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:
7.0ms
(* y (expm1 z))
15.0ms
(- x (/ (log (+ 1.0 (* y (expm1 z)))) t))
13.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
6.0ms
(log (+ 1.0 (* y (expm1 z))))

series316.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(* y (expm1 z))
70.0ms
(- x (/ (log (+ 1.0 (* y (expm1 z)))) t))
142.0ms
(/ (log (+ 1.0 (* y (expm1 z)))) t)
67.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify78.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
07462869
127691983
250011785

prune354.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 5.3b

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

rewrite79.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))))
56.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.6s

Counts
4 → 12
Calls
4 calls:
343.0ms
(sqrt (+ 1.0 (* y (expm1 z))))
1.6s
(/ (+ (log (sqrt (+ 1.0 (* y (expm1 z))))) (log (sqrt (+ 1.0 (* y (expm1 z)))))) t)
337.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))
342.0ms
(log (sqrt (+ 1.0 (* y (expm1 z)))))

simplify54.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012603109
150022589

prune632.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 4.5b

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

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

series485.0ms

Counts
4 → 12
Calls
4 calls:
192.0ms
(/ t (sqrt (log (+ 1.0 (* y (expm1 z))))))
147.0ms
(/ (sqrt (log (+ 1.0 (* y (expm1 z))))) (/ t (sqrt (log (+ 1.0 (* y (expm1 z)))))))
70.0ms
(log (+ 1.0 (* y (expm1 z))))
75.0ms
(log (+ 1.0 (* y (expm1 z))))

simplify136.0ms

Algorithm
egg-herbie
Counts
313 → 313
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
09386143
146215519
250015513

prune710.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 4.5b

regimes344.0ms

Accuracy

39.7% (4.7b remaining)

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

bsearch143.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.2s

Algorithm
intervals
Results
767.0ms1444×body1280valid
725.0ms1466×body10240exit
449.0ms1560×body640valid
214.0ms3496×body80valid
176.0ms958×body320valid
102.0ms2501×body80nan
94.0ms78×body2560valid
63.0ms495×body160valid
50.0ms255×body640nan
29.0ms101×body1280nan
27.0ms204×body320nan
7.0ms90×body160nan