Details

Time bar (total: 1.9s)

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 15 to 12 computations (20% saved)

sample828.0ms (43.9%)

Results
742.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 44 to 35 computations (20.5% saved)

simplify64.0ms (3.4%)

Algorithm
egg-herbie
Rules
972×fma-def_binary64
722×fma-neg_binary64
154×cancel-sign-sub-inv_binary64
107×distribute-rgt-in_binary64
83×associate-*r*_binary64
Counts
1 → 2
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01119
13214
26912
316012
42989
54189
66669
79609
812629
914739
1015319
1115309
1215369
1315369
1414019

prune3.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.1b
(fma.f64 x (fma.f64 x 9 -12) 3)
0.2b
(*.f64 3 (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1))
Compiler

Compiled 65 to 50 computations (23.1% saved)

localize4.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x 9 -12)
0.1b
(fma.f64 x (fma.f64 x 9 -12) 3)

series4.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

2.0ms
(fma.f64 x (fma.f64 x 9 -12) 3)
1.0ms
(fma.f64 x 9 -12)

rewrite1.0ms (0.1%)

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

2 calls:

0.0ms
(fma.f64 x (fma.f64 x 9 -12) 3)
0.0ms
(fma.f64 x 9 -12)

simplify61.0ms (3.2%)

Algorithm
egg-herbie
Rules
785×associate-+l+_binary64
415×fma-neg_binary64
321×distribute-lft-in_binary64
321×distribute-rgt-in_binary64
225×distribute-rgt-out_binary64
Counts
44 → 37
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
038431
163344
2120342
3378342
41764342
54979342
65271342

prune32.0ms (1.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New35237
Fresh011
Picked011
Done000
Total35439
Error
0.0b
Counts
39 → 4
Alt Table
StatusErrorProgram
0.1b
(-.f64 (+.f64 3 (*.f64 9 (pow.f64 x 2))) (*.f64 12 x))
0.1b
(fma.f64 x (fma.f64 x 9 -12) 3)
0.2b
(*.f64 3 (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1))
1.9b
(expm1.f64 (log1p.f64 (fma.f64 x (fma.f64 x 9 -12) 3)))
Compiler

Compiled 439 to 338 computations (23% saved)

localize6.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

series5.0ms (0.3%)

Counts
2 → 6
Calls

2 calls:

2.0ms
(*.f64 9 (pow.f64 x 2))
2.0ms
(-.f64 (+.f64 3 (*.f64 9 (pow.f64 x 2))) (*.f64 12 x))

rewrite10.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt_binary64
associate-*r*_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-log-exp_binary64
Counts
2 → 51
Calls

2 calls:

4.0ms
(-.f64 (+.f64 3 (*.f64 9 (pow.f64 x 2))) (*.f64 12 x))
4.0ms
(*.f64 9 (pow.f64 x 2))

simplify76.0ms (4%)

Algorithm
egg-herbie
Rules
469×associate-*l*_binary64
410×associate-*r*_binary64
379×fma-neg_binary64
297×cancel-sign-sub-inv_binary64
252×fma-def_binary64
Counts
57 → 88
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0101880
1216651
2609587
32814561
44082561
54830561

prune66.0ms (3.5%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New88088
Fresh022
Picked011
Done011
Total88492
Error
0.0b
Counts
92 → 4
Alt Table
StatusErrorProgram
0.1b
(-.f64 (+.f64 3 (*.f64 9 (pow.f64 x 2))) (*.f64 12 x))
0.1b
(fma.f64 x (fma.f64 x 9 -12) 3)
0.2b
(*.f64 3 (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1))
1.9b
(expm1.f64 (log1p.f64 (fma.f64 x (fma.f64 x 9 -12) 3)))
Compiler

Compiled 1548 to 1239 computations (20% saved)

localize7.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4))
0.1b
(*.f64 3 (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1))
0.2b
(*.f64 (*.f64 x 3) x)

series8.0ms (0.4%)

Counts
3 → 36
Calls

3 calls:

3.0ms
(-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4))
2.0ms
(*.f64 3 (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1))
2.0ms
(*.f64 (*.f64 x 3) x)

rewrite19.0ms (1%)

Algorithm
rewrite-expression-head
Rules
10×add-cbrt-cube_binary64
10×add-exp-log_binary64
10×pow1_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
Counts
3 → 61
Calls

3 calls:

10.0ms
(*.f64 3 (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1))
4.0ms
(-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4))
4.0ms
(*.f64 (*.f64 x 3) x)

simplify74.0ms (3.9%)

Algorithm
egg-herbie
Rules
636×fma-neg_binary64
363×fma-def_binary64
281×+-commutative_binary64
278×distribute-rgt-in_binary64
273×distribute-lft-in_binary64
Counts
97 → 112
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01201328
13021147
2889982
32422980
44233980
55064980

prune88.0ms (4.7%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1111112
Fresh011
Picked011
Done022
Total1115116
Error
0b
Counts
116 → 5
Alt Table
StatusErrorProgram
0.1b
(-.f64 (+.f64 3 (*.f64 9 (pow.f64 x 2))) (*.f64 12 x))
0.1b
(fma.f64 x (fma.f64 x 9 -12) 3)
0.2b
(*.f64 3 (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1))
1.9b
(expm1.f64 (log1p.f64 (fma.f64 x (fma.f64 x 9 -12) 3)))
0.2b
(*.f64 (*.f64 (cbrt.f64 3) (cbrt.f64 3)) (*.f64 (cbrt.f64 3) (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1)))
Compiler

Compiled 2148 to 1664 computations (22.5% saved)

localize10.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4))
0.1b
(*.f64 (*.f64 (cbrt.f64 3) (cbrt.f64 3)) (*.f64 (cbrt.f64 3) (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1)))
0.1b
(*.f64 (cbrt.f64 3) (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1))
0.2b
(*.f64 (*.f64 x 3) x)

series14.0ms (0.7%)

Counts
2 → 24
Calls

2 calls:

9.0ms
(*.f64 (*.f64 (cbrt.f64 3) (cbrt.f64 3)) (*.f64 (cbrt.f64 3) (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1)))
5.0ms
(*.f64 (cbrt.f64 3) (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1))

rewrite22.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
16×add-exp-log_binary64
16×pow1_binary64
add-sqr-sqrt_binary64
cbrt-unprod_binary64
add-cbrt-cube_binary64
Counts
2 → 59
Calls

2 calls:

11.0ms
(*.f64 (*.f64 (cbrt.f64 3) (cbrt.f64 3)) (*.f64 (cbrt.f64 3) (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1)))
8.0ms
(*.f64 (cbrt.f64 3) (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1))

simplify91.0ms (4.8%)

Algorithm
egg-herbie
Rules
673×distribute-rgt-in_binary64
661×distribute-lft-in_binary64
614×fma-neg_binary64
266×fma-def_binary64
244×*-commutative_binary64
Counts
83 → 105
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01072010
12861428
28681167
333641157
447561157
551981157

prune163.0ms (8.6%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1680168
Fresh011
Picked011
Done033
Total1685173
Error
0b
Counts
173 → 5
Alt Table
StatusErrorProgram
0.1b
(-.f64 (+.f64 3 (*.f64 9 (pow.f64 x 2))) (*.f64 12 x))
0.1b
(fma.f64 x (fma.f64 x 9 -12) 3)
0.2b
(*.f64 3 (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1))
1.9b
(expm1.f64 (log1p.f64 (fma.f64 x (fma.f64 x 9 -12) 3)))
0.2b
(*.f64 (*.f64 (cbrt.f64 3) (cbrt.f64 3)) (*.f64 (cbrt.f64 3) (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1)))
Compiler

Compiled 4326 to 3628 computations (16.1% saved)

regimes155.0ms (8.2%)

Accuracy

Total 0.1b remaining (85.5%)

Threshold costs 0.1b (85.5%)

Counts
41 → 1
Compiler

Compiled 2338 to 1947 computations (16.7% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11011
21011

end71.0ms (3.7%)

Compiler

Compiled 83 to 67 computations (19.3% saved)

Profiling

Loading profile data...