Details

Time bar (total: 2.0s)

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
62.5%6.2%31.3%6
65.6%3.1%31.3%7
65.6%1.6%32.8%8
66.4%0.8%32.8%9
66.4%0.4%33.2%10
66.6%0.2%33.2%11
66.6%0.1%33.3%12
66.6%0%33.4%13
66.6%0%33.4%14
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample857.0ms (43.8%)

Results
667.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 32 to 23 computations (28.1% saved)

simplify166.0ms (8.5%)

Algorithm
egg-herbie
Rules
1514×fma-def_binary64
1229×fma-neg_binary64
587×distribute-rgt-neg-in_binary64
552×cancel-sign-sub-inv_binary64
522×sqr-pow_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0813
11713
24211
39611
416911
522411
634311
754911
872811
9120811
10166611
11230611
12290511
13302811
14323311
15341811
16428211
17323011
18359511
19471311
20475511

prune2.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.2b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.2b
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
Compiler

Compiled 36 to 23 computations (36.1% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (*.f64 x x) (fma.f64 x -2 3))

series5.0ms (0.3%)

Counts
1 → 12
Calls

1 calls:

5.0ms
(*.f64 (*.f64 x x) (fma.f64 x -2 3))

rewrite5.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
associate-*r*_binary64
add-sqr-sqrt_binary64
Counts
1 → 23
Calls

1 calls:

4.0ms
(*.f64 (*.f64 x x) (fma.f64 x -2 3))

simplify60.0ms (3.1%)

Algorithm
egg-herbie
Rules
1057×fma-def_binary64
450×associate-*l*_binary64
439×times-frac_binary64
381×exp-prod_binary64
334×associate-*r*_binary64
Counts
35 → 37
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
051539
1122424
2381424
31373424
42370424
53834424
65293424

prune37.0ms (1.9%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New32537
Fresh000
Picked101
Done000
Total33538
Error
0.0b
Counts
38 → 5
Alt Table
StatusErrorProgram
0.1b
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
0.5b
(*.f64 (*.f64 (*.f64 x x) (*.f64 (cbrt.f64 (fma.f64 x -2 3)) (cbrt.f64 (fma.f64 x -2 3)))) (cbrt.f64 (fma.f64 x -2 3)))
6.1b
(*.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) (*.f64 x (sqrt.f64 (fma.f64 x -2 3))))
24.0b
(cbrt.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 x x)) (*.f64 (*.f64 (fma.f64 x -2 3) (fma.f64 x -2 3)) (fma.f64 x -2 3))))
0.1b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
Compiler

Compiled 664 to 433 computations (34.8% saved)

localize4.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (fma.f64 x -2 3))
0.1b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))

series6.0ms (0.3%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
2.0ms
(*.f64 x (fma.f64 x -2 3))

rewrite8.0ms (0.4%)

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

2 calls:

4.0ms
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
2.0ms
(*.f64 x (fma.f64 x -2 3))

simplify73.0ms (3.7%)

Algorithm
egg-herbie
Rules
654×fma-def_binary64
444×unswap-sqr_binary64
444×times-frac_binary64
351×*-commutative_binary64
216×exp-prod_binary64
Counts
70 → 70
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
074970
1152752
2484752
31374750
42163750
54334750
65493750

prune58.0ms (3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New68270
Fresh134
Picked011
Done000
Total69675
Error
0b
Counts
75 → 6
Alt Table
StatusErrorProgram
0.8b
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (*.f64 x (fma.f64 x -2 3))))
0.5b
(*.f64 (*.f64 (*.f64 x x) (*.f64 (cbrt.f64 (fma.f64 x -2 3)) (cbrt.f64 (fma.f64 x -2 3)))) (cbrt.f64 (fma.f64 x -2 3)))
0.1b
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
15.4b
(*.f64 x (cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x -2 3)) 3)))
6.1b
(*.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) (*.f64 x (sqrt.f64 (fma.f64 x -2 3))))
0.1b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
Compiler

Compiled 1064 to 691 computations (35.1% saved)

localize6.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series9.0ms (0.5%)

Counts
3 → 3
Calls

3 calls:

4.0ms
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
3.0ms
(*.f64 2 (pow.f64 x 3))
2.0ms
(*.f64 3 (pow.f64 x 2))

rewrite14.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64
20×associate-*r*_binary64
13×add-exp-log_binary64
10×*-un-lft-identity_binary64
10×add-cube-cbrt_binary64
Counts
3 → 78
Calls

3 calls:

5.0ms
(*.f64 2 (pow.f64 x 3))
4.0ms
(*.f64 3 (pow.f64 x 2))
3.0ms
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))

simplify102.0ms (5.2%)

Algorithm
egg-herbie
Rules
796×fma-def_binary64
465×fma-neg_binary64
389×exp-prod_binary64
316×distribute-rgt-neg-in_binary64
308×distribute-lft-neg-in_binary64
Counts
81 → 114
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01311015
1258861
2724817
31848788
43852780
54761780
64994780
74715780

prune98.0ms (5%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1131114
Fresh134
Picked011
Done011
Total1146120
Error
0b
Counts
120 → 6
Alt Table
StatusErrorProgram
0.1b
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
15.4b
(*.f64 x (cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x -2 3)) 3)))
0.3b
(-.f64 (*.f64 (sqrt.f64 3) (*.f64 (sqrt.f64 3) (pow.f64 x 2))) (*.f64 2 (pow.f64 x 3)))
0.8b
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (*.f64 x (fma.f64 x -2 3))))
6.1b
(*.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) (*.f64 x (sqrt.f64 (fma.f64 x -2 3))))
0.1b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
Compiler

Compiled 2030 to 1595 computations (21.4% saved)

localize11.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 2 (pow.f64 x 3))
0.0b
(-.f64 (*.f64 (sqrt.f64 3) (*.f64 (sqrt.f64 3) (pow.f64 x 2))) (*.f64 2 (pow.f64 x 3)))
0.2b
(*.f64 (sqrt.f64 3) (pow.f64 x 2))
0.2b
(*.f64 (sqrt.f64 3) (*.f64 (sqrt.f64 3) (pow.f64 x 2)))

series22.0ms (1.2%)

Counts
3 → 24
Calls

3 calls:

12.0ms
(-.f64 (*.f64 (sqrt.f64 3) (*.f64 (sqrt.f64 3) (pow.f64 x 2))) (*.f64 2 (pow.f64 x 3)))
7.0ms
(*.f64 (sqrt.f64 3) (*.f64 (sqrt.f64 3) (pow.f64 x 2)))
4.0ms
(*.f64 (sqrt.f64 3) (pow.f64 x 2))

rewrite21.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt_binary64
18×add-exp-log_binary64
12×associate-*l*_binary64
10×sqrt-prod_binary64
10×add-cbrt-cube_binary64
Counts
3 → 76
Calls

3 calls:

7.0ms
(-.f64 (*.f64 (sqrt.f64 3) (*.f64 (sqrt.f64 3) (pow.f64 x 2))) (*.f64 2 (pow.f64 x 3)))
6.0ms
(*.f64 (sqrt.f64 3) (*.f64 (sqrt.f64 3) (pow.f64 x 2)))
5.0ms
(*.f64 (sqrt.f64 3) (pow.f64 x 2))

simplify77.0ms (4%)

Algorithm
egg-herbie
Rules
837×fma-def_binary64
424×unswap-sqr_binary64
353×fma-neg_binary64
297×times-frac_binary64
274×*-commutative_binary64
Counts
100 → 116
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01101318
12481217
28331178
318581107
442861069
551621069

prune147.0ms (7.5%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1550155
Fresh033
Picked011
Done022
Total1556161
Error
0b
Counts
161 → 6
Alt Table
StatusErrorProgram
0.1b
(-.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 2 (pow.f64 x 3)))
15.4b
(*.f64 x (cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x -2 3)) 3)))
0.3b
(-.f64 (*.f64 (sqrt.f64 3) (*.f64 (sqrt.f64 3) (pow.f64 x 2))) (*.f64 2 (pow.f64 x 3)))
0.8b
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (*.f64 x (fma.f64 x -2 3))))
6.1b
(*.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) (*.f64 x (sqrt.f64 (fma.f64 x -2 3))))
0.1b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
Compiler

Compiled 3229 to 2680 computations (17% saved)

regimes71.0ms (3.7%)

Accuracy

Total 0.1b remaining (86.9%)

Threshold costs 0.1b (86.9%)

Counts
45 → 1
Compiler

Compiled 1226 to 890 computations (27.4% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11014
21014

end85.0ms (4.3%)

Compiler

Compiled 103 to 78 computations (24.3% saved)

Profiling

Loading profile data...