Details

Time bar (total: 3.3s)

sample18.0ms

Algorithm
intervals
Results
4.0ms50×body640valid
3.0ms51×body320valid
3.0ms133×body80valid
1.0ms22×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1155
2155

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.9b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite158.0ms

Algorithm
rewrite-expression-head
Rules
644×*-un-lft-identity
577×times-frac
486×add-sqr-sqrt
378×prod-diff
358×add-cube-cbrt
84×associate-/r/
79×distribute-lft-out--
72×distribute-lft-out
62×difference-of-squares
43×div-inv
23×flip-+
22×flip3-+
21×flip--
20×flip3--
18×fma-neg
associate-/r*
add-exp-log add-cbrt-cube add-log-exp
associate-/l*
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num frac-sub
Counts
2 → 469
Calls
2 calls:
11.0ms
(/ 1.0 (- x 1.0))
103.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series190.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(/ 1.0 (- x 1.0))
164.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

simplify155.0ms

Algorithm
egg-herbie
Counts
475 → 475
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
0115313171
133819450
250019400

prune599.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ 1.0 (- (* x x) (* 1.0 1.0)))
3.6b
(- (- x 1.0) (+ x 1.0))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
59×*-un-lft-identity
39×add-sqr-sqrt
29×prod-diff
27×add-cube-cbrt
14×add-log-exp
12×times-frac
11×associate--l+ distribute-lft-out--
10×difference-of-squares
distribute-lft-out
diff-log
fma-neg
add-exp-log flip3-- associate-/r* frac-sub add-cbrt-cube flip--
associate-/l*
pow1 expm1-log1p-u sub-neg flip3-+ sum-log associate-/r/ flip-+ log1p-expm1-u
cbrt-undiv associate--l- frac-2neg div-exp clear-num div-inv associate--r+
Counts
2 → 99
Calls
2 calls:
12.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
57.0ms
(- (- x 1.0) (+ x 1.0))

series56.0ms

Counts
2 → 6
Calls
2 calls:
48.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
7.0ms
(- (- x 1.0) (+ x 1.0))

simplify87.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
0500926
12870692
25001690

prune182.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (- 1.0) (+ x 1.0))
0.1b
(/ 1.0 (- (* x x) (* 1.0 1.0)))
3.7b
(+ x (- (- 1.0) (+ x 1.0)))

rewrite114.0ms

Algorithm
rewrite-expression-head
Rules
126×*-un-lft-identity
80×prod-diff
62×add-sqr-sqrt
60×add-cube-cbrt
42×associate-+r+
31×distribute-rgt-neg-in
29×distribute-lft-out add-log-exp
27×distribute-lft-neg-in
12×times-frac
10×fma-neg
neg-mul-1 sum-log
diff-log distribute-lft-out--
add-exp-log add-cbrt-cube difference-of-squares
neg-log associate-/r*
pow1 expm1-log1p-u fma-def log1p-expm1-u associate-/l*
sub-neg flip3-- associate-/r/ flip--
cbrt-undiv +-commutative associate--l- neg-sub0 associate-+r- frac-2neg flip3-+ div-exp clear-num flip-+ div-inv associate--r+
Counts
3 → 177
Calls
3 calls:
30.0ms
(- (- 1.0) (+ x 1.0))
13.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
64.0ms
(+ x (- (- 1.0) (+ x 1.0)))

series80.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(- (- 1.0) (+ x 1.0))
47.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
8.0ms
(+ x (- (- 1.0) (+ x 1.0)))

simplify61.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05311599
120181144
250011063

prune227.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.1b

localize16.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.1b
(/ (- 2.0) (pow x 6))
0.2b
(/ 1 (pow x 2))

rewrite35.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))))
8.0ms
(/ 1 (pow x 4))
11.0ms
(/ (- 2.0) (pow x 6))
8.0ms
(/ 1 (pow x 2))

series181.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(fma 2.0 (/ 1 (pow x 2)) (* 2.0 (/ 1 (pow x 4))))
27.0ms
(/ 1 (pow x 4))
48.0ms
(/ (- 2.0) (pow x 6))
22.0ms
(/ 1 (pow x 2))

simplify66.0ms

Algorithm
egg-herbie
Counts
241 → 241
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05841345
123461132
250011048

prune442.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

regimes20.0ms

Accuracy

100% (0.0b remaining)

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

bsearch81.0ms

Steps
ItersRangePoint
10
26.826342714152005
1.350953981158519e+19
6197.824943452279
8
-4116.604674393256
-5.56536991933885
-4067.8475853636296

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04319
14319

end0.0ms

sample470.0ms

Algorithm
intervals
Results
154.0ms1909×body640valid
92.0ms4193×body80valid
78.0ms1293×body320valid
24.0ms605×body160valid