Details

Time bar (total: 2.1s)

analyze36.0ms (1.7%)

Algorithm
search
Search
TrueOtherFalseIter
0%6.2%93.8%0
0%6.2%93.8%1
0%6.2%93.8%2
1.6%3.1%95.3%3
1.6%3.1%95.3%4
2.3%1.6%96.1%5
2.3%1.6%96.1%6
2.7%0.8%96.5%7
2.7%0.8%96.5%8
2.9%0.4%96.7%9
2.9%0.4%96.7%10
3%0.2%96.8%11
3%0.2%96.8%12
3.1%0.1%96.8%13
3.1%0.1%96.8%14
Compiler

Compiled 18 to 11 computations (38.9% saved)

sample25.0ms (1.2%)

Algorithm
intervals
Results
13.0ms256×body128valid
5.0ms256×pre128true
0.0mspre128false
Compiler

Compiled 31 to 21 computations (32.3% saved)

simplify246.0ms (11.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (87.0ms)

IterNodesCost
0485317
1485317

prune5.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 16.8b

Counts
2 → 1
Compiler

Compiled 48 to 34 computations (29.2% saved)

localize7.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.0b
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
0.0b
(-.f64 (*.f64 a a) (*.f64 b b))
16.3b
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))

rewrite21.0ms (1%)

Algorithm
rewrite-expression-head
Rules
add-exp-log_binary64_805 add-cbrt-cube_binary64_803
add-sqr-sqrt_binary64_789
*-un-lft-identity_binary64_767 add-cube-cbrt_binary64_802
add-log-exp_binary64_806
pow1_binary64_828 times-frac_binary64_773 associate-/l*_binary64_712
sqrt-prod_binary64_783 difference-of-squares_binary64_736
associate-/l/_binary64_714 cbrt-undiv_binary64_801 flip--_binary64_742 div-exp_binary64_818 flip3--_binary64_771
frac-2neg_binary64_778 rem-sqrt-square_binary64_780 associate-/r*_binary64_711 cbrt-unprod_binary64_800 sub-neg_binary64_760 prod-exp_binary64_816 cancel-sign-sub-inv_binary64_733 diff-log_binary64_859 pow1/2_binary64_847 sqrt-pow1_binary64_785 div-sub_binary64_772 clear-num_binary64_766 div-inv_binary64_764
Counts
3 → 52
Calls

3 calls:

11.0ms
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))
4.0ms
(-.f64 (*.f64 a a) (*.f64 b b))
1.0ms
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))

series170.0ms (8%)

Counts
3 → 9
Calls

3 calls:

65.0ms
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
64.0ms
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))
41.0ms
(-.f64 (*.f64 a a) (*.f64 b b))

simplify64.0ms (3%)

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
050991000

prune64.0ms (3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New59261
Fresh000
Picked101
Done000
Total60262

Merged error: 0b

Counts
62 → 2
Compiler

Compiled 1311 to 494 computations (62.3% saved)

localize7.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.0b
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 a (*.f64 b (/.f64 b a))) a)))
0.0b
(/.f64 (-.f64 a (*.f64 b (/.f64 b a))) a)
0.1b
(*.f64 b (/.f64 b a))

rewrite22.0ms (1%)

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt_binary64_789
20×*-un-lft-identity_binary64_767 add-cube-cbrt_binary64_802
19×times-frac_binary64_773
13×associate-*r*_binary64_707
10×add-exp-log_binary64_805 add-cbrt-cube_binary64_803
pow1_binary64_828
associate-*l*_binary64_708 associate-/r*_binary64_711 add-log-exp_binary64_806 associate-/l*_binary64_712 sqrt-prod_binary64_783
unswap-sqr_binary64_735 associate-/l/_binary64_714 cbrt-undiv_binary64_801 cbrt-unprod_binary64_800 prod-exp_binary64_816 div-exp_binary64_818 div-inv_binary64_764
frac-2neg_binary64_778 rem-sqrt-square_binary64_780 *-commutative_binary64_698 pow1/2_binary64_847 associate-*r/_binary64_709 flip--_binary64_742 sqrt-pow1_binary64_785 div-sub_binary64_772 pow-prod-down_binary64_838 clear-num_binary64_766 flip3--_binary64_771
Counts
3 → 75
Calls

3 calls:

8.0ms
(*.f64 b (/.f64 b a))
6.0ms
(/.f64 (-.f64 a (*.f64 b (/.f64 b a))) a)
1.0ms
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 a (*.f64 b (/.f64 b a))) a)))

series162.0ms (7.7%)

Counts
3 → 9
Calls

3 calls:

74.0ms
(/.f64 (-.f64 a (*.f64 b (/.f64 b a))) a)
65.0ms
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 a (*.f64 b (/.f64 b a))) a)))
24.0ms
(*.f64 b (/.f64 b a))

simplify54.0ms (2.6%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
049541284
149541284

prune62.0ms (2.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New84084
Fresh011
Picked011
Done000
Total84286

Merged error: 0b

Counts
86 → 2
Compiler

Compiled 1432 to 485 computations (66.1% saved)

localize8.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (fabs.f64 (*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a))))
0.0b
(/.f64 (+.f64 a b) a)
0.0b
(*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a))
0.0b
(/.f64 (-.f64 a b) a)

rewrite49.0ms (2.3%)

Algorithm
rewrite-expression-head
Rules
69×*-un-lft-identity_binary64_767
68×add-sqr-sqrt_binary64_789
58×times-frac_binary64_773
41×add-cube-cbrt_binary64_802
20×add-exp-log_binary64_805 add-cbrt-cube_binary64_803
19×associate-*r*_binary64_707
16×associate-*l*_binary64_708
associate-/l*_binary64_712
distribute-lft-out_binary64_718 pow1_binary64_828 distribute-lft-out--_binary64_719 difference-of-squares_binary64_736
associate-/r*_binary64_711 cbrt-undiv_binary64_801 div-exp_binary64_818
unswap-sqr_binary64_735 associate-/l/_binary64_714 cbrt-unprod_binary64_800 prod-exp_binary64_816 add-log-exp_binary64_806 div-inv_binary64_764
sqrt-prod_binary64_783
frac-2neg_binary64_778 clear-num_binary64_766
frac-times_binary64_777 rem-sqrt-square_binary64_780 *-commutative_binary64_698 flip-+_binary64_741 pow1/2_binary64_847 associate-*r/_binary64_709 associate-*l/_binary64_710 flip3-+_binary64_770 flip--_binary64_742 sqrt-pow1_binary64_785 div-sub_binary64_772 pow-prod-down_binary64_838 flip3--_binary64_771
Counts
4 → 143
Calls

4 calls:

21.0ms
(*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a))
7.0ms
(/.f64 (-.f64 a b) a)
6.0ms
(/.f64 (+.f64 a b) a)
1.0ms
(sqrt.f64 (fabs.f64 (*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a))))

series227.0ms (10.7%)

Counts
4 → 12
Calls

4 calls:

76.0ms
(*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a))
75.0ms
(sqrt.f64 (fabs.f64 (*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a))))
46.0ms
(/.f64 (-.f64 a b) a)
30.0ms
(/.f64 (+.f64 a b) a)

simplify72.0ms (3.4%)

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049712530
149712530

prune109.0ms (5.2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1550155
Fresh000
Picked011
Done011
Total1552157

Merged error: 0b

Counts
157 → 2
Compiler

Compiled 2990 to 681 computations (77.2% saved)

regimes17.0ms (0.8%)

Compiler

Compiled 52 to 42 computations (19.2% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03717
13717

end0.0ms (0%)

sample685.0ms (32.4%)

Algorithm
intervals
Results
288.0ms8000×body128valid
163.0ms8000×pre128true
2.0ms117×pre128false
Compiler

Compiled 53 to 38 computations (28.3% saved)

Profiling

Loading profile data...