Details

Time bar (total: 4.1s)

analyze253.0ms (6.1%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0509250
022
122
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 18 to 13 computations (27.8% saved)

sample19.0ms (0.5%)

Algorithm
intervals
Results
10.0ms256×body128valid
Compiler

Compiled 35 to 27 computations (22.9% saved)

simplify44.0ms (1.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
0512625

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112
Error
0.2b
Counts
2 → 1
Compiler

Compiled 34 to 24 computations (29.4% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite92.0ms (2.2%)

Algorithm
rewrite-expression-head
Error
0.1b
Rules
10×pow1_binary64_2526 add-exp-log_binary64_2503
add-cbrt-cube_binary64_2501
add-sqr-sqrt_binary64_2487 add-log-exp_binary64_2504
add-cube-cbrt_binary64_2500 *-un-lft-identity_binary64_2465
unpow-prod-down_binary64_2544 pow-unpow_binary64_2542 pow-prod-down_binary64_2536 prod-exp_binary64_2514 cbrt-unprod_binary64_2498 associate-*l*_binary64_2406
sum-log_binary64_2556 flip3-+_binary64_2468 flip-+_binary64_2439 +-commutative_binary64_2395
pow-pow_binary64_2537 pow-to-exp_binary64_2534 pow-exp_binary64_2533 unpow2_binary64_2530 sqr-pow_binary64_2437 unswap-sqr_binary64_2433 associate-*r*_binary64_2405 *-commutative_binary64_2396
Counts
4 → 59
Calls

4 calls:

9.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
6.0ms
(*.f64 4 (*.f64 b b))
5.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
4.0ms
(+.f64 (*.f64 a a) (*.f64 b b))
Compiler

Compiled 1523 to 667 computations (56.2% saved)

series738.0ms (17.8%)

Error
0.0b
Counts
4 → 51
Calls

4 calls:

381.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
188.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
91.0ms
(+.f64 (*.f64 a a) (*.f64 b b))
28.0ms
(*.f64 4 (*.f64 b b))
Compiler

Compiled 2199 to 1804 computations (18% saved)

simplify100.0ms (2.4%)

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (80.0ms)

IterNodesCost
049051630
149051630

prune100.0ms (2.4%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1082110
Fresh000
Picked101
Done000
Total1092111
Error
0b
Counts
111 → 2
Compiler

Compiled 2198 to 1062 computations (51.7% saved)

localize14.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite166.0ms (4%)

Algorithm
rewrite-expression-head
Error
0b
Rules
55×pow1_binary64_2526
39×add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
30×pow-prod-down_binary64_2536
24×prod-exp_binary64_2514 cbrt-unprod_binary64_2498
10×*-un-lft-identity_binary64_2465
add-sqr-sqrt_binary64_2487 associate-*l*_binary64_2406
add-log-exp_binary64_2504 add-cube-cbrt_binary64_2500
pow-prod-up_binary64_2535 pow-plus_binary64_2528
associate-*r*_binary64_2405 *-commutative_binary64_2396
pow2_binary64_2546 pow-sqr_binary64_2438 unswap-sqr_binary64_2433 unpow-prod-down_binary64_2544 distribute-lft-out_binary64_2416
sum-log_binary64_2556 flip3-+_binary64_2468 flip-+_binary64_2439 +-commutative_binary64_2395
Counts
4 → 88
Calls

4 calls:

17.0ms
(*.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)))
10.0ms
(*.f64 (*.f64 a a) (*.f64 b b))
8.0ms
(+.f64 (pow.f64 b 4) (pow.f64 a 4))
6.0ms
(*.f64 4 (*.f64 b b))
Compiler

Compiled 2764 to 1473 computations (46.7% saved)

series406.0ms (9.8%)

Error
0b
Counts
4 → 27
Calls

4 calls:

166.0ms
(+.f64 (pow.f64 b 4) (pow.f64 a 4))
102.0ms
(*.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)))
81.0ms
(*.f64 (*.f64 a a) (*.f64 b b))
29.0ms
(*.f64 4 (*.f64 b b))
Compiler

Compiled 1827 to 1334 computations (27% saved)

simplify65.0ms (1.6%)

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
051301149

prune141.0ms (3.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1150115
Fresh011
Picked011
Done000
Total1152117
Error
0b
Counts
117 → 2
Compiler

Compiled 3086 to 1773 computations (42.5% saved)

localize12.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

rewrite103.0ms (2.5%)

Algorithm
rewrite-expression-head
Error
0b
Rules
13×pow1_binary64_2526 add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
add-sqr-sqrt_binary64_2487
pow-prod-down_binary64_2536 prod-exp_binary64_2514 cbrt-unprod_binary64_2498
add-log-exp_binary64_2504 add-cube-cbrt_binary64_2500 *-un-lft-identity_binary64_2465
associate-*l*_binary64_2406 associate-*r*_binary64_2405
unswap-sqr_binary64_2433 distribute-rgt-in_binary64_2415 distribute-lft-in_binary64_2414 flip3-+_binary64_2468 associate-*r/_binary64_2407 flip-+_binary64_2439 *-commutative_binary64_2396 associate-+r+_binary64_2397
sum-log_binary64_2556 +-commutative_binary64_2395
Counts
3 → 55
Calls

3 calls:

12.0ms
(*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (+.f64 4 (*.f64 2 (*.f64 a a)))))
8.0ms
(+.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (+.f64 4 (*.f64 2 (*.f64 a a))))))
6.0ms
(*.f64 2 (*.f64 a a))
Compiler

Compiled 1782 to 960 computations (46.1% saved)

series625.0ms (15.1%)

Error
0b
Counts
3 → 33
Calls

3 calls:

373.0ms
(+.f64 (pow.f64 a 4) (*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (+.f64 4 (*.f64 2 (*.f64 a a))))))
193.0ms
(*.f64 (*.f64 b b) (+.f64 (*.f64 b b) (+.f64 4 (*.f64 2 (*.f64 a a)))))
28.0ms
(*.f64 2 (*.f64 a a))
Compiler

Compiled 1549 to 1312 computations (15.3% saved)

simplify92.0ms (2.2%)

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
048431727
148431727

prune95.0ms (2.3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New88088
Fresh000
Picked011
Done011
Total88290
Error
0b
Counts
90 → 2
Compiler

Compiled 2086 to 1256 computations (39.8% saved)

regimes214.0ms (5.2%)

Accuracy

Total 0.0b remaining (63.5%)

Threshold costs 0.0b (63.5%)

Compiler

Compiled 2197 to 1461 computations (33.5% saved)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03337
13337

end0.0ms (0%)

sample853.0ms (20.6%)

Algorithm
intervals
Results
336.0ms8000×body128valid
0.0msbody128invalid
Compiler

Compiled 317 to 216 computations (31.9% saved)

Profiling

Loading profile data...