Details

Time bar (total: 4.4s)

analyze162.0ms (3.7%)

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%53.1%22%7
25%46.8%28.2%8
25%33.6%41.5%9
28.1%18%54%10
31.6%12.1%56.3%11
33.4%5.9%60.8%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 32 to 20 computations (37.5% saved)

sample1.2s (26.2%)

Results
1.1s8256×body128valid
0.0msbody128invalid
Compiler

Compiled 95 to 59 computations (37.9% saved)

simplify31.0ms (0.7%)

Algorithm
egg-herbie
Rules
602×fma-def_binary64
320×+-commutative_binary64
277×sub-neg_binary64
265×associate-*l*_binary64
250×unsub-neg_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01939
15737
219837
369637
4229233
5425133
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 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a))))) 1)
0.0b
(fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (+.f64 (pow.f64 (hypot.f64 a b) 4) -1))
Compiler

Compiled 166 to 105 computations (36.7% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series47.0ms (1.1%)

Counts
4 → 96
Calls

4 calls:

25.0ms
(pow.f64 (hypot.f64 a b) 4)
10.0ms
(-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3))
7.0ms
(fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a))
4.0ms
(*.f64 b (+.f64 a 3))

rewrite62.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
442×fma-def_binary64
243×expm1-udef_binary64
243×log1p-udef_binary64
242×fma-neg_binary64
169×egg-rr
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01348
129548
2380748
Stop Event
node limit
Counts
4 → 169
Calls

4 calls:

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

simplify43.0ms (1%)

Algorithm
egg-herbie
Rules
550×unswap-sqr_binary64
532×fma-def_binary64
400×fma-neg_binary64
395×associate-*l*_binary64
347×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0321279
1841205
22411173
37351173
426521173
Stop Event
node limit
Counts
265 → 202

prune255.0ms (5.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2002202
Fresh011
Picked101
Done000
Total2013204
Error
0.0b
Counts
204 → 3
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 3 a))))) 1)
14.1b
(fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (+.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 4) 3)) -1))
0.0b
(fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) -1))
Compiler

Compiled 6328 to 3751 computations (40.7% saved)

localize18.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

series11.0ms (0.3%)

Counts
1 → 0
Calls

1 calls:

11.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

rewrite28.0ms (0.6%)

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
Calls

1 calls:

27.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
18 → 18

prune270.0ms (6.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1960196
Fresh022
Picked011
Done000
Total1963199
Error
0.0b
Counts
199 → 3
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 3 a))))) 1)
14.1b
(fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (+.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 4) 3)) -1))
0.0b
(fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) -1))
Compiler

Compiled 8418 to 5720 computations (32.1% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.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 3 a)))))
0.1b
(*.f64 (*.f64 a a) (-.f64 1 a))
0.2b
(*.f64 (*.f64 b b) (+.f64 3 a))
0.4b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

series43.0ms (1%)

Counts
4 → 84
Calls

4 calls:

23.0ms
(+.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 3 a)))))
10.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
7.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
2.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))

rewrite39.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
200×log1p-expm1-u_binary64
200×expm1-log1p-u_binary64
198×add-sqr-sqrt_binary64
196×add-cbrt-cube_binary64
189×add-log-exp_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01867
142063
Stop Event
node limit
Counts
4 → 85
Calls

4 calls:

37.0ms
(+.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 3 a)))))
37.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
37.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
37.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

simplify43.0ms (1%)

Algorithm
egg-herbie
Rules
709×associate-*l*_binary64
571×fma-def_binary64
392×cancel-sign-sub-inv_binary64
359×associate-+l+_binary64
312×distribute-lft-out_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0521546
11711502
25851319
327121305
Stop Event
node limit
Counts
169 → 128

prune166.0ms (3.8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1271128
Fresh011
Picked011
Done011
Total1274131
Error
0b
Counts
131 → 4
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 3 a))))) 1)
11.1b
(-.f64 (*.f64 (pow.f64 a 3) (+.f64 a -4)) 1)
14.1b
(fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (+.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 4) 3)) -1))
0.0b
(fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) -1))
Compiler

Compiled 4582 to 2811 computations (38.7% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series6.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(*.f64 (pow.f64 a 3) (+.f64 a -4))
3.0ms
(-.f64 (*.f64 (pow.f64 a 3) (+.f64 a -4)) 1)

rewrite46.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
518×prod-diff_binary64
397×log-prod_binary64
293×fma-def_binary64
229×fma-neg_binary64
163×expm1-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0921
120621
2258321
Stop Event
node limit
Counts
2 → 119
Calls

2 calls:

44.0ms
(-.f64 (*.f64 (pow.f64 a 3) (+.f64 a -4)) 1)
44.0ms
(*.f64 (pow.f64 a 3) (+.f64 a -4))

simplify26.0ms (0.6%)

Algorithm
egg-herbie
Rules
877×fma-neg_binary64
609×cancel-sign-sub-inv_binary64
507×associate-*l*_binary64
330×unswap-sqr_binary64
319×fma-def_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
015261
142261
2106237
3333220
4935208
53004208
Stop Event
node limit
Counts
143 → 128

prune137.0ms (3.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1280128
Fresh011
Picked011
Done022
Total1284132
Error
0b
Counts
132 → 4
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 3 a))))) 1)
11.1b
(-.f64 (*.f64 (pow.f64 a 3) (+.f64 a -4)) 1)
14.1b
(fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (+.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 4) 3)) -1))
0.0b
(fma.f64 4 (-.f64 (fma.f64 b (*.f64 b (+.f64 a 3)) (*.f64 a a)) (pow.f64 a 3)) (+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) -1))
Compiler

Compiled 2014 to 1549 computations (23.1% saved)

regimes1.7s (37.8%)

Accuracy

Total 0.0b remaining (62.8%)

Threshold costs 0.0b (62.8%)

Counts
285 → 1
Compiler

Compiled 37396 to 26946 computations (27.9% saved)

simplify3.0ms (0.1%)

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
02248
13148
23548
33748
43848
Stop Event
saturated

end109.0ms (2.5%)

Compiler

Compiled 177 to 125 computations (29.4% saved)

Profiling

Loading profile data...