Details

Time bar (total: 5.7s)

sample25.0ms

Algorithm
intervals
Results
7.0ms56×body1280valid
4.0ms42×body640valid
3.0ms114×body80valid
2.0ms21×body320valid
1.0ms23×body160valid

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0126
1166
2196
3216
4276
5396
6586
7796
81076
91606
102776
113036
123036

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.4b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite112.0ms

Algorithm
rewrite-expression-head
Rules
981×*-un-lft-identity
736×times-frac
585×add-sqr-sqrt
468×prod-diff
419×add-cube-cbrt
189×distribute-lft-out
94×associate-/r/
90×distribute-lft-out--
81×difference-of-squares
47×div-inv
29×flip3-+ flip-+
20×flip3-- flip--
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 associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 596
Calls
3 calls:
5.0ms
(/ x (+ x 1.0))
8.0ms
(/ (+ x 1.0) (- x 1.0))
41.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series203.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(/ x (+ x 1.0))
37.0ms
(/ (+ x 1.0) (- x 1.0))
132.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify216.0ms

Algorithm
egg-herbie
Counts
605 → 605
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
0120818366
1368713388
2500113292

prune666.0ms

Filtered
605 candidates to 217 candidates (35.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New6005605
Fresh000
Picked101
Done000
Total6015606

Merged error: 0.2b

Counts
606 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (pow x 3))
0.2b
(fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3))))
0.9b
(/ (- 1.0) (pow x 2))
6.0b
(- (/ (- 1.0) (pow x 2)) (fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3)))))

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
440×times-frac
354×add-sqr-sqrt
344×*-un-lft-identity
342×add-cube-cbrt
252×prod-diff
166×unpow-prod-down
123×distribute-lft-neg-in distribute-rgt-neg-in
84×fma-neg
56×sqr-pow
52×unpow2
41×neg-mul-1
20×associate-/r*
18×add-exp-log
13×associate-/l*
12×cube-prod
div-exp
add-cbrt-cube
div-inv add-log-exp
difference-of-squares
pow1 expm1-log1p-u cube-mult pow-to-exp unpow3 pow-exp log1p-expm1-u
rec-exp 1-exp
cbrt-undiv neg-sub0 frac-2neg div-sub clear-num fma-udef
associate--l- sub-neg flip3-- pow-flip diff-log distribute-frac-neg flip-- associate--r+ distribute-lft-out-- inv-pow
Counts
4 → 559
Calls
4 calls:
6.0ms
(/ 1 (pow x 3))
1.0ms
(fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3))))
7.0ms
(/ (- 1.0) (pow x 2))
42.0ms
(- (/ (- 1.0) (pow x 2)) (fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3)))))

series175.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ 1 (pow x 3))
77.0ms
(fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3))))
24.0ms
(/ (- 1.0) (pow x 2))
41.0ms
(- (/ (- 1.0) (pow x 2)) (fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3)))))

simplify186.0ms

Algorithm
egg-herbie
Counts
571 → 571
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
0116212958
143537113
250017101

prune681.0ms

Filtered
571 candidates to 218 candidates (38.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New5692571
Fresh044
Picked011
Done000
Total5697576

Merged error: 0b

Counts
576 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 3.0 (/ 1 (pow x 3)) (/ 3.0 x))
0.1b
(/ 1 (pow x 3))
0.9b
(/ (- 1.0) (pow x 2))
6.0b
(- (/ (- 1.0) (pow x 2)) (fma 3.0 (/ 1 (pow x 3)) (/ 3.0 x)))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
440×times-frac
354×add-sqr-sqrt
344×*-un-lft-identity
342×add-cube-cbrt
252×prod-diff
166×unpow-prod-down
123×distribute-lft-neg-in distribute-rgt-neg-in
84×fma-neg
56×sqr-pow
52×unpow2
41×neg-mul-1
20×associate-/r*
18×add-exp-log
13×associate-/l*
12×cube-prod
div-exp
add-cbrt-cube
div-inv add-log-exp
difference-of-squares
pow1 expm1-log1p-u cube-mult pow-to-exp unpow3 pow-exp log1p-expm1-u
rec-exp 1-exp
cbrt-undiv neg-sub0 frac-2neg div-sub clear-num fma-udef
associate--l- sub-neg flip3-- pow-flip diff-log distribute-frac-neg flip-- associate--r+ distribute-lft-out-- inv-pow
Counts
4 → 559
Calls
4 calls:
1.0ms
(fma 3.0 (/ 1 (pow x 3)) (/ 3.0 x))
5.0ms
(/ 1 (pow x 3))
7.0ms
(/ (- 1.0) (pow x 2))
41.0ms
(- (/ (- 1.0) (pow x 2)) (fma 3.0 (/ 1 (pow x 3)) (/ 3.0 x)))

series172.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(fma 3.0 (/ 1 (pow x 3)) (/ 3.0 x))
34.0ms
(/ 1 (pow x 3))
25.0ms
(/ (- 1.0) (pow x 2))
34.0ms
(- (/ (- 1.0) (pow x 2)) (fma 3.0 (/ 1 (pow x 3)) (/ 3.0 x)))

simplify181.0ms

Algorithm
egg-herbie
Counts
571 → 571
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
0116211394
140626475
250016466

prune655.0ms

Filtered
571 candidates to 217 candidates (38.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New5701571
Fresh145
Picked011
Done011
Total5717578

Merged error: 0b

Counts
578 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (pow x 3))
0.9b
(/ (- 1.0) (pow x 2))
2.6b
(log (exp (/ (- 1.0) (pow x 2))))
10.3b
(- (log (exp (/ (- 1.0) (pow x 2)))) (fma 3.0 (/ 1 (pow x 3)) (/ 3.0 x)))

rewrite138.0ms

Algorithm
rewrite-expression-head
Rules
516×times-frac
426×log-pow
420×exp-prod
400×*-un-lft-identity
399×add-sqr-sqrt
397×add-cube-cbrt
264×prod-diff
195×unpow-prod-down
147×distribute-lft-neg-in distribute-rgt-neg-in
88×fma-neg
65×sqr-pow
61×unpow2
49×neg-mul-1
20×associate-/r*
18×add-exp-log
13×associate-/l*
12×cube-prod
10×pow1
div-exp
add-cbrt-cube
div-inv
log-prod
add-log-exp
expm1-log1p-u cube-mult pow-to-exp log-div unpow3 distribute-frac-neg pow-exp log1p-expm1-u
neg-sub0 exp-neg rec-exp 1-exp div-sub associate--l+
cbrt-undiv associate--l- frac-2neg exp-diff clear-num distribute-lft-out--
sub-neg flip3-- pow-flip diff-log rem-log-exp log-rec flip-- fma-udef associate--r+ inv-pow difference-of-squares
Counts
4 → 667
Calls
4 calls:
6.0ms
(/ 1 (pow x 3))
7.0ms
(/ (- 1.0) (pow x 2))
21.0ms
(log (exp (/ (- 1.0) (pow x 2))))
47.0ms
(- (log (exp (/ (- 1.0) (pow x 2)))) (fma 3.0 (/ 1 (pow x 3)) (/ 3.0 x)))

series117.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(/ 1 (pow x 3))
28.0ms
(/ (- 1.0) (pow x 2))
24.0ms
(log (exp (/ (- 1.0) (pow x 2))))
34.0ms
(- (log (exp (/ (- 1.0) (pow x 2)))) (fma 3.0 (/ 1 (pow x 3)) (/ 3.0 x)))

simplify194.0ms

Algorithm
egg-herbie
Counts
679 → 679
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
0134512771
145376778
250016778

prune955.0ms

Filtered
679 candidates to 292 candidates (43.0%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New6790679
Fresh044
Picked011
Done022
Total6797686

Merged error: 0b

Counts
686 → 7

regimes64.0ms

Accuracy

99.2% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 31.8b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03021
13021

end0.0ms

sample660.0ms

Algorithm
intervals
Results
229.0ms1702×body1280valid
137.0ms1284×body640valid
128.0ms4091×body80valid
52.0ms635×body320valid
18.0ms288×body160valid

Profiling

Loading profile data...