Details

Time bar (total: 9.4s)

sample57.0ms

Algorithm
intervals
Results
12.0ms195×body80valid
7.0ms30×body640valid
6.0ms123×body80nan
5.0ms16×body1280valid
5.0ms17×body1280nan
4.0ms18×body640nan
4.0msbody160valid
2.0ms10×body320valid
0.0msbody160nan
0.0msbody320nan

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: 15.3b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
0.0b
(/ (- x y) (- 1.0 y))
1.3b
(- 1.0 (/ (- x y) (- 1.0 y)))
4.3b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite113.0ms

Algorithm
rewrite-expression-head
Rules
192×add-sqr-sqrt
184×*-un-lft-identity
105×prod-diff
103×times-frac
91×add-cube-cbrt
49×difference-of-squares
47×distribute-lft-out--
12×log-prod
pow1 flip3-- flip--
associate-/r/
add-exp-log add-log-exp
fma-neg add-cbrt-cube associate--r+
associate-/r* log-pow associate-/l*
expm1-log1p-u log-div log1p-expm1-u div-inv
associate--r-
sub-neg diff-log div-sub associate-/l/
cbrt-undiv frac-2neg div-exp rem-log-exp clear-num
Counts
4 → 227
Calls
4 calls:
24.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
12.0ms
(/ (- x y) (- 1.0 y))
31.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
30.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series274.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
41.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))))

simplify107.0ms

Algorithm
egg-herbie
Counts
239 → 239
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
09864621
132403344
250013134

prune446.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:

0.0b
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
0.0b
(/ (- x y) (- 1.0 y))
0.1b
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
1.3b
(- 1.0 (/ (- x y) (- 1.0 y)))

rewrite123.0ms

Algorithm
rewrite-expression-head
Rules
226×add-sqr-sqrt
202×*-un-lft-identity
144×times-frac
102×add-cube-cbrt
93×prod-diff
58×difference-of-squares
50×distribute-lft-out--
24×log-prod
12×associate-/r/
11×associate-/r*
add-exp-log
flip3-- add-cbrt-cube flip-- associate-/l*
div-inv add-log-exp
pow1
expm1-log1p-u log1p-expm1-u
fma-neg div-exp
cbrt-undiv frac-2neg div-sub rem-log-exp clear-num associate-/l/
sub-neg log-div diff-log log-pow associate--r-
Counts
4 → 248
Calls
4 calls:
25.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
12.0ms
(/ (- x y) (- 1.0 y))
42.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
30.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

series404.0ms

Counts
4 → 12
Calls
4 calls:
187.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
37.0ms
(/ (- x y) (- 1.0 y))
125.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
55.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

simplify111.0ms

Algorithm
egg-herbie
Counts
260 → 260
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
010744812
137213718
250013710

prune584.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))) (log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y)))))))
1.3b
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
11.4b
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))
11.8b
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))

rewrite517.0ms

Algorithm
rewrite-expression-head
Rules
1120×add-sqr-sqrt
1014×*-un-lft-identity
832×prod-diff
633×unpow-prod-down cube-prod
624×times-frac
500×add-cube-cbrt
313×difference-of-squares
259×distribute-lft-out--
111×sqr-pow
81×cube-mult unpow3
72×log-prod
48×associate-/r/
33×associate--l+
28×flip3-- flip--
24×div-inv
19×pow1
16×fma-neg
15×log-pow
log-div
add-exp-log add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u
difference-cubes associate--r+
associate--l- sub-neg flip3-+ diff-log rem-log-exp flip-+ associate--r-
Counts
4 → 1013
Calls
4 calls:
123.0ms
(- (log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))) (log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y)))))))
114.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
44.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))
128.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))

series1.1s

Counts
4 → 12
Calls
4 calls:
376.0ms
(- (log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))) (log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y)))))))
184.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
168.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))
341.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))

simplify307.0ms

Algorithm
egg-herbie
Counts
1025 → 1025
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
0182335298
1500226869

prune771.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize28.0ms

Local error

Found 4 expressions with local error:

5.5b
(log (sqrt (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))))
5.9b
(sqrt (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
5.9b
(sqrt (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
11.4b
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

rewrite629.0ms

Algorithm
rewrite-expression-head
Rules
149×add-sqr-sqrt
99×sqrt-prod
72×difference-of-squares
54×unpow-prod-down cube-prod
39×log-prod *-un-lft-identity
30×sqr-pow
24×times-frac
15×distribute-lft-out--
pow1 add-cube-cbrt
add-exp-log sqrt-div
expm1-log1p-u log-div log-pow add-cbrt-cube log1p-expm1-u add-log-exp
difference-cubes flip3-- sqrt-pow1 pow1/2 flip--
rem-sqrt-square rem-log-exp
flip3-+ flip-+
Counts
4 → 161
Calls
4 calls:
78.0ms
(log (sqrt (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))))
250.0ms
(sqrt (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
250.0ms
(sqrt (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
41.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

series1.2s

Counts
4 → 12
Calls
4 calls:
326.0ms
(log (sqrt (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))))
325.0ms
(sqrt (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
329.0ms
(sqrt (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
174.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

simplify74.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05812784
118672650
250022646

prune689.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes150.0ms

Accuracy

99.4% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 18.3b

bsearch141.0ms

Steps
ItersRangePoint
10
3.883265496756198e-06
6835871.788935939
6752698.773202779
8
-203252004905.3082
-6461629.042770713
-189652252.65805757

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03116
13116

end0.0ms

sample1.6s

Algorithm
intervals
Results
366.0ms5694×body80valid
270.0ms807×body1280valid
199.0ms3868×body80nan
199.0ms817×body640valid
109.0ms388×body1280nan
87.0ms402×body640nan
74.0ms428×body320valid
35.0ms219×body320nan
29.0ms254×body160valid
15.0ms143×body160nan