Details

Time bar (total: 1.8s)

analyze4.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
62.5%12.5%25%5
68.7%6.2%25%6
71.8%3.1%25%7
73.4%1.6%25%8
74.2%0.8%25%9
74.6%0.4%25%10
74.8%0.2%25%11
74.9%0.1%25%12
74.9%0%25.1%13
74.9%0%25.1%14
Compiler

Compiled 11 to 9 computations (18.2% saved)

sample869.0ms (48.3%)

Results
605.0ms7399×body128valid
144.0ms525×body1024valid
38.0ms205×body512valid
17.0ms127×body256valid
0.0msbody128invalid
Compiler

Compiled 32 to 26 computations (18.8% saved)

simplify44.0ms (2.4%)

Algorithm
egg-herbie
Rules
927×fma-def_binary64
405×fma-neg_binary64
127×cancel-sign-sub-inv_binary64
85×distribute-rgt-in_binary64
63×associate-*l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0813
11813
24010
3928
41738
52598
63658
75618
85808
96758
107988
118218
129188
139228
149228
158038

prune3.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.2b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.2b
(*.f64 x (fma.f64 x -9 6))
0.3b
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
Compiler

Compiled 50 to 38 computations (24% saved)

localize4.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x -9 6)
0.1b
(*.f64 x (fma.f64 x -9 6))

series4.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(*.f64 x (fma.f64 x -9 6))
1.0ms
(fma.f64 x -9 6)

rewrite4.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
2 → 32
Calls

2 calls:

3.0ms
(*.f64 x (fma.f64 x -9 6))
0.0ms
(fma.f64 x -9 6)

simplify52.0ms (2.9%)

Algorithm
egg-herbie
Rules
773×distribute-rgt-in_binary64
772×distribute-lft-in_binary64
771×distribute-rgt-neg-out_binary64
353×unsub-neg_binary64
312×fma-def_binary64
Counts
56 → 48
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
052575
196457
2263457
3848457
43098457
55369457

prune43.0ms (2.4%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New40848
Fresh011
Picked011
Done000
Total401050
Error
0.0b
Counts
50 → 10
Alt Table
StatusErrorProgram
0.2b
(*.f64 x (fma.f64 x -9 6))
41.3b
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 (fma.f64 x -9 6))) (*.f64 (sqrt.f64 x) (sqrt.f64 (fma.f64 x -9 6))))
30.3b
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (fma.f64 x -9 6)))
1.3b
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (fma.f64 x -9 6)))
41.2b
(*.f64 (sqrt.f64 (*.f64 x (fma.f64 x -9 6))) (sqrt.f64 (*.f64 x (fma.f64 x -9 6))))
1.3b
(*.f64 (*.f64 (cbrt.f64 (*.f64 x (fma.f64 x -9 6))) (cbrt.f64 (*.f64 x (fma.f64 x -9 6)))) (cbrt.f64 (*.f64 x (fma.f64 x -9 6))))
0.3b
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
7.3b
(*.f64 x (cbrt.f64 (pow.f64 (fma.f64 x -9 6) 3)))
0.2b
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2)))
1.6b
(*.f64 (*.f64 x (*.f64 (cbrt.f64 (fma.f64 x -9 6)) (cbrt.f64 (fma.f64 x -9 6)))) (cbrt.f64 (fma.f64 x -9 6)))
Compiler

Compiled 753 to 538 computations (28.6% saved)

localize5.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2)))
0.2b
(*.f64 9 (pow.f64 x 2))

series6.0ms (0.3%)

Counts
2 → 3
Calls

2 calls:

3.0ms
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2)))
3.0ms
(*.f64 9 (pow.f64 x 2))

rewrite44.0ms (2.4%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64
associate-*r*_binary64
add-exp-log_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
2 → 45
Calls

2 calls:

40.0ms
(*.f64 9 (pow.f64 x 2))
3.0ms
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2)))

simplify69.0ms (3.8%)

Algorithm
egg-herbie
Rules
678×fma-neg_binary64
408×associate-*l*_binary64
344×cancel-sign-sub-inv_binary64
343×associate-*r*_binary64
266×distribute-rgt-neg-in_binary64
Counts
48 → 76
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
088604
1186503
2497466
31973465
44384465
54806465

prune98.0ms (5.5%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New74276
Fresh358
Picked101
Done011
Total78886
Error
0.0b
Counts
86 → 8
Alt Table
StatusErrorProgram
30.3b
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (fma.f64 x -9 6)))
1.3b
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (fma.f64 x -9 6)))
0.2b
(*.f64 x (fma.f64 x -9 6))
41.2b
(*.f64 (sqrt.f64 (*.f64 x (fma.f64 x -9 6))) (sqrt.f64 (*.f64 x (fma.f64 x -9 6))))
1.3b
(*.f64 (*.f64 (cbrt.f64 (*.f64 x (fma.f64 x -9 6))) (cbrt.f64 (*.f64 x (fma.f64 x -9 6)))) (cbrt.f64 (*.f64 x (fma.f64 x -9 6))))
0.3b
(-.f64 (*.f64 6 x) (*.f64 (sqrt.f64 9) (*.f64 x (*.f64 x 3))))
7.3b
(*.f64 x (cbrt.f64 (pow.f64 (fma.f64 x -9 6) 3)))
0.2b
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
Compiler

Compiled 1293 to 978 computations (24.4% saved)

localize7.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
0.2b
(*.f64 -9 (*.f64 x x))

series6.0ms (0.3%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
3.0ms
(*.f64 -9 (*.f64 x x))

rewrite5.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
add-sqr-sqrt_binary64
associate-*l*_binary64
Counts
2 → 31
Calls

2 calls:

4.0ms
(*.f64 -9 (*.f64 x x))
0.0ms
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))

simplify98.0ms (5.5%)

Algorithm
egg-herbie
Rules
920×fma-def_binary64
581×neg-mul-1_binary64
503×distribute-rgt-neg-out_binary64
449×unsub-neg_binary64
302×*-commutative_binary64
Counts
55 → 46
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
054583
199505
2228496
3795458
41990458
54389458
65088458

prune33.0ms (1.9%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New46046
Fresh066
Picked011
Done011
Total46854
Error
0.0b
Counts
54 → 8
Alt Table
StatusErrorProgram
30.3b
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (fma.f64 x -9 6)))
1.3b
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (fma.f64 x -9 6)))
0.2b
(*.f64 x (fma.f64 x -9 6))
41.2b
(*.f64 (sqrt.f64 (*.f64 x (fma.f64 x -9 6))) (sqrt.f64 (*.f64 x (fma.f64 x -9 6))))
1.3b
(*.f64 (*.f64 (cbrt.f64 (*.f64 x (fma.f64 x -9 6))) (cbrt.f64 (*.f64 x (fma.f64 x -9 6)))) (cbrt.f64 (*.f64 x (fma.f64 x -9 6))))
0.3b
(-.f64 (*.f64 6 x) (*.f64 (sqrt.f64 9) (*.f64 x (*.f64 x 3))))
7.3b
(*.f64 x (cbrt.f64 (pow.f64 (fma.f64 x -9 6) 3)))
0.2b
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
Compiler

Compiled 750 to 491 computations (34.5% saved)

localize7.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 6 x) (*.f64 (sqrt.f64 9) (*.f64 x (*.f64 x 3))))
0.2b
(*.f64 x (*.f64 x 3))
0.2b
(*.f64 (sqrt.f64 9) (*.f64 x (*.f64 x 3)))

series9.0ms (0.5%)

Counts
3 → 36
Calls

3 calls:

4.0ms
(-.f64 (*.f64 6 x) (*.f64 (sqrt.f64 9) (*.f64 x (*.f64 x 3))))
3.0ms
(*.f64 (sqrt.f64 9) (*.f64 x (*.f64 x 3)))
2.0ms
(*.f64 x (*.f64 x 3))

rewrite16.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
17×add-cbrt-cube_binary64
17×add-exp-log_binary64
17×pow1_binary64
associate-*l*_binary64
cbrt-unprod_binary64
Counts
3 → 62
Calls

3 calls:

6.0ms
(*.f64 (sqrt.f64 9) (*.f64 x (*.f64 x 3)))
4.0ms
(-.f64 (*.f64 6 x) (*.f64 (sqrt.f64 9) (*.f64 x (*.f64 x 3))))
4.0ms
(*.f64 x (*.f64 x 3))

simplify71.0ms (4%)

Algorithm
egg-herbie
Rules
916×fma-def_binary64
593×times-frac_binary64
399×distribute-rgt-neg-in_binary64
387×distribute-lft-neg-in_binary64
311×fma-neg_binary64
Counts
98 → 99
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0991088
1238936
2848887
31941835
44689835
55734835

prune85.0ms (4.7%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New99099
Fresh055
Picked011
Done022
Total998107
Error
0.0b
Counts
107 → 8
Alt Table
StatusErrorProgram
30.3b
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (fma.f64 x -9 6)))
1.3b
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (fma.f64 x -9 6)))
0.2b
(*.f64 x (fma.f64 x -9 6))
41.2b
(*.f64 (sqrt.f64 (*.f64 x (fma.f64 x -9 6))) (sqrt.f64 (*.f64 x (fma.f64 x -9 6))))
1.3b
(*.f64 (*.f64 (cbrt.f64 (*.f64 x (fma.f64 x -9 6))) (cbrt.f64 (*.f64 x (fma.f64 x -9 6)))) (cbrt.f64 (*.f64 x (fma.f64 x -9 6))))
0.3b
(-.f64 (*.f64 6 x) (*.f64 (sqrt.f64 9) (*.f64 x (*.f64 x 3))))
7.3b
(*.f64 x (cbrt.f64 (pow.f64 (fma.f64 x -9 6) 3)))
0.2b
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
Compiler

Compiled 1740 to 1283 computations (26.3% saved)

regimes105.0ms (5.8%)

Accuracy

Total 0.1b remaining (80.6%)

Threshold costs 0.1b (80.6%)

Counts
38 → 1
Compiler

Compiled 934 to 706 computations (24.4% saved)

simplify3.0ms (0.2%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
distribute-lft-neg-in_binary64
distribute-rgt-neg-in_binary64
sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0911
11911
22511
32811
42911
52811

end105.0ms (5.8%)

Compiler

Compiled 122 to 88 computations (27.9% saved)

Profiling

Loading profile data...