Details

Time bar (total: 3.5s)

analyze107.0ms (3.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%50%25.1%6
25%31.2%43.8%7
25%21.9%53.2%8
25%14%61%9
28.1%10.9%61%10
31.6%7.4%61%11
33.4%5.7%61%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 20 to 13 computations (35% saved)

sample959.0ms (27.5%)

Results
947.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 40 to 26 computations (35% saved)

preprocess31.0ms (0.9%)

Algorithm
egg-herbie
Rules
931×fma-def_binary64
495×fma-neg_binary64
420×associate-+l+_binary64
334×associate-+r+_binary64
241×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01846
14842
29942
328842
4113634
5373434
022
Stop Event
saturated
node limit
Compiler

Compiled 19 to 12 computations (36.8% saved)

simplify22.0ms (0.6%)

Algorithm
egg-herbie
Rules
612×fma-def_binary64
603×associate-*l*_binary64
311×fma-neg_binary64
233×associate-+l+_binary64
216×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01323
13021
26421
319321
477917
5263417
Stop Event
node limit
Counts
1 → 2

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

Compiled 97 to 64 computations (34% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series69.0ms (2%)

Counts
3 → 72
Calls

18 calls:

8.0ms
(pow.f64 (hypot.f64 a b) 4)
a
0
6.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
a
0
6.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
b
inf
5.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
a
-inf
5.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
a
inf

rewrite54.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
626×prod-diff_binary64
243×fma-def_binary64
181×expm1-udef_binary64
181×log1p-udef_binary64
159×log-pow_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01028
121228
2260328
Stop Event
node limit
Counts
3 → 93

simplify48.0ms (1.4%)

Algorithm
egg-herbie
Rules
585×fma-neg_binary64
562×cancel-sign-sub-inv_binary64
306×fma-def_binary64
224×distribute-neg-frac_binary64
184×times-frac_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0691453
12191409
26911303
330041303
Stop Event
node limit
Counts
165 → 143

prune159.0ms (4.6%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1412143
Fresh011
Picked101
Done000
Total1423145
Error
0b
Counts
145 → 3
Alt Table
StatusErrorProgram
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
0.0b
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1)))
0.1b
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 2928 to 1918 computations (34.5% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (pow.f64 a 4) (fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1))
0.0b
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1)))
0.0b
(fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1)
0.1b
(*.f64 b (fma.f64 2 (*.f64 a a) 4))

series71.0ms (2%)

Counts
4 → 96
Calls

24 calls:

7.0ms
(+.f64 (pow.f64 a 4) (fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1))
b
-inf
5.0ms
(*.f64 b (fma.f64 2 (*.f64 a a) 4))
b
-inf
4.0ms
(+.f64 (pow.f64 a 4) (fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1))
b
inf
4.0ms
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1)))
a
inf
4.0ms
(fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1)
b
-inf

rewrite85.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
523×fma-def_binary64
273×fma-neg_binary64
250×expm1-udef_binary64
250×log1p-udef_binary64
163×egg-rr
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01474
130374
2387474
Stop Event
node limit
Counts
4 → 163

simplify58.0ms (1.7%)

Algorithm
egg-herbie
Rules
769×fma-neg_binary64
400×unswap-sqr_binary64
399×associate-*l*_binary64
342×distribute-rgt-neg-in_binary64
316×distribute-lft-neg-in_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0351854
1891576
22321474
38401474
423591474
Stop Event
node limit
Counts
259 → 194

prune197.0ms (5.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1940194
Fresh022
Picked011
Done000
Total1943197
Error
0b
Counts
197 → 3
Alt Table
StatusErrorProgram
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
0.0b
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1)))
0.1b
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 5302 to 3480 computations (34.4% saved)

localize12.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 2 (*.f64 a a))
0.0b
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
0.2b
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))

series38.0ms (1.1%)

Counts
3 → 60
Calls

15 calls:

6.0ms
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
a
0
6.0ms
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))
b
0
3.0ms
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
b
-inf
3.0ms
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
b
0
3.0ms
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
b
inf

rewrite71.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
943×prod-diff_binary64
144×add-sqr-sqrt_binary64
140×log1p-expm1-u_binary64
140×expm1-log1p-u_binary64
139×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01559
130959
2367859
Stop Event
node limit
Counts
3 → 71

simplify45.0ms (1.3%)

Algorithm
egg-herbie
Rules
965×fma-def_binary64
744×fma-neg_binary64
348×unswap-sqr_binary64
347×associate-*l*_binary64
319×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0271067
1731023
2213933
3837907
43016907
Stop Event
node limit
Counts
131 → 93

prune92.0ms (2.6%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New93093
Fresh011
Picked011
Done011
Total93396
Error
0b
Counts
96 → 3
Alt Table
StatusErrorProgram
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
0.0b
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1)))
0.1b
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 2869 to 1642 computations (42.8% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series40.0ms (1.1%)

Counts
4 → 84
Calls

21 calls:

5.0ms
(+.f64 (*.f64 a a) (*.f64 b b))
b
inf
3.0ms
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
a
0
3.0ms
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
a
inf
3.0ms
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
a
-inf
3.0ms
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
b
0

rewrite85.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
647×fma-def_binary64
362×fma-neg_binary64
226×log1p-udef_binary64
225×expm1-udef_binary64
177×egg-rr
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01349
128943
2378043
Stop Event
node limit
Counts
4 → 177

simplify53.0ms (1.5%)

Algorithm
egg-herbie
Rules
939×fma-def_binary64
730×fma-neg_binary64
348×unswap-sqr_binary64
326×associate-*l*_binary64
306×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0271271
1741191
22171101
38211075
429881075
Stop Event
node limit
Counts
261 → 204

prune189.0ms (5.4%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2040204
Fresh000
Picked011
Done022
Total2043207
Error
0b
Counts
207 → 3
Alt Table
StatusErrorProgram
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
0.0b
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1)))
0.1b
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 4499 to 2813 computations (37.5% saved)

regimes866.0ms (24.8%)

Accuracy

Total 0.0b remaining (62.7%)

Threshold costs 0.0b (62.7%)

Counts
157 → 1
Compiler

Compiled 16353 to 12133 computations (25.8% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01427
11727
Stop Event
saturated

end107.0ms (3.1%)

Stop Event
done
Compiler

Compiled 106 to 72 computations (32.1% saved)

Profiling

Loading profile data...