Details

Time bar (total: 2.7s)

analyze3.0ms (0.1%)

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

Compiled 24 to 20 computations (16.7% saved)

sample26.0ms (1%)

Algorithm
intervals
Results
10.0ms256×pre128true
7.0ms256×body128valid
Compiler

Compiled 31 to 31 computations (0% saved)

simplify96.0ms (3.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04310
14310

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.1b
Counts
2 → 1
Compiler

Compiled 14 to 14 computations (0% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(+.f64 (+.f64 b c) d)
0.1b
(*.f64 a (+.f64 (+.f64 b c) d))

rewrite22.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity_binary64_760
add-log-exp_binary64_799
distribute-lft-out_binary64_711 add-sqr-sqrt_binary64_782
associate-*r*_binary64_700
add-exp-log_binary64_798 add-cube-cbrt_binary64_795 add-cbrt-cube_binary64_796 pow1_binary64_821
sum-log_binary64_851 associate-*l*_binary64_701
flip3-+_binary64_763 flip-+_binary64_734 associate-*r/_binary64_702
unswap-sqr_binary64_728 prod-exp_binary64_809 distribute-lft-in_binary64_709 associate-+l+_binary64_693 distribute-rgt-in_binary64_710 +-commutative_binary64_690 cbrt-unprod_binary64_793 pow-prod-down_binary64_831 *-commutative_binary64_691
Counts
2 → 39
Calls

2 calls:

14.0ms
(*.f64 a (+.f64 (+.f64 b c) d))
6.0ms
(+.f64 (+.f64 b c) d)

series44.0ms (1.6%)

Counts
2 → 6
Calls

2 calls:

30.0ms
(*.f64 a (+.f64 (+.f64 b c) d))
13.0ms
(+.f64 (+.f64 b c) d)

simplify65.0ms (2.4%)

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
04970499
14970499

prune34.0ms (1.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New42345
Fresh000
Picked011
Done000
Total42446
Error
0b
Counts
46 → 4
Compiler

Compiled 557 to 137 computations (75.4% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite15.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64_760 add-sqr-sqrt_binary64_782
add-exp-log_binary64_798 add-cube-cbrt_binary64_795 add-log-exp_binary64_799 add-cbrt-cube_binary64_796 associate-*r*_binary64_700 pow1_binary64_821
associate-*l*_binary64_701
distribute-lft-out_binary64_711 flip3-+_binary64_763 distribute-lft-in_binary64_709 associate-+l+_binary64_693 distribute-rgt-in_binary64_710 flip-+_binary64_734 associate-*r/_binary64_702
unswap-sqr_binary64_728 prod-exp_binary64_809 +-commutative_binary64_690 sum-log_binary64_851 cbrt-unprod_binary64_793 pow-prod-down_binary64_831 *-commutative_binary64_691
Counts
2 → 37
Calls

2 calls:

7.0ms
(+.f64 (*.f64 a (+.f64 b c)) (*.f64 a d))
6.0ms
(*.f64 a (+.f64 b c))

series59.0ms (2.2%)

Counts
2 → 6
Calls

2 calls:

34.0ms
(+.f64 (*.f64 a (+.f64 b c)) (*.f64 a d))
25.0ms
(*.f64 a (+.f64 b c))

simplify70.0ms (2.6%)

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
05005471

prune31.0ms (1.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New42143
Fresh112
Picked011
Done101
Total44347
Error
0b
Counts
47 → 3
Compiler

Compiled 584 to 151 computations (74.1% saved)

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (+.f64 b c))
0.0b
(sqrt.f64 (+.f64 b c))
0.2b
(*.f64 a (sqrt.f64 (+.f64 b c)))
0.4b
(*.f64 (*.f64 a (sqrt.f64 (+.f64 b c))) (sqrt.f64 (+.f64 b c)))

rewrite33.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity_binary64_760
18×sqrt-div_binary64_777
17×sqrt-prod_binary64_776 add-sqr-sqrt_binary64_782
14×associate-*r*_binary64_700
13×pow1_binary64_821
11×add-exp-log_binary64_798 add-cube-cbrt_binary64_795 add-cbrt-cube_binary64_796
10×associate-*r/_binary64_702
flip3-+_binary64_763 flip-+_binary64_734
distribute-lft-out_binary64_711 prod-exp_binary64_809 add-log-exp_binary64_799 frac-times_binary64_770 associate-*l*_binary64_701 cbrt-unprod_binary64_793 pow-prod-down_binary64_831
unswap-sqr_binary64_728 rem-sqrt-square_binary64_773 associate-*l/_binary64_703 sqrt-pow1_binary64_778 pow1/2_binary64_840 *-commutative_binary64_691
Counts
4 → 87
Calls

4 calls:

12.0ms
(*.f64 (*.f64 a (sqrt.f64 (+.f64 b c))) (sqrt.f64 (+.f64 b c)))
7.0ms
(*.f64 a (sqrt.f64 (+.f64 b c)))
3.0ms
(sqrt.f64 (+.f64 b c))
3.0ms
(sqrt.f64 (+.f64 b c))

series152.0ms (5.7%)

Counts
4 → 12
Calls

4 calls:

57.0ms
(*.f64 (*.f64 a (sqrt.f64 (+.f64 b c))) (sqrt.f64 (+.f64 b c)))
50.0ms
(*.f64 a (sqrt.f64 (+.f64 b c)))
22.0ms
(sqrt.f64 (+.f64 b c))
21.0ms
(sqrt.f64 (+.f64 b c))

simplify82.0ms (3.1%)

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
049501439
149501439

prune72.0ms (2.7%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New99099
Fresh011
Picked011
Done011
Total993102
Error
0b
Counts
102 → 3
Compiler

Compiled 2056 to 487 computations (76.3% saved)

localize12.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))
0.0b
(*.f64 (+.f64 b c) (+.f64 b c))
0.5b
(*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d)))
6.9b
(/.f64 (*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))) (-.f64 (+.f64 b c) d))

rewrite59.0ms (2.2%)

Algorithm
rewrite-expression-head
Rules
36×*-un-lft-identity_binary64_760
20×add-sqr-sqrt_binary64_782
13×add-exp-log_binary64_798 add-cbrt-cube_binary64_796 pow1_binary64_821
12×add-cube-cbrt_binary64_795
distribute-lft-out_binary64_711 distribute-lft-in_binary64_709 distribute-rgt-in_binary64_710 associate-*r*_binary64_700
associate-*l*_binary64_701
flip3-+_binary64_763 associate-/r*_binary64_704 add-log-exp_binary64_799 flip-+_binary64_734 swap-sqr_binary64_727 associate-*r/_binary64_702 associate--l+_binary64_697 times-frac_binary64_766
difference-of-squares_binary64_729 distribute-lft-out--_binary64_712 frac-times_binary64_770 flip--_binary64_735 flip3--_binary64_764
prod-exp_binary64_809 cancel-sign-sub-inv_binary64_726 cbrt-unprod_binary64_793 sub-neg_binary64_753
unswap-sqr_binary64_728 cbrt-undiv_binary64_794 associate-*l/_binary64_703 associate-/r/_binary64_706 associate-/l/_binary64_707 div-exp_binary64_811 pow-prod-down_binary64_831 *-commutative_binary64_691
pow2_binary64_841 diff-log_binary64_852 frac-2neg_binary64_771 pow-sqr_binary64_733 pow-plus_binary64_823 div-inv_binary64_757 associate-/l*_binary64_705 clear-num_binary64_759 pow-prod-up_binary64_830
Counts
4 → 115
Calls

4 calls:

18.0ms
(/.f64 (*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))) (-.f64 (+.f64 b c) d))
13.0ms
(*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d)))
9.0ms
(-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))
9.0ms
(*.f64 (+.f64 b c) (+.f64 b c))

series335.0ms (12.5%)

Counts
4 → 12
Calls

4 calls:

143.0ms
(/.f64 (*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))) (-.f64 (+.f64 b c) d))
130.0ms
(*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d)))
49.0ms
(-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))
13.0ms
(*.f64 (+.f64 b c) (+.f64 b c))

simplify74.0ms (2.8%)

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
050542222

prune101.0ms (3.7%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1270127
Fresh000
Picked011
Done022
Total1273130
Error
0b
Counts
130 → 3
Compiler

Compiled 2885 to 810 computations (71.9% saved)

regimes264.0ms (9.9%)

Accuracy

Total 0.0b remaining (98.7%)

Threshold costs 0.0b (98.7%)

Compiler

Compiled 2200 to 1566 computations (28.8% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01313
11313

end0.0ms (0%)

sample1.0s (37.6%)

Algorithm
intervals
Results
320.0ms8000×pre128true
204.0ms8000×body128valid
Compiler

Compiled 282 to 206 computations (27% saved)

Profiling

Loading profile data...