Details

Time bar (total: 5.2s)

analyze11.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%50%50%3
25%25%50%4
37.5%12.5%50%5
43.7%6.2%50%6
46.9%3.1%50%7
48.4%1.6%50%8
49.2%0.8%50%9
49.6%0.4%50%10
49.8%0.2%50%11
49.9%0.1%50%12
49.9%0%50.1%13
49.9%0%50.1%14
Compiler

Compiled 22 to 17 computations (22.7% saved)

sample2.0s (38.1%)

Results
1.8s8256×body128valid
1.0msbody128invalid
Compiler

Compiled 65 to 50 computations (23.1% saved)

simplify131.0ms (2.5%)

Algorithm
egg-herbie
Rules
1332×fma-def_binary64
889×associate-/r*_binary64
605×neg-sub0_binary64
599×neg-mul-1_binary64
576×fma-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01731
14228
210226
326126
468426
5108824
6180124
7354124
8391424
9400224
10441624
11440924
12441524
13515924

prune9.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.0b
(/.f64 (/.f64 -4/3 (*.f64 (PI.f64) (fma.f64 v v -1))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
1.0b
(/.f64 4 (*.f64 (*.f64 (*.f64 3 (PI.f64)) (-.f64 1 (*.f64 v v))) (sqrt.f64 (-.f64 2 (*.f64 6 (*.f64 v v))))))
Compiler

Compiled 113 to 85 computations (24.8% saved)

localize21.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (PI.f64) (fma.f64 v v -1))
0.0b
(sqrt.f64 (fma.f64 v (*.f64 v -6) 2))
0.0b
(/.f64 (/.f64 -4/3 (*.f64 (PI.f64) (fma.f64 v v -1))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
1.0b
(/.f64 -4/3 (*.f64 (PI.f64) (fma.f64 v v -1)))

series60.0ms (1.2%)

Counts
4 → 48
Calls

4 calls:

35.0ms
(/.f64 (/.f64 -4/3 (*.f64 (PI.f64) (fma.f64 v v -1))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
11.0ms
(/.f64 -4/3 (*.f64 (PI.f64) (fma.f64 v v -1)))
7.0ms
(sqrt.f64 (fma.f64 v (*.f64 v -6) 2))
6.0ms
(*.f64 (PI.f64) (fma.f64 v v -1))

rewrite42.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
66×times-frac_binary64
42×add-sqr-sqrt_binary64
39×*-un-lft-identity_binary64
39×add-cube-cbrt_binary64
27×sqrt-prod_binary64
Counts
4 → 134
Calls

4 calls:

10.0ms
(/.f64 (/.f64 -4/3 (*.f64 (PI.f64) (fma.f64 v v -1))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
7.0ms
(*.f64 (PI.f64) (fma.f64 v v -1))
5.0ms
(/.f64 -4/3 (*.f64 (PI.f64) (fma.f64 v v -1)))
2.0ms
(sqrt.f64 (fma.f64 v (*.f64 v -6) 2))

simplify281.0ms (5.4%)

Algorithm
egg-herbie
Rules
880×fma-def_binary64
306×associate-/r*_binary64
254×sub-neg_binary64
223×fma-neg_binary64
173×associate-*r*_binary64
Counts
182 → 227
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03865649
110285260
236165237
347985236
449555236

prune386.0ms (7.5%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New2252227
Fresh101
Picked101
Done000
Total2272229
Error
0b
Counts
229 → 2
Alt Table
StatusErrorProgram
0.0b
(/.f64 (/.f64 -4/3 (-.f64 (*.f64 (pow.f64 v 2) (PI.f64)) (PI.f64))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
0.0b
(/.f64 -4/3 (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)) (*.f64 (PI.f64) (fma.f64 v v -1))))
Compiler

Compiled 6649 to 4966 computations (25.3% saved)

localize20.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fma.f64 v (*.f64 v -6) 2))
0.0b
(/.f64 (/.f64 -4/3 (-.f64 (*.f64 (pow.f64 v 2) (PI.f64)) (PI.f64))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
0.1b
(*.f64 (pow.f64 v 2) (PI.f64))
1.0b
(/.f64 -4/3 (-.f64 (*.f64 (pow.f64 v 2) (PI.f64)) (PI.f64)))

series55.0ms (1.1%)

Counts
3 → 24
Calls

3 calls:

38.0ms
(/.f64 (/.f64 -4/3 (-.f64 (*.f64 (pow.f64 v 2) (PI.f64)) (PI.f64))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
11.0ms
(/.f64 -4/3 (-.f64 (*.f64 (pow.f64 v 2) (PI.f64)) (PI.f64)))
5.0ms
(*.f64 (pow.f64 v 2) (PI.f64))

rewrite82.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
204×times-frac_binary64
134×*-un-lft-identity_binary64
115×add-sqr-sqrt_binary64
109×add-cube-cbrt_binary64
57×sqrt-prod_binary64
Counts
3 → 213
Calls

3 calls:

20.0ms
(/.f64 (/.f64 -4/3 (-.f64 (*.f64 (pow.f64 v 2) (PI.f64)) (PI.f64))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
11.0ms
(/.f64 -4/3 (-.f64 (*.f64 (pow.f64 v 2) (PI.f64)) (PI.f64)))
7.0ms
(*.f64 (pow.f64 v 2) (PI.f64))

simplify549.0ms (10.6%)

Algorithm
egg-herbie
Rules
302×fma-neg_binary64
266×cancel-sign-sub-inv_binary64
261×associate-/r*_binary64
244×associate-/l/_binary64
176×fma-def_binary64
Counts
237 → 373
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
047110177
111929764
236659760
348139759
449799759
549149759

prune676.0ms (13.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New4110411
Fresh011
Picked011
Done000
Total4112413
Error
0b
Counts
413 → 2
Alt Table
StatusErrorProgram
0.0b
(/.f64 (/.f64 -4/3 (-.f64 (*.f64 (pow.f64 v 2) (PI.f64)) (PI.f64))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
0.0b
(/.f64 -4/3 (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)) (*.f64 (PI.f64) (fma.f64 v v -1))))
Compiler

Compiled 13633 to 9413 computations (31% saved)

localize18.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (PI.f64) (fma.f64 v v -1))
0.0b
(sqrt.f64 (fma.f64 v (*.f64 v -6) 2))
0.0b
(*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)) (*.f64 (PI.f64) (fma.f64 v v -1)))
0.0b
(/.f64 -4/3 (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)) (*.f64 (PI.f64) (fma.f64 v v -1))))

series63.0ms (1.2%)

Counts
2 → 24
Calls

2 calls:

42.0ms
(/.f64 -4/3 (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)) (*.f64 (PI.f64) (fma.f64 v v -1))))
21.0ms
(*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)) (*.f64 (PI.f64) (fma.f64 v v -1)))

rewrite27.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
16×add-cbrt-cube_binary64
16×add-exp-log_binary64
pow1_binary64
associate-*l*_binary64
*-un-lft-identity_binary64
Counts
2 → 52
Calls

2 calls:

11.0ms
(/.f64 -4/3 (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)) (*.f64 (PI.f64) (fma.f64 v v -1))))
9.0ms
(*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)) (*.f64 (PI.f64) (fma.f64 v v -1)))

simplify165.0ms (3.2%)

Algorithm
egg-herbie
Rules
520×fma-neg_binary64
446×cancel-sign-sub-inv_binary64
262×sub-neg_binary64
243×neg-mul-1_binary64
197×associate-/r*_binary64
Counts
76 → 104
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02943289
18422963
231702868
346072862
450512862

prune278.0ms (5.4%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1750175
Fresh000
Picked011
Done011
Total1752177
Error
0b
Counts
177 → 2
Alt Table
StatusErrorProgram
0.0b
(/.f64 (/.f64 -4/3 (-.f64 (*.f64 (pow.f64 v 2) (PI.f64)) (PI.f64))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
0.0b
(/.f64 -4/3 (*.f64 (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)) (*.f64 (PI.f64) (fma.f64 v v -1))))
Compiler

Compiled 5269 to 3957 computations (24.9% saved)

regimes211.0ms (4.1%)

Accuracy

Total 0.0b remaining (42.2%)

Threshold costs 0.0b (42.2%)

Counts
28 → 1
Compiler

Compiled 2271 to 1811 computations (20.3% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01424
11624
21624

end110.0ms (2.1%)

Compiler

Compiled 69 to 53 computations (23.2% saved)

Profiling

Loading profile data...