Details

Time bar (total: 7.0s)

analyze132.0ms (1.9%)

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%68.7%6.3%6
25%56.2%18.8%7
25%48.4%26.6%8
25%35.1%39.9%9
28.1%18.3%53.6%10
31.6%12.3%56.1%11
33.4%5.9%60.8%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 32 to 22 computations (31.3% saved)

sample24.0ms (0.3%)

Algorithm
intervals
Results
16.0ms256×body128valid
0.0msbody128invalid
Compiler

Compiled 63 to 45 computations (28.6% saved)

simplify147.0ms (2.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
0502946

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 62 to 42 computations (32.3% saved)

localize16.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 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))))))
0.0b
(*.f64 (*.f64 a a) (+.f64 1 a))
0.1b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
0.3b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

rewrite37.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
15×add-exp-log_binary64_2503 pow1_binary64_2526
14×add-cbrt-cube_binary64_2501
10×*-un-lft-identity_binary64_2465 add-sqr-sqrt_binary64_2487
add-cube-cbrt_binary64_2500
associate-*r*_binary64_2405
add-log-exp_binary64_2504 prod-exp_binary64_2514 pow-prod-down_binary64_2536 cbrt-unprod_binary64_2498
distribute-lft-in_binary64_2414 associate-*r/_binary64_2407 distribute-rgt-in_binary64_2415
unpow-prod-down_binary64_2544 pow-unpow_binary64_2542
flip3-+_binary64_2468 *-commutative_binary64_2396 flip-+_binary64_2439 sub-neg_binary64_2458 unswap-sqr_binary64_2433 cancel-sign-sub-inv_binary64_2431 associate-+r+_binary64_2397 associate-*l*_binary64_2406
+-commutative_binary64_2395 unpow2_binary64_2530 flip--_binary64_2440 sum-log_binary64_2556 pow-exp_binary64_2533 pow-to-exp_binary64_2534 sqr-pow_binary64_2437 pow-pow_binary64_2537 distribute-lft-out_binary64_2416 flip3--_binary64_2469
Counts
4 → 80
Calls

4 calls:

8.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))))))
8.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))
8.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
5.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

series172.0ms (2.5%)

Counts
4 → 12
Calls

4 calls:

77.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))))))
35.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
31.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))
28.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

simplify44.0ms (0.6%)

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
052271848

prune141.0ms (2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New90292
Fresh000
Picked101
Done000
Total91293
Error
0.0b
Counts
93 → 2
Compiler

Compiled 3498 to 1883 computations (46.2% saved)

localize21.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (+.f64 (*.f64 2 (*.f64 (*.f64 a a) (*.f64 b b))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))))))
0.0b
(*.f64 (*.f64 a a) (+.f64 1 a))
0.1b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
1.7b
(*.f64 (*.f64 a a) (*.f64 b b))

rewrite71.0ms (1%)

Algorithm
rewrite-expression-head
Rules
42×pow1_binary64_2526
32×associate-*r/_binary64_2407
26×add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
20×pow-prod-down_binary64_2536 frac-add_binary64_2473
14×flip3-+_binary64_2468 flip-+_binary64_2439 prod-exp_binary64_2514 cbrt-unprod_binary64_2498
13×add-log-exp_binary64_2504
*-un-lft-identity_binary64_2465 add-sqr-sqrt_binary64_2487 associate-*r*_binary64_2405
sum-log_binary64_2556 add-cube-cbrt_binary64_2500
flip--_binary64_2440 flip3--_binary64_2469
distribute-lft-in_binary64_2414 pow-plus_binary64_2528 distribute-rgt-in_binary64_2415 pow-prod-up_binary64_2535
*-commutative_binary64_2396 unswap-sqr_binary64_2433 associate-*l*_binary64_2406
sub-neg_binary64_2458 cancel-sign-sub-inv_binary64_2431 pow2_binary64_2546 associate-+r+_binary64_2397 pow-sqr_binary64_2438
+-commutative_binary64_2395 associate-+l+_binary64_2398 distribute-lft-out_binary64_2416
Counts
4 → 106
Calls

4 calls:

29.0ms
(+.f64 (+.f64 (*.f64 2 (*.f64 (*.f64 a a) (*.f64 b b))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))))))
9.0ms
(*.f64 (*.f64 a a) (*.f64 b b))
8.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))
8.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))

series174.0ms (2.5%)

Counts
4 → 12
Calls

4 calls:

84.0ms
(+.f64 (+.f64 (*.f64 2 (*.f64 (*.f64 a a) (*.f64 b b))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))))))
33.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))
31.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
26.0ms
(*.f64 (*.f64 a a) (*.f64 b b))

simplify84.0ms (1.2%)

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
050694771

prune318.0ms (4.6%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1171118
Fresh011
Picked101
Done000
Total1182120
Error
0b
Counts
120 → 2
Compiler

Compiled 6546 to 3973 computations (39.3% saved)

localize21.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (+.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))))))
0.0b
(*.f64 (*.f64 a a) (+.f64 1 a))
0.1b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
0.1b
(pow.f64 (*.f64 a b) 2)

rewrite58.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
32×associate-*r/_binary64_2407
20×frac-add_binary64_2473
17×add-exp-log_binary64_2503 pow1_binary64_2526
14×flip3-+_binary64_2468 flip-+_binary64_2439 add-cbrt-cube_binary64_2501
13×add-log-exp_binary64_2504
*-un-lft-identity_binary64_2465 add-sqr-sqrt_binary64_2487
add-cube-cbrt_binary64_2500 prod-exp_binary64_2514 associate-*r*_binary64_2405 pow-prod-down_binary64_2536
sum-log_binary64_2556 cbrt-unprod_binary64_2498
flip--_binary64_2440 flip3--_binary64_2469
distribute-lft-in_binary64_2414 distribute-rgt-in_binary64_2415
pow-unpow_binary64_2542
*-commutative_binary64_2396 pow-exp_binary64_2533 sub-neg_binary64_2458 unswap-sqr_binary64_2433 cancel-sign-sub-inv_binary64_2431 pow-pow_binary64_2537 associate-+r+_binary64_2397 associate-*l*_binary64_2406
+-commutative_binary64_2395 unpow2_binary64_2530 associate-+l+_binary64_2398 pow-to-exp_binary64_2534 unpow-prod-down_binary64_2544 sqr-pow_binary64_2437 distribute-lft-out_binary64_2416
Counts
4 → 95
Calls

4 calls:

19.0ms
(+.f64 (+.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))))))
9.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))
8.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
4.0ms
(pow.f64 (*.f64 a b) 2)

series163.0ms (2.3%)

Counts
4 → 12
Calls

4 calls:

80.0ms
(+.f64 (+.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)) (+.f64 (pow.f64 b 4) (pow.f64 a 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))))))
32.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
30.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))
21.0ms
(pow.f64 (*.f64 a b) 2)

simplify80.0ms (1.1%)

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
052854468

prune288.0ms (4.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1070107
Fresh011
Picked011
Done000
Total1072109
Error
0b
Counts
109 → 2
Compiler

Compiled 5807 to 3857 computations (33.6% saved)

localize29.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.3b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 6)
2.2b
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 6) (pow.f64 (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3))) (*.f64 (*.f64 a a) (+.f64 a 1)))) 3))
3.6b
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 4) (*.f64 4 (*.f64 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3))) (*.f64 (*.f64 a a) (+.f64 a 1))) (-.f64 (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3))) (*.f64 (*.f64 a a) (+.f64 a 1)))) (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)))))
41.9b
(/.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 6) (pow.f64 (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3))) (*.f64 (*.f64 a a) (+.f64 a 1)))) 3)) (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 4) (*.f64 4 (*.f64 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3))) (*.f64 (*.f64 a a) (+.f64 a 1))) (-.f64 (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3))) (*.f64 (*.f64 a a) (+.f64 a 1)))) (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2))))))

rewrite88.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
48×distribute-lft-in_binary64_2414 distribute-rgt-in_binary64_2415
44×associate-+r+_binary64_2397
33×*-un-lft-identity_binary64_2465
32×cancel-sign-sub-inv_binary64_2431
23×add-cube-cbrt_binary64_2500 add-sqr-sqrt_binary64_2487
15×unpow-prod-down_binary64_2544
12×times-frac_binary64_2471
add-log-exp_binary64_2504 associate--l+_binary64_2402
add-exp-log_binary64_2503
add-cbrt-cube_binary64_2501
sqr-pow_binary64_2437 pow1_binary64_2526 distribute-lft-out_binary64_2416
flip3-+_binary64_2468 unpow2_binary64_2530 flip-+_binary64_2439 sub-neg_binary64_2458 associate-/l*_binary64_2410
associate-/r*_binary64_2409 pow-unpow_binary64_2542
+-commutative_binary64_2395 sum-log_binary64_2556 associate-/l/_binary64_2412 associate-/r/_binary64_2411
clear-num_binary64_2464 cbrt-undiv_binary64_2499 pow-exp_binary64_2533 pow-to-exp_binary64_2534 div-exp_binary64_2516 div-inv_binary64_2462 pow-pow_binary64_2537 frac-2neg_binary64_2476
Counts
4 → 119
Calls

4 calls:

21.0ms
(/.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 6) (pow.f64 (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3))) (*.f64 (*.f64 a a) (+.f64 a 1)))) 3)) (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 4) (*.f64 4 (*.f64 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3))) (*.f64 (*.f64 a a) (+.f64 a 1))) (-.f64 (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3))) (*.f64 (*.f64 a a) (+.f64 a 1)))) (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2))))))
17.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 4) (*.f64 4 (*.f64 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3))) (*.f64 (*.f64 a a) (+.f64 a 1))) (-.f64 (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3))) (*.f64 (*.f64 a a) (+.f64 a 1)))) (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)))))
11.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 6) (pow.f64 (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3))) (*.f64 (*.f64 a a) (+.f64 a 1)))) 3))
5.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 6)

series2.6s (36.6%)

Counts
4 → 12
Calls

4 calls:

1.1s
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 6) (pow.f64 (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3))) (*.f64 (*.f64 a a) (+.f64 a 1)))) 3))
700.0ms
(/.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 6) (pow.f64 (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3))) (*.f64 (*.f64 a a) (+.f64 a 1)))) 3)) (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 4) (*.f64 4 (*.f64 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3))) (*.f64 (*.f64 a a) (+.f64 a 1))) (-.f64 (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3))) (*.f64 (*.f64 a a) (+.f64 a 1)))) (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2))))))
521.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 4) (*.f64 4 (*.f64 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3))) (*.f64 (*.f64 a a) (+.f64 a 1))) (-.f64 (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3))) (*.f64 (*.f64 a a) (+.f64 a 1)))) (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)))))
180.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 6)

simplify154.0ms (2.2%)

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
0499712242
1499712242

prune846.0ms (12.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1310131
Fresh000
Picked011
Done011
Total1312133
Error
0b
Counts
133 → 2
Compiler

Compiled 15866 to 8275 computations (47.8% saved)

regimes198.0ms (2.8%)

Accuracy

Total 0.0b remaining (69%)

Threshold costs 0.0b (69%)

Compiler

Compiled 3251 to 2082 computations (36% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
08055
18055

end0.0ms (0%)

sample1.1s (15.9%)

Algorithm
intervals
Results
538.0ms8000×body128valid
1.0msbody128invalid
Compiler

Compiled 610 to 400 computations (34.4% saved)

Profiling

Loading profile data...