Details

Time bar (total: 3.8s)

analyze4.0ms (0.1%)

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

Compiled 24 to 20 computations (16.7% saved)

sample54.0ms (1.4%)

Algorithm
intervals
Results
20.0ms256×body128valid
19.0ms256×pre128true
Compiler

Compiled 31 to 31 computations (0% saved)

simplify120.0ms (3.2%)

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.1%)

Local error

Found 2 expressions with local error:

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

rewrite20.0ms (0.5%)

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:

10.0ms
(*.f64 a (+.f64 (+.f64 b c) d))
8.0ms
(+.f64 (+.f64 b c) d)

series59.0ms (1.6%)

Counts
2 → 6
Calls

2 calls:

35.0ms
(*.f64 a (+.f64 (+.f64 b c) d))
24.0ms
(+.f64 (+.f64 b c) d)

simplify99.0ms (2.6%)

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 0 (86.0ms)

IterNodesCost
04970499
14970499

prune59.0ms (1.6%)

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)

localize16.0ms (0.4%)

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))

rewrite29.0ms (0.8%)

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:

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

series100.0ms (2.6%)

Counts
2 → 6
Calls

2 calls:

51.0ms
(*.f64 a (+.f64 b c))
48.0ms
(+.f64 (*.f64 a (+.f64 b c)) (*.f64 a d))

simplify72.0ms (1.9%)

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
05005471

prune41.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)

localize17.0ms (0.5%)

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)))

rewrite58.0ms (1.6%)

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:

22.0ms
(*.f64 (*.f64 a (sqrt.f64 (+.f64 b c))) (sqrt.f64 (+.f64 b c)))
13.0ms
(*.f64 a (sqrt.f64 (+.f64 b c)))
5.0ms
(sqrt.f64 (+.f64 b c))
5.0ms
(sqrt.f64 (+.f64 b c))

series222.0ms (5.9%)

Counts
4 → 12
Calls

4 calls:

95.0ms
(*.f64 (*.f64 a (sqrt.f64 (+.f64 b c))) (sqrt.f64 (+.f64 b c)))
55.0ms
(*.f64 a (sqrt.f64 (+.f64 b c)))
40.0ms
(sqrt.f64 (+.f64 b c))
31.0ms
(sqrt.f64 (+.f64 b c))

simplify98.0ms (2.6%)

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
049501439
149501439

prune89.0ms (2.4%)

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)

localize20.0ms (0.5%)

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))

rewrite87.0ms (2.3%)

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:

36.0ms
(/.f64 (*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))) (-.f64 (+.f64 b c) d))
23.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))

series464.0ms (12.3%)

Counts
4 → 12
Calls

4 calls:

226.0ms
(/.f64 (*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))) (-.f64 (+.f64 b c) d))
159.0ms
(*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d)))
56.0ms
(-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))
23.0ms
(*.f64 (+.f64 b c) (+.f64 b c))

simplify115.0ms (3.1%)

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
050542222

prune130.0ms (3.5%)

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)

regimes373.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.4s (37.4%)

Algorithm
intervals
Results
453.0ms8000×pre128true
273.0ms8000×body128valid
Compiler

Compiled 282 to 206 computations (27% saved)

Profiling

Loading profile data...