Details

Time bar (total: 2.2s)

analyze6.0ms (0.3%)

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)

sample1.1s (51.1%)

Results
983.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 65 to 50 computations (23.1% saved)

simplify116.0ms (5.3%)

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

prune5.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 113 to 85 computations (24.8% saved)

localize11.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (PI.f64) (fma.f64 v v -1))
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)))

series38.0ms (1.7%)

Counts
3 → 36
Calls

3 calls:

29.0ms
(/.f64 (/.f64 -4/3 (*.f64 (PI.f64) (fma.f64 v v -1))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
6.0ms
(/.f64 -4/3 (*.f64 (PI.f64) (fma.f64 v v -1)))
3.0ms
(*.f64 (PI.f64) (fma.f64 v v -1))

rewrite20.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
66×times-frac_binary64
39×add-sqr-sqrt_binary64
37×*-un-lft-identity_binary64
37×add-cube-cbrt_binary64
24×sqrt-prod_binary64
Counts
3 → 119
Calls

3 calls:

5.0ms
(/.f64 (/.f64 -4/3 (*.f64 (PI.f64) (fma.f64 v v -1))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
4.0ms
(*.f64 (PI.f64) (fma.f64 v v -1))
3.0ms
(/.f64 -4/3 (*.f64 (PI.f64) (fma.f64 v v -1)))

simplify156.0ms (7.1%)

Algorithm
egg-herbie
Rules
790×fma-def_binary64
281×associate-/r*_binary64
258×cancel-sign-sub-inv_binary64
201×neg-mul-1_binary64
192×fma-neg_binary64
Counts
155 → 189
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03455140
18994776
232134751
348114751
450194751

prune153.0ms (7%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1881189
Fresh101
Picked101
Done000
Total1901191
Error
0b
Counts
191 → 1
Alt Table
StatusErrorProgram
0b
(/.f64 (*.f64 (/.f64 1 (PI.f64)) (/.f64 -4/3 (fma.f64 v v -1))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
Compiler

Compiled 5651 to 4195 computations (25.8% saved)

localize10.0ms (0.5%)

Local error

Found 3 expressions with local error:

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

series60.0ms (2.7%)

Counts
3 → 36
Calls

3 calls:

49.0ms
(/.f64 (*.f64 (/.f64 1 (PI.f64)) (/.f64 -4/3 (fma.f64 v v -1))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
8.0ms
(*.f64 (/.f64 1 (PI.f64)) (/.f64 -4/3 (fma.f64 v v -1)))
3.0ms
(/.f64 -4/3 (fma.f64 v v -1))

rewrite29.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
59×add-exp-log_binary64
46×add-sqr-sqrt_binary64
40×times-frac_binary64
35×add-cbrt-cube_binary64
31×*-un-lft-identity_binary64
Counts
3 → 129
Calls

3 calls:

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

simplify167.0ms (7.6%)

Algorithm
egg-herbie
Rules
889×fma-def_binary64
225×fma-neg_binary64
202×associate-/r*_binary64
195×associate-/l*_binary64
181×sub-neg_binary64
Counts
165 → 236
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03694578
110154033
236084016
347744015
449874015
549204015

prune194.0ms (8.8%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New2360236
Fresh000
Picked011
Done000
Total2361237
Error
0b
Counts
237 → 1
Alt Table
StatusErrorProgram
0b
(/.f64 (*.f64 (/.f64 1 (PI.f64)) (/.f64 -4/3 (fma.f64 v v -1))) (sqrt.f64 (fma.f64 v (*.f64 v -6) 2)))
Compiler

Compiled 6917 to 5178 computations (25.1% saved)

regimes56.0ms (2.5%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
14 → 1
Compiler

Compiled 1016 to 794 computations (21.9% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01627
12027
21927

end50.0ms (2.3%)

Compiler

Compiled 57 to 45 computations (21.1% saved)

Profiling

Loading profile data...