Details

Time bar (total: 3.7s)

analyze4.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.4s (36.4%)

Results
1.1s8256×body128valid
0.0msbody128invalid
Compiler

Compiled 47 to 38 computations (19.1% saved)

simplify233.0ms (6.3%)

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

prune5.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 83 to 64 computations (22.9% saved)

localize7.0ms (0.2%)

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.1b
(/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))

series18.0ms (0.5%)

Counts
3 → 18
Calls

3 calls:

13.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)

rewrite74.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
439×log-prod_binary64
188×log1p-udef_binary64
187×expm1-udef_binary64
174×prod-diff_binary64
171×pow3_binary64
Counts
3 → 97
Calls

3 calls:

64.0ms
(fma.f64 4 (sqrt.f64 x) (+.f64 x 1))
64.0ms
(fma.f64 6 x -6)
64.0ms
(/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01132
123332
2259232
3486232
000
100

simplify8.0ms (0.2%)

Algorithm
egg-herbie
Rules
fma-neg_binary64
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
1-exp_binary64
Counts
115 → 103
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0760
11360
21560
31360

prune123.0ms (3.3%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New985103
Fresh101
Picked101
Done000
Total1005105
Error
0b
Counts
105 → 5
Alt Table
StatusErrorProgram
0.2b
(*.f64 (fma.f64 6 x -6) (/.f64 1 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1))))
13.7b
(/.f64 (fma.f64 6 x -6) (/.f64 (-.f64 (*.f64 (*.f64 4 (sqrt.f64 x)) (*.f64 4 (sqrt.f64 x))) (pow.f64 (+.f64 x 1) 2)) (-.f64 (*.f64 4 (sqrt.f64 x)) (+.f64 x 1))))
1.4b
(pow.f64 (cbrt.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))) 3)
0.1b
(/.f64 (-.f64 (*.f64 6 x) 6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))
0.3b
(*.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)))))
Compiler

Compiled 2007 to 1475 computations (26.5% saved)

localize13.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series17.0ms (0.5%)

Counts
2 → 6
Calls

2 calls:

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

rewrite216.0ms (5.8%)

Algorithm
batch-egg-rewrite
Rules
385×prod-diff_binary64
267×fma-def_binary64
209×log1p-udef_binary64
208×expm1-udef_binary64
204×fma-neg_binary64
Counts
2 → 148
Calls

2 calls:

212.0ms
(-.f64 (*.f64 6 x) 6)
212.0ms
(/.f64 (-.f64 (*.f64 6 x) 6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01122
124822
2306122
3493922
4498722
000
100

simplify10.0ms (0.3%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Counts
154 → 151
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0512
1612
2612

prune230.0ms (6.2%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1841185
Fresh134
Picked011
Done000
Total1855190
Error
0b
Counts
190 → 5
Alt Table
StatusErrorProgram
0.2b
(*.f64 (fma.f64 6 x -6) (/.f64 1 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1))))
13.7b
(/.f64 (fma.f64 6 x -6) (/.f64 (-.f64 (*.f64 (*.f64 4 (sqrt.f64 x)) (*.f64 4 (sqrt.f64 x))) (pow.f64 (+.f64 x 1) 2)) (-.f64 (*.f64 4 (sqrt.f64 x)) (+.f64 x 1))))
0.1b
(fma.f64 (/.f64 x 1) (/.f64 6 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1))) (neg.f64 (/.f64 6 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))))
1.4b
(pow.f64 (cbrt.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))) 3)
0.1b
(/.f64 (-.f64 (*.f64 6 x) 6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))
Compiler

Compiled 7098 to 5123 computations (27.8% saved)

localize13.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series29.0ms (0.8%)

Counts
2 → 6
Calls

2 calls:

16.0ms
(fma.f64 (/.f64 x 1) (/.f64 6 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1))) (neg.f64 (/.f64 6 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))))
12.0ms
(/.f64 6 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))

rewrite116.0ms (3.1%)

Algorithm
batch-egg-rewrite
Rules
436×log-prod_binary64
398×prod-diff_binary64
202×fma-def_binary64
182×log1p-udef_binary64
181×expm1-udef_binary64
Counts
2 → 161
Calls

2 calls:

110.0ms
(/.f64 6 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))
110.0ms
(fma.f64 (/.f64 x 1) (/.f64 6 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1))) (neg.f64 (/.f64 6 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01242
124632
2262332
3506232
000
100

simplify10.0ms (0.3%)

Algorithm
egg-herbie
Counts
167 → 164
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0512
1512

prune398.0ms (10.7%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2720272
Fresh033
Picked011
Done011
Total2725277
Error
0b
Counts
277 → 5
Alt Table
StatusErrorProgram
0.2b
(*.f64 (fma.f64 6 x -6) (/.f64 1 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1))))
13.7b
(/.f64 (fma.f64 6 x -6) (/.f64 (-.f64 (*.f64 (*.f64 4 (sqrt.f64 x)) (*.f64 4 (sqrt.f64 x))) (pow.f64 (+.f64 x 1) 2)) (-.f64 (*.f64 4 (sqrt.f64 x)) (+.f64 x 1))))
0.1b
(fma.f64 (/.f64 x 1) (/.f64 6 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1))) (neg.f64 (/.f64 6 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))))
1.4b
(pow.f64 (cbrt.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))) 3)
0.1b
(/.f64 (-.f64 (*.f64 6 x) 6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))
Compiler

Compiled 11697 to 8540 computations (27% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series20.0ms (0.5%)

Counts
2 → 6
Calls

2 calls:

10.0ms
(*.f64 (fma.f64 6 x -6) (/.f64 1 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1))))
10.0ms
(/.f64 1 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))

rewrite74.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
480×log-prod_binary64
201×log1p-udef_binary64
200×expm1-udef_binary64
172×log-pow_binary64
167×fma-def_binary64
Counts
2 → 60
Calls

2 calls:

73.0ms
(/.f64 1 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))
73.0ms
(*.f64 (fma.f64 6 x -6) (/.f64 1 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01230
125630
2275430
3490830
000
100

simplify7.0ms (0.2%)

Algorithm
egg-herbie
Rules
1-exp_binary64
Counts
66 → 64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0612
1812
2712

prune142.0ms (3.8%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1270127
Fresh022
Picked011
Done022
Total1275132
Error
0b
Counts
132 → 5
Alt Table
StatusErrorProgram
0.2b
(*.f64 (fma.f64 6 x -6) (/.f64 1 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1))))
13.7b
(/.f64 (fma.f64 6 x -6) (/.f64 (-.f64 (*.f64 (*.f64 4 (sqrt.f64 x)) (*.f64 4 (sqrt.f64 x))) (pow.f64 (+.f64 x 1) 2)) (-.f64 (*.f64 4 (sqrt.f64 x)) (+.f64 x 1))))
0.1b
(fma.f64 (/.f64 x 1) (/.f64 6 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1))) (neg.f64 (/.f64 6 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))))
1.4b
(pow.f64 (cbrt.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))) 3)
0.1b
(/.f64 (-.f64 (*.f64 6 x) 6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))
Compiler

Compiled 2433 to 1823 computations (25.1% saved)

regimes468.0ms (12.6%)

Accuracy

Total 0.0b remaining (63.5%)

Threshold costs 0.0b (63.5%)

Counts
155 → 1
Compiler

Compiled 5969 to 4724 computations (20.9% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
distribute-neg-frac_binary64
sub-neg_binary64
neg-sub0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01229
12129
22329
32429
42229

end114.0ms (3.1%)

Compiler

Compiled 141 to 106 computations (24.8% saved)

Profiling

Loading profile data...