Details

Time bar (total: 3.6s)

analyze159.0ms (4.4%)

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)

sample97.0ms (2.7%)

Algorithm
intervals
Results
20.0ms256×body128valid
Compiler

Compiled 65 to 41 computations (36.9% saved)

simplify59.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

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
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))
Compiler

Compiled 104 to 66 computations (36.5% saved)

localize13.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 a b)
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.8b
(*.f64 (*.f64 b b) (+.f64 a 3))

series67.0ms (1.8%)

Counts
4 → 96
Calls

4 calls:

35.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))
12.0ms
(hypot.f64 a b)
12.0ms
(fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3)))
8.0ms
(*.f64 (*.f64 b b) (+.f64 a 3))

rewrite15.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
add-sqr-sqrt_binary64
Counts
4 → 68
Calls

4 calls:

6.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))
0.0ms
(fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3)))
0.0ms
(hypot.f64 a b)

simplify79.0ms (2.2%)

Algorithm
egg-herbie
Rules
510×times-frac_binary64
487×distribute-rgt-in_binary64
460×distribute-lft-in_binary64
304×cancel-sign-sub-inv_binary64
229×fma-neg_binary64
Counts
164 → 172
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01983345
15673091
219633016
352713016

prune180.0ms (4.9%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1693172
Fresh000
Picked011
Done000
Total1694173
Error
0.0b
Counts
173 → 4
Alt Table
StatusErrorProgram
0.5b
(fma.f64 (*.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4))) (cbrt.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))
2.1b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) -1))
12.2b
(fma.f64 (*.f64 a a) 4 (+.f64 (*.f64 (pow.f64 a 3) (-.f64 a 4)) -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))
Compiler

Compiled 5415 to 3215 computations (40.6% saved)

localize18.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

series204.0ms (5.6%)

Counts
3 → 72
Calls

3 calls:

94.0ms
(fma.f64 (*.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4))) (cbrt.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))
59.0ms
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)))
51.0ms
(cbrt.f64 (pow.f64 (hypot.f64 a b) 4))

rewrite20.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
59×cbrt-prod_binary64
41×add-sqr-sqrt_binary64
23×unpow-prod-down_binary64
17×*-un-lft-identity_binary64
17×add-cube-cbrt_binary64
Counts
3 → 93
Calls

3 calls:

9.0ms
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)))
1.0ms
(cbrt.f64 (pow.f64 (hypot.f64 a b) 4))
0.0ms
(fma.f64 (*.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4))) (cbrt.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))

simplify195.0ms (5.4%)

Algorithm
egg-herbie
Rules
602×fma-neg_binary64
469×associate--l+_binary64
411×associate-+r+_binary64
370×*-commutative_binary64
347×cancel-sign-sub-inv_binary64
Counts
165 → 189
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02404987
16084674
218564335
338894280
448214216
549954216
649174216

prune433.0ms (11.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New3091310
Fresh112
Picked011
Done011
Total3104314
Error
0.0b
Counts
314 → 4
Alt Table
StatusErrorProgram
0.5b
(fma.f64 (*.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4))) (cbrt.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))
2.1b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) -1))
12.2b
(fma.f64 4 (*.f64 a a) (fma.f64 (pow.f64 a 3) (+.f64 a -4) -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))
Compiler

Compiled 13958 to 8247 computations (40.9% saved)

localize13.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

series81.0ms (2.2%)

Counts
3 → 72
Calls

3 calls:

37.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) -1))
36.0ms
(pow.f64 (hypot.f64 a b) 4)
8.0ms
(*.f64 (+.f64 3 a) (*.f64 b b))

rewrite15.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-exp-log_binary64
pow1_binary64
add-cube-cbrt_binary64
Counts
3 → 66
Calls

3 calls:

6.0ms
(*.f64 (+.f64 3 a) (*.f64 b b))
4.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) -1))
2.0ms
(pow.f64 (hypot.f64 a b) 4)

simplify95.0ms (2.6%)

Algorithm
egg-herbie
Rules
683×fma-def_binary64
551×associate-*l*_binary64
453×associate-*r*_binary64
407×associate-+l+_binary64
354×fma-neg_binary64
Counts
138 → 126
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01422575
13672404
211052216
346372212
449762212

prune181.0ms (5%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1680168
Fresh011
Picked011
Done022
Total1684172
Error
0.0b
Counts
172 → 4
Alt Table
StatusErrorProgram
0.5b
(fma.f64 (*.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4))) (cbrt.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))
2.1b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) -1))
12.2b
(fma.f64 4 (*.f64 a a) (fma.f64 (pow.f64 a 3) (+.f64 a -4) -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))
Compiler

Compiled 4571 to 2712 computations (40.7% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series6.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

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

rewrite7.0ms (0.2%)

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
2 → 20
Calls

2 calls:

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

simplify65.0ms (1.8%)

Algorithm
egg-herbie
Rules
778×fma-neg_binary64
720×fma-def_binary64
515×exp-prod_binary64
412×cancel-sign-sub-inv_binary64
254×unswap-sqr_binary64
Counts
44 → 45
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
046708
1100599
2244593
3979550
42460550
54802550
65055550

prune53.0ms (1.4%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New44145
Fresh000
Picked011
Done033
Total44549
Error
0b
Counts
49 → 5
Alt Table
StatusErrorProgram
0.5b
(fma.f64 (*.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4))) (cbrt.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))
12.2b
(fma.f64 a (*.f64 a (fma.f64 a (+.f64 a -4) 4)) -1)
2.1b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 a a (*.f64 (+.f64 3 a) (*.f64 b b))) -1))
12.2b
(fma.f64 4 (*.f64 a a) (fma.f64 (pow.f64 a 3) (+.f64 a -4) -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))
Compiler

Compiled 871 to 591 computations (32.1% saved)

regimes551.0ms (15.1%)

Accuracy

Total 0.0b remaining (47.5%)

Threshold costs 0.0b (47.5%)

Counts
100 → 1
Compiler

Compiled 12354 to 8626 computations (30.2% 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

end2.0ms (0.1%)

Compiler

Compiled 25 to 17 computations (32% saved)

sample1.0s (28.1%)

Algorithm
intervals
Results
663.0ms8000×body128valid
0.0msbody128invalid
Compiler

Compiled 172 to 115 computations (33.1% saved)

Profiling

Loading profile data...