Details

Time bar (total: 3.0s)

analyze107.0ms (3.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 (35.9%)

Results
1.0s8256×body128valid
0.0msbody128invalid
Compiler

Compiled 59 to 38 computations (35.6% saved)

simplify47.0ms (1.6%)

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

series89.0ms (3%)

Counts
3 → 72
Calls

3 calls:

42.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
35.0ms
(pow.f64 (hypot.f64 a b) 4)
12.0ms
(hypot.f64 a b)

rewrite8.0ms (0.3%)

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

3 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)
0.0ms
(hypot.f64 a b)

simplify102.0ms (3.4%)

Algorithm
egg-herbie
Rules
785×fma-neg_binary64
421×fma-def_binary64
280×associate-*r*_binary64
276×associate-*l*_binary64
184×times-frac_binary64
Counts
124 → 113
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01302123
13432010
29791901
340701899
449221899
549441899

prune108.0ms (3.6%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1112113
Fresh101
Picked101
Done000
Total1132115
Error
0b
Counts
115 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (pow.f64 a 4) (+.f64 (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4)) -1))
16.6b
(cbrt.f64 (pow.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) 3))
Compiler

Compiled 2335 to 1499 computations (35.8% saved)

localize11.0ms (0.4%)

Local error

Found 1 expressions with local error:

NewErrorProgram
1.2b
(fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4))

series30.0ms (1%)

Counts
1 → 24
Calls

1 calls:

30.0ms
(fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (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) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4))

simplify55.0ms (1.8%)

Algorithm
egg-herbie
Rules
836×associate-*l*_binary64
694×associate-*r*_binary64
472×unswap-sqr_binary64
415×exp-prod_binary64
398×distribute-rgt-in_binary64
Counts
34 → 27
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
030745
154600
2139600
3542600
43349600
55042600

prune28.0ms (1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New27027
Fresh011
Picked011
Done000
Total27229
Error
0b
Counts
29 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (pow.f64 a 4) (+.f64 (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4)) -1))
16.6b
(cbrt.f64 (pow.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) 3))
Compiler

Compiled 692 to 437 computations (36.8% 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.1b
(pow.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) 3)
15.5b
(cbrt.f64 (pow.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) 3))

series111.0ms (3.7%)

Counts
2 → 48
Calls

2 calls:

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

rewrite14.0ms (0.5%)

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

2 calls:

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

simplify117.0ms (3.9%)

Algorithm
egg-herbie
Rules
425×fma-def_binary64
419×associate-+r+_binary64
369×unswap-sqr_binary64
271×associate-+l+_binary64
248×+-commutative_binary64
Counts
104 → 115
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02603925
18403624
233943606
347153606
449503606

prune182.0ms (6.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1850185
Fresh000
Picked011
Done011
Total1852187
Error
0b
Counts
187 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (pow.f64 a 4) (+.f64 (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4)) -1))
16.6b
(cbrt.f64 (pow.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) 3))
Compiler

Compiled 5619 to 3901 computations (30.6% saved)

regimes816.0ms (27.2%)

Accuracy

Total 0.0b remaining (17%)

Threshold costs 0.0b (17%)

Counts
119 → 1
Compiler

Compiled 12553 to 9422 computations (24.9% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01427
11627
21627

end69.0ms (2.3%)

Compiler

Compiled 80 to 58 computations (27.5% saved)

Profiling

Loading profile data...