Details

Time bar (total: 3.4s)

analyze192.0ms (5.6%)

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)

sample1.2s (35.3%)

Results
1.2s8256×body128valid
0.0msbody128invalid
Compiler

Compiled 68 to 44 computations (35.3% saved)

preprocess35.0ms (1%)

Algorithm
egg-herbie
Rules
473×fma-neg_binary64
434×associate-+l+_binary64
393×associate-*l*_binary64
373×associate-+r+_binary64
313×associate-*r*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03184
111180
234872
3137472
4408264
022
Stop Event
saturated
node limit
Compiler

Compiled 33 to 21 computations (36.4% saved)

simplify29.0ms (0.9%)

Algorithm
egg-herbie
Rules
693×fma-def_binary64
312×+-commutative_binary64
277×fma-neg_binary64
232×associate-+l+_binary64
211×associate-*l*_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02042
16340
219336
374236
4286732
5488232
Stop Event
node limit
Counts
1 → 2

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

Compiled 172 to 109 computations (36.6% saved)

localize16.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a -3 1)
0.0b
(*.f64 b (fma.f64 a -3 1))
0.0b
(*.f64 b (*.f64 b (fma.f64 a -3 1)))
0.1b
(fma.f64 a (fma.f64 a a a) (*.f64 b (*.f64 b (fma.f64 a -3 1))))

series28.0ms (0.8%)

Counts
4 → 84
Calls

21 calls:

4.0ms
(*.f64 b (*.f64 b (fma.f64 a -3 1)))
b
inf
2.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 b (*.f64 b (fma.f64 a -3 1))))
b
-inf
2.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 b (*.f64 b (fma.f64 a -3 1))))
b
inf
2.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 b (*.f64 b (fma.f64 a -3 1))))
b
0
2.0ms
(*.f64 b (*.f64 b (fma.f64 a -3 1)))
a
-inf

rewrite52.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
830×log1p-expm1-u_binary64
830×expm1-log1p-u_binary64
328×prod-diff_binary64
95×add-sqr-sqrt_binary64
87×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01043
119543
2224343
Stop Event
node limit
Counts
4 → 80

simplify42.0ms (1.2%)

Algorithm
egg-herbie
Rules
571×cancel-sign-sub-inv_binary64
533×fma-neg_binary64
443×fma-def_binary64
375×associate-*l*_binary64
262×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0301149
1861002
2240838
3692834
42630834
Stop Event
node limit
Counts
164 → 107

prune103.0ms (3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1070107
Fresh011
Picked011
Done000
Total1072109
Error
0.0b
Counts
109 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 b (*.f64 b (fma.f64 a -3 1)))) -1))
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)
Compiler

Compiled 2862 to 1625 computations (43.2% saved)

localize17.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 1 (*.f64 3 a))
0.1b
(*.f64 (*.f64 a a) (+.f64 1 a))
0.1b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
0.4b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

series22.0ms (0.7%)

Counts
4 → 63
Calls

18 calls:

2.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
a
0
2.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
b
-inf
2.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
a
-inf
2.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
a
inf
2.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
b
inf

rewrite64.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
266×expm1-udef_binary64
265×log1p-udef_binary64
155×add-sqr-sqrt_binary64
155×log1p-expm1-u_binary64
155×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01541
133638
2429038
Stop Event
node limit
Counts
4 → 109

simplify40.0ms (1.2%)

Algorithm
egg-herbie
Rules
901×fma-def_binary64
551×unswap-sqr_binary64
541×associate-*l*_binary64
397×associate-*r*_binary64
183×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
027816
171792
2192726
3609726
42589726
Stop Event
node limit
Counts
172 → 132

prune173.0ms (5.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1302132
Fresh000
Picked011
Done101
Total1313134
Error
0b
Counts
134 → 3
Alt Table
StatusErrorProgram
18.5b
(-.f64 (+.f64 (/.f64 (*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (pow.f64 (hypot.f64 a b) 2)) (-.f64 (*.f64 a a) (*.f64 b b))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
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 (+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
Compiler

Compiled 4921 to 2850 computations (42.1% saved)

localize24.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 1 (*.f64 3 a))
0.1b
(*.f64 (*.f64 a a) (+.f64 1 a))
0.1b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
0.6b
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

series13.0ms (0.4%)

Counts
1 → 0
Calls

6 calls:

4.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
b
0
2.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
a
0
2.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
a
-inf
2.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
b
inf
2.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
a
inf

rewrite32.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
528×log1p-expm1-u_binary64
528×expm1-log1p-u_binary64
399×unpow-prod-down_binary64
296×log-prod_binary64
161×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
077
11447
216077
Stop Event
node limit
Counts
1 → 18

simplify9.0ms (0.3%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
18 → 18

prune167.0ms (4.9%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1120112
Fresh011
Picked011
Done011
Total1123115
Error
0b
Counts
115 → 3
Alt Table
StatusErrorProgram
18.5b
(-.f64 (+.f64 (/.f64 (*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (pow.f64 (hypot.f64 a b) 2)) (-.f64 (*.f64 a a) (*.f64 b b))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
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 (+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
Compiler

Compiled 4901 to 3459 computations (29.4% saved)

localize21.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (*.f64 a a) (+.f64 1 a))
0.1b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
0.2b
(*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (pow.f64 (hypot.f64 a b) 2))
24.3b
(/.f64 (*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (pow.f64 (hypot.f64 a b) 2)) (-.f64 (*.f64 a a) (*.f64 b b)))

series65.0ms (1.9%)

Counts
2 → 48
Calls

12 calls:

8.0ms
(/.f64 (*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (pow.f64 (hypot.f64 a b) 2)) (-.f64 (*.f64 a a) (*.f64 b b)))
a
inf
8.0ms
(*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (pow.f64 (hypot.f64 a b) 2))
a
inf
8.0ms
(/.f64 (*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (pow.f64 (hypot.f64 a b) 2)) (-.f64 (*.f64 a a) (*.f64 b b)))
a
0
7.0ms
(/.f64 (*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (pow.f64 (hypot.f64 a b) 2)) (-.f64 (*.f64 a a) (*.f64 b b)))
b
0
7.0ms
(/.f64 (*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (pow.f64 (hypot.f64 a b) 2)) (-.f64 (*.f64 a a) (*.f64 b b)))
a
-inf

rewrite67.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
267×log1p-udef_binary64
160×log1p-expm1-u_binary64
160×expm1-log1p-u_binary64
158×add-sqr-sqrt_binary64
156×add-cbrt-cube_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01550
134726
2470426
Stop Event
node limit
Counts
2 → 76

simplify45.0ms (1.3%)

Algorithm
egg-herbie
Rules
685×fma-def_binary64
449×fma-neg_binary64
355×cancel-sign-sub-inv_binary64
298×difference-of-squares_binary64
196×unswap-sqr_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
029888
184858
2239834
31040834
43968834
Stop Event
node limit
Counts
124 → 98

prune215.0ms (6.3%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1590159
Fresh000
Picked011
Done022
Total1593162
Error
0b
Counts
162 → 3
Alt Table
StatusErrorProgram
18.5b
(-.f64 (+.f64 (/.f64 (*.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (pow.f64 (hypot.f64 a b) 2)) (-.f64 (*.f64 a a) (*.f64 b b))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
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 (+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
Compiler

Compiled 7160 to 4099 computations (42.8% saved)

regimes608.0ms (17.9%)

Accuracy

Total 0.0b remaining (35.1%)

Threshold costs 0.0b (35.1%)

Counts
99 → 1
Compiler

Compiled 16924 to 11814 computations (30.2% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
distribute-lft-neg-in_binary64
distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02555
14755
25655
36055
46355
56455
Stop Event
saturated

end113.0ms (3.3%)

Stop Event
done
Compiler

Compiled 197 to 139 computations (29.4% saved)

Profiling

Loading profile data...