Details

Time bar (total: 6.8s)

analyze363.0ms (5.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
0%0%100%2
0%0%100%3
0%0%100%4
0%0%100%5
0%0%100%6
0%0%100%7
0%0%100%8
0%0%100%9
0%0%100%10
0%0%100%11
0%0%100%12
0%0%100%13
0%0%100%14
Compiler

Compiled 43 to 31 computations (27.9% saved)

sample2.4s (34.5%)

Results
1.1s4077×body256valid
573.0ms1463×body512valid
420.0ms2716×body128valid
129.0ms851×body128invalid
Compiler

Compiled 106 to 76 computations (28.3% saved)

simplify357.0ms (5.2%)

Algorithm
egg-herbie
Rules
1968×fma-neg_binary64
1363×fma-def_binary64
898×div-sub_binary64
743×associate-/l*_binary64
567×times-frac_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01326
13022
26422
313522
420122
533522
655422
792922
8147722
9211522
10259922
11255422
12260222
13267122
14311722
15232722
16237522
17238322
18238922
19239522
20239722
21239722
22258522
23268522
24261922
25263122
26266122
27267722
28270722
29270722
30275122
31285122
32282722
33282722
34263822

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
55.4b
Counts
3 → 2
Alt Table
StatusErrorProgram
55.4b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b) (/.f64 1/3 a))
55.4b
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 3 a) c)))) (*.f64 3 a))
Compiler

Compiled 111 to 74 computations (33.3% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 a (*.f64 c -3) (*.f64 b b))
0.2b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b) (/.f64 1/3 a))
0.4b
(/.f64 1/3 a)
25.7b
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b)

series153.0ms (2.2%)

Counts
4 → 76
Calls

4 calls:

87.0ms
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b) (/.f64 1/3 a))
55.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b)
9.0ms
(fma.f64 a (*.f64 c -3) (*.f64 b b))
1.0ms
(/.f64 1/3 a)

rewrite24.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt_binary64
39×*-un-lft-identity_binary64
35×add-cube-cbrt_binary64
19×times-frac_binary64
18×prod-diff_binary64
Counts
4 → 123
Calls

4 calls:

8.0ms
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b) (/.f64 1/3 a))
4.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b)
2.0ms
(/.f64 1/3 a)
0.0ms
(fma.f64 a (*.f64 c -3) (*.f64 b b))

simplify103.0ms (1.5%)

Algorithm
egg-herbie
Rules
797×fma-def_binary64
340×distribute-rgt-in_binary64
235×cancel-sign-sub-inv_binary64
185×fma-neg_binary64
160×associate-*r*_binary64
Counts
199 → 221
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02835008
16614039
224643848
349113848

prune146.0ms (2.1%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2165221
Fresh101
Picked101
Done000
Total2185223
Error
0.0b
Counts
223 → 5
Alt Table
StatusErrorProgram
1.8b
(*.f64 (fma.f64 -3/2 (/.f64 (*.f64 c a) b) (fma.f64 (/.f64 (*.f64 (*.f64 c a) (*.f64 c a)) (pow.f64 b 3)) -9/8 (*.f64 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 3)) (pow.f64 b 5)) -27/16))) (/.f64 1/3 a))
1.0b
(neg.f64 (fma.f64 9/16 (/.f64 (*.f64 (*.f64 a a) (pow.f64 c 3)) (pow.f64 b 5)) (fma.f64 135/128 (/.f64 (*.f64 (pow.f64 a 3) (pow.f64 c 4)) (pow.f64 b 7)) (fma.f64 1/2 (/.f64 c b) (*.f64 3/8 (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3)))))))
55.7b
(*.f64 (*.f64 (+.f64 (sqrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b)))) (sqrt.f64 b)) (-.f64 (sqrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b)))) (sqrt.f64 b))) (/.f64 1/3 a))
55.4b
(*.f64 (/.f64 (-.f64 (*.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b)))) (*.f64 b b)) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b)) (/.f64 1/3 a))
0.5b
(/.f64 (*.f64 (fma.f64 a (*.f64 c -3) 0) (/.f64 1/3 a)) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))
Compiler

Compiled 5987 to 3469 computations (42.1% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b)
0.3b
(*.f64 (fma.f64 a (*.f64 c -3) 0) (/.f64 1/3 a))
0.3b
(fma.f64 a (*.f64 c -3) 0)
0.4b
(/.f64 1/3 a)

series63.0ms (0.9%)

Counts
3 → 68
Calls

3 calls:

48.0ms
(+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b)
9.0ms
(*.f64 (fma.f64 a (*.f64 c -3) 0) (/.f64 1/3 a))
7.0ms
(fma.f64 a (*.f64 c -3) 0)

rewrite15.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt_binary64
15×*-un-lft-identity_binary64
13×associate-*r*_binary64
13×add-cube-cbrt_binary64
10×times-frac_binary64
Counts
3 → 64
Calls

3 calls:

6.0ms
(+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b)
5.0ms
(*.f64 (fma.f64 a (*.f64 c -3) 0) (/.f64 1/3 a))
0.0ms
(fma.f64 a (*.f64 c -3) 0)

simplify86.0ms (1.3%)

Algorithm
egg-herbie
Rules
623×times-frac_binary64
538×associate-/l*_binary64
487×fma-def_binary64
394×associate-/r*_binary64
151×distribute-rgt-in_binary64
Counts
132 → 129
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01651963
14141772
213261748
348831748
449611748

prune158.0ms (2.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1584162
Fresh314
Picked011
Done000
Total1616167
Error
0.0b
Counts
167 → 6
Alt Table
StatusErrorProgram
0.7b
(/.f64 (*.f64 (fma.f64 a (*.f64 c -3) 0) (/.f64 1/3 a)) (fma.f64 (sqrt.f64 (*.f64 (cbrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) (cbrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))))) (sqrt.f64 (cbrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b)))) b))
1.4b
(/.f64 (*.f64 (fma.f64 a (*.f64 c -3) 0) (/.f64 1/3 a)) (-.f64 (*.f64 2 b) (fma.f64 3/2 (/.f64 (*.f64 c a) b) (fma.f64 9/8 (/.f64 (*.f64 (*.f64 c a) (*.f64 c a)) (pow.f64 b 3)) (*.f64 27/16 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 3)) (pow.f64 b 5)))))))
1.0b
(neg.f64 (fma.f64 9/16 (/.f64 (*.f64 (*.f64 a a) (pow.f64 c 3)) (pow.f64 b 5)) (fma.f64 135/128 (/.f64 (*.f64 (pow.f64 a 3) (pow.f64 c 4)) (pow.f64 b 7)) (fma.f64 1/2 (/.f64 c b) (*.f64 3/8 (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3)))))))
0.1b
(/.f64 (neg.f64 c) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))
1.5b
(/.f64 (*.f64 (*.f64 (fma.f64 a (*.f64 c -3) 0) (/.f64 (sqrt.f64 1/3) (*.f64 (cbrt.f64 a) (cbrt.f64 a)))) (/.f64 (sqrt.f64 1/3) (cbrt.f64 a))) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))
0.5b
(/.f64 (*.f64 (fma.f64 a (*.f64 c -3) 0) (/.f64 1/3 a)) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))
Compiler

Compiled 5207 to 3208 computations (38.4% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b)))
0.0b
(/.f64 (neg.f64 c) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))
0.1b
(fma.f64 a (*.f64 c -3) (*.f64 b b))
0.1b
(+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b)

series278.0ms (4.1%)

Counts
2 → 40
Calls

2 calls:

236.0ms
(/.f64 (neg.f64 c) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))
42.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b)))

rewrite19.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
51×*-un-lft-identity_binary64
40×times-frac_binary64
30×add-sqr-sqrt_binary64
29×add-cube-cbrt_binary64
15×distribute-lft-neg-in_binary64
Counts
2 → 87
Calls

2 calls:

6.0ms
(/.f64 (neg.f64 c) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))
1.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b)))

simplify114.0ms (1.7%)

Algorithm
egg-herbie
Rules
349×fma-def_binary64
320×associate-/r/_binary64
306×div-sub_binary64
243×associate-/l/_binary64
221×fma-neg_binary64
Counts
127 → 173
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02283973
15663858
218783711
346163705
451063705

prune212.0ms (3.1%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2434247
Fresh404
Picked101
Done101
Total2494253
Error
0b
Counts
253 → 4
Alt Table
StatusErrorProgram
0.3b
(/.f64 -1 (/.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b) c))
0.6b
(cbrt.f64 (/.f64 (*.f64 (*.f64 (neg.f64 c) (neg.f64 c)) (neg.f64 c)) (*.f64 (*.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b)) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))))
0.3b
(*.f64 (neg.f64 c) (/.f64 1 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b)))
1.0b
(fma.f64 (/.f64 (*.f64 (pow.f64 c 3) (*.f64 a a)) (pow.f64 b 5)) -9/16 (fma.f64 (/.f64 (*.f64 (pow.f64 c 4) (pow.f64 a 3)) (pow.f64 b 7)) -135/128 (fma.f64 (/.f64 (*.f64 (*.f64 c c) a) (pow.f64 b 3)) -3/8 (*.f64 -1/2 (/.f64 c b)))))
Compiler

Compiled 6414 to 3441 computations (46.4% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))
0.1b
(fma.f64 a (*.f64 c -3) (*.f64 b b))
0.1b
(+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b)
0.3b
(*.f64 (neg.f64 c) (/.f64 1 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b)))

series439.0ms (6.4%)

Counts
2 → 40
Calls

2 calls:

249.0ms
(*.f64 (neg.f64 c) (/.f64 1 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b)))
190.0ms
(/.f64 1 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))

rewrite21.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity_binary64
29×add-sqr-sqrt_binary64
26×times-frac_binary64
22×add-cube-cbrt_binary64
18×associate-*r*_binary64
Counts
2 → 90
Calls

2 calls:

10.0ms
(*.f64 (neg.f64 c) (/.f64 1 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b)))
5.0ms
(/.f64 1 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))

simplify111.0ms (1.6%)

Algorithm
egg-herbie
Rules
757×associate-/l*_binary64
355×fma-def_binary64
204×fma-neg_binary64
155×associate-/r/_binary64
153×distribute-lft-neg-out_binary64
Counts
130 → 173
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01913644
15433338
217813216
348953208
449403208

prune201.0ms (3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2470247
Fresh033
Picked011
Done000
Total2474251
Error
0b
Counts
251 → 4
Alt Table
StatusErrorProgram
0.3b
(/.f64 -1 (/.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b) c))
0.6b
(cbrt.f64 (/.f64 (*.f64 (*.f64 (neg.f64 c) (neg.f64 c)) (neg.f64 c)) (*.f64 (*.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b)) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))))
0.3b
(*.f64 (neg.f64 c) (/.f64 1 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b)))
1.0b
(fma.f64 (/.f64 (*.f64 (pow.f64 c 3) (*.f64 a a)) (pow.f64 b 5)) -9/16 (fma.f64 (/.f64 (*.f64 (pow.f64 c 4) (pow.f64 a 3)) (pow.f64 b 7)) -135/128 (fma.f64 (/.f64 (*.f64 (*.f64 c c) a) (pow.f64 b 3)) -3/8 (*.f64 -1/2 (/.f64 c b)))))
Compiler

Compiled 6616 to 3793 computations (42.7% saved)

regimes1.5s (21.4%)

Accuracy

Total 0.1b remaining (75.3%)

Threshold costs 0.1b (75.3%)

Counts
247 → 1
Compiler

Compiled 35961 to 23838 computations (33.7% saved)

simplify3.0ms (0%)

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
01421
12421
22821
33121
43221
53121

end93.0ms (1.4%)

Compiler

Compiled 164 to 105 computations (36% saved)

Profiling

Loading profile data...