Details

Time bar (total: 3.9s)

analyze136.0ms (3.5%)

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%53.1%22%7
25%46.8%28.2%8
25%33.6%41.5%9
28.1%18%54%10
31.6%12.1%56.3%11
33.4%5.9%60.8%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 30 to 20 computations (33.3% saved)

sample24.0ms (0.6%)

Algorithm
intervals
Results
16.0ms256×body128valid
Compiler

Compiled 59 to 41 computations (30.5% saved)

simplify196.0ms (5.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
0507243

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.2b

Counts
2 → 1
Compiler

Compiled 58 to 38 computations (34.5% saved)

localize15.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

rewrite49.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
18×associate-*r/_binary64_2380
17×add-sqr-sqrt_binary64_2457 add-exp-log_binary64_2471 pow1_binary64_2494
16×add-cbrt-cube_binary64_2469
15×*-un-lft-identity_binary64_2436
13×associate-*r*_binary64_2378
10×add-cube-cbrt_binary64_2468
prod-exp_binary64_2482 pow-prod-down_binary64_2504 cbrt-unprod_binary64_2466
associate-*l*_binary64_2379
flip3-+_binary64_2439 flip-+_binary64_2410 frac-add_binary64_2444 add-log-exp_binary64_2472
distribute-rgt-in_binary64_2388 *-commutative_binary64_2369 unpow-prod-down_binary64_2512 flip3--_binary64_2440 pow-unpow_binary64_2510 unswap-sqr_binary64_2404 flip--_binary64_2411 distribute-lft-in_binary64_2387
sub-neg_binary64_2429 difference-of-squares_binary64_2405
distribute-lft-out_binary64_2389 distribute-lft-out--_binary64_2390 unpow2_binary64_2498 pow-to-exp_binary64_2502 pow-exp_binary64_2501 pow-pow_binary64_2505 sqr-pow_binary64_2408
Counts
4 → 94
Calls

4 calls:

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

series242.0ms (6.3%)

Counts
4 → 12
Calls

4 calls:

72.0ms
(*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a))))
66.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
58.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
45.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))

simplify77.0ms (2%)

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049861872
149861872

prune157.0ms (4.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1042106
Fresh000
Picked011
Done000
Total1043107

Merged error: 0.0b

Counts
107 → 3
Compiler

Compiled 3819 to 1988 computations (47.9% saved)

localize25.0ms (0.6%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 (*.f64 a a) (-.f64 1 a))
0.1b
(*.f64 a (*.f64 b b))
0.1b
(*.f64 (*.f64 b b) (+.f64 3 a))
0.3b
(*.f64 a (*.f64 a (*.f64 b b)))

rewrite45.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
28×add-exp-log_binary64_2471 add-cbrt-cube_binary64_2469 pow1_binary64_2494
15×prod-exp_binary64_2482 pow-prod-down_binary64_2504 cbrt-unprod_binary64_2466
14×add-sqr-sqrt_binary64_2457
13×*-un-lft-identity_binary64_2436
12×associate-*r*_binary64_2378
add-cube-cbrt_binary64_2468 associate-*l*_binary64_2379
*-commutative_binary64_2369 add-log-exp_binary64_2472 associate-*r/_binary64_2380
unswap-sqr_binary64_2404
distribute-rgt-in_binary64_2388 distribute-lft-in_binary64_2387 sub-neg_binary64_2429 difference-of-squares_binary64_2405
flip3-+_binary64_2439 distribute-lft-out_binary64_2389 distribute-lft-out--_binary64_2390 flip-+_binary64_2410 flip3--_binary64_2440 flip--_binary64_2411
Counts
4 → 90
Calls

4 calls:

10.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
9.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
8.0ms
(*.f64 a (*.f64 a (*.f64 b b)))
6.0ms
(*.f64 a (*.f64 b b))

series210.0ms (5.4%)

Counts
4 → 12
Calls

4 calls:

70.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
47.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
47.0ms
(*.f64 a (*.f64 a (*.f64 b b)))
46.0ms
(*.f64 a (*.f64 b b))

simplify77.0ms (2%)

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
049251053
149251053

prune170.0ms (4.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1020102
Fresh011
Picked011
Done011
Total1023105

Merged error: 0.0b

Counts
105 → 3
Compiler

Compiled 4121 to 2336 computations (43.3% saved)

localize18.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 (*.f64 a a) (-.f64 1 a))
0.1b
(*.f64 (*.f64 b b) (+.f64 3 a))
0.2b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 6)
25.5b
(cbrt.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 6))

rewrite38.0ms (1%)

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt_binary64_2457 add-exp-log_binary64_2471 *-un-lft-identity_binary64_2436 pow1_binary64_2494
14×add-cbrt-cube_binary64_2469
10×add-cube-cbrt_binary64_2468 associate-*r*_binary64_2378
cbrt-prod_binary64_2464
prod-exp_binary64_2482 unpow-prod-down_binary64_2512 pow-prod-down_binary64_2504 cbrt-unprod_binary64_2466
add-log-exp_binary64_2472 associate-*r/_binary64_2380
pow-unpow_binary64_2510
distribute-rgt-in_binary64_2388 *-commutative_binary64_2369 unswap-sqr_binary64_2404 sqr-pow_binary64_2408 associate-*l*_binary64_2379 distribute-lft-in_binary64_2387 sub-neg_binary64_2429 difference-of-squares_binary64_2405
flip3-+_binary64_2439 pow1/3_binary64_2515 distribute-lft-out_binary64_2389 distribute-lft-out--_binary64_2390 flip-+_binary64_2410 flip3--_binary64_2440 pow-to-exp_binary64_2502 pow-exp_binary64_2501 pow-pow_binary64_2505 flip--_binary64_2411
Counts
4 → 82
Calls

4 calls:

9.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
9.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
5.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 6)
5.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 6))

series531.0ms (13.8%)

Counts
4 → 12
Calls

4 calls:

356.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 6)
73.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
55.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 6))
47.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))

simplify66.0ms (1.7%)

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
050211342

prune134.0ms (3.5%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New93194
Fresh000
Picked011
Done022
Total93497

Merged error: 0.0b

Counts
97 → 4
Compiler

Compiled 3282 to 1719 computations (47.6% saved)

localize22.0ms (0.6%)

Local error

Found 4 expressions with local error:

0.2b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 4)
0.3b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
21.6b
(cbrt.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2))
27.6b
(cbrt.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 4))

rewrite32.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
15×cbrt-prod_binary64_2464
12×add-sqr-sqrt_binary64_2457 unpow-prod-down_binary64_2512 add-cube-cbrt_binary64_2468 *-un-lft-identity_binary64_2436
pow-unpow_binary64_2510 add-exp-log_binary64_2471 pow1_binary64_2494
add-log-exp_binary64_2472 add-cbrt-cube_binary64_2469 sqr-pow_binary64_2408
pow1/3_binary64_2515 unpow2_binary64_2498 pow-to-exp_binary64_2502 pow-exp_binary64_2501 pow-pow_binary64_2505
Counts
4 → 66
Calls

4 calls:

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

series513.0ms (13.3%)

Counts
4 → 12
Calls

4 calls:

164.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 4))
156.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 4)
143.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2))
49.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

simplify42.0ms (1.1%)

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
052641488

prune129.0ms (3.4%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New78078
Fresh000
Picked011
Done033
Total78482

Merged error: 0.0b

Counts
82 → 4
Compiler

Compiled 3658 to 1721 computations (53% saved)

regimes86.0ms (2.2%)

Compiler

Compiled 913 to 600 computations (34.3% saved)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05555
15555

end0.0ms (0%)

sample813.0ms (21.1%)

Algorithm
intervals
Results
508.0ms8000×body128valid
0.0msbody128invalid
Compiler

Compiled 204 to 137 computations (32.8% saved)

Profiling

Loading profile data...