Details

Time bar (total: 2.1s)

analyze1.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
99.9%0%0.1%1
Compiler

Compiled 20 to 13 computations (35% saved)

sample1.0s (47.6%)

Results
911.0ms8256×body128valid
Compiler

Compiled 59 to 38 computations (35.6% saved)

simplify93.0ms (4.3%)

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

prune7.0ms (0.3%)

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.1b
(-.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)

localize14.0ms (0.6%)

Local error

Found 2 expressions with local error:

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

series160.0ms (7.5%)

Counts
2 → 48
Calls

2 calls:

137.0ms
(pow.f64 (hypot.f64 a b) 4)
23.0ms
(hypot.f64 a b)

rewrite6.0ms (0.3%)

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:

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

simplify102.0ms (4.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

prune78.0ms (3.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

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

Compiled 1618 to 1045 computations (35.4% saved)

localize15.0ms (0.7%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

series14.0ms (0.7%)

Counts
1 → 24
Calls

1 calls:

14.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

rewrite6.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
pow-unpow_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
unpow-prod-down_binary64
add-cube-cbrt_binary64
Counts
1 → 20
Calls

1 calls:

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

simplify98.0ms (4.6%)

Algorithm
egg-herbie
Rules
803×fma-def_binary64
549×exp-prod_binary64
548×unswap-sqr_binary64
351×sqr-pow_binary64
268×log-prod_binary64
Counts
44 → 39
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
045661
189625
2199577
3652577
41992574
53753568
64529568
74859568
84985568

prune39.0ms (1.8%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New39039
Fresh011
Picked011
Done011
Total39342
Error
0b
Counts
42 → 3
Alt Table
StatusErrorProgram
0.1b
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (fma.f64 b (*.f64 b 4) -1))
17.5b
(+.f64 (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)) (fma.f64 b (*.f64 b 4) -1))
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 858 to 473 computations (44.9% saved)

localize21.0ms (1%)

Local error

Found 2 expressions with local error:

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

series34.0ms (1.6%)

Counts
2 → 48
Calls

2 calls:

21.0ms
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4))
13.0ms
(*.f64 (*.f64 a a) (*.f64 b b))

rewrite15.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
30×pow1_binary64
14×add-cbrt-cube_binary64
14×add-exp-log_binary64
14×pow-prod-down_binary64
cbrt-unprod_binary64
Counts
2 → 41
Calls

2 calls:

10.0ms
(*.f64 (*.f64 a a) (*.f64 b b))
1.0ms
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4))

simplify63.0ms (2.9%)

Algorithm
egg-herbie
Rules
800×distribute-rgt-in_binary64
798×distribute-lft-in_binary64
578×associate-*l*_binary64
434×associate-*r*_binary64
227×sqr-pow_binary64
Counts
89 → 45
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0591206
11161091
23821066
313271051
424091051
554961051

prune68.0ms (3.2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New45045
Fresh000
Picked011
Done022
Total45348
Error
0b
Counts
48 → 3
Alt Table
StatusErrorProgram
0.1b
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (fma.f64 b (*.f64 b 4) -1))
17.5b
(+.f64 (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)) (fma.f64 b (*.f64 b 4) -1))
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 1122 to 580 computations (48.3% saved)

regimes142.0ms (6.6%)

Accuracy

Total 0.0b remaining (45.7%)

Threshold costs 0.0b (45.7%)

Counts
10 → 1
Compiler

Compiled 1175 to 829 computations (29.4% saved)

simplify5.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11217
21217

end139.0ms (6.5%)

Compiler

Compiled 81 to 56 computations (30.9% saved)

Profiling

Loading profile data...