Details

Time bar (total: 4.8s)

analyze1.5s (32.2%)

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
0%99.8%0.2%9
0%96.7%3.3%10
0%95.1%4.9%11
0%93.7%6.3%12
0%92.4%7.6%13
0.2%86.5%13.4%14
Compiler

Compiled 20 to 12 computations (40% saved)

sample2.4s (50.7%)

Symmetry

(sort d2 d4)

Results
1.1s8256×body128valid
889.0ms993×body8192exit
207.0ms1445×body128invalid
Compiler

Compiled 39 to 23 computations (41% saved)

simplify100.0ms (2.1%)

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)

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series22.0ms (0.5%)

Counts
2 → 84
Calls

2 calls:

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

rewrite10.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64
fma-def_binary64
associate-+l+_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
Counts
2 → 39
Calls

2 calls:

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

simplify83.0ms (1.7%)

Algorithm
egg-herbie
Rules
779×fma-neg_binary64
452×associate-*l*_binary64
438×cancel-sign-sub-inv_binary64
435×fma-def_binary64
356×associate-*r*_binary64
Counts
123 → 76
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0851216
12471134
28451124
330981124
446191124
549251124

prune52.0ms (1.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New74276
Fresh101
Picked101
Done000
Total76278
Error
0.0b
Counts
78 → 2
Alt Table
StatusErrorProgram
0.0b
(-.f64 (fma.f64 d1 (-.f64 d2 d3) (*.f64 d4 d1)) (*.f64 d1 d1))
0.0b
(-.f64 (-.f64 (*.f64 d1 d2) (-.f64 (*.f64 d1 d3) (*.f64 d4 d1))) (*.f64 d1 d1))
Compiler

Compiled 1553 to 356 computations (77.1% saved)

localize28.0ms (0.6%)

Local error

Found 1 expressions with local error:

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

series12.0ms (0.3%)

Counts
1 → 48
Calls

1 calls:

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

rewrite1.0ms (0%)

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
1 → 10
Calls

1 calls:

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

simplify80.0ms (1.7%)

Algorithm
egg-herbie
Rules
552×unsub-neg_binary64
523×distribute-rgt-in_binary64
510×distribute-lft-in_binary64
355×associate-*l*_binary64
336×associate-*r*_binary64
Counts
58 → 32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
033609
172569
2145569
3484569
42439569
53549569
64295569
74963569

prune18.0ms (0.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New32032
Fresh011
Picked011
Done000
Total32234
Error
0.0b
Counts
34 → 2
Alt Table
StatusErrorProgram
0.0b
(-.f64 (fma.f64 d1 (-.f64 d2 d3) (*.f64 d4 d1)) (*.f64 d1 d1))
0.0b
(-.f64 (-.f64 (*.f64 d1 d2) (-.f64 (*.f64 d1 d3) (*.f64 d4 d1))) (*.f64 d1 d1))
Compiler

Compiled 511 to 132 computations (74.2% saved)

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series23.0ms (0.5%)

Counts
2 → 84
Calls

2 calls:

15.0ms
(-.f64 (*.f64 d1 d2) (-.f64 (*.f64 d1 d3) (*.f64 d4 d1)))
7.0ms
(-.f64 (*.f64 d1 d3) (*.f64 d4 d1))

rewrite10.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64
cancel-sign-sub-inv_binary64
prod-diff_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
Counts
2 → 41
Calls

2 calls:

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

simplify85.0ms (1.8%)

Algorithm
egg-herbie
Rules
812×fma-neg_binary64
538×fma-def_binary64
480×times-frac_binary64
288×distribute-rgt-in_binary64
288×cancel-sign-sub-inv_binary64
Counts
125 → 90
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01051304
12621219
29861193
330091193
443731185
554741185

prune43.0ms (0.9%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New90090
Fresh000
Picked011
Done011
Total90292
Error
0.0b
Counts
92 → 2
Alt Table
StatusErrorProgram
0.0b
(-.f64 (fma.f64 d1 (-.f64 d2 d3) (*.f64 d4 d1)) (*.f64 d1 d1))
0.0b
(-.f64 (-.f64 (*.f64 d1 d2) (-.f64 (*.f64 d1 d3) (*.f64 d4 d1))) (*.f64 d1 d1))
Compiler

Compiled 1836 to 386 computations (79% saved)

regimes166.0ms (3.5%)

Accuracy

Total 0.0b remaining (24.4%)

Threshold costs 0.0b (24.4%)

Counts
34 → 1
Compiler

Compiled 2683 to 1624 computations (39.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

end62.0ms (1.3%)

Remove

(sort d2 d4)

Compiler

Compiled 99 to 56 computations (43.4% saved)

Profiling

Loading profile data...