Details

Time bar (total: 3.2s)

analyze148.0ms (4.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%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)

sample1.1s (34.1%)

Results
1.0s8256×body128valid
1.0msbody128invalid
Compiler

Compiled 59 to 38 computations (35.6% saved)

simplify40.0ms (1.2%)

Algorithm
egg-herbie
Rules
770×unswap-sqr_binary64
631×associate-*l*_binary64
623×fma-def_binary64
311×fma-neg_binary64
283×sub-neg_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01323
13021
26021
315921
451817
5168717
6359717
7502617
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)

series71.0ms (2.2%)

Counts
3 → 72
Calls

3 calls:

33.0ms
(pow.f64 (hypot.f64 a b) 4)
29.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
9.0ms
(hypot.f64 a b)

rewrite60.0ms (1.9%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01028
121228
2241728
3531928
Stop Event
node limit
Counts
3 → 99
Calls

3 calls:

58.0ms
(hypot.f64 a b)
58.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
58.0ms
(pow.f64 (hypot.f64 a b) 4)

simplify73.0ms (2.3%)

Algorithm
egg-herbie
Rules
777×fma-neg_binary64
562×cancel-sign-sub-inv_binary64
307×fma-def_binary64
297×neg-mul-1_binary64
289×neg-sub0_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0691453
12171409
26541303
326461303
442981303
550651303
Stop Event
node limit
Counts
171 → 148

prune124.0ms (3.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1462148
Fresh101
Picked011
Done000
Total1473150
Error
0b
Counts
150 → 3
Alt Table
StatusErrorProgram
0.2b
(fma.f64 (pow.f64 (hypot.f64 a b) 2) (pow.f64 (hypot.f64 a b) 2) (fma.f64 b (*.f64 b 4) -1))
0.5b
(pow.f64 (cbrt.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))) 3)
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 3015 to 1957 computations (35.1% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series85.0ms (2.7%)

Counts
2 → 48
Calls

2 calls:

48.0ms
(fma.f64 (pow.f64 (hypot.f64 a b) 2) (pow.f64 (hypot.f64 a b) 2) (fma.f64 b (*.f64 b 4) -1))
36.0ms
(pow.f64 (hypot.f64 a b) 2)

rewrite42.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
832×log1p-expm1-u_binary64
832×expm1-log1p-u_binary64
100×add-sqr-sqrt_binary64
100×prod-diff_binary64
95×add-cbrt-cube_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01131
121724
2216624
3523124
Stop Event
node limit
Counts
2 → 47
Calls

2 calls:

41.0ms
(pow.f64 (hypot.f64 a b) 2)
41.0ms
(fma.f64 (pow.f64 (hypot.f64 a b) 2) (pow.f64 (hypot.f64 a b) 2) (fma.f64 b (*.f64 b 4) -1))

simplify71.0ms (2.2%)

Algorithm
egg-herbie
Rules
943×fma-def_binary64
720×fma-neg_binary64
348×unswap-sqr_binary64
337×sub-neg_binary64
324×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
025779
168705
2197639
3609613
41831613
54647613
64878613
75175613
Stop Event
node limit
Counts
95 → 68

prune163.0ms (5.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2010201
Fresh011
Picked011
Done011
Total2013204
Error
0b
Counts
204 → 3
Alt Table
StatusErrorProgram
0.2b
(fma.f64 (pow.f64 (hypot.f64 a b) 2) (pow.f64 (hypot.f64 a b) 2) (fma.f64 b (*.f64 b 4) -1))
0.5b
(pow.f64 (cbrt.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))) 3)
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 4642 to 2680 computations (42.3% saved)

localize11.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
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)
0.2b
(cbrt.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)))
0.3b
(pow.f64 (cbrt.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))) 3)

series355.0ms (11.1%)

Counts
2 → 48
Calls

2 calls:

289.0ms
(pow.f64 (cbrt.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))) 3)
66.0ms
(cbrt.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)))

rewrite96.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
626×prod-diff_binary64
482×fma-udef_binary64
273×fma-def_binary64
207×fma-neg_binary64
207×expm1-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01336
125836
2280136
3481536
4472736
5489136
Stop Event
node limit
Counts
2 → 83
Calls

2 calls:

94.0ms
(cbrt.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)))
94.0ms
(pow.f64 (cbrt.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))) 3)

simplify74.0ms (2.3%)

Algorithm
egg-herbie
Rules
489×fma-def_binary64
432×associate-+r+_binary64
301×associate-*r*_binary64
281×associate-+l+_binary64
199×associate-*l*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
03734076
112383843
252523843
Stop Event
node limit
Counts
131 → 138

prune310.0ms (9.7%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2340234
Fresh000
Picked011
Done022
Total2343237
Error
0b
Counts
237 → 3
Alt Table
StatusErrorProgram
0.2b
(fma.f64 (pow.f64 (hypot.f64 a b) 2) (pow.f64 (hypot.f64 a b) 2) (fma.f64 b (*.f64 b 4) -1))
0.5b
(pow.f64 (cbrt.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))) 3)
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 8692 to 6355 computations (26.9% saved)

regimes290.0ms (9.1%)

Accuracy

Total -0.0b remaining (-10%)

Threshold costs -0.0b (-10%)

Counts
34 → 1
Compiler

Compiled 3386 to 2433 computations (28.1% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01427
11627
21627
Stop Event
saturated

end74.0ms (2.3%)

Compiler

Compiled 92 to 65 computations (29.3% saved)

Profiling

Loading profile data...