Details

Time bar (total: 1.8s)

analyze2.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
Compiler

Compiled 16 to 11 computations (31.3% saved)

sample17.0ms (0.9%)

Algorithm
intervals
Results
6.0ms256×pre128true
4.0ms256×body128valid
Compiler

Compiled 23 to 17 computations (26.1% saved)

simplify171.0ms (9.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
07010
17010

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1
Compiler

Compiled 14 to 8 computations (42.9% saved)

localize3.0ms (0.2%)

Local error

Found 1 expressions with local error:

0.0b
(*.f64 (+.f64 a b) (+.f64 a b))

rewrite12.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity_binary64_2465
pow1_binary64_2526
add-sqr-sqrt_binary64_2487
flip3-+_binary64_2468 swap-sqr_binary64_2432 flip-+_binary64_2439 distribute-lft-out_binary64_2416
add-cube-cbrt_binary64_2500
frac-times_binary64_2475 associate-*r*_binary64_2405 associate-*l*_binary64_2406
add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
associate-*l/_binary64_2408 associate-*r/_binary64_2407
add-log-exp_binary64_2504 distribute-lft-in_binary64_2414 *-commutative_binary64_2396 pow-plus_binary64_2528 unswap-sqr_binary64_2433 distribute-rgt-in_binary64_2415 pow2_binary64_2546 prod-exp_binary64_2514 pow-prod-down_binary64_2536 pow-sqr_binary64_2438 pow-prod-up_binary64_2535 cbrt-unprod_binary64_2498
Counts
1 → 40
Calls

1 calls:

9.0ms
(*.f64 (+.f64 a b) (+.f64 a b))

series28.0ms (1.6%)

Counts
1 → 3
Calls

1 calls:

28.0ms
(*.f64 (+.f64 a b) (+.f64 a b))

simplify40.0ms (2.2%)

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
05458523

prune33.0ms (1.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New42143
Fresh000
Picked011
Done000
Total42244

Merged error: 0b

Counts
44 → 2
Compiler

Compiled 518 to 183 computations (64.7% saved)

localize18.0ms (1%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (*.f64 a a) (*.f64 b (-.f64 b a)))
0.3b
(*.f64 (+.f64 (*.f64 a a) (*.f64 b (-.f64 b a))) (-.f64 a b))
0.4b
(*.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) (-.f64 (*.f64 a a) (*.f64 b b)))
0.4b
(/.f64 (*.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) (-.f64 (*.f64 a a) (*.f64 b b))) (*.f64 (+.f64 (*.f64 a a) (*.f64 b (-.f64 b a))) (-.f64 a b)))

rewrite87.0ms (5%)

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity_binary64_2465
20×add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
18×add-sqr-sqrt_binary64_2487
16×frac-times_binary64_2475
14×cancel-sign-sub-inv_binary64_2431
13×flip3-+_binary64_2468 flip-+_binary64_2439
12×flip--_binary64_2440 add-cube-cbrt_binary64_2500 flip3--_binary64_2469 associate-*l*_binary64_2406
10×distribute-lft-in_binary64_2414 distribute-rgt-in_binary64_2415
associate-*r*_binary64_2405
associate-*l/_binary64_2408 associate-/l/_binary64_2412 associate-*r/_binary64_2407 associate-+r+_binary64_2397 pow1_binary64_2526 associate-/r/_binary64_2411
add-log-exp_binary64_2504 sub-neg_binary64_2458 prod-exp_binary64_2514 cbrt-unprod_binary64_2498
distribute-lft-out_binary64_2416
cube-prod_binary64_2493 cbrt-undiv_binary64_2499 unpow-prod-down_binary64_2544 div-exp_binary64_2516
difference-of-squares_binary64_2434 *-commutative_binary64_2396 unswap-sqr_binary64_2433 pow-prod-down_binary64_2536
times-frac_binary64_2471 +-commutative_binary64_2395 associate-/r*_binary64_2409 sum-log_binary64_2556 clear-num_binary64_2464 distribute-lft-out--_binary64_2417 sum-cubes_binary64_2466 div-inv_binary64_2462 frac-2neg_binary64_2476 associate-/l*_binary64_2410
Counts
4 → 129
Calls

4 calls:

28.0ms
(/.f64 (*.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) (-.f64 (*.f64 a a) (*.f64 b b))) (*.f64 (+.f64 (*.f64 a a) (*.f64 b (-.f64 b a))) (-.f64 a b)))
20.0ms
(*.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) (-.f64 (*.f64 a a) (*.f64 b b)))
11.0ms
(*.f64 (+.f64 (*.f64 a a) (*.f64 b (-.f64 b a))) (-.f64 a b))
6.0ms
(+.f64 (*.f64 a a) (*.f64 b (-.f64 b a)))

series380.0ms (21.6%)

Counts
4 → 12
Calls

4 calls:

142.0ms
(*.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) (-.f64 (*.f64 a a) (*.f64 b b)))
122.0ms
(/.f64 (*.f64 (+.f64 (pow.f64 a 3) (pow.f64 b 3)) (-.f64 (*.f64 a a) (*.f64 b b))) (*.f64 (+.f64 (*.f64 a a) (*.f64 b (-.f64 b a))) (-.f64 a b)))
80.0ms
(*.f64 (+.f64 (*.f64 a a) (*.f64 b (-.f64 b a))) (-.f64 a b))
35.0ms
(+.f64 (*.f64 a a) (*.f64 b (-.f64 b a)))

simplify93.0ms (5.3%)

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049604147
149604147

prune185.0ms (10.5%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1410141
Fresh000
Picked011
Done011
Total1412143

Merged error: 0b

Counts
143 → 2
Compiler

Compiled 5401 to 1765 computations (67.3% saved)

regimes61.0ms (3.5%)

Compiler

Compiled 428 to 282 computations (34.1% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
077
177

end0.0ms (0%)

sample624.0ms (35.5%)

Algorithm
intervals
Results
184.0ms8000×pre128true
140.0ms8000×body128valid
Compiler

Compiled 137 to 91 computations (33.6% saved)

Profiling

Loading profile data...