Details

Time bar (total: 5.4s)

analyze1.3s (24.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
0%99.8%0.2%8
6.2%93.6%0.2%9
28.1%68.6%3.3%10
29.6%65.5%4.9%11
32%61.7%6.3%12
35.5%56.9%7.6%13
48%38.7%13.4%14
Compiler

Compiled 20 to 12 computations (40% saved)

sample2.0s (36.2%)

Symmetry

(sort d2 d4)

Results
1.2s8256×body128valid
500.0ms2361×body128invalid
Compiler

Compiled 59 to 35 computations (40.7% saved)

simplify100.0ms (1.8%)

Algorithm
egg-herbie
Rules
1400×fma-neg_binary64
654×fma-def_binary64
233×sub-neg_binary64
210×unsub-neg_binary64
158×cancel-sign-sub-inv_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01219
13214
29413
326313
465513
5155613
6169113
7150013
8150013
9273913
10270713
11270713
12263213

prune3.0ms (0.1%)

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.0b
(*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))
0.0b
(-.f64 (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1)) (*.f64 d1 d1))
Compiler

Compiled 92 to 53 computations (42.4% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1)) (*.f64 d1 d1))
0.0b
(+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1))
0.0b
(-.f64 (*.f64 d1 d2) (*.f64 d1 d3))

series57.0ms (1.1%)

Counts
3 → 132
Calls

3 calls:

25.0ms
(-.f64 (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1)) (*.f64 d1 d1))
18.0ms
(+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1))
13.0ms
(-.f64 (*.f64 d1 d2) (*.f64 d1 d3))

rewrite33.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
19×add-log-exp_binary64
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
diff-log_binary64
Counts
3 → 64
Calls

3 calls:

16.0ms
(+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1))
8.0ms
(-.f64 (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1)) (*.f64 d1 d1))
3.0ms
(-.f64 (*.f64 d1 d2) (*.f64 d1 d3))

simplify126.0ms (2.3%)

Algorithm
egg-herbie
Rules
713×associate-*l*_binary64
685×fma-def_binary64
488×fma-neg_binary64
459×distribute-rgt-in_binary64
440×distribute-lft-in_binary64
Counts
196 → 126
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01282558
13612139
212302096
349662096
452292096

prune127.0ms (2.3%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1224126
Fresh101
Picked101
Done000
Total1244128
Error
0b
Counts
128 → 4
Alt Table
StatusErrorProgram
0.0b
(-.f64 (fma.f64 d1 (-.f64 d2 d3) (*.f64 d4 d1)) (*.f64 d1 d1))
28.1b
(-.f64 (+.f64 (*.f64 (sqrt.f64 (*.f64 d1 (-.f64 d2 d3))) (sqrt.f64 (*.f64 d1 (-.f64 d2 d3)))) (*.f64 d4 d1)) (*.f64 d1 d1))
0.0b
(-.f64 (+.f64 (fma.f64 d1 d2 (neg.f64 (*.f64 d1 d3))) (*.f64 d4 d1)) (*.f64 d1 d1))
0.0b
(-.f64 (*.f64 (-.f64 (+.f64 d2 d4) d3) d1) (*.f64 d1 d1))
Compiler

Compiled 2670 to 540 computations (79.8% saved)

localize10.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (fma.f64 d1 (-.f64 d2 d3) (*.f64 d4 d1)) (*.f64 d1 d1))
0.0b
(fma.f64 d1 (-.f64 d2 d3) (*.f64 d4 d1))

series40.0ms (0.7%)

Counts
2 → 96
Calls

2 calls:

23.0ms
(-.f64 (fma.f64 d1 (-.f64 d2 d3) (*.f64 d4 d1)) (*.f64 d1 d1))
17.0ms
(fma.f64 d1 (-.f64 d2 d3) (*.f64 d4 d1))

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-log-exp_binary64
fma-neg_binary64
Counts
2 → 32
Calls

2 calls:

3.0ms
(-.f64 (fma.f64 d1 (-.f64 d2 d3) (*.f64 d4 d1)) (*.f64 d1 d1))
0.0ms
(fma.f64 d1 (-.f64 d2 d3) (*.f64 d4 d1))

simplify265.0ms (4.9%)

Algorithm
egg-herbie
Rules
977×fma-neg_binary64
250×cancel-sign-sub-inv_binary64
231×distribute-rgt-out_binary64
197×distribute-lft-out_binary64
190×fma-def_binary64
Counts
128 → 76
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0751888
11821568
24491485
320711478
444161478
549521478

prune51.0ms (0.9%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New76076
Fresh033
Picked011
Done000
Total76480
Error
0b
Counts
80 → 4
Alt Table
StatusErrorProgram
0.0b
(-.f64 (fma.f64 d1 (-.f64 d2 d3) (*.f64 d4 d1)) (*.f64 d1 d1))
28.1b
(-.f64 (+.f64 (*.f64 (sqrt.f64 (*.f64 d1 (-.f64 d2 d3))) (sqrt.f64 (*.f64 d1 (-.f64 d2 d3)))) (*.f64 d4 d1)) (*.f64 d1 d1))
0.0b
(-.f64 (+.f64 (fma.f64 d1 d2 (neg.f64 (*.f64 d1 d3))) (*.f64 d4 d1)) (*.f64 d1 d1))
0.0b
(-.f64 (*.f64 (-.f64 (+.f64 d2 d4) d3) d1) (*.f64 d1 d1))
Compiler

Compiled 1414 to 302 computations (78.6% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (+.f64 (fma.f64 d1 d2 (neg.f64 (*.f64 d1 d3))) (*.f64 d4 d1)) (*.f64 d1 d1))
0.0b
(fma.f64 d1 d2 (neg.f64 (*.f64 d1 d3)))
0.0b
(+.f64 (fma.f64 d1 d2 (neg.f64 (*.f64 d1 d3))) (*.f64 d4 d1))

series52.0ms (1%)

Counts
3 → 132
Calls

3 calls:

26.0ms
(-.f64 (+.f64 (fma.f64 d1 d2 (neg.f64 (*.f64 d1 d3))) (*.f64 d4 d1)) (*.f64 d1 d1))
18.0ms
(+.f64 (fma.f64 d1 d2 (neg.f64 (*.f64 d1 d3))) (*.f64 d4 d1))
8.0ms
(fma.f64 d1 d2 (neg.f64 (*.f64 d1 d3)))

rewrite10.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
10×add-log-exp_binary64
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
fma-neg_binary64
Counts
3 → 50
Calls

3 calls:

4.0ms
(-.f64 (+.f64 (fma.f64 d1 d2 (neg.f64 (*.f64 d1 d3))) (*.f64 d4 d1)) (*.f64 d1 d1))
2.0ms
(+.f64 (fma.f64 d1 d2 (neg.f64 (*.f64 d1 d3))) (*.f64 d4 d1))
0.0ms
(fma.f64 d1 d2 (neg.f64 (*.f64 d1 d3)))

simplify108.0ms (2%)

Algorithm
egg-herbie
Rules
889×fma-neg_binary64
422×fma-def_binary64
418×associate-*l*_binary64
404×distribute-rgt-in_binary64
384×distribute-lft-in_binary64
Counts
182 → 106
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01032615
12772025
28261929
345331929
452561929

prune72.0ms (1.3%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1060106
Fresh022
Picked011
Done011
Total1064110
Error
0b
Counts
110 → 4
Alt Table
StatusErrorProgram
0.0b
(-.f64 (fma.f64 d1 (-.f64 d2 d3) (*.f64 d4 d1)) (*.f64 d1 d1))
28.1b
(-.f64 (+.f64 (*.f64 (sqrt.f64 (*.f64 d1 (-.f64 d2 d3))) (sqrt.f64 (*.f64 d1 (-.f64 d2 d3)))) (*.f64 d4 d1)) (*.f64 d1 d1))
0.0b
(-.f64 (+.f64 (fma.f64 d1 d2 (neg.f64 (*.f64 d1 d3))) (*.f64 d4 d1)) (*.f64 d1 d1))
0.0b
(-.f64 (*.f64 (-.f64 (+.f64 d2 d4) d3) d1) (*.f64 d1 d1))
Compiler

Compiled 2225 to 422 computations (81% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (+.f64 d2 d4) d3)
0.0b
(-.f64 (*.f64 (-.f64 (+.f64 d2 d4) d3) d1) (*.f64 d1 d1))
0.0b
(*.f64 (-.f64 (+.f64 d2 d4) d3) d1)

series48.0ms (0.9%)

Counts
3 → 93
Calls

3 calls:

25.0ms
(-.f64 (*.f64 (-.f64 (+.f64 d2 d4) d3) d1) (*.f64 d1 d1))
15.0ms
(*.f64 (-.f64 (+.f64 d2 d4) d3) d1)
8.0ms
(-.f64 (+.f64 d2 d4) d3)

rewrite63.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity_binary64
20×add-sqr-sqrt_binary64
14×add-cube-cbrt_binary64
13×prod-diff_binary64
10×add-log-exp_binary64
Counts
3 → 79
Calls

3 calls:

46.0ms
(-.f64 (*.f64 (-.f64 (+.f64 d2 d4) d3) d1) (*.f64 d1 d1))
7.0ms
(*.f64 (-.f64 (+.f64 d2 d4) d3) d1)
5.0ms
(-.f64 (+.f64 d2 d4) d3)

simplify119.0ms (2.2%)

Algorithm
egg-herbie
Rules
553×fma-def_binary64
539×distribute-rgt-in_binary64
528×distribute-lft-in_binary64
515×fma-neg_binary64
145×cancel-sign-sub-inv_binary64
Counts
172 → 139
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01432417
13141934
210681839
346091839
449921839
549371839

prune125.0ms (2.3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1381139
Fresh101
Picked101
Done022
Total1403143
Error
0b
Counts
143 → 3
Alt Table
StatusErrorProgram
0.0b
(-.f64 (fma.f64 d1 (-.f64 d2 d3) (*.f64 d4 d1)) (*.f64 d1 d1))
0.0b
(-.f64 (+.f64 (fma.f64 d1 d2 (neg.f64 (*.f64 d1 d3))) (*.f64 d4 d1)) (*.f64 d1 d1))
0.0b
(fma.f64 (-.f64 (+.f64 d2 d4) d3) d1 (neg.f64 (*.f64 d1 d1)))
Compiler

Compiled 2467 to 569 computations (76.9% saved)

regimes425.0ms (7.8%)

Accuracy

Total 0.0b remaining (67.1%)

Threshold costs 0.0b (67.1%)

Counts
68 → 1
Compiler

Compiled 5493 to 3269 computations (40.5% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11817
22817
33417
43717
53717

end271.0ms (5%)

Compiler

Compiled 114 to 65 computations (43% saved)

Profiling

Loading profile data...