Details

Time bar (total: 2.8s)

analyze4.0ms (0.2%)

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

Compiled 24 to 20 computations (16.7% saved)

sample25.0ms (0.9%)

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

Compiled 31 to 31 computations (0% saved)

simplify167.0ms (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

Merged error: 0.0b

Counts
2 → 1
Compiler

Compiled 14 to 14 computations (0% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite19.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity_binary64_767
add-log-exp_binary64_806
distribute-lft-out_binary64_718 add-sqr-sqrt_binary64_789
associate-*r*_binary64_707
add-exp-log_binary64_805 pow1_binary64_828 add-cbrt-cube_binary64_803 add-cube-cbrt_binary64_802
associate-*l*_binary64_708 sum-log_binary64_858
flip-+_binary64_741 associate-*r/_binary64_709 flip3-+_binary64_770
unswap-sqr_binary64_735 associate-+l+_binary64_700 cbrt-unprod_binary64_800 prod-exp_binary64_816 *-commutative_binary64_698 distribute-rgt-in_binary64_717 +-commutative_binary64_697 distribute-lft-in_binary64_716 pow-prod-down_binary64_838
Counts
2 → 39
Calls

2 calls:

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

series83.0ms (3%)

Counts
2 → 6
Calls

2 calls:

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

simplify63.0ms (2.3%)

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
04970499
14970499

prune52.0ms (1.9%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New41445
Fresh000
Picked011
Done000
Total41546

Merged error: 0.0b

Counts
46 → 5
Compiler

Compiled 945 to 385 computations (59.3% saved)

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

rewrite19.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64_789 *-un-lft-identity_binary64_767
associate-*r*_binary64_707 add-exp-log_binary64_805 pow1_binary64_828 add-log-exp_binary64_806 add-cbrt-cube_binary64_803 add-cube-cbrt_binary64_802
associate-*l*_binary64_708
distribute-lft-out_binary64_718 associate-+l+_binary64_700 flip-+_binary64_741 distribute-rgt-in_binary64_717 associate-*r/_binary64_709 distribute-lft-in_binary64_716 flip3-+_binary64_770
unswap-sqr_binary64_735 cbrt-unprod_binary64_800 prod-exp_binary64_816 *-commutative_binary64_698 +-commutative_binary64_697 sum-log_binary64_858 pow-prod-down_binary64_838
Counts
2 → 37
Calls

2 calls:

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

series114.0ms (4.1%)

Counts
2 → 6
Calls

2 calls:

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

simplify66.0ms (2.4%)

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
05010471

prune38.0ms (1.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New42143
Fresh123
Picked101
Done011
Total44448

Merged error: 0.0b

Counts
48 → 4
Compiler

Compiled 753 to 257 computations (65.9% saved)

localize8.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

rewrite13.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64_806
sum-log_binary64_858
distribute-lft-out_binary64_718
add-exp-log_binary64_805 pow1_binary64_828 add-sqr-sqrt_binary64_789 flip-+_binary64_741 +-commutative_binary64_697 *-un-lft-identity_binary64_767 flip3-+_binary64_770 add-cbrt-cube_binary64_803 add-cube-cbrt_binary64_802
associate-+l+_binary64_700
Counts
2 → 26
Calls

2 calls:

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

series117.0ms (4.3%)

Counts
2 → 6
Calls

2 calls:

65.0ms
(+.f64 (+.f64 (*.f64 a b) (*.f64 a c)) (*.f64 a d))
52.0ms
(+.f64 (*.f64 a b) (*.f64 a c))

simplify53.0ms (1.9%)

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
05135407

prune24.0ms (0.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New31132
Fresh112
Picked011
Done011
Total32436

Merged error: 0.0b

Counts
36 → 4
Compiler

Compiled 544 to 176 computations (67.6% saved)

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (+.f64 (+.f64 b c) d))
0.3b
(*.f64 (sqrt.f64 a) (sqrt.f64 (+.f64 (+.f64 b c) d)))
0.3b
(*.f64 (sqrt.f64 a) (sqrt.f64 (+.f64 (+.f64 b c) d)))
0.5b
(*.f64 (*.f64 (sqrt.f64 a) (sqrt.f64 (+.f64 (+.f64 b c) d))) (*.f64 (sqrt.f64 a) (sqrt.f64 (+.f64 (+.f64 b c) d))))

rewrite75.0ms (2.7%)

Algorithm
rewrite-expression-head
Rules
68×pow1_binary64_828
41×pow-prod-down_binary64_838
30×add-sqr-sqrt_binary64_789
29×sqrt-prod_binary64_783
28×*-un-lft-identity_binary64_767
21×pow1/2_binary64_847 sqrt-pow1_binary64_785
20×add-exp-log_binary64_805 add-cbrt-cube_binary64_803
18×associate-*r/_binary64_709 sqrt-div_binary64_784
17×associate-*r*_binary64_707
13×associate-*l*_binary64_708 add-cube-cbrt_binary64_802
10×cbrt-unprod_binary64_800 prod-exp_binary64_816
distribute-lft-out_binary64_718 flip-+_binary64_741 flip3-+_binary64_770
unswap-sqr_binary64_735 pow-prod-up_binary64_837
sqrt-unprod_binary64_787
pow-sqr_binary64_740
frac-times_binary64_777 add-log-exp_binary64_806
*-commutative_binary64_698
pow-plus_binary64_830 associate-*l/_binary64_710
pow2_binary64_848 swap-sqr_binary64_734 rem-sqrt-square_binary64_780 rem-square-sqrt_binary64_779
Counts
4 → 137
Calls

4 calls:

27.0ms
(*.f64 (*.f64 (sqrt.f64 a) (sqrt.f64 (+.f64 (+.f64 b c) d))) (*.f64 (sqrt.f64 a) (sqrt.f64 (+.f64 (+.f64 b c) d))))
13.0ms
(*.f64 (sqrt.f64 a) (sqrt.f64 (+.f64 (+.f64 b c) d)))
13.0ms
(*.f64 (sqrt.f64 a) (sqrt.f64 (+.f64 (+.f64 b c) d)))
6.0ms
(sqrt.f64 (+.f64 (+.f64 b c) d))

series700.0ms (25.4%)

Counts
4 → 12
Calls

4 calls:

265.0ms
(*.f64 (sqrt.f64 a) (sqrt.f64 (+.f64 (+.f64 b c) d)))
264.0ms
(*.f64 (sqrt.f64 a) (sqrt.f64 (+.f64 (+.f64 b c) d)))
111.0ms
(*.f64 (*.f64 (sqrt.f64 a) (sqrt.f64 (+.f64 (+.f64 b c) d))) (*.f64 (sqrt.f64 a) (sqrt.f64 (+.f64 (+.f64 b c) d))))
60.0ms
(sqrt.f64 (+.f64 (+.f64 b c) d))

simplify84.0ms (3%)

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
051852279

prune107.0ms (3.9%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1490149
Fresh011
Picked011
Done022
Total1494153

Merged error: 0.0b

Counts
153 → 4
Compiler

Compiled 3244 to 501 computations (84.6% saved)

regimes81.0ms (2.9%)

Compiler

Compiled 444 to 348 computations (21.6% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01110
11110

end0.0ms (0%)

sample820.0ms (29.7%)

Algorithm
intervals
Results
317.0ms8000×pre128true
202.0ms8000×body128valid
Compiler

Compiled 98 to 79 computations (19.4% saved)

Profiling

Loading profile data...