Details

Time bar (total: 7.5s)

sample61.0ms

Algorithm
intervals
Results
16.0ms182×body80valid
8.0ms25×body1280valid
8.0ms121×body80nan
7.0ms27×body640valid
4.0ms13×body1280nan
2.0ms11×body640nan
2.0ms13×body320valid
1.0msbody160valid
1.0msbody320nan
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: 18.3b

localize8.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))
2.0b
(- 1.0 (/ (- x y) (- 1.0 y)))
4.8b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

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

series334.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
35.0ms
(/ (- x y) (- 1.0 y))
77.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
136.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify99.0ms

Algorithm
egg-herbie
Counts
239 → 239
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
09864621
132403344
250013134

prune436.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite113.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:
11.0ms
(/ (- x y) (- 1.0 y))
23.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
38.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
28.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

series353.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(/ (- x y) (- 1.0 y))
145.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
119.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
53.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

simplify104.0ms

Algorithm
egg-herbie
Counts
260 → 260
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
010744812
137213718
250013710

prune523.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (- 1.0 (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)))))))
2.0b
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
10.6b
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
11.1b
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

rewrite418.0ms

Algorithm
rewrite-expression-head
Rules
1072×add-sqr-sqrt
1012×*-un-lft-identity
828×prod-diff
616×times-frac
615×unpow-prod-down cube-prod
498×add-cube-cbrt
289×difference-of-squares
256×distribute-lft-out--
101×sqr-pow
81×cube-mult unpow3
48×associate-/r/
39×log-prod
27×flip3-- flip--
24×div-inv
16×associate-+l+
15×pow1
12×fma-neg
11×log-pow
log-div add-log-exp
add-exp-log fma-def distribute-lft-out
expm1-log1p-u add-cbrt-cube log1p-expm1-u
associate-+r+ flip3-+ flip-+
difference-cubes associate-+r- sub-neg diff-log rem-log-exp sum-log associate--r-
+-commutative associate-+l-
Counts
4 → 982
Calls
4 calls:
59.0ms
(+ (- 1.0 (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)))))))
103.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
117.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
42.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

series983.0ms

Counts
4 → 12
Calls
4 calls:
318.0ms
(+ (- 1.0 (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)))))))
180.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
322.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
161.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

simplify297.0ms

Algorithm
egg-herbie
Counts
994 → 994
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
0181633637
1500125708

prune692.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (exp 1.0) (fma 1.0 (- (/ x (pow y 2)) (/ 1 y)) (/ x y)))
3.3b
(fma 1.0 (- (/ x (pow y 2)) (/ 1 y)) (/ x y))
7.5b
(/ x (pow y 2))
12.8b
(log (/ (exp 1.0) (fma 1.0 (- (/ x (pow y 2)) (/ 1 y)) (/ x y))))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
42×times-frac
36×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
13×log-prod
12×add-exp-log unpow-prod-down
11×associate-/r*
add-cbrt-cube
associate-/l*
pow1 div-exp
expm1-log1p-u log1p-expm1-u unpow2 add-log-exp sqr-pow
div-inv
cbrt-undiv frac-2neg rem-log-exp clear-num
pow-to-exp log-div pow-exp log-pow fma-udef
Counts
4 → 116
Calls
4 calls:
3.0ms
(/ (exp 1.0) (fma 1.0 (- (/ x (pow y 2)) (/ 1 y)) (/ x y)))
0.0ms
(fma 1.0 (- (/ x (pow y 2)) (/ 1 y)) (/ x y))
4.0ms
(/ x (pow y 2))
2.0ms
(log (/ (exp 1.0) (fma 1.0 (- (/ x (pow y 2)) (/ 1 y)) (/ x y))))

series266.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(/ (exp 1.0) (fma 1.0 (- (/ x (pow y 2)) (/ 1 y)) (/ x y)))
30.0ms
(fma 1.0 (- (/ x (pow y 2)) (/ 1 y)) (/ x y))
29.0ms
(/ x (pow y 2))
110.0ms
(log (/ (exp 1.0) (fma 1.0 (- (/ x (pow y 2)) (/ 1 y)) (/ x y))))

simplify46.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
04161208
115311094
250021062

prune376.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes107.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 18.4b

bsearch180.0ms

Steps
ItersRangePoint
10
0.4954286465087044
4.914394902755447e+18
148253897.0245374
10
-3.5763408185767224e+18
-113974.2897778741
-270508391.61573327

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03116
13116

end0.0ms

sample1.9s

Algorithm
intervals
Results
496.0ms5682×body80valid
272.0ms802×body1280valid
252.0ms3754×body80nan
216.0ms817×body640valid
102.0ms349×body1280nan
92.0ms464×body320valid
88.0ms363×body640nan
39.0ms217×body320nan
33.0ms235×body160valid
14.0ms116×body160nan