Details

Time bar (total: 6.7s)

sample39.0ms

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

simplify21.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

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

rewrite128.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:
23.0ms
(/ (- x y) (- 1.0 y))
45.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
48.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series166.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(/ (- x y) (- 1.0 y))
50.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
80.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify95.0ms

Algorithm
egg-herbie
Counts
196 → 196
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
08473956
127662899
250012689

prune358.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

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

rewrite181.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:
46.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
43.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
35.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
36.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

series339.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
49.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
118.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
126.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

simplify110.0ms

Algorithm
egg-herbie
Counts
288 → 288
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
07757342
124065244
250024770

prune545.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

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

rewrite469.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:
44.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
44.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
32.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
324.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)))))))

series349.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
46.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
118.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
131.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)))))))

simplify131.0ms

Algorithm
egg-herbie
Counts
321 → 321
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
09698928
126116791
250015966

prune709.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite389.0ms

Algorithm
rewrite-expression-head
Rules
216×*-un-lft-identity
215×add-sqr-sqrt
156×prod-diff
123×times-frac
122×add-cube-cbrt
65×associate-+l+
45×difference-of-squares
44×distribute-lft-out--
17×log-prod
12×associate-/r/
11×sqrt-prod add-log-exp
10×flip3-- flip--
pow1
add-exp-log log-div fma-def sqrt-div log-pow div-inv
expm1-log1p-u frac-add add-cbrt-cube log1p-expm1-u distribute-lft-out
fma-neg
sub-neg sqrt-pow1 flip3-+ pow1/2 diff-log rem-log-exp sum-log flip-+
+-commutative associate-+l- div-sub associate--r-
Counts
4 → 253
Calls
4 calls:
43.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
185.0ms
(+ (- 1.0 (/ x (- 1.0 y))) (/ y (- 1.0 y)))
34.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
105.0ms
(log (sqrt (+ (- 1.0 (/ x (- 1.0 y))) (/ y (- 1.0 y)))))

series355.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
53.0ms
(+ (- 1.0 (/ x (- 1.0 y))) (/ y (- 1.0 y)))
121.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
125.0ms
(log (sqrt (+ (- 1.0 (/ x (- 1.0 y))) (/ y (- 1.0 y)))))

simplify122.0ms

Algorithm
egg-herbie
Counts
265 → 265
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
011855489
138724161
250013957

prune894.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.1b

regimes158.0ms

Accuracy

92.7% (1.4b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03338
13338

end0.0ms

sample1.1s

Algorithm
intervals
Results
222.0ms5610×body80valid
161.0ms820×body1280valid
112.0ms804×body640valid
103.0ms3697×body80nan
62.0ms364×body1280nan
54.0ms499×body320valid
46.0ms394×body640nan
20.0ms267×body160valid
20.0ms202×body320nan
5.0ms92×body160nan