Details

Time bar (total: 3.5s)

sample17.0ms

Algorithm
intervals
Results
4.0ms50×body640valid
3.0ms133×body80valid
3.0ms51×body320valid
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

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

rewrite148.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:
10.0ms
(/ 1.0 (- x 1.0))
96.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series204.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(/ 1.0 (- x 1.0))
171.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

simplify151.0ms

Algorithm
egg-herbie
Counts
475 → 475
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
0115313171
133819450
250019400

prune614.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

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

rewrite76.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:
14.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
58.0ms
(- (- x 1.0) (+ x 1.0))

series54.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
0500926
12870692
25001690

prune191.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

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

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
51×*-un-lft-identity
24×add-sqr-sqrt
22×add-cube-cbrt
17×add-log-exp
15×prod-diff distribute-lft-out
12×times-frac
sum-log
add-exp-log add-cbrt-cube difference-of-squares
associate-/r*
pow1 expm1-log1p-u fma-def fma-neg diff-log log1p-expm1-u associate-/l* distribute-lft-out--
flip3-- associate-/r/ flip--
cbrt-undiv +-commutative sub-neg associate-+r+ frac-2neg flip3-+ div-exp clear-num flip-+ div-inv associate--r+
Counts
3 → 94
Calls
3 calls:
17.0ms
(+ 1.0 (+ x 1.0))
12.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
56.0ms
(- x (+ 1.0 (+ x 1.0)))

series76.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0386749
11655582
25001577

prune174.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.1b

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

rewrite39.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))
12.0ms
(/ 1 (pow x 2))

series364.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
241 → 241
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05841345
123461132
250011048

prune443.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

regimes21.0ms

Accuracy

100% (0.0b remaining)

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

bsearch82.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
04218
14218

end0.0ms

sample463.0ms

Algorithm
intervals
Results
149.0ms1909×body640valid
89.0ms4193×body80valid
82.0ms1293×body320valid
24.0ms605×body160valid