Details

Time bar (total: 4.6s)

analyze326.0ms (7.1%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0143236
1143236
022
122
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%50%50%2
0%50%50%3
25%25%50%4
25%25%50%5
31.2%18.7%50%6
34.3%15.6%50%7
39%10.9%50%8
40.6%8.6%50.8%9
42.9%5.9%51.2%10
43.7%4.5%51.8%11
44.9%3%52.1%12
45.3%2.3%52.4%13
45.9%1.5%52.6%14
Compiler

Compiled 15 to 14 computations (6.7% saved)

sample18.0ms (0.4%)

Algorithm
intervals
Results
11.0ms256×body128valid
0.0msbody128invalid
Compiler

Compiled 29 to 29 computations (0% saved)

simplify32.0ms (0.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
049718
149718

prune4.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.2b
Counts
2 → 2
Compiler

Compiled 38 to 35 computations (7.9% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (-.f64 1 (/.f64 1 (*.f64 x 9))) (/.f64 y (*.f64 3 (sqrt.f64 x))))
0.2b
(/.f64 y (*.f64 3 (sqrt.f64 x)))
0.2b
(/.f64 1 (*.f64 x 9))
0.3b
(*.f64 3 (sqrt.f64 x))

rewrite40.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity_binary64_11672 add-exp-log_binary64_11710
21×add-sqr-sqrt_binary64_11694
16×add-cbrt-cube_binary64_11708
15×add-cube-cbrt_binary64_11707
14×cancel-sign-sub-inv_binary64_11638
12×times-frac_binary64_11678
pow1_binary64_11733 add-log-exp_binary64_11711
associate--l+_binary64_11609
associate-*r*_binary64_11612 div-exp_binary64_11723 associate-/l*_binary64_11617
distribute-lft-out--_binary64_11624 prod-exp_binary64_11721 div-inv_binary64_11669
cbrt-undiv_binary64_11706 sqrt-prod_binary64_11688
cbrt-unprod_binary64_11705 associate-*l*_binary64_11613 diff-log_binary64_11764
clear-num_binary64_11671 1-exp_binary64_11716 pow-flip_binary64_11746 frac-sub_binary64_11681 associate-/r*_binary64_11616 flip3--_binary64_11676 unswap-sqr_binary64_11640 frac-2neg_binary64_11683 flip--_binary64_11647 pow-prod-down_binary64_11743 rec-exp_binary64_11722 sub-neg_binary64_11665
inv-pow_binary64_11757 associate--l-_binary64_11610 difference-of-squares_binary64_11641 *-commutative_binary64_11603
Counts
4 → 105
Calls

4 calls:

18.0ms
(-.f64 (-.f64 1 (/.f64 1 (*.f64 x 9))) (/.f64 y (*.f64 3 (sqrt.f64 x))))
5.0ms
(*.f64 3 (sqrt.f64 x))
5.0ms
(/.f64 y (*.f64 3 (sqrt.f64 x)))
4.0ms
(/.f64 1 (*.f64 x 9))

series104.0ms (2.3%)

Counts
4 → 12
Calls

4 calls:

43.0ms
(/.f64 y (*.f64 3 (sqrt.f64 x)))
32.0ms
(-.f64 (-.f64 1 (/.f64 1 (*.f64 x 9))) (/.f64 y (*.f64 3 (sqrt.f64 x))))
16.0ms
(*.f64 3 (sqrt.f64 x))
13.0ms
(/.f64 1 (*.f64 x 9))

simplify51.0ms (1.1%)

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
051191611

prune152.0ms (3.3%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New10611117
Fresh011
Picked101
Done000
Total10712119
Error
0.0b
Counts
119 → 12
Compiler

Compiled 2293 to 1652 computations (28% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(-.f64 (-.f64 1 (/.f64 1 (*.f64 x 9))) (/.f64 (/.f64 y 3) (sqrt.f64 x)))
0.2b
(/.f64 1 (*.f64 x 9))
0.3b
(/.f64 (/.f64 y 3) (sqrt.f64 x))

rewrite90.0ms (2%)

Algorithm
rewrite-expression-head
Rules
285×times-frac_binary64_11678
169×add-sqr-sqrt_binary64_11694
160×*-un-lft-identity_binary64_11672
153×add-cube-cbrt_binary64_11707
89×cancel-sign-sub-inv_binary64_11638
83×sqrt-prod_binary64_11688
19×add-exp-log_binary64_11710
18×div-inv_binary64_11669
16×associate-/l*_binary64_11617
13×add-cbrt-cube_binary64_11708
add-log-exp_binary64_11711 associate--l+_binary64_11609
div-exp_binary64_11723 associate-/r*_binary64_11616
pow1_binary64_11733
cbrt-undiv_binary64_11706 distribute-lft-out--_binary64_11624 difference-of-squares_binary64_11641
prod-exp_binary64_11721 diff-log_binary64_11764
clear-num_binary64_11671 1-exp_binary64_11716 pow-flip_binary64_11746 frac-sub_binary64_11681 flip3--_binary64_11676 frac-2neg_binary64_11683 flip--_binary64_11647 rec-exp_binary64_11722 sub-neg_binary64_11665
cbrt-unprod_binary64_11705 inv-pow_binary64_11757 associate--l-_binary64_11610 associate-/l/_binary64_11619 pow-prod-down_binary64_11743
Counts
3 → 253
Calls

3 calls:

46.0ms
(-.f64 (-.f64 1 (/.f64 1 (*.f64 x 9))) (/.f64 (/.f64 y 3) (sqrt.f64 x)))
7.0ms
(/.f64 (/.f64 y 3) (sqrt.f64 x))
4.0ms
(/.f64 1 (*.f64 x 9))

series83.0ms (1.8%)

Counts
3 → 9
Calls

3 calls:

40.0ms
(/.f64 (/.f64 y 3) (sqrt.f64 x))
32.0ms
(-.f64 (-.f64 1 (/.f64 1 (*.f64 x 9))) (/.f64 (/.f64 y 3) (sqrt.f64 x)))
11.0ms
(/.f64 1 (*.f64 x 9))

simplify116.0ms (2.5%)

Algorithm
egg-herbie
Counts
262 → 262
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
051325666

prune339.0ms (7.4%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New2611262
Fresh11011
Picked101
Done000
Total26311274
Error
0.0b
Counts
274 → 11
Compiler

Compiled 5916 to 3877 computations (34.5% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 1 (*.f64 x 9))
0.3b
(/.f64 y (sqrt.f64 x))
0.3b
(/.f64 3 (/.f64 y (sqrt.f64 x)))
1.1b
(/.f64 1 (/.f64 3 (/.f64 y (sqrt.f64 x))))

rewrite110.0ms (2.4%)

Algorithm
rewrite-expression-head
Rules
852×times-frac_binary64_11678
416×add-cube-cbrt_binary64_11707 add-sqr-sqrt_binary64_11694 *-un-lft-identity_binary64_11672
156×sqrt-prod_binary64_11688
100×associate-/r*_binary64_11616
43×add-exp-log_binary64_11710
25×add-cbrt-cube_binary64_11708
24×div-inv_binary64_11669
23×div-exp_binary64_11723
12×cbrt-undiv_binary64_11706 associate-/l*_binary64_11617
pow1_binary64_11733
associate-/r/_binary64_11618
1-exp_binary64_11716 rec-exp_binary64_11722
clear-num_binary64_11671 add-log-exp_binary64_11711 frac-2neg_binary64_11683
pow-flip_binary64_11746 prod-exp_binary64_11721
inv-pow_binary64_11757
cbrt-unprod_binary64_11705 pow-prod-down_binary64_11743
Counts
4 → 485
Calls

4 calls:

18.0ms
(/.f64 1 (/.f64 3 (/.f64 y (sqrt.f64 x))))
11.0ms
(/.f64 3 (/.f64 y (sqrt.f64 x)))
4.0ms
(/.f64 1 (*.f64 x 9))
4.0ms
(/.f64 y (sqrt.f64 x))

series122.0ms (2.6%)

Counts
4 → 12
Calls

4 calls:

41.0ms
(/.f64 1 (/.f64 3 (/.f64 y (sqrt.f64 x))))
37.0ms
(/.f64 3 (/.f64 y (sqrt.f64 x)))
32.0ms
(/.f64 y (sqrt.f64 x))
11.0ms
(/.f64 1 (*.f64 x 9))

simplify177.0ms (3.8%)

Algorithm
egg-herbie
Counts
497 → 497
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
0494611034
1494611034

prune875.0ms (19%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New4952497
Fresh2810
Picked011
Done000
Total49711508
Error
0.0b
Counts
508 → 11
Compiler

Compiled 12698 to 7742 computations (39% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (-.f64 1 (/.f64 1 (*.f64 x 9))) (/.f64 -1 (*.f64 (sqrt.f64 x) (/.f64 -3 y))))
0.2b
(/.f64 1 (*.f64 x 9))
0.3b
(*.f64 (sqrt.f64 x) (/.f64 -3 y))
1.1b
(/.f64 -1 (*.f64 (sqrt.f64 x) (/.f64 -3 y)))

rewrite44.0ms (1%)

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt_binary64_11694
29×add-exp-log_binary64_11710
28×*-un-lft-identity_binary64_11672
23×times-frac_binary64_11678 add-cbrt-cube_binary64_11708
21×add-cube-cbrt_binary64_11707
15×cancel-sign-sub-inv_binary64_11638
13×associate-*r*_binary64_11612
pow1_binary64_11733 div-exp_binary64_11723 add-log-exp_binary64_11711
associate--l+_binary64_11609
cbrt-undiv_binary64_11706 prod-exp_binary64_11721
div-inv_binary64_11669 associate-*l*_binary64_11613 associate-/l*_binary64_11617
cbrt-unprod_binary64_11705 distribute-lft-out--_binary64_11624 sqrt-prod_binary64_11688
unswap-sqr_binary64_11640
associate-*r/_binary64_11614 diff-log_binary64_11764
associate-/r/_binary64_11618 clear-num_binary64_11671 1-exp_binary64_11716 pow-flip_binary64_11746 frac-sub_binary64_11681 associate-/r*_binary64_11616 flip3--_binary64_11676 frac-2neg_binary64_11683 flip--_binary64_11647 pow-prod-down_binary64_11743 rec-exp_binary64_11722 sub-neg_binary64_11665
inv-pow_binary64_11757 associate--l-_binary64_11610 difference-of-squares_binary64_11641 *-commutative_binary64_11603
Counts
4 → 124
Calls

4 calls:

14.0ms
(-.f64 (-.f64 1 (/.f64 1 (*.f64 x 9))) (/.f64 -1 (*.f64 (sqrt.f64 x) (/.f64 -3 y))))
8.0ms
(*.f64 (sqrt.f64 x) (/.f64 -3 y))
7.0ms
(/.f64 -1 (*.f64 (sqrt.f64 x) (/.f64 -3 y)))
4.0ms
(/.f64 1 (*.f64 x 9))

series138.0ms (3%)

Counts
4 → 12
Calls

4 calls:

51.0ms
(/.f64 -1 (*.f64 (sqrt.f64 x) (/.f64 -3 y)))
43.0ms
(*.f64 (sqrt.f64 x) (/.f64 -3 y))
31.0ms
(-.f64 (-.f64 1 (/.f64 1 (*.f64 x 9))) (/.f64 -1 (*.f64 (sqrt.f64 x) (/.f64 -3 y))))
11.0ms
(/.f64 1 (*.f64 x 9))

simplify73.0ms (1.6%)

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049272008
149272008

prune148.0ms (3.2%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1360136
Fresh099
Picked011
Done011
Total13611147
Error
0.0b
Counts
147 → 11
Compiler

Compiled 2653 to 1930 computations (27.3% saved)

regimes220.0ms (4.8%)

Accuracy

Total 0.2b remaining (96.2%)

Threshold costs 0.2b (96.2%)

Compiler

Compiled 2408 to 2089 computations (13.2% saved)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04124
14124

end0.0ms (0%)

sample1.3s (28.2%)

Algorithm
intervals
Results
342.0ms8000×body128valid
4.0ms93×body128invalid
Compiler

Compiled 837 to 729 computations (12.9% saved)

Profiling

Loading profile data...