Details

Time bar (total: 3.7s)

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.3s (35.6%)

Results
952.0ms8256×body128valid
Compiler

Compiled 47 to 38 computations (19.1% saved)

simplify230.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

prune6.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.4b
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)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series53.0ms (1.4%)

Counts
3 → 18
Calls

3 calls:

43.0ms
(/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))
6.0ms
(fma.f64 4 (sqrt.f64 x) (+.f64 x 1))
3.0ms
(fma.f64 6 x -6)

rewrite69.0ms (1.9%)

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 → 94
Calls

3 calls:

66.0ms
(fma.f64 4 (sqrt.f64 x) (+.f64 x 1))
66.0ms
(fma.f64 6 x -6)
66.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

simplify10.0ms (0.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0760
11360
21560
31360

prune116.0ms (3.2%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New938101
Fresh101
Picked101
Done000
Total958103
Error
0.0b
Counts
103 → 8
Alt Table
StatusErrorProgram
1.7b
(pow.f64 (cbrt.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))) 3)
0.4b
(*.f64 (fma.f64 6 x -6) (/.f64 1 (fma.f64 4 (sqrt.f64 x) (+.f64 x 1))))
33.0b
(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
(/.f64 (fma.f64 6 x -6) (+.f64 (fma.f64 4 (sqrt.f64 x) x) 1))
13.6b
(/.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))))
33.5b
6
33.0b
(exp.f64 (log.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))))
Compiler

Compiled 2045 to 1509 computations (26.2% saved)

localize12.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series21.0ms (0.6%)

Counts
2 → 5
Calls

2 calls:

16.0ms
(/.f64 (fma.f64 6 x -6) (+.f64 (fma.f64 4 (sqrt.f64 x) x) 1))
5.0ms
(fma.f64 4 (sqrt.f64 x) x)

rewrite94.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
447×log-prod_binary64
259×prod-diff_binary64
188×log1p-udef_binary64
187×expm1-udef_binary64
167×fma-def_binary64
Counts
2 → 71
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01124
123324
2261524
3491624
4497324
000
100

simplify7.0ms (0.2%)

Algorithm
egg-herbie
Counts
76 → 74
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
035
135

prune84.0ms (2.3%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1021103
Fresh437
Picked011
Done000
Total1065111
Error
0b
Counts
111 → 5
Alt Table
StatusErrorProgram
13.7b
(*.f64 (/.f64 (fma.f64 6 x -6) (+.f64 (pow.f64 (fma.f64 4 (sqrt.f64 x) x) 2) -1)) (-.f64 (fma.f64 4 (sqrt.f64 x) x) 1))
0.3b
(/.f64 (fma.f64 6 x -6) (+.f64 (fma.f64 4 (sqrt.f64 x) x) 1))
1.7b
(pow.f64 (cbrt.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))) 3)
33.5b
6
33.0b
(expm1.f64 (log1p.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))))
Compiler

Compiled 1972 to 1436 computations (27.2% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series111.0ms (3%)

Counts
2 → 6
Calls

2 calls:

74.0ms
(pow.f64 (cbrt.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))) 3)
36.0ms
(cbrt.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1))))

rewrite72.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
506×log-prod_binary64
214×log1p-udef_binary64
213×expm1-udef_binary64
182×log-pow_binary64
174×prod-diff_binary64
Counts
2 → 83
Calls

2 calls:

70.0ms
(pow.f64 (cbrt.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))) 3)
70.0ms
(cbrt.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01436
128036
2299136
3528036
000
100

simplify123.0ms (3.4%)

Algorithm
egg-herbie
Rules
1412×sqr-pow_binary64
616×associate-*l*_binary64
616×cube-prod_binary64
512×pow-sqr_binary64
504×fabs-mul_binary64
Counts
89 → 91
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01018
12518
23618
36318
413518
533518
6102118
7109818
8135418
9170618
10218818
11281918
12310118
13323018
14336918
15345518
16358818
17450518
18498818

prune250.0ms (6.8%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1590159
Fresh033
Picked011
Done011
Total1595164
Error
0b
Counts
164 → 5
Alt Table
StatusErrorProgram
13.7b
(*.f64 (/.f64 (fma.f64 6 x -6) (+.f64 (pow.f64 (fma.f64 4 (sqrt.f64 x) x) 2) -1)) (-.f64 (fma.f64 4 (sqrt.f64 x) x) 1))
0.3b
(/.f64 (fma.f64 6 x -6) (+.f64 (fma.f64 4 (sqrt.f64 x) x) 1))
1.7b
(pow.f64 (cbrt.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))) 3)
33.5b
6
33.0b
(expm1.f64 (log1p.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))))
Compiler

Compiled 3406 to 2592 computations (23.9% saved)

localize26.0ms (0.7%)

Local error

Found 4 expressions with local error:

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

series104.0ms (2.8%)

Counts
3 → 9
Calls

3 calls:

48.0ms
(*.f64 (/.f64 (fma.f64 6 x -6) (+.f64 (pow.f64 (fma.f64 4 (sqrt.f64 x) x) 2) -1)) (-.f64 (fma.f64 4 (sqrt.f64 x) x) 1))
37.0ms
(/.f64 (fma.f64 6 x -6) (+.f64 (pow.f64 (fma.f64 4 (sqrt.f64 x) x) 2) -1))
19.0ms
(pow.f64 (fma.f64 4 (sqrt.f64 x) x) 2)

rewrite126.0ms (3.4%)

Algorithm
batch-egg-rewrite
Rules
301×prod-diff_binary64
263×expm1-udef_binary64
263×log1p-udef_binary64
155×add-sqr-sqrt_binary64
153×log1p-expm1-u_binary64
Counts
3 → 98
Calls

3 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01662
134147
2375147
3499347
000
100

simplify116.0ms (3.2%)

Algorithm
egg-herbie
Rules
544×associate-/l/_binary64
516×fma-def_binary64
460×associate-*l*_binary64
434×unswap-sqr_binary64
354×distribute-rgt-in_binary64
Counts
107 → 105
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0927
12027
23325
37225
416325
539025
6105525
7183125
8337525
9466525
10492725
11498825
12483225

prune250.0ms (6.8%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1340134
Fresh022
Picked011
Done022
Total1345139
Error
0b
Counts
139 → 5
Alt Table
StatusErrorProgram
13.7b
(*.f64 (/.f64 (fma.f64 6 x -6) (+.f64 (pow.f64 (fma.f64 4 (sqrt.f64 x) x) 2) -1)) (-.f64 (fma.f64 4 (sqrt.f64 x) x) 1))
0.3b
(/.f64 (fma.f64 6 x -6) (+.f64 (fma.f64 4 (sqrt.f64 x) x) 1))
1.7b
(pow.f64 (cbrt.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))) 3)
33.5b
6
33.0b
(expm1.f64 (log1p.f64 (/.f64 (fma.f64 6 x -6) (fma.f64 4 (sqrt.f64 x) (+.f64 x 1)))))
Compiler

Compiled 3686 to 2614 computations (29.1% saved)

regimes262.0ms (7.1%)

Accuracy

Total 0.2b remaining (91.2%)

Threshold costs 0.2b (91.2%)

Counts
61 → 1
Compiler

Compiled 2243 to 1774 computations (20.9% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01117
11417
21317

end199.0ms (5.4%)

Compiler

Compiled 95 to 74 computations (22.1% saved)

Profiling

Loading profile data...