Details

Time bar (total: 4.3s)

analyze919.0ms (21.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
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)

sample257.0ms (5.9%)

Algorithm
intervals
Symmetry

(sort d2 d4)

Results
12.0ms256×body128valid
4.0ms79×body128invalid
Compiler

Compiled 43 to 27 computations (37.2% saved)

simplify96.0ms (2.2%)

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)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series17.0ms (0.4%)

Counts
1 → 48
Calls

1 calls:

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

rewrite10.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity_binary64
associate-*r*_binary64
add-sqr-sqrt_binary64
distribute-lft-out--_binary64
distribute-lft-out_binary64
Counts
1 → 27
Calls

1 calls:

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

simplify77.0ms (1.8%)

Algorithm
egg-herbie
Rules
617×distribute-rgt-in_binary64
603×distribute-lft-in_binary64
446×fma-neg_binary64
407×associate-*l*_binary64
313×associate-*r*_binary64
Counts
75 → 55
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0711262
11951056
2718940
33249940
44599940
54980940

prune36.0ms (0.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New53255
Fresh101
Picked011
Done000
Total54357
Error
0b
Counts
57 → 3
Alt Table
StatusErrorProgram
31.9b
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (sqrt.f64 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))
39.3b
(cbrt.f64 (*.f64 (*.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))) (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))))
0.0b
(*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))
Compiler

Compiled 929 to 209 computations (77.5% saved)

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(*.f64 d1 (sqrt.f64 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))
0.2b
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (sqrt.f64 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))

series201.0ms (4.6%)

Counts
2 → 64
Calls

2 calls:

187.0ms
(*.f64 d1 (sqrt.f64 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))
14.0ms
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (sqrt.f64 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))

rewrite35.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity_binary64
18×associate-*r*_binary64
14×sqrt-div_binary64
13×sqrt-prod_binary64
11×add-sqr-sqrt_binary64
Counts
2 → 63
Calls

2 calls:

17.0ms
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (sqrt.f64 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))
12.0ms
(*.f64 d1 (sqrt.f64 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))

simplify104.0ms (2.4%)

Algorithm
egg-herbie
Rules
792×fma-def_binary64
678×distribute-rgt-in_binary64
416×fma-neg_binary64
327×cancel-sign-sub-inv_binary64
274×associate-*l*_binary64
Counts
127 → 131
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02163106
15882775
219392644
347262634
449782634

prune51.0ms (1.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1310131
Fresh011
Picked011
Done011
Total1313134
Error
0b
Counts
134 → 3
Alt Table
StatusErrorProgram
31.9b
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (sqrt.f64 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))
39.3b
(cbrt.f64 (*.f64 (*.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))) (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))))
0.0b
(*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))
Compiler

Compiled 4160 to 910 computations (78.1% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))
0.1b
(*.f64 (*.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))) (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))
0.3b
(*.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))) (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))
37.5b
(cbrt.f64 (*.f64 (*.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))) (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))))

series298.0ms (6.9%)

Counts
3 → 144
Calls

3 calls:

185.0ms
(*.f64 (*.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))) (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))
82.0ms
(*.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))) (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))
31.0ms
(cbrt.f64 (*.f64 (*.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))) (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))))

rewrite127.0ms (2.9%)

Algorithm
rewrite-expression-head
Rules
197×pow1_binary64
138×associate-*r/_binary64
86×pow-prod-down_binary64
65×add-cbrt-cube_binary64
60×flip-+_binary64
Counts
3 → 194
Calls

3 calls:

29.0ms
(*.f64 (*.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))) (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))
29.0ms
(cbrt.f64 (*.f64 (*.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))) (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))))
19.0ms
(*.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))) (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))

simplify347.0ms (8%)

Algorithm
egg-herbie
Rules
806×fma-def_binary64
669×associate-*l*_binary64
237×distribute-rgt-in_binary64
228×distribute-lft-in_binary64
180×+-commutative_binary64
Counts
338 → 307
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
052420510
1158316816
2478816816
3500316816

prune309.0ms (7.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New4720472
Fresh000
Picked011
Done022
Total4723475
Error
0b
Counts
475 → 3
Alt Table
StatusErrorProgram
31.9b
(*.f64 (*.f64 d1 (sqrt.f64 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (sqrt.f64 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))
39.3b
(cbrt.f64 (*.f64 (*.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))) (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))))
0.0b
(*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))
Compiler

Compiled 23504 to 6490 computations (72.4% saved)

regimes416.0ms (9.6%)

Accuracy

Total 0.0b remaining (17.4%)

Threshold costs 0.0b (17.4%)

Counts
79 → 1
Compiler

Compiled 8188 to 4709 computations (42.5% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01016
11716
22516
32916
43116
53116

end9.0ms (0.2%)

Remove

(sort d2 d4)

Compiler

Compiled 45 to 27 computations (40% saved)

sample1000.0ms (23%)

Algorithm
intervals
Results
415.0ms8000×body128valid
134.0ms2432×body128invalid
Compiler

Compiled 109 to 54 computations (50.5% saved)

Profiling

Loading profile data...