Details

Time bar (total: 4.3s)

analyze355.0ms (8.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
0%0%100%2
0%0%100%3
0%0%100%4
0%0%100%5
0%0%100%6
0%0%100%7
0%0%100%8
0%0%100%9
0%0%100%10
0%0%100%11
0%0%100%12
0%0%100%13
0%0%100%14
Symmetry

(sort b c d)

Compiler

Compiled 24 to 20 computations (16.7% saved)

sample44.0ms (1%)

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

Compiled 31 to 31 computations (0% saved)

simplify7.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04310
14310

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

Local error

Found 1 expressions with local error:

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

rewrite28.0ms (0.6%)

Algorithm
rewrite-expression-head
Error
0b
Rules
*-un-lft-identity_binary64_2806
add-sqr-sqrt_binary64_2828 associate-*r*_binary64_2746
pow1_binary64_2867 add-exp-log_binary64_2844 add-cbrt-cube_binary64_2842 add-cube-cbrt_binary64_2841 associate-*l*_binary64_2747 distribute-lft-out_binary64_2757
associate-*r/_binary64_2748
pow-prod-down_binary64_2877 prod-exp_binary64_2855 add-log-exp_binary64_2845 cbrt-unprod_binary64_2839 unswap-sqr_binary64_2774 distribute-rgt-in_binary64_2756 distribute-lft-in_binary64_2755 flip3-+_binary64_2809 flip-+_binary64_2780 *-commutative_binary64_2737
Counts
1 → 24
Calls

1 calls:

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

Compiled 336 to 85 computations (74.7% saved)

series146.0ms (3.4%)

Error
0.0b
Counts
1 → 21
Calls

1 calls:

135.0ms
(*.f64 a (+.f64 (+.f64 b c) d))
Compiler

Compiled 426 to 269 computations (36.9% saved)

simplify74.0ms (1.7%)

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
05029456

prune30.0ms (0.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

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

Compiled 454 to 103 computations (77.3% saved)

localize6.0ms (0.1%)

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

rewrite42.0ms (1%)

Algorithm
rewrite-expression-head
Error
0b
Rules
add-sqr-sqrt_binary64_2828 *-un-lft-identity_binary64_2806
add-log-exp_binary64_2845 pow1_binary64_2867 add-exp-log_binary64_2844 add-cbrt-cube_binary64_2842 add-cube-cbrt_binary64_2841 associate-*r*_binary64_2746
associate-*l*_binary64_2747
flip3-+_binary64_2809 flip-+_binary64_2780 distribute-lft-out_binary64_2757 distribute-rgt-in_binary64_2756 associate-+l+_binary64_2739 distribute-lft-in_binary64_2755 associate-*r/_binary64_2748
sum-log_binary64_2897 +-commutative_binary64_2736 pow-prod-down_binary64_2877 prod-exp_binary64_2855 cbrt-unprod_binary64_2839 unswap-sqr_binary64_2774 *-commutative_binary64_2737
Counts
2 → 37
Calls

2 calls:

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

Compiled 590 to 145 computations (75.4% saved)

series271.0ms (6.3%)

Error
0b
Counts
2 → 36
Calls

2 calls:

177.0ms
(+.f64 (*.f64 a (+.f64 b c)) (*.f64 a d))
79.0ms
(*.f64 a (+.f64 b c))
Compiler

Compiled 801 to 473 computations (40.9% saved)

simplify53.0ms (1.2%)

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
04951681
14951681

prune40.0ms (0.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New72173
Fresh112
Picked011
Done101
Total74377
Error
0b
Counts
77 → 3
Compiler

Compiled 774 to 148 computations (80.9% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

rewrite34.0ms (0.8%)

Algorithm
rewrite-expression-head
Error
0b
Rules
add-sqr-sqrt_binary64_2828 *-un-lft-identity_binary64_2806
pow1_binary64_2867 add-exp-log_binary64_2844 add-log-exp_binary64_2845 add-cbrt-cube_binary64_2842 add-cube-cbrt_binary64_2841 associate-*r*_binary64_2746
associate-*l*_binary64_2747
distribute-rgt-in_binary64_2756 distribute-lft-in_binary64_2755 flip3-+_binary64_2809 associate-*r/_binary64_2748 flip-+_binary64_2780 associate-+r+_binary64_2738
pow-prod-down_binary64_2877 prod-exp_binary64_2855 cbrt-unprod_binary64_2839 unswap-sqr_binary64_2774 distribute-lft-out_binary64_2757 *-commutative_binary64_2737 sum-log_binary64_2897 +-commutative_binary64_2736
Counts
2 → 36
Calls

2 calls:

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

Compiled 583 to 143 computations (75.5% saved)

series283.0ms (6.6%)

Error
0b
Counts
2 → 36
Calls

2 calls:

180.0ms
(+.f64 (*.f64 b a) (*.f64 a (+.f64 d c)))
87.0ms
(*.f64 a (+.f64 d c))
Compiler

Compiled 801 to 474 computations (40.8% saved)

simplify60.0ms (1.4%)

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
05469674

prune34.0ms (0.8%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New72072
Fresh011
Picked011
Done011
Total72375
Error
0b
Counts
75 → 3
Compiler

Compiled 758 to 144 computations (81% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite134.0ms (3.1%)

Algorithm
rewrite-expression-head
Error
0b
Rules
61×pow1_binary64_2867
32×sqrt-pow1_binary64_2824
23×pow-prod-down_binary64_2877
20×associate-*r/_binary64_2748
16×sqrt-div_binary64_2823
15×*-un-lft-identity_binary64_2806
14×add-sqr-sqrt_binary64_2828
12×pow1/2_binary64_2886
10×pow-prod-up_binary64_2876 add-cube-cbrt_binary64_2841
flip3-+_binary64_2809 flip-+_binary64_2780 associate-*r*_binary64_2746
add-exp-log_binary64_2844 add-cbrt-cube_binary64_2842
associate-*l*_binary64_2747
pow-sqr_binary64_2779 sqrt-prod_binary64_2822
add-log-exp_binary64_2845 frac-times_binary64_2816 swap-sqr_binary64_2773
distribute-lft-out_binary64_2757
prod-exp_binary64_2855 cbrt-unprod_binary64_2839 unswap-sqr_binary64_2774 associate-*l/_binary64_2749 *-commutative_binary64_2737
pow2_binary64_2887 pow-plus_binary64_2869 sqrt-unprod_binary64_2826 rem-square-sqrt_binary64_2818 distribute-rgt-in_binary64_2756 distribute-lft-in_binary64_2755
Counts
4 → 107
Calls

4 calls:

20.0ms
(*.f64 (sqrt.f64 (*.f64 a (+.f64 d (+.f64 b c)))) (sqrt.f64 (*.f64 a (+.f64 d (+.f64 b c)))))
8.0ms
(*.f64 a (+.f64 d (+.f64 b c)))
6.0ms
(sqrt.f64 (*.f64 a (+.f64 d (+.f64 b c))))
6.0ms
(sqrt.f64 (*.f64 a (+.f64 d (+.f64 b c))))
Compiler

Compiled 2640 to 449 computations (83% saved)

series661.0ms (15.4%)

Error
0b
Counts
4 → 80
Calls

4 calls:

170.0ms
(*.f64 (sqrt.f64 (*.f64 a (+.f64 d (+.f64 b c)))) (sqrt.f64 (*.f64 a (+.f64 d (+.f64 b c)))))
157.0ms
(sqrt.f64 (*.f64 a (+.f64 d (+.f64 b c))))
145.0ms
(sqrt.f64 (*.f64 a (+.f64 d (+.f64 b c))))
138.0ms
(*.f64 a (+.f64 d (+.f64 b c)))
Compiler

Compiled 4426 to 2437 computations (44.9% saved)

simplify87.0ms (2%)

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
049792652
149792652

prune119.0ms (2.8%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1870187
Fresh000
Picked011
Done022
Total1873190
Error
0b
Counts
190 → 3
Compiler

Compiled 3376 to 550 computations (83.7% saved)

regimes450.0ms (10.5%)

Accuracy

Total 0.0b remaining (90.4%)

Threshold costs 0.0b (90.4%)

Compiler

Compiled 2915 to 2048 computations (29.7% saved)

bsearch0.0ms (0%)

simplify20.0ms (0.5%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01516
11516
Remove

(sort b c d)

Compiler

Compiled 22 to 18 computations (18.2% saved)

end0.0ms (0%)

sample1.3s (30.1%)

Algorithm
intervals
Results
316.0ms8000×pre128true
192.0ms8000×body128valid
Compiler

Compiled 382 to 278 computations (27.2% saved)

Profiling

Loading profile data...