Details

Time bar (total: 7.7s)

analyze1.3s (16.8%)

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.0s (26.3%)

Results
929.0ms3120×body256valid
843.0ms5136×body128valid
154.0ms944×body128invalid
Compiler

Compiled 106 to 76 computations (28.3% saved)

simplify351.0ms (4.5%)

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
44.3b
Counts
3 → 2
Alt Table
StatusErrorProgram
44.3b
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 3 a) c)))) (*.f64 3 a))
44.3b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b) (/.f64 1/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.3b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b) (/.f64 1/3 a))
0.4b
(/.f64 1/3 a)
39.1b
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b)

series161.0ms (2.1%)

Counts
4 → 76
Calls

4 calls:

91.0ms
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b) (/.f64 1/3 a))
58.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b)
10.0ms
(fma.f64 a (*.f64 c -3) (*.f64 b b))
2.0ms
(/.f64 1/3 a)

rewrite24.0ms (0.3%)

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:

9.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))

simplify110.0ms (1.4%)

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

prune161.0ms (2.1%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2156221
Fresh101
Picked101
Done000
Total2176223
Error
0.1b
Counts
223 → 6
Alt Table
StatusErrorProgram
44.3b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b) (*.f64 (*.f64 (cbrt.f64 1/3) (cbrt.f64 1/3)) (/.f64 (cbrt.f64 1/3) a)))
3.6b
(*.f64 (-.f64 (*.f64 -3/2 (/.f64 (*.f64 c a) b)) (fma.f64 9/8 (/.f64 (*.f64 (*.f64 c a) (*.f64 c a)) (pow.f64 b 3)) (fma.f64 27/16 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 3)) (pow.f64 b 5)) (*.f64 405/128 (/.f64 (*.f64 (pow.f64 c 4) (pow.f64 a 4)) (pow.f64 b 7)))))) (/.f64 1/3 a))
44.3b
(*.f64 (*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b) (/.f64 (sqrt.f64 1/3) (*.f64 (cbrt.f64 a) (cbrt.f64 a)))) (/.f64 (sqrt.f64 1/3) (cbrt.f64 a)))
3.2b
(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.6b
(/.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))
4.5b
(*.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))
Compiler

Compiled 6051 to 3531 computations (41.6% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 a (*.f64 c -3) (*.f64 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)

series16.0ms (0.2%)

Counts
2 → 48
Calls

2 calls:

10.0ms
(*.f64 (fma.f64 a (*.f64 c -3) 0) (/.f64 1/3 a))
5.0ms
(fma.f64 a (*.f64 c -3) 0)

rewrite8.0ms (0.1%)

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

2 calls:

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

simplify97.0ms (1.3%)

Algorithm
egg-herbie
Rules
517×distribute-rgt-in_binary64
506×associate-/l/_binary64
492×associate-*l*_binary64
430×associate-/r/_binary64
383×associate-*r*_binary64
Counts
92 → 79
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0851049
1175901
2597847
32395797
44205797
54724797
65000797
74845797

prune171.0ms (2.2%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1288136
Fresh325
Picked101
Done000
Total13210142
Error
0.0b
Counts
142 → 10
Alt Table
StatusErrorProgram
0.7b
(/.f64 (*.f64 (*.f64 (*.f64 -3 (*.f64 c a)) (sqrt.f64 1/3)) (/.f64 (sqrt.f64 1/3) a)) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))
4.5b
(*.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))
0.7b
(/.f64 (*.f64 (fma.f64 a (*.f64 c -3) 0) (cbrt.f64 (pow.f64 (/.f64 1/3 a) 3))) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))
0.9b
(/.f64 (*.f64 (*.f64 (fma.f64 a (*.f64 c -3) 0) (/.f64 (sqrt.f64 1/3) (sqrt.f64 a))) (/.f64 (sqrt.f64 1/3) (sqrt.f64 a))) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))
1.5b
(/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (fma.f64 a (*.f64 c -3) 0) (/.f64 1/3 a))) (cbrt.f64 (*.f64 (fma.f64 a (*.f64 c -3) 0) (/.f64 1/3 a)))) (cbrt.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))
3.2b
(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.6b
(/.f64 (*.f64 (fma.f64 a (*.f64 c -3) 0) (/.f64 1/3 a)) (+.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (fma.f64 c (*.f64 a -3) (*.f64 b b)) 3))) b))
1.4b
(/.f64 (*.f64 (fma.f64 a (*.f64 c -3) 0) (*.f64 (/.f64 1 (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 1/3 (cbrt.f64 a)))) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))
0.2b
(/.f64 (neg.f64 c) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))
1.4b
(/.f64 (*.f64 (fma.f64 a (*.f64 c -3) 0) (*.f64 (/.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))
Compiler

Compiled 4399 to 2755 computations (37.4% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (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.1b
(/.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))

series356.0ms (4.6%)

Counts
3 → 60
Calls

3 calls:

259.0ms
(/.f64 (neg.f64 c) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))
53.0ms
(+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b)
44.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b)))

rewrite21.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity_binary64
40×times-frac_binary64
33×add-sqr-sqrt_binary64
32×add-cube-cbrt_binary64
15×distribute-lft-neg-in_binary64
Counts
3 → 107
Calls

3 calls:

7.0ms
(/.f64 (neg.f64 c) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))
3.0ms
(+.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)))

simplify173.0ms (2.2%)

Algorithm
egg-herbie
Rules
473×fma-def_binary64
278×div-sub_binary64
247×associate-/l/_binary64
187×cancel-sign-sub-inv_binary64
166×distribute-rgt-neg-out_binary64
Counts
167 → 223
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02534899
16384739
220584559
345284553
449834553
549034553

prune213.0ms (2.8%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2416247
Fresh819
Picked101
Done000
Total2507257
Error
0.0b
Counts
257 → 7
Alt Table
StatusErrorProgram
0.2b
(neg.f64 (/.f64 c (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b)))
3.2b
(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)))))
1.4b
(/.f64 (*.f64 (fma.f64 a (*.f64 c -3) 0) (*.f64 (/.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.6b
(*.f64 (/.f64 -1 (sqrt.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))) (/.f64 c (sqrt.f64 (+.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)))
0.4b
(/.f64 (neg.f64 c) (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))
0.8b
(*.f64 (/.f64 (sqrt.f64 c) (sqrt.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))) (/.f64 (neg.f64 (sqrt.f64 c)) (sqrt.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))))
Compiler

Compiled 6592 to 3575 computations (45.8% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (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.1b
(/.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))

series225.0ms (2.9%)

Counts
1 → 20
Calls

1 calls:

225.0ms
(/.f64 c (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))

rewrite8.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity_binary64
12×times-frac_binary64
10×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
associate-/r*_binary64
Counts
1 → 35
Calls

1 calls:

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

simplify82.0ms (1.1%)

Algorithm
egg-herbie
Rules
603×fma-neg_binary64
592×times-frac_binary64
397×associate-/l*_binary64
347×associate-/r*_binary64
281×associate-*r*_binary64
Counts
55 → 78
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01271736
13291637
29731583
347101581
452381581

prune180.0ms (2.3%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1971198
Fresh156
Picked011
Done000
Total1987205
Error
0.0b
Counts
205 → 7
Alt Table
StatusErrorProgram
0.2b
(neg.f64 (/.f64 c (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b)))
4.0b
(neg.f64 (/.f64 c (fma.f64 b 2 (fma.f64 (/.f64 (*.f64 (*.f64 c c) (*.f64 a a)) (pow.f64 b 3)) -9/8 (*.f64 (*.f64 (/.f64 c b) a) -3/2)))))
3.2b
(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)))))
1.4b
(/.f64 (*.f64 (fma.f64 a (*.f64 c -3) 0) (*.f64 (/.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.6b
(*.f64 (/.f64 -1 (sqrt.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))) (/.f64 c (sqrt.f64 (+.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)))
0.8b
(*.f64 (/.f64 (sqrt.f64 c) (sqrt.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))) (/.f64 (neg.f64 (sqrt.f64 c)) (sqrt.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -3) (*.f64 b b))) b))))
Compiler

Compiled 5026 to 2940 computations (41.5% saved)

regimes1.8s (23.9%)

Accuracy

Total 0.1b remaining (87.4%)

Threshold costs 0.1b (87.4%)

Counts
299 → 1
Compiler

Compiled 41817 to 27727 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
01221
12021
22421
32721
42821
52821

end142.0ms (1.8%)

Compiler

Compiled 247 to 162 computations (34.4% saved)

Profiling

Loading profile data...