Details

Time bar (total: 2.4s)

analyze99.0ms (4.1%)

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.2s (48.1%)

Results
1.1s8256×body128valid
1.0msbody128invalid
Compiler

Compiled 59 to 38 computations (35.6% saved)

simplify40.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.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.3b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 97 to 64 computations (34% saved)

localize7.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 a b)
0.0b
(pow.f64 (hypot.f64 a b) 4)

series47.0ms (1.9%)

Counts
2 → 48
Calls

2 calls:

35.0ms
(pow.f64 (hypot.f64 a b) 4)
12.0ms
(hypot.f64 a b)

rewrite3.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-exp-log_binary64
pow1_binary64
Counts
2 → 30
Calls

2 calls:

1.0ms
(pow.f64 (hypot.f64 a b) 4)
0.0ms
(hypot.f64 a b)

simplify67.0ms (2.7%)

Algorithm
egg-herbie
Rules
586×fma-neg_binary64
526×cancel-sign-sub-inv_binary64
313×unswap-sqr_binary64
224×distribute-neg-frac_binary64
212×distribute-rgt-neg-in_binary64
Counts
78 → 77
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0941171
12361129
26451086
325731086
447821086
550251086

prune116.0ms (4.7%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New75277
Fresh101
Picked101
Done000
Total77279
Error
0b
Counts
79 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (fma.f64 b (*.f64 b 4) -1))
0.1b
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 1626 to 1053 computations (35.2% saved)

localize15.0ms (0.6%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
0.0b
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
4.5b
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

series48.0ms (2%)

Counts
3 → 6
Calls

3 calls:

20.0ms
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
17.0ms
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
11.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

rewrite25.0ms (1%)

Algorithm
rewrite-expression-head
Rules
38×add-exp-log_binary64
28×prod-exp_binary64
24×add-sqr-sqrt_binary64
16×unswap-sqr_binary64
14×unpow-prod-down_binary64
Counts
3 → 94
Calls

3 calls:

8.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
7.0ms
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
5.0ms
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))

simplify78.0ms (3.2%)

Algorithm
egg-herbie
Rules
606×fma-neg_binary64
319×*-commutative_binary64
239×fma-def_binary64
234×distribute-rgt-neg-in_binary64
220×associate-+l+_binary64
Counts
100 → 128
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01291352
12651241
28351233
320831153
445551143
549501143

prune132.0ms (5.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1280128
Fresh011
Picked011
Done000
Total1282130
Error
0b
Counts
130 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (fma.f64 b (*.f64 b 4) -1))
0.1b
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 3986 to 2796 computations (29.9% saved)

localize14.0ms (0.6%)

Local error

Found 2 expressions with local error:

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

series19.0ms (0.8%)

Counts
2 → 36
Calls

2 calls:

17.0ms
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))
2.0ms
(*.f64 2 (*.f64 a a))

rewrite6.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
add-sqr-sqrt_binary64
associate-*l*_binary64
Counts
2 → 31
Calls

2 calls:

4.0ms
(*.f64 2 (*.f64 a a))
0.0ms
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))

simplify73.0ms (3%)

Algorithm
egg-herbie
Rules
396×distribute-lft-in_binary64
393×distribute-rgt-in_binary64
377×unswap-sqr_binary64
354×exp-prod_binary64
340×associate-/l*_binary64
Counts
67 → 52
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
060989
1115898
2283889
3857889
42289879
53364879
65232879

prune48.0ms (2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New52052
Fresh000
Picked011
Done011
Total52254
Error
0b
Counts
54 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (fma.f64 b (*.f64 b 4) -1))
0.1b
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 1442 to 800 computations (44.5% saved)

regimes351.0ms (14.4%)

Accuracy

Total 0.0b remaining (24.3%)

Threshold costs 0.0b (24.3%)

Counts
64 → 1
Compiler

Compiled 7603 to 5424 computations (28.7% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01633
12033
22033

end75.0ms (3.1%)

Compiler

Compiled 100 to 69 computations (31% saved)

Profiling

Loading profile data...