Details

Time bar (total: 2.2s)

analyze142.0ms (6.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%74.9%0.1%6
56.2%43.7%0.1%7
56.2%43.7%0.1%8
76.5%23.4%0.1%9
76.5%23.4%0.1%10
87.8%12.1%0.1%11
87.8%12.1%0.1%12
93.8%6.1%0.1%13
93.8%6.1%0.1%14
Compiler

Compiled 12 to 8 computations (33.3% saved)

sample886.0ms (40.2%)

Results
768.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 35 to 23 computations (34.3% saved)

simplify68.0ms (3.1%)

Algorithm
egg-herbie
Rules
959×fma-neg_binary64
595×times-frac_binary64
494×neg-mul-1_binary64
491×neg-sub0_binary64
301×associate-/l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0813
11913
25210
311310
420310
543610
675810
7259210
8429910
9500210

prune4.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 1/2 y) (/.f64 -1/2 x))
13.6b
(/.f64 (-.f64 x y) (*.f64 (*.f64 x 2) y))
Compiler

Compiled 58 to 40 computations (31% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (/.f64 1/2 y) (/.f64 -1/2 x))

series9.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

9.0ms
(+.f64 (/.f64 1/2 y) (/.f64 -1/2 x))

rewrite11.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity_binary64
13×fma-def_binary64
11×times-frac_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
1 → 29
Calls

1 calls:

9.0ms
(+.f64 (/.f64 1/2 y) (/.f64 -1/2 x))

simplify97.0ms (4.4%)

Algorithm
egg-herbie
Rules
889×div-sub_binary64
786×sub-neg_binary64
324×distribute-rgt-in_binary64
310×associate-*l/_binary64
292×distribute-lft-in_binary64
Counts
53 → 44
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
041466
1128436
2336435
31291435
43780435
54265435
64960435
75783435

prune27.0ms (1.2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New44044
Fresh011
Picked011
Done000
Total44246
Error
0.0b
Counts
46 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (/.f64 1/2 y) (/.f64 -1/2 x))
13.6b
(/.f64 (-.f64 x y) (*.f64 (*.f64 x 2) y))
Compiler

Compiled 617 to 453 computations (26.6% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
13.2b
(/.f64 (-.f64 x y) (*.f64 (*.f64 x 2) y))

series9.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

8.0ms
(/.f64 (-.f64 x y) (*.f64 (*.f64 x 2) y))

rewrite11.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
10×add-cbrt-cube_binary64
10×add-exp-log_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
associate-/l*_binary64
Counts
1 → 32
Calls

1 calls:

9.0ms
(/.f64 (-.f64 x y) (*.f64 (*.f64 x 2) y))

simplify58.0ms (2.6%)

Algorithm
egg-herbie
Rules
749×fma-def_binary64
658×times-frac_binary64
546×associate-/r*_binary64
522×associate-*l*_binary64
490×div-sub_binary64
Counts
56 → 50
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
090826
1241704
2891655
34160655
46127655

prune23.0ms (1.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New48250
Fresh000
Picked101
Done011
Total49352
Error
0b
Counts
52 → 3
Alt Table
StatusErrorProgram
49.4b
(/.f64 (-.f64 (pow.f64 x 3) (pow.f64 y 3)) (*.f64 (*.f64 y (*.f64 x 2)) (fma.f64 x x (*.f64 y (+.f64 x y)))))
8.1b
(/.f64 1 (/.f64 (*.f64 x 2) (/.f64 (-.f64 x y) y)))
0.0b
(+.f64 (/.f64 1/2 y) (/.f64 -1/2 x))
Compiler

Compiled 827 to 430 computations (48% saved)

localize6.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 x y) y)
0.0b
(/.f64 1 (/.f64 (*.f64 x 2) (/.f64 (-.f64 x y) y)))
7.6b
(/.f64 (*.f64 x 2) (/.f64 (-.f64 x y) y))

series26.0ms (1.2%)

Counts
3 → 72
Calls

3 calls:

12.0ms
(/.f64 (*.f64 x 2) (/.f64 (-.f64 x y) y))
8.0ms
(/.f64 1 (/.f64 (*.f64 x 2) (/.f64 (-.f64 x y) y)))
5.0ms
(/.f64 (-.f64 x y) y)

rewrite59.0ms (2.7%)

Algorithm
rewrite-expression-head
Rules
272×times-frac_binary64
140×*-un-lft-identity_binary64
140×add-sqr-sqrt_binary64
96×add-cube-cbrt_binary64
61×add-exp-log_binary64
Counts
3 → 234
Calls

3 calls:

16.0ms
(/.f64 (*.f64 x 2) (/.f64 (-.f64 x y) y))
9.0ms
(/.f64 1 (/.f64 (*.f64 x 2) (/.f64 (-.f64 x y) y)))
5.0ms
(/.f64 (-.f64 x y) y)

simplify229.0ms (10.4%)

Algorithm
egg-herbie
Rules
803×associate-/r*_binary64
326×fma-def_binary64
235×distribute-rgt-in_binary64
206×distribute-lft-in_binary64
187×associate-/r/_binary64
Counts
306 → 338
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02685820
16215328
222324961
346604958
449744958
549934958
649604958

prune149.0ms (6.8%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New3371338
Fresh101
Picked101
Done011
Total3392341
Error
0b
Counts
341 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (/.f64 1/2 y) (/.f64 -1/2 x))
8.1b
(/.f64 1 (/.f64 x (fma.f64 1/2 (/.f64 x y) -1/2)))
Compiler

Compiled 6627 to 2926 computations (55.8% saved)

localize6.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/2 (/.f64 x y) -1/2)
0.0b
(/.f64 1 (/.f64 x (fma.f64 1/2 (/.f64 x y) -1/2)))
7.6b
(/.f64 x (fma.f64 1/2 (/.f64 x y) -1/2))

series26.0ms (1.2%)

Counts
3 → 72
Calls

3 calls:

12.0ms
(/.f64 x (fma.f64 1/2 (/.f64 x y) -1/2))
9.0ms
(/.f64 1 (/.f64 x (fma.f64 1/2 (/.f64 x y) -1/2)))
6.0ms
(fma.f64 1/2 (/.f64 x y) -1/2)

rewrite18.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
84×times-frac_binary64
53×*-un-lft-identity_binary64
53×add-sqr-sqrt_binary64
53×add-cube-cbrt_binary64
16×associate-/r*_binary64
Counts
3 → 117
Calls

3 calls:

4.0ms
(/.f64 x (fma.f64 1/2 (/.f64 x y) -1/2))
4.0ms
(/.f64 1 (/.f64 x (fma.f64 1/2 (/.f64 x y) -1/2)))
0.0ms
(fma.f64 1/2 (/.f64 x y) -1/2)

simplify131.0ms (5.9%)

Algorithm
egg-herbie
Rules
542×fma-neg_binary64
392×cancel-sign-sub-inv_binary64
358×times-frac_binary64
271×div-sub_binary64
254×associate-/l*_binary64
Counts
189 → 170
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01493448
13203158
29493083
332133078
447913078
553333078

prune105.0ms (4.7%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1700170
Fresh000
Picked011
Done011
Total1702172
Error
0b
Counts
172 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (/.f64 1/2 y) (/.f64 -1/2 x))
8.1b
(/.f64 1 (/.f64 x (fma.f64 1/2 (/.f64 x y) -1/2)))
Compiler

Compiled 3333 to 2090 computations (37.3% saved)

regimes53.0ms (2.4%)

Accuracy

Total 0.0b remaining (56.2%)

Threshold costs 0.0b (56.2%)

Counts
18 → 1
Compiler

Compiled 652 to 451 computations (30.8% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
1910
2910

end42.0ms (1.9%)

Compiler

Compiled 39 to 30 computations (23.1% saved)

Profiling

Loading profile data...