Details

Time bar (total: 2.5s)

analyze3.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%25%25%3
50%12.5%37.5%4
50%6.2%43.8%5
50%3.1%46.9%6
50%1.6%48.5%7
50%0.8%49.2%8
50%0.4%49.6%9
50%0.2%49.8%10
50%0.1%49.9%11
50%0%50%12
50%0%50%13
50%0%50%14
Compiler

Compiled 16 to 13 computations (18.8% saved)

sample1.1s (44.2%)

Results
863.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 47 to 38 computations (19.1% saved)

simplify228.0ms (9.1%)

Algorithm
egg-herbie
Rules
2682×fma-neg_binary64
690×times-frac_binary64
636×fma-def_binary64
533×sub-neg_binary64
432×distribute-rgt-neg-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01221
12519
24517
36517
47817
58917
612917
718017
828817
949717
1067117
1181117
1297617
13161117
14340717
15374317
16372717
17378717
18381917
19388717
20389817
21418617
22422017
23423617
24423617
25423617
26621217

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.3b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.4b
(/.f64 (*.f64 6 (-.f64 x 1)) (+.f64 (+.f64 x 1) (*.f64 4 (sqrt.f64 x))))
0.4b
(/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))
Compiler

Compiled 83 to 64 computations (22.9% saved)

localize8.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 4 (sqrt.f64 x) (+.f64 x 1))
0.1b
(fma.f64 6 x -6)
0.3b
(/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))

series20.0ms (0.8%)

Counts
3 → 18
Calls

3 calls:

14.0ms
(/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))
4.0ms
(fma.f64 4 (sqrt.f64 x) (+.f64 x 1))
1.0ms
(fma.f64 6 x -6)

rewrite4.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64
11×add-sqr-sqrt_binary64
11×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
3 → 49
Calls

3 calls:

2.0ms
(/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))
0.0ms
(fma.f64 4 (sqrt.f64 x) (+.f64 x 1))
0.0ms
(fma.f64 6 x -6)

simplify84.0ms (3.3%)

Algorithm
egg-herbie
Rules
492×div-sub_binary64
426×fma-neg_binary64
384×*-commutative_binary64
348×distribute-rgt-in_binary64
336×distribute-lft-in_binary64
Counts
67 → 64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0671136
11101034
22851034
37511025
424131025
531541025
647521025
749421025

prune61.0ms (2.4%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New56864
Fresh101
Picked101
Done000
Total58866
Error
0.0b
Counts
66 → 8
Alt Table
StatusErrorProgram
3.0b
(/.f64 (fma.f64 6 x -6) (expm1.f64 (log1p.f64 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))))
31.3b
(expm1.f64 (log1p.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))))
0.6b
(*.f64 (/.f64 1 (sqrt.f64 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))) (/.f64 (fma.f64 6 x -6) (sqrt.f64 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))))
0.3b
(log.f64 (exp.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))))
21.3b
(/.f64 (cbrt.f64 (pow.f64 (fma.f64 6 x -6) 3)) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))
33.6b
6
31.8b
(/.f64 (sqrt.f64 (fma.f64 6 x -6)) (/.f64 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)) (sqrt.f64 (fma.f64 6 x -6))))
0.5b
(/.f64 1 (/.f64 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)) (fma.f64 6 x -6)))
Compiler

Compiled 1443 to 1052 computations (27.1% saved)

localize10.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 4 (sqrt.f64 x) (+.f64 x 1))
0.1b
(fma.f64 6 x -6)
0.2b
(exp.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1))))
0.3b
(/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))

series21.0ms (0.8%)

Counts
1 → 3
Calls

1 calls:

21.0ms
(exp.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1))))

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
13×exp-prod_binary64
times-frac_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
1 → 23
Calls

1 calls:

2.0ms
(exp.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1))))

simplify96.0ms (3.8%)

Algorithm
egg-herbie
Rules
706×unswap-sqr_binary64
492×associate-/l*_binary64
426×times-frac_binary64
402×associate-*l*_binary64
365×fma-def_binary64
Counts
26 → 30
Iterations

Useful iterations: 8 (0.0ms)

IterNodesCost
053542
180505
2136505
3188505
4272505
5425504
6787502
71759502
84675500
94884500
105000500
114959500

prune88.0ms (3.5%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New92294
Fresh257
Picked101
Done000
Total957102
Error
0b
Counts
102 → 7
Alt Table
StatusErrorProgram
0.6b
(*.f64 (/.f64 1 (sqrt.f64 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))) (/.f64 (fma.f64 6 x -6) (sqrt.f64 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))))
31.3b
(expm1.f64 (log1p.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))))
21.3b
(/.f64 (cbrt.f64 (pow.f64 (fma.f64 6 x -6) 3)) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))
0.3b
(log.f64 (exp.f64 (/.f64 (fma.f64 -6 x 6) (-.f64 -1 (fma.f64 4 (sqrt.f64 x) x)))))
33.6b
6
0.4b
(log.f64 (cbrt.f64 (exp.f64 (/.f64 (fma.f64 x 18 -18) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1))))))
0.5b
(/.f64 1 (/.f64 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)) (fma.f64 6 x -6)))
Compiler

Compiled 2264 to 1694 computations (25.2% saved)

localize10.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 4 (sqrt.f64 x) x)
0.1b
(fma.f64 -6 x 6)
0.2b
(exp.f64 (/.f64 (fma.f64 -6 x 6) (-.f64 -1 (fma.f64 4 (sqrt.f64 x) x))))
0.3b
(/.f64 (fma.f64 -6 x 6) (-.f64 -1 (fma.f64 4 (sqrt.f64 x) x)))

series48.0ms (1.9%)

Counts
4 → 20
Calls

4 calls:

24.0ms
(exp.f64 (/.f64 (fma.f64 -6 x 6) (-.f64 -1 (fma.f64 4 (sqrt.f64 x) x))))
17.0ms
(/.f64 (fma.f64 -6 x 6) (-.f64 -1 (fma.f64 4 (sqrt.f64 x) x)))
5.0ms
(fma.f64 4 (sqrt.f64 x) x)
2.0ms
(fma.f64 -6 x 6)

rewrite18.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity_binary64
37×add-sqr-sqrt_binary64
30×times-frac_binary64
23×add-cube-cbrt_binary64
21×exp-prod_binary64
Counts
4 → 90
Calls

4 calls:

8.0ms
(/.f64 (fma.f64 -6 x 6) (-.f64 -1 (fma.f64 4 (sqrt.f64 x) x)))
4.0ms
(exp.f64 (/.f64 (fma.f64 -6 x 6) (-.f64 -1 (fma.f64 4 (sqrt.f64 x) x))))
0.0ms
(fma.f64 -6 x 6)
0.0ms
(fma.f64 4 (sqrt.f64 x) x)

simplify92.0ms (3.7%)

Algorithm
egg-herbie
Rules
507×times-frac_binary64
447×distribute-rgt-in_binary64
430×distribute-lft-in_binary64
338×associate-/l*_binary64
244×fma-def_binary64
Counts
110 → 105
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01202095
11991953
24331953
311551951
447111951
549281951

prune94.0ms (3.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1050105
Fresh066
Picked011
Done000
Total1057112
Error
0b
Counts
112 → 7
Alt Table
StatusErrorProgram
0.6b
(*.f64 (/.f64 1 (sqrt.f64 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))) (/.f64 (fma.f64 6 x -6) (sqrt.f64 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))))
31.3b
(expm1.f64 (log1p.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))))
21.3b
(/.f64 (cbrt.f64 (pow.f64 (fma.f64 6 x -6) 3)) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))
0.3b
(log.f64 (exp.f64 (/.f64 (fma.f64 -6 x 6) (-.f64 -1 (fma.f64 4 (sqrt.f64 x) x)))))
33.6b
6
0.4b
(log.f64 (cbrt.f64 (exp.f64 (/.f64 (fma.f64 x 18 -18) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1))))))
0.5b
(/.f64 1 (/.f64 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)) (fma.f64 6 x -6)))
Compiler

Compiled 2682 to 1985 computations (26% saved)

localize11.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x 18 -18)
0.3b
(/.f64 (fma.f64 x 18 -18) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))
0.4b
(exp.f64 (/.f64 (fma.f64 x 18 -18) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1))))
0.5b
(cbrt.f64 (exp.f64 (/.f64 (fma.f64 x 18 -18) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))))

series63.0ms (2.5%)

Counts
4 → 21
Calls

4 calls:

29.0ms
(cbrt.f64 (exp.f64 (/.f64 (fma.f64 x 18 -18) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))))
19.0ms
(exp.f64 (/.f64 (fma.f64 x 18 -18) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1))))
13.0ms
(/.f64 (fma.f64 x 18 -18) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))
3.0ms
(fma.f64 x 18 -18)

rewrite10.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity_binary64
20×add-sqr-sqrt_binary64
20×add-cube-cbrt_binary64
18×times-frac_binary64
13×exp-prod_binary64
Counts
4 → 75
Calls

4 calls:

2.0ms
(cbrt.f64 (exp.f64 (/.f64 (fma.f64 x 18 -18) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))))
2.0ms
(exp.f64 (/.f64 (fma.f64 x 18 -18) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1))))
2.0ms
(/.f64 (fma.f64 x 18 -18) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))
0.0ms
(fma.f64 x 18 -18)

simplify96.0ms (3.8%)

Algorithm
egg-herbie
Rules
576×fma-neg_binary64
482×distribute-rgt-in_binary64
468×distribute-lft-in_binary64
364×associate-/r/_binary64
213×associate-*l*_binary64
Counts
96 → 141
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01011899
11511781
23601781
39571743
433271735
548891735
651141735

prune139.0ms (5.5%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1401141
Fresh145
Picked101
Done011
Total1426148
Error
0b
Counts
148 → 6
Alt Table
StatusErrorProgram
0.3b
(log.f64 (pow.f64 (exp.f64 (/.f64 (fma.f64 x 18 -18) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))) 1/3))
21.3b
(/.f64 (cbrt.f64 (pow.f64 (fma.f64 6 x -6) 3)) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))
31.3b
(expm1.f64 (log1p.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))))
0.3b
(log.f64 (exp.f64 (/.f64 (fma.f64 -6 x 6) (-.f64 -1 (fma.f64 4 (sqrt.f64 x) x)))))
33.6b
6
0.5b
(/.f64 1 (/.f64 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)) (fma.f64 6 x -6)))
Compiler

Compiled 3536 to 2671 computations (24.5% saved)

regimes83.0ms (3.3%)

Accuracy

Total 0.2b remaining (94%)

Threshold costs 0.2b (94%)

Counts
43 → 1
Compiler

Compiled 1452 to 1161 computations (20% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01524
11824
21724

end102.0ms (4.1%)

Compiler

Compiled 114 to 93 computations (18.4% saved)

Profiling

Loading profile data...