Details

Time bar (total: 3.5s)

analyze182.0ms (5.2%)

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.4s (39.4%)

Results
1.3s8256×body128valid
0.0msbody128invalid
Compiler

Compiled 95 to 59 computations (37.9% saved)

simplify58.0ms (1.6%)

Algorithm
egg-herbie
Rules
620×fma-def_binary64
556×cancel-sign-sub-inv_binary64
552×unswap-sqr_binary64
357×unsub-neg_binary64
344×+-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01939
15737
216837
349237
4160433
5289133
6430933
7521433

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 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -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 3 a))))) 1)
Compiler

Compiled 166 to 104 computations (37.3% saved)

localize15.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

series103.0ms (2.9%)

Counts
4 → 96
Calls

4 calls:

46.0ms
(pow.f64 (hypot.f64 a b) 4)
36.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
11.0ms
(fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3)))
9.0ms
(*.f64 (*.f64 b b) (+.f64 a 3))

rewrite18.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity_binary64
10×add-sqr-sqrt_binary64
10×add-exp-log_binary64
10×pow1_binary64
add-cube-cbrt_binary64
Counts
4 → 78
Calls

4 calls:

9.0ms
(*.f64 (*.f64 b b) (+.f64 a 3))
4.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
1.0ms
(pow.f64 (hypot.f64 a b) 4)
0.0ms
(fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3)))

simplify84.0ms (2.4%)

Algorithm
egg-herbie
Rules
574×associate-+l+_binary64
469×distribute-rgt-in_binary64
453×distribute-lft-in_binary64
338×associate--l+_binary64
219×cancel-sign-sub-inv_binary64
Counts
174 → 162
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01743413
14643143
215563045
350743045

prune181.0ms (5.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1602162
Fresh011
Picked011
Done000
Total1604164
Error
0b
Counts
164 → 4
Alt Table
StatusErrorProgram
12.1b
(+.f64 -1 (fma.f64 (*.f64 b b) 12 (pow.f64 b 4)))
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
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
18.1b
(+.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 4) 3)) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
Compiler

Compiled 4937 to 2886 computations (41.5% saved)

localize16.0ms (0.4%)

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

series56.0ms (1.6%)

Counts
4 → 84
Calls

4 calls:

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

rewrite32.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
29×*-un-lft-identity_binary64
29×add-sqr-sqrt_binary64
24×add-cube-cbrt_binary64
18×prod-diff_binary64
15×distribute-lft-in_binary64
Counts
4 → 121
Calls

4 calls:

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

simplify127.0ms (3.6%)

Algorithm
egg-herbie
Rules
511×associate-+l+_binary64
383×associate-*l*_binary64
299×associate-*r*_binary64
268×cancel-sign-sub-inv_binary64
211×unswap-sqr_binary64
Counts
205 → 209
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02413743
16003419
223883054
348823054

prune244.0ms (6.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2090209
Fresh022
Picked011
Done011
Total2094213
Error
0b
Counts
213 → 4
Alt Table
StatusErrorProgram
12.1b
(+.f64 -1 (fma.f64 (*.f64 b b) 12 (pow.f64 b 4)))
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
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
18.1b
(+.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 4) 3)) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
Compiler

Compiled 7747 to 3979 computations (48.6% saved)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(fma.f64 (*.f64 b b) 12 (pow.f64 b 4))

series4.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

4.0ms
(fma.f64 (*.f64 b b) 12 (pow.f64 b 4))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

0.0ms
(fma.f64 (*.f64 b b) 12 (pow.f64 b 4))

simplify59.0ms (1.7%)

Algorithm
egg-herbie
Rules
704×distribute-rgt-in_binary64
639×distribute-rgt-out_binary64
576×distribute-lft-out_binary64
334×associate-*l*_binary64
287×associate-*r*_binary64
Counts
22 → 23
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
021277
132254
273254
3239254
41207254
54884254
64984254

prune29.0ms (0.8%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New23023
Fresh011
Picked011
Done022
Total23427
Error
0b
Counts
27 → 4
Alt Table
StatusErrorProgram
12.1b
(+.f64 -1 (fma.f64 (*.f64 b b) 12 (pow.f64 b 4)))
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
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
18.1b
(+.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 4) 3)) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
Compiler

Compiled 454 to 301 computations (33.7% saved)

localize17.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3)))
0.2b
(pow.f64 (pow.f64 (hypot.f64 a b) 4) 3)
0.6b
(*.f64 (*.f64 b b) (+.f64 a 3))
27.9b
(cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 4) 3))

series71.0ms (2%)

Counts
2 → 48
Calls

2 calls:

36.0ms
(cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 4) 3))
35.0ms
(pow.f64 (pow.f64 (hypot.f64 a b) 4) 3)

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
26×unpow-prod-down_binary64
20×cbrt-prod_binary64
14×cube-prod_binary64
12×*-un-lft-identity_binary64
12×add-sqr-sqrt_binary64
Counts
2 → 66
Calls

2 calls:

3.0ms
(cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 4) 3))
2.0ms
(pow.f64 (pow.f64 (hypot.f64 a b) 4) 3)

simplify152.0ms (4.3%)

Algorithm
egg-herbie
Rules
597×fma-def_binary64
554×unswap-sqr_binary64
435×log-prod_binary64
406×sqr-pow_binary64
400×exp-prod_binary64
Counts
114 → 91
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01191921
12671844
28011704
316001642
427171642
546421642
649421642
748451642

prune195.0ms (5.5%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1640164
Fresh000
Picked011
Done033
Total1644168
Error
0b
Counts
168 → 4
Alt Table
StatusErrorProgram
12.1b
(+.f64 -1 (fma.f64 (*.f64 b b) 12 (pow.f64 b 4)))
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
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
18.1b
(+.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 4) 3)) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
Compiler

Compiled 5324 to 3235 computations (39.2% saved)

regimes370.0ms (10.5%)

Accuracy

Total 0.0b remaining (54.3%)

Threshold costs 0.0b (54.3%)

Counts
68 → 1
Compiler

Compiled 7712 to 5509 computations (28.6% 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
01733
12433
22733
32933
43033
52933

end104.0ms (3%)

Compiler

Compiled 146 to 99 computations (32.2% saved)

Profiling

Loading profile data...