Details

Time bar (total: 4.1s)

sample18.0ms

Algorithm
intervals
Results
5.0ms60×body640valid
3.0ms135×body80valid
3.0ms40×body320valid
1.0ms21×body160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0125
1155
2155

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.4b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1.0 (- x 1.0))
0.0b
(/ 1.0 (+ x 1.0))
2.5b
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

rewrite118.0ms

Algorithm
rewrite-expression-head
Rules
662×*-un-lft-identity
589×times-frac
496×add-sqr-sqrt
378×prod-diff
368×add-cube-cbrt
86×associate-/r/
79×distribute-lft-out--
76×distribute-lft-out
62×difference-of-squares
44×div-inv
24×flip-+
23×flip3-+
21×flip--
20×flip3--
18×fma-neg
associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv frac-2neg div-exp clear-num
sub-neg diff-log frac-sub
Counts
3 → 504
Calls
3 calls:
8.0ms
(/ 1.0 (- x 1.0))
5.0ms
(/ 1.0 (+ x 1.0))
65.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series227.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(/ 1.0 (- x 1.0))
26.0ms
(/ 1.0 (+ x 1.0))
173.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

simplify162.0ms

Algorithm
egg-herbie
Counts
513 → 513
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
0120013350
135939620
250019568

prune669.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.6b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (- x 1.0))
0.0b
(+ (* x x) (- (* 1.0 1.0) (* x 1.0)))
0.5b
(/ 1.0 (+ (pow x 3) (pow 1.0 3)))
29.8b
(fma (/ 1.0 (+ (pow x 3) (pow 1.0 3))) (+ (* x x) (- (* 1.0 1.0) (* x 1.0))) (- (/ 1.0 (- x 1.0))))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
76×*-un-lft-identity
42×times-frac
36×add-sqr-sqrt
28×add-cube-cbrt
20×distribute-lft-out
16×unpow-prod-down cube-prod
14×associate-/r*
add-log-exp
add-exp-log add-cbrt-cube
associate-/l*
pow1 expm1-log1p-u associate-/r/ sum-cubes log1p-expm1-u distribute-lft-out-- difference-of-squares
associate-+r+
cbrt-undiv frac-2neg flip3-+ div-exp clear-num sum-log flip-+ div-inv
+-commutative associate-+r- sub-neg flip3-- fma-def diff-log prod-diff flip-- fma-udef
Counts
4 → 123
Calls
4 calls:
5.0ms
(/ 1.0 (- x 1.0))
7.0ms
(+ (* x x) (- (* 1.0 1.0) (* x 1.0)))
23.0ms
(/ 1.0 (+ (pow x 3) (pow 1.0 3)))
0.0ms
(fma (/ 1.0 (+ (pow x 3) (pow 1.0 3))) (+ (* x x) (- (* 1.0 1.0) (* x 1.0))) (- (/ 1.0 (- x 1.0))))

series345.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ 1.0 (- x 1.0))
21.0ms
(+ (* x x) (- (* 1.0 1.0) (* x 1.0)))
71.0ms
(/ 1.0 (+ (pow x 3) (pow 1.0 3)))
220.0ms
(fma (/ 1.0 (+ (pow x 3) (pow 1.0 3))) (+ (* x x) (- (* 1.0 1.0) (* x 1.0))) (- (/ 1.0 (- x 1.0))))

simplify60.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0518949
12230854
25001836

prune354.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.6b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 2.0 (/ 1 (pow x 2)) (* 2.0 (/ 1 (pow x 4))))
0.1b
(/ 1 (pow x 4))
0.2b
(/ (- 2.0) (pow x 6))
0.6b
(/ 1 (pow x 2))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
115×times-frac
83×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
57×unpow-prod-down
27×add-exp-log
24×distribute-lft-neg-in distribute-rgt-neg-in
22×associate-/r*
19×sqr-pow
16×associate-/l*
15×div-exp
10×add-cbrt-cube
neg-mul-1
pow-to-exp pow-exp
rec-exp 1-exp
pow1 expm1-log1p-u log1p-expm1-u unpow2 add-log-exp
cbrt-undiv frac-2neg clear-num div-inv
pow-flip inv-pow
neg-sub0 div-sub distribute-frac-neg fma-udef
Counts
4 → 229
Calls
4 calls:
0.0ms
(fma 2.0 (/ 1 (pow x 2)) (* 2.0 (/ 1 (pow x 4))))
4.0ms
(/ 1 (pow x 4))
9.0ms
(/ (- 2.0) (pow x 6))
4.0ms
(/ 1 (pow x 2))

series184.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(fma 2.0 (/ 1 (pow x 2)) (* 2.0 (/ 1 (pow x 4))))
27.0ms
(/ 1 (pow x 4))
54.0ms
(/ (- 2.0) (pow x 6))
16.0ms
(/ 1 (pow x 2))

simplify65.0ms

Algorithm
egg-herbie
Counts
241 → 241
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05841345
123461132
250011048

prune463.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 2.0 (pow x (- 2)) (* 2.0 (/ 1 (pow x 4))))
0.1b
(/ 1 (pow x 4))
0.2b
(/ (- 2.0) (pow x 6))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
91×times-frac
65×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
45×unpow-prod-down
24×distribute-lft-neg-in distribute-rgt-neg-in
17×add-exp-log
15×sqr-pow
14×associate-/r*
13×associate-/l*
div-exp
neg-mul-1
add-cbrt-cube
pow-to-exp pow-exp
pow1 expm1-log1p-u rec-exp 1-exp log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg clear-num div-inv
neg-sub0 pow-flip div-sub distribute-frac-neg fma-udef inv-pow
Counts
3 → 170
Calls
3 calls:
0.0ms
(fma 2.0 (pow x (- 2)) (* 2.0 (/ 1 (pow x 4))))
4.0ms
(/ 1 (pow x 4))
9.0ms
(/ (- 2.0) (pow x 6))

series185.0ms

Counts
3 → 9
Calls
3 calls:
104.0ms
(fma 2.0 (pow x (- 2)) (* 2.0 (/ 1 (pow x 4))))
34.0ms
(/ 1 (pow x 4))
47.0ms
(/ (- 2.0) (pow x 6))

simplify52.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04721086
11887982
25002931

prune404.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes28.0ms

Accuracy

100% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 31.0b

bsearch105.0ms

Steps
ItersRangePoint
9
0.006665254470786589
7065.8830381017015
242.72950778134222
9
-14674.600957416102
-0.00012459925560949148
-251.05971832598246

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05023
15023

end0.0ms

sample496.0ms

Algorithm
intervals
Results
172.0ms1951×body640valid
105.0ms4102×body80valid
93.0ms1307×body320valid
31.0ms640×body160valid