Details

Time bar (total: 6.1s)

sample39.0ms

Algorithm
intervals
Results
9.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

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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))))

rewrite120.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:
24.0ms
(/ (- x y) (- 1.0 y))
43.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
42.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series180.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(/ (- x y) (- 1.0 y))
51.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
87.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify87.0ms

Algorithm
egg-herbie
Counts
196 → 196
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
08473956
127662899
250012689

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

rewrite170.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:
42.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
43.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
32.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
35.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

series367.0ms

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

simplify105.0ms

Algorithm
egg-herbie
Counts
288 → 288
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
07757342
124065244
250024770

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

rewrite452.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:
42.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
43.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
34.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
311.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)))))))

series378.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
52.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
136.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
132.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)))))))

simplify118.0ms

Algorithm
egg-herbie
Counts
321 → 321
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
09698928
126116791
250015966

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

rewrite169.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:
43.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
42.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
32.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
35.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

series376.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
52.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
135.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
131.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

simplify106.0ms

Algorithm
egg-herbie
Counts
288 → 288
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
07757342
124065244
250024770

prune608.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.1b

regimes160.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.1s

Algorithm
intervals
Results
219.0ms5610×body80valid
154.0ms820×body1280valid
108.0ms804×body640valid
95.0ms3697×body80nan
55.0ms364×body1280nan
47.0ms499×body320valid
43.0ms394×body640nan
18.0ms267×body160valid
16.0ms202×body320nan
5.0ms92×body160nan