Details

Time bar (total: 2.9s)

analyze94.0ms (3.3%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
013370
113370
044
144
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
Compiler

Compiled 24 to 20 computations (16.7% saved)

sample32.0ms (1.1%)

Algorithm
intervals
Results
15.0ms256×pre128true
7.0ms256×body128valid
0.0mspre128false
Compiler

Compiled 31 to 31 computations (0% saved)

simplify7.0ms (0.3%)

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.0b
Counts
2 → 1
Compiler

Compiled 14 to 14 computations (0% saved)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

rewrite11.0ms (0.4%)

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

1 calls:

9.0ms
(*.f64 a (+.f64 (+.f64 b c) d))

series29.0ms (1%)

Counts
1 → 3
Calls

1 calls:

29.0ms
(*.f64 a (+.f64 (+.f64 b c) d))

simplify68.0ms (2.4%)

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
05133312

prune23.0ms (0.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New24327
Fresh000
Picked011
Done000
Total24428
Error
0b
Counts
28 → 4
Compiler

Compiled 365 to 101 computations (72.3% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite15.0ms (0.5%)

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

Counts
2 → 6
Calls

2 calls:

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

simplify69.0ms (2.4%)

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
05005471

prune29.0ms (1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New43043
Fresh022
Picked011
Done011
Total43447
Error
0b
Counts
47 → 4
Compiler

Compiled 590 to 156 computations (73.6% saved)

localize9.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

rewrite26.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity_binary64_760
11×associate-*l*_binary64_701 add-sqr-sqrt_binary64_782
add-exp-log_binary64_798 add-cbrt-cube_binary64_796 pow1_binary64_821
sqrt-prod_binary64_776 add-cube-cbrt_binary64_795 associate-*r*_binary64_700
associate-*l/_binary64_703 prod-exp_binary64_809 cbrt-unprod_binary64_793 pow-prod-down_binary64_831
distribute-lft-out_binary64_711
unswap-sqr_binary64_728 flip3-+_binary64_763 add-log-exp_binary64_799 flip-+_binary64_734 associate-*r/_binary64_702 *-commutative_binary64_691
Counts
2 → 49
Calls

2 calls:

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

series114.0ms (4%)

Counts
2 → 6
Calls

2 calls:

60.0ms
(*.f64 (+.f64 (+.f64 b c) d) (sqrt.f64 a))
54.0ms
(*.f64 (sqrt.f64 a) (*.f64 (+.f64 (+.f64 b c) d) (sqrt.f64 a)))

simplify72.0ms (2.5%)

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
04941760
14941760

prune33.0ms (1.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New55055
Fresh011
Picked011
Done022
Total55459
Error
0b
Counts
59 → 4
Compiler

Compiled 832 to 172 computations (79.3% saved)

localize19.0ms (0.7%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 (+.f64 b c) (+.f64 b c))
0.0b
(-.f64 (*.f64 d d) (*.f64 (+.f64 b c) d))
0.6b
(*.f64 a (+.f64 (pow.f64 (+.f64 b c) 3) (pow.f64 d 3)))
15.8b
(/.f64 (*.f64 a (+.f64 (pow.f64 (+.f64 b c) 3) (pow.f64 d 3))) (+.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (-.f64 (*.f64 d d) (*.f64 (+.f64 b c) d))))

rewrite89.0ms (3.1%)

Algorithm
rewrite-expression-head
Rules
48×*-un-lft-identity_binary64_760
21×flip3-+_binary64_763 flip-+_binary64_734
19×distribute-lft-out_binary64_711
18×associate-/r/_binary64_706
17×associate-*r*_binary64_700
16×frac-add_binary64_768 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 frac-times_binary64_770
10×associate-*r/_binary64_702
flip--_binary64_735 flip3--_binary64_764
cube-prod_binary64_788 unpow-prod-down_binary64_839
associate-*l*_binary64_701
associate-*l/_binary64_703 add-log-exp_binary64_799 swap-sqr_binary64_727
prod-exp_binary64_809 associate-/r*_binary64_704 cbrt-unprod_binary64_793 times-frac_binary64_766
unswap-sqr_binary64_728 cbrt-undiv_binary64_794 associate-/l/_binary64_707 distribute-lft-in_binary64_709 distribute-rgt-in_binary64_710 div-exp_binary64_811 pow-prod-down_binary64_831 *-commutative_binary64_691
pow2_binary64_841 diff-log_binary64_852 frac-2neg_binary64_771 cancel-sign-sub-inv_binary64_726 pow-sqr_binary64_733 pow-plus_binary64_823 div-inv_binary64_757 associate-/l*_binary64_705 sum-cubes_binary64_761 clear-num_binary64_759 pow-prod-up_binary64_830 sub-neg_binary64_753 distribute-rgt-out--_binary64_714
Counts
4 → 126
Calls

4 calls:

35.0ms
(/.f64 (*.f64 a (+.f64 (pow.f64 (+.f64 b c) 3) (pow.f64 d 3))) (+.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (-.f64 (*.f64 d d) (*.f64 (+.f64 b c) d))))
20.0ms
(*.f64 a (+.f64 (pow.f64 (+.f64 b c) 3) (pow.f64 d 3)))
9.0ms
(*.f64 (+.f64 b c) (+.f64 b c))
4.0ms
(-.f64 (*.f64 d d) (*.f64 (+.f64 b c) d))

series675.0ms (23.4%)

Counts
4 → 12
Calls

4 calls:

324.0ms
(/.f64 (*.f64 a (+.f64 (pow.f64 (+.f64 b c) 3) (pow.f64 d 3))) (+.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (-.f64 (*.f64 d d) (*.f64 (+.f64 b c) d))))
312.0ms
(*.f64 a (+.f64 (pow.f64 (+.f64 b c) 3) (pow.f64 d 3)))
25.0ms
(-.f64 (*.f64 d d) (*.f64 (+.f64 b c) d))
14.0ms
(*.f64 (+.f64 b c) (+.f64 b c))

simplify75.0ms (2.6%)

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
050073938

prune184.0ms (6.4%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1380138
Fresh000
Picked011
Done033
Total1384142
Error
0b
Counts
142 → 4
Compiler

Compiled 5704 to 1821 computations (68.1% saved)

regimes154.0ms (5.3%)

Accuracy

Total 0.0b remaining (91.8%)

Threshold costs 0.0b (91.8%)

Compiler

Compiled 1299 to 930 computations (28.4% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01313
11313

end0.0ms (0%)

sample981.0ms (34%)

Algorithm
intervals
Results
334.0ms8000×pre128true
217.0ms8000×body128valid
3.0ms75×pre128false
Compiler

Compiled 200 to 146 computations (27% saved)

Profiling

Loading profile data...