Details

Time bar (total: 6.1s)

sample37.0ms

Algorithm
intervals
Results
6.0ms172×body80valid
4.0ms24×body1280valid
4.0ms29×body640valid
3.0ms102×body80nan
2.0ms23×body320valid
2.0ms12×body1280nan
1.0ms12×body640nan
1.0msbody320nan
0.0msbody160valid
0.0msbody160nan

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0196
1296
2416
3606
4786
5946
61096
71396
82146
92796
102796

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.8b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x y) (- 1.0 y))
2.0b
(- 1.0 (/ (- x y) (- 1.0 y)))
4.8b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite135.0ms

Algorithm
rewrite-expression-head
Rules
175×add-sqr-sqrt
169×*-un-lft-identity
102×times-frac
93×prod-diff
81×add-cube-cbrt
46×difference-of-squares
44×distribute-lft-out--
associate-/r/
flip3-- flip--
add-exp-log log-prod
associate-/r* add-cbrt-cube associate-/l* add-log-exp
pow1 div-inv
expm1-log1p-u fma-neg log1p-expm1-u
log-div div-sub associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-exp rem-log-exp clear-num log-pow associate--r-
Counts
3 → 187
Calls
3 calls:
26.0ms
(/ (- x y) (- 1.0 y))
48.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
51.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series182.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(/ (- x y) (- 1.0 y))
56.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
88.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify89.0ms

Algorithm
egg-herbie
Counts
196 → 196
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
08473956
127662899
250012689

prune340.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 4 expressions with local error:

2.0b
(- 1.0 (/ (- x y) (- 1.0 y)))
2.0b
(- 1.0 (/ (- x y) (- 1.0 y)))
4.9b
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
4.9b
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

rewrite189.0ms

Algorithm
rewrite-expression-head
Rules
278×add-sqr-sqrt
266×*-un-lft-identity
186×prod-diff
154×times-frac
138×add-cube-cbrt
68×difference-of-squares
64×distribute-lft-out--
18×log-prod
12×sqrt-prod associate-/r/
10×flip3-- flip--
pow1 add-log-exp
add-exp-log fma-neg log-pow div-inv
expm1-log1p-u log-div sqrt-div add-cbrt-cube log1p-expm1-u
sub-neg sqrt-pow1 pow1/2 diff-log div-sub rem-log-exp associate--r-
Counts
4 → 276
Calls
4 calls:
47.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
48.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
37.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
35.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

series364.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
52.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
129.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
129.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

simplify99.0ms

Algorithm
egg-herbie
Counts
288 → 288
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
07757342
124065244
250024770

prune513.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize17.0ms

Local error

Found 4 expressions with local error:

2.0b
(- 1.0 (/ (- x y) (- 1.0 y)))
2.0b
(- 1.0 (/ (- x y) (- 1.0 y)))
4.9b
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
4.9b
(log (sqrt (* (* (cbrt (- 1.0 (/ (- x y) (- 1.0 y)))) (cbrt (- 1.0 (/ (- x y) (- 1.0 y))))) (cbrt (- 1.0 (/ (- x y) (- 1.0 y)))))))

rewrite497.0ms

Algorithm
rewrite-expression-head
Rules
272×add-sqr-sqrt
263×*-un-lft-identity
186×prod-diff
153×times-frac
137×add-cube-cbrt
66×difference-of-squares
63×distribute-lft-out--
54×cbrt-div
36×flip3-- flip--
28×frac-times log-div sqrt-div
27×pow1
20×log-pow
16×sqrt-pow1
14×associate-*l/
13×log-prod
12×associate-/r/
pow1/3 pow-prod-up
associate-*r/ add-log-exp
sqrt-prod
add-exp-log pow-plus fma-neg div-inv
pow-prod-down
expm1-log1p-u add-cbrt-cube log1p-expm1-u
pow-sqr
pow2 sub-neg pow1/2 diff-log div-sub rem-log-exp associate--r-
pow3
Counts
4 → 309
Calls
4 calls:
47.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
46.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
36.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
342.0ms
(log (sqrt (* (* (cbrt (- 1.0 (/ (- x y) (- 1.0 y)))) (cbrt (- 1.0 (/ (- x y) (- 1.0 y))))) (cbrt (- 1.0 (/ (- x y) (- 1.0 y)))))))

series363.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
55.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
126.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
128.0ms
(log (sqrt (* (* (cbrt (- 1.0 (/ (- x y) (- 1.0 y)))) (cbrt (- 1.0 (/ (- x y) (- 1.0 y))))) (cbrt (- 1.0 (/ (- x y) (- 1.0 y)))))))

simplify113.0ms

Algorithm
egg-herbie
Counts
321 → 321
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
09698928
126116791
250015966

prune683.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize14.0ms

Local error

Found 4 expressions with local error:

2.0b
(- 1.0 (/ (- x y) (- 1.0 y)))
2.0b
(- 1.0 (/ (- x y) (- 1.0 y)))
4.9b
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
4.9b
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

rewrite185.0ms

Algorithm
rewrite-expression-head
Rules
278×add-sqr-sqrt
266×*-un-lft-identity
186×prod-diff
154×times-frac
138×add-cube-cbrt
68×difference-of-squares
64×distribute-lft-out--
18×log-prod
12×sqrt-prod associate-/r/
10×flip3-- flip--
pow1 add-log-exp
add-exp-log fma-neg log-pow div-inv
expm1-log1p-u log-div sqrt-div add-cbrt-cube log1p-expm1-u
sub-neg sqrt-pow1 pow1/2 diff-log div-sub rem-log-exp associate--r-
Counts
4 → 276
Calls
4 calls:
45.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
46.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
37.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
35.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

series371.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
51.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
133.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
131.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

simplify101.0ms

Algorithm
egg-herbie
Counts
288 → 288
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
07757342
124065244
250024770

prune606.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.1b

regimes159.0ms

Accuracy

92.7% (1.4b remaining)

Error of 1.5b against oracle of 0.1b and baseline of 18.9b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03338
13338

end0.0ms

sample1.0s

Algorithm
intervals
Results
211.0ms5610×body80valid
153.0ms820×body1280valid
102.0ms804×body640valid
92.0ms3697×body80nan
51.0ms364×body1280nan
47.0ms499×body320valid
44.0ms394×body640nan
16.0ms267×body160valid
16.0ms202×body320nan
7.0ms92×body160nan