Details

Time bar (total: 2.5s)

analyze108.0ms (4.3%)

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 (41.5%)

Results
983.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 59 to 38 computations (35.6% saved)

simplify44.0ms (1.7%)

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

Useful iterations: 4 (0.0ms)

IterNodesCost
01323
13021
26021
315921
451817
5168717
6359717
7502617

prune4.0ms (0.2%)

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 b (*.f64 b 4) -1))
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
Compiler

Compiled 97 to 64 computations (34% saved)

localize8.0ms (0.3%)

Local error

Found 2 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 b (*.f64 b 4) -1))

series77.0ms (3%)

Counts
2 → 48
Calls

2 calls:

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

rewrite7.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
fma-def_binary64
add-sqr-sqrt_binary64
unpow-prod-down_binary64
add-cube-cbrt_binary64
Counts
2 → 42
Calls

2 calls:

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

simplify62.0ms (2.5%)

Algorithm
egg-herbie
Rules
593×associate-+l+_binary64
307×fma-def_binary64
295×cancel-sign-sub-inv_binary64
264×fma-neg_binary64
253×unswap-sqr_binary64
Counts
90 → 77
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0811576
11941474
25231381
320441379
451691379

prune64.0ms (2.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New76177
Fresh011
Picked011
Done000
Total76379
Error
0b
Counts
79 → 3
Alt Table
StatusErrorProgram
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
18.1b
(+.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 4) 3)) (fma.f64 b (*.f64 b 4) -1))
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
Compiler

Compiled 1519 to 937 computations (38.3% saved)

localize9.0ms (0.3%)

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 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
0.0b
(*.f64 4 (*.f64 b b))
0.3b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

series62.0ms (2.5%)

Counts
4 → 84
Calls

4 calls:

24.0ms
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
22.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
14.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
2.0ms
(*.f64 4 (*.f64 b b))

rewrite28.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64
20×*-un-lft-identity_binary64
17×add-cube-cbrt_binary64
11×add-log-exp_binary64
11×add-exp-log_binary64
Counts
4 → 97
Calls

4 calls:

8.0ms
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
7.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
4.0ms
(*.f64 4 (*.f64 b b))
3.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

simplify131.0ms (5.2%)

Algorithm
egg-herbie
Rules
625×fma-neg_binary64
591×fma-def_binary64
532×associate-*l*_binary64
456×associate-*r*_binary64
273×distribute-rgt-in_binary64
Counts
181 → 162
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01423745
13202999
29292633
339562633
448902633
549242633

prune137.0ms (5.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1620162
Fresh011
Picked011
Done011
Total1623165
Error
0b
Counts
165 → 3
Alt Table
StatusErrorProgram
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
18.1b
(+.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 4) 3)) (fma.f64 b (*.f64 b 4) -1))
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
Compiler

Compiled 4163 to 2185 computations (47.5% saved)

localize10.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

series108.0ms (4.3%)

Counts
3 → 72
Calls

3 calls:

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

rewrite20.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
40×cbrt-prod_binary64
39×unpow-prod-down_binary64
23×fma-def_binary64
21×cube-prod_binary64
21×*-un-lft-identity_binary64
Counts
3 → 104
Calls

3 calls:

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

simplify112.0ms (4.4%)

Algorithm
egg-herbie
Rules
797×distribute-rgt-in_binary64
700×fma-def_binary64
461×fma-neg_binary64
310×*-commutative_binary64
196×sqr-pow_binary64
Counts
176 → 143
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01562879
13722725
212182519
327852452
449222452
551142452

prune149.0ms (5.9%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1730173
Fresh000
Picked011
Done022
Total1733176
Error
0b
Counts
176 → 3
Alt Table
StatusErrorProgram
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
18.1b
(+.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 4) 3)) (fma.f64 b (*.f64 b 4) -1))
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
Compiler

Compiled 3853 to 2593 computations (32.7% saved)

regimes274.0ms (10.8%)

Accuracy

Total 0.0b remaining (50.6%)

Threshold costs 0.0b (50.6%)

Counts
44 → 1
Compiler

Compiled 4329 to 3190 computations (26.3% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11217
21217

end68.0ms (2.7%)

Compiler

Compiled 78 to 55 computations (29.5% saved)

Profiling

Loading profile data...