Details

Time bar (total: 16.9s)

sample18.0ms

Algorithm
intervals
Results
5.0ms65×body640valid
3.0ms134×body80valid
3.0ms45×body320valid
1.0ms12×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1155
2155

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.5b

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

rewrite128.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:
5.0ms
(/ 1.0 (- x 1.0))
6.0ms
(/ 1.0 (+ x 1.0))
71.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series420.0ms

Counts
3 → 9
Calls
3 calls:
221.0ms
(/ 1.0 (- x 1.0))
25.0ms
(/ 1.0 (+ x 1.0))
174.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

simplify165.0ms

Algorithm
egg-herbie
Counts
513 → 513
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
0120013350
135939620
250019568

prune679.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.6b

localize25.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (- x 1.0))
0.3b
(cbrt (- x 1.0))
0.3b
(cbrt (- x 1.0))
13.0b
(- (* (/ (sqrt 1.0) (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))) (/ (sqrt 1.0) (cbrt (+ x 1.0)))) (/ (/ (/ 1.0 (cbrt (- x 1.0))) (cbrt (- x 1.0))) (cbrt (- x 1.0))))

rewrite916.0ms

Algorithm
rewrite-expression-head
Rules
5424×times-frac
3405×cbrt-prod
3310×add-sqr-sqrt *-un-lft-identity
1974×prod-diff
1948×add-cube-cbrt
681×distribute-lft-out-- difference-of-squares
152×cbrt-div
146×associate-/r/
77×flip3-- flip--
73×div-inv
add-log-exp
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
pow1/3 frac-sub
frac-times sub-neg fma-neg diff-log associate-*r/ associate-*l/
Counts
4 → 2043
Calls
4 calls:
2.0ms
(cbrt (- x 1.0))
2.0ms
(cbrt (- x 1.0))
2.0ms
(cbrt (- x 1.0))
574.0ms
(- (* (/ (sqrt 1.0) (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))) (/ (sqrt 1.0) (cbrt (+ x 1.0)))) (/ (/ (/ 1.0 (cbrt (- x 1.0))) (cbrt (- x 1.0))) (cbrt (- x 1.0))))

series445.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(cbrt (- x 1.0))
98.0ms
(cbrt (- x 1.0))
95.0ms
(cbrt (- x 1.0))
153.0ms
(- (* (/ (sqrt 1.0) (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))) (/ (sqrt 1.0) (cbrt (+ x 1.0)))) (/ (/ (/ 1.0 (cbrt (- x 1.0))) (cbrt (- x 1.0))) (cbrt (- x 1.0))))

simplify1.3s

Algorithm
egg-herbie
Counts
2055 → 2055
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
08299182370

prune9.7s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.6b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (pow (cbrt 1.0) 3)) (- x 1.0))
0.0b
(/ (- (pow (cbrt 1.0) 3)) (- x 1.0))
0.5b
(/ 1.0 (- (* x x) (* 1.0 1.0)))
28.7b
(fma (- x 1.0) (/ 1.0 (- (* x x) (* 1.0 1.0))) (/ (- (pow (cbrt 1.0) 3)) (- x 1.0)))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
412×times-frac
391×add-sqr-sqrt *-un-lft-identity
227×add-cube-cbrt
216×distribute-lft-neg-in distribute-rgt-neg-in
144×cbrt-prod unpow-prod-down cube-prod
86×difference-of-squares
83×associate-/l*
82×distribute-lft-out--
24×cube-mult unpow3 sqr-pow
14×associate-/r*
12×neg-mul-1
10×add-exp-log add-cbrt-cube
associate-/r/
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- div-inv
neg-sub0 div-sub distribute-frac-neg
fma-udef
Counts
4 → 571
Calls
4 calls:
23.0ms
(/ (- (pow (cbrt 1.0) 3)) (- x 1.0))
27.0ms
(/ (- (pow (cbrt 1.0) 3)) (- x 1.0))
5.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
0.0ms
(fma (- x 1.0) (/ 1.0 (- (* x x) (* 1.0 1.0))) (/ (- (pow (cbrt 1.0) 3)) (- x 1.0)))

series292.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(/ (- (pow (cbrt 1.0) 3)) (- x 1.0))
36.0ms
(/ (- (pow (cbrt 1.0) 3)) (- x 1.0))
47.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
179.0ms
(fma (- x 1.0) (/ 1.0 (- (* x x) (* 1.0 1.0))) (/ (- (pow (cbrt 1.0) 3)) (- x 1.0)))

simplify178.0ms

Algorithm
egg-herbie
Counts
583 → 583
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
08395266
147844840
250014840

prune1.1s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.6b

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.2b
(/ (- 2.0) (pow x 6))
0.3b
(/ 1 (pow x 4))
0.6b
(/ 1 (pow x 2))

rewrite27.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))))
6.0ms
(/ (- 2.0) (pow x 6))
4.0ms
(/ 1 (pow x 4))
4.0ms
(/ 1 (pow x 2))

series175.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
241 → 241
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05841345
123441132
250021058

prune455.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes36.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch97.0ms

Steps
ItersRangePoint
9
1.2499789889099044
556939279.5099251
246.3673785262834
9
-15640006985.087824
-4.508778152722845
-281.7751988528153

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05133
15633
25633

end0.0ms

sample444.0ms

Algorithm
intervals
Results
161.0ms1915×body640valid
94.0ms4241×body80valid
75.0ms1213×body320valid
26.0ms631×body160valid