Details

Time bar (total: 2.8s)

analyze5.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%74.9%25.1%0
0%74.9%25.1%1
37.5%37.5%25.1%2
37.5%18.7%43.8%3
46.8%9.4%43.8%4
51.5%4.7%43.8%5
51.5%2.3%46.1%6
52.7%1.2%46.1%7
53.3%0.6%46.1%8
53.3%0.3%46.4%9
53.4%0.1%46.4%10
53.5%0.1%46.4%11
53.5%0%46.5%12
53.5%0%46.5%13
53.5%0%46.5%14
Compiler

Compiled 70 to 33 computations (52.9% saved)

sample33.0ms (1.2%)

Algorithm
intervals
Results
24.0ms256×body80valid
3.0ms256×pre80true
Compiler

Compiled 137 to 65 computations (52.6% saved)

simplify151.0ms (5.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (141.0ms)

IterNodesCost
0520447

prune10.0ms (0.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 2
Compiler

Compiled 125 to 77 computations (38.4% saved)

localize26.0ms (0.9%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x))
0.1b
(*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x))
0.2b
(*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))
1.0b
(sqrt.f64 PI.f64)

rewrite32.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
52×pow1_binary64
35×add-exp-log_binary64 add-cbrt-cube_binary64
18×cbrt-unprod_binary64 prod-exp_binary64
17×add-sqr-sqrt_binary64
15×associate-*l*_binary64
14×*-un-lft-identity_binary64 add-cube-cbrt_binary64
12×pow-prod-down_binary64 pow-prod-up_binary64 pow-plus_binary64
times-frac_binary64
associate-*r*_binary64
add-log-exp_binary64 pow-sqr_binary64 pow2_binary64
cbrt-undiv_binary64 div-exp_binary64 sqrt-prod_binary64 *-commutative_binary64
unswap-sqr_binary64 pow3_binary64
pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 div-inv_binary64 associate-*l/_binary64
Counts
4 → 107
Calls

4 calls:

13.0ms
(*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))
7.0ms
(*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x))
7.0ms
(*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x))
2.0ms
(sqrt.f64 PI.f64)

series21.0ms (0.7%)

Counts
4 → 10
Calls

4 calls:

9.0ms
(*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))
6.0ms
(*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x))
6.0ms
(*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x))
0.0ms
(sqrt.f64 PI.f64)

simplify87.0ms (3.1%)

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
05073954

prune166.0ms (5.9%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1161117
Fresh011
Picked101
Done000
Total1172119

Merged error: 0.0b

Counts
119 → 2
Compiler

Compiled 7800 to 3083 computations (60.5% saved)

localize30.0ms (1.1%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x))
0.1b
(*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x))
0.2b
(*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))
1.0b
(sqrt.f64 PI.f64)

rewrite31.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
52×pow1_binary64
35×add-exp-log_binary64 add-cbrt-cube_binary64
18×cbrt-unprod_binary64 prod-exp_binary64
17×add-sqr-sqrt_binary64
15×associate-*l*_binary64
14×*-un-lft-identity_binary64 add-cube-cbrt_binary64
12×pow-prod-down_binary64 pow-prod-up_binary64 pow-plus_binary64
times-frac_binary64
associate-*r*_binary64
add-log-exp_binary64 pow-sqr_binary64 pow2_binary64
cbrt-undiv_binary64 div-exp_binary64 sqrt-prod_binary64 *-commutative_binary64
unswap-sqr_binary64 pow3_binary64
pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 div-inv_binary64 associate-*l/_binary64
Counts
4 → 107
Calls

4 calls:

12.0ms
(*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))
7.0ms
(*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x))
6.0ms
(*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x))
2.0ms
(sqrt.f64 PI.f64)

series21.0ms (0.8%)

Counts
4 → 10
Calls

4 calls:

9.0ms
(*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))
6.0ms
(*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x))
6.0ms
(*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x))
0.0ms
(sqrt.f64 PI.f64)

simplify89.0ms (3.1%)

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
05077924

prune195.0ms (6.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1170117
Fresh011
Picked011
Done000
Total1172119

Merged error: 0.0b

Counts
119 → 2
Compiler

Compiled 7257 to 3628 computations (50% saved)

localize18.0ms (0.6%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
0.2b
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
0.3b
(/.f64 (+.f64 (+.f64 (+.f64 (*.f64 2 (fabs.f64 x)) (*.f64 2/3 (pow.f64 (fabs.f64 x) 3))) (*.f64 1/5 (pow.f64 (fabs.f64 x) 5))) (*.f64 1/21 (pow.f64 (fabs.f64 x) 7))) (sqrt.f64 PI.f64))
1.0b
(sqrt.f64 PI.f64)

rewrite34.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt_binary64
27×*-un-lft-identity_binary64 add-cube-cbrt_binary64
19×associate-*r*_binary64
18×times-frac_binary64
16×add-exp-log_binary64
15×sqrt-prod_binary64
10×add-cbrt-cube_binary64
unpow-prod-down_binary64
unswap-sqr_binary64
associate-/r*_binary64 associate-*l*_binary64 prod-exp_binary64
pow1_binary64
add-log-exp_binary64 sqr-pow_binary64 cube-prod_binary64
associate-/l*_binary64
pow-to-exp_binary64 associate-/l/_binary64 cbrt-unprod_binary64 pow-exp_binary64 *-commutative_binary64
flip3-+_binary64 pow1/2_binary64 cbrt-undiv_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64 flip-+_binary64 unpow3_binary64 cube-mult_binary64
Counts
4 → 110
Calls

4 calls:

14.0ms
(/.f64 (+.f64 (+.f64 (+.f64 (*.f64 2 (fabs.f64 x)) (*.f64 2/3 (pow.f64 (fabs.f64 x) 3))) (*.f64 1/5 (pow.f64 (fabs.f64 x) 5))) (*.f64 1/21 (pow.f64 (fabs.f64 x) 7))) (sqrt.f64 PI.f64))
8.0ms
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
6.0ms
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
2.0ms
(sqrt.f64 PI.f64)

series77.0ms (2.7%)

Counts
4 → 10
Calls

4 calls:

56.0ms
(/.f64 (+.f64 (+.f64 (+.f64 (*.f64 2 (fabs.f64 x)) (*.f64 2/3 (pow.f64 (fabs.f64 x) 3))) (*.f64 1/5 (pow.f64 (fabs.f64 x) 5))) (*.f64 1/21 (pow.f64 (fabs.f64 x) 7))) (sqrt.f64 PI.f64))
12.0ms
(*.f64 1/5 (pow.f64 (fabs.f64 x) 5))
9.0ms
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
0.0ms
(sqrt.f64 PI.f64)

simplify82.0ms (2.9%)

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
051673850

prune184.0ms (6.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1173120
Fresh000
Picked101
Done011
Total1184122

Merged error: 0b

Counts
122 → 4
Compiler

Compiled 4830 to 3204 computations (33.7% saved)

localize19.0ms (0.7%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
0.3b
(/.f64 (+.f64 (+.f64 (+.f64 (*.f64 2 (fabs.f64 x)) (*.f64 2/3 (pow.f64 (fabs.f64 x) 3))) (*.f64 1/5 (pow.f64 (fabs.f64 x) 5))) (*.f64 1/21 (pow.f64 (fabs.f64 x) 7))) (*.f64 (sqrt.f64 (sqrt.f64 PI.f64)) (sqrt.f64 (sqrt.f64 PI.f64))))
1.0b
(sqrt.f64 PI.f64)
1.0b
(sqrt.f64 PI.f64)

rewrite33.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt_binary64
14×add-exp-log_binary64
12×*-un-lft-identity_binary64 associate-*r*_binary64 add-cube-cbrt_binary64
11×add-cbrt-cube_binary64
pow1_binary64 sqrt-prod_binary64
add-log-exp_binary64 unswap-sqr_binary64 unpow-prod-down_binary64 prod-exp_binary64 cube-prod_binary64
associate-*l*_binary64 associate-/l*_binary64 times-frac_binary64
associate-/l/_binary64 pow1/2_binary64 cbrt-unprod_binary64 cbrt-undiv_binary64 sqr-pow_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 div-exp_binary64
pow-to-exp_binary64 flip3-+_binary64 associate-/r*_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 flip-+_binary64 pow-exp_binary64 unpow3_binary64 *-commutative_binary64 cube-mult_binary64
Counts
4 → 80
Calls

4 calls:

20.0ms
(/.f64 (+.f64 (+.f64 (+.f64 (*.f64 2 (fabs.f64 x)) (*.f64 2/3 (pow.f64 (fabs.f64 x) 3))) (*.f64 1/5 (pow.f64 (fabs.f64 x) 5))) (*.f64 1/21 (pow.f64 (fabs.f64 x) 7))) (*.f64 (sqrt.f64 (sqrt.f64 PI.f64)) (sqrt.f64 (sqrt.f64 PI.f64))))
7.0ms
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
2.0ms
(sqrt.f64 PI.f64)
1.0ms
(sqrt.f64 PI.f64)

series67.0ms (2.4%)

Counts
4 → 8
Calls

4 calls:

59.0ms
(/.f64 (+.f64 (+.f64 (+.f64 (*.f64 2 (fabs.f64 x)) (*.f64 2/3 (pow.f64 (fabs.f64 x) 3))) (*.f64 1/5 (pow.f64 (fabs.f64 x) 5))) (*.f64 1/21 (pow.f64 (fabs.f64 x) 7))) (*.f64 (sqrt.f64 (sqrt.f64 PI.f64)) (sqrt.f64 (sqrt.f64 PI.f64))))
8.0ms
(*.f64 2/3 (pow.f64 (fabs.f64 x) 3))
0.0ms
(sqrt.f64 PI.f64)
0.0ms
(sqrt.f64 PI.f64)

simplify48.0ms (1.7%)

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
051611997

prune113.0ms (4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New88088
Fresh022
Picked011
Done011
Total88492

Merged error: 0b

Counts
92 → 4
Compiler

Compiled 3532 to 2161 computations (38.8% saved)

regimes45.0ms (1.6%)

Compiler

Compiled 330 to 228 computations (30.9% saved)

bsearch0.0ms (0%)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04994
14994

end0.0ms (0%)

sample1.2s (42.8%)

Algorithm
intervals
Results
738.0ms8000×body80valid
87.0ms8000×pre80true
Compiler

Compiled 289 to 174 computations (39.8% saved)

Profiling

Loading profile data...