Details

Time bar (total: 7.9s)

analyze399.0ms (5.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%68.7%6.3%6
25%56.2%18.8%7
25%48.4%26.6%8
25%35.1%39.9%9
28.1%18.3%53.6%10
31.6%12.3%56.1%11
33.4%5.9%60.8%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 34 to 22 computations (35.3% saved)

sample63.0ms (0.8%)

Algorithm
intervals
Results
48.0ms256×body128valid
Compiler

Compiled 69 to 45 computations (34.8% saved)

simplify84.0ms (1.1%)

Algorithm
egg-herbie
Rules
725×fma-def_binary64
669×unsub-neg_binary64
596×cancel-sign-sub-inv_binary64
340×+-commutative_binary64
277×fma-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02042
16340
217036
354236
4186732
5328132
6488132
7495832

prune9.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.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
0.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4)) -1)
Compiler

Compiled 172 to 108 computations (37.2% saved)

localize28.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a -3 1)
0.0b
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4))
0.0b
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))
0.7b
(*.f64 (*.f64 b b) (fma.f64 a -3 1))

rewrite17.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
add-sqr-sqrt_binary64
fma-udef_binary64
Counts
4 → 53
Calls

4 calls:

10.0ms
(*.f64 (*.f64 b b) (fma.f64 a -3 1))
1.0ms
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4))
1.0ms
(fma.f64 a -3 1)
1.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))

series203.0ms (2.6%)

Counts
4 → 84
Calls

4 calls:

86.0ms
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4))
57.0ms
(*.f64 (*.f64 b b) (fma.f64 a -3 1))
51.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))
9.0ms
(fma.f64 a -3 1)

simplify211.0ms (2.7%)

Algorithm
egg-herbie
Rules
786×fma-def_binary64
528×fma-neg_binary64
415×associate-+l+_binary64
313×cancel-sign-sub-inv_binary64
229×associate-+r+_binary64
Counts
137 → 250
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01252754
13182352
29692192
331842169
448182143
549832143

prune272.0ms (3.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2482250
Fresh101
Picked011
Done000
Total2493252
Error
0.0b
Counts
252 → 3
Alt Table
StatusErrorProgram
0.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4)) -1)
10.8b
(+.f64 (*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b))))) -1)
8.2b
(+.f64 (fma.f64 a (*.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12))))) -1)
Compiler

Compiled 3583 to 2012 computations (43.8% saved)

localize26.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a (*.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12)))))
0.0b
(+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12)))
0.0b
(*.f64 a (fma.f64 a 2 -12))
1.3b
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12))))

rewrite80.0ms (1%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64
11×add-cbrt-cube_binary64
11×add-exp-log_binary64
11×pow1_binary64
*-un-lft-identity_binary64
Counts
4 → 76
Calls

4 calls:

55.0ms
(+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12)))
11.0ms
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12))))
5.0ms
(*.f64 a (fma.f64 a 2 -12))
1.0ms
(fma.f64 a (*.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12)))))

series249.0ms (3.2%)

Counts
4 → 84
Calls

4 calls:

74.0ms
(*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12))))
69.0ms
(fma.f64 a (*.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12)))))
44.0ms
(+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12)))
17.0ms
(*.f64 a (fma.f64 a 2 -12))

simplify223.0ms (2.8%)

Algorithm
egg-herbie
Rules
915×fma-def_binary64
644×fma-neg_binary64
439×cancel-sign-sub-inv_binary64
350×*-commutative_binary64
226×unswap-sqr_binary64
Counts
160 → 302
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01493684
13872626
213652610
331232610
449932610
549902610

prune406.0ms (5.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New3011302
Fresh011
Picked011
Done011
Total3014305
Error
0b
Counts
305 → 4
Alt Table
StatusErrorProgram
0.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4)) -1)
10.8b
(+.f64 (*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b))))) -1)
8.3b
(+.f64 (fma.f64 a (*.f64 a 4) (*.f64 (*.f64 (*.f64 b b) (sqrt.f64 (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12))))) (sqrt.f64 (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12)))))) -1)
8.2b
(+.f64 (fma.f64 a (*.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12))))) -1)
Compiler

Compiled 4881 to 3062 computations (37.3% saved)

localize68.0ms (0.9%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12))))
0.0b
(sqrt.f64 (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12))))
0.6b
(*.f64 (*.f64 (*.f64 b b) (sqrt.f64 (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12))))) (sqrt.f64 (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12)))))
0.7b
(*.f64 (*.f64 b b) (sqrt.f64 (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12)))))

rewrite51.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
18×pow1_binary64
17×add-cbrt-cube_binary64
17×add-exp-log_binary64
16×sqrt-div_binary64
12×associate-*r*_binary64
Counts
3 → 78
Calls

3 calls:

20.0ms
(*.f64 (*.f64 (*.f64 b b) (sqrt.f64 (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12))))) (sqrt.f64 (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12)))))
13.0ms
(*.f64 (*.f64 b b) (sqrt.f64 (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12)))))
4.0ms
(sqrt.f64 (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12))))

series280.0ms (3.6%)

Counts
3 → 72
Calls

3 calls:

140.0ms
(*.f64 (*.f64 b b) (sqrt.f64 (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12)))))
79.0ms
(*.f64 (*.f64 (*.f64 b b) (sqrt.f64 (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12))))) (sqrt.f64 (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12)))))
60.0ms
(sqrt.f64 (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12))))

simplify278.0ms (3.5%)

Algorithm
egg-herbie
Rules
474×fma-neg_binary64
439×fma-def_binary64
394×associate-*l*_binary64
358×associate-*r*_binary64
228×associate-+l+_binary64
Counts
150 → 285
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
04136275
113295610
249365604
353165604

prune996.0ms (12.7%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New3610361
Fresh011
Picked011
Done022
Total3614365
Error
0b
Counts
365 → 4
Alt Table
StatusErrorProgram
0.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4)) -1)
10.8b
(+.f64 (*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b))))) -1)
8.3b
(+.f64 (fma.f64 a (*.f64 a 4) (*.f64 (*.f64 (*.f64 b b) (sqrt.f64 (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12))))) (sqrt.f64 (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12)))))) -1)
8.2b
(+.f64 (fma.f64 a (*.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12))))) -1)
Compiler

Compiled 16746 to 11540 computations (31.1% saved)

localize23.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b))))
0.0b
(*.f64 2 (*.f64 b b))
0.0b
(*.f64 a (+.f64 4 a))
1.8b
(*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b)))))

rewrite65.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
16×associate-*r/_binary64
16×add-cbrt-cube_binary64
16×add-exp-log_binary64
16×pow1_binary64
12×add-sqr-sqrt_binary64
Counts
4 → 97
Calls

4 calls:

22.0ms
(*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b)))))
14.0ms
(+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b))))
9.0ms
(*.f64 a (+.f64 4 a))
8.0ms
(*.f64 2 (*.f64 b b))

series147.0ms (1.9%)

Counts
4 → 72
Calls

4 calls:

70.0ms
(*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b)))))
45.0ms
(+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b))))
19.0ms
(*.f64 2 (*.f64 b b))
13.0ms
(*.f64 a (+.f64 4 a))

simplify220.0ms (2.8%)

Algorithm
egg-herbie
Rules
719×fma-neg_binary64
411×associate-+l+_binary64
399×associate-+r+_binary64
366×associate-*l*_binary64
296×associate-*r*_binary64
Counts
169 → 312
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01903345
16112707
224912683
348932677
454202677

prune398.0ms (5.1%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New3120312
Fresh000
Picked011
Done033
Total3124316
Error
0b
Counts
316 → 4
Alt Table
StatusErrorProgram
0.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4)) -1)
10.8b
(+.f64 (*.f64 (*.f64 a a) (+.f64 (*.f64 a (+.f64 4 a)) (+.f64 4 (*.f64 2 (*.f64 b b))))) -1)
8.3b
(+.f64 (fma.f64 a (*.f64 a 4) (*.f64 (*.f64 (*.f64 b b) (sqrt.f64 (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12))))) (sqrt.f64 (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12)))))) -1)
8.2b
(+.f64 (fma.f64 a (*.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (fma.f64 b b 4) (*.f64 a (fma.f64 a 2 -12))))) -1)
Compiler

Compiled 5167 to 3208 computations (37.9% saved)

regimes1.1s (14.6%)

Accuracy

Total 0.0b remaining (48.7%)

Threshold costs 0.0b (48.7%)

Compiler

Compiled 12141 to 8564 computations (29.5% saved)

simplify8.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01632
12032
21932

end1.0ms (0%)

Compiler

Compiled 25 to 16 computations (36% saved)

sample1.9s (24.4%)

Algorithm
intervals
Results
1.3s8000×body128valid
1.0msbody128invalid
Compiler

Compiled 169 to 113 computations (33.1% saved)

Profiling

Loading profile data...