Details

Time bar (total: 2.8s)

analyze67.0ms (2.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
12.5%87.4%0.1%4
31.2%68.7%0.1%5
43.7%56.2%0.1%6
54.6%42.1%3.2%7
63.2%30.4%6.3%8
69.9%21.5%8.7%9
75.3%15.2%9.5%10
79%10.1%10.8%11
82%7%11%12
83.9%4.4%11.8%13
84.7%3.5%11.8%14
Compiler

Compiled 10 to 9 computations (10% saved)

sample16.0ms (0.6%)

Algorithm
intervals
Results
5.0ms180×body128valid
2.0ms29×body1024valid
2.0ms24×body512valid
1.0ms23×body256valid
0.0msbody128invalid
Compiler

Compiled 19 to 19 computations (0% saved)

simplify296.0ms (10.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (128.0ms)

IterNodesCost
0504310

prune5.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 2
Compiler

Compiled 39 to 34 computations (12.8% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

0.0b
(+.f64 (-.f64 1 y) (*.f64 x y))

rewrite10.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64_18006
associate-+l+_binary64_17900
cancel-sign-sub-inv_binary64_17933
add-cube-cbrt_binary64_18002 sum-log_binary64_18058 add-sqr-sqrt_binary64_17989 *-un-lft-identity_binary64_17967
associate-+l-_binary64_17902 sub-neg_binary64_17960 pow1_binary64_18028 add-exp-log_binary64_18005 flip-+_binary64_17941 +-commutative_binary64_17897 diff-log_binary64_18059 add-cbrt-cube_binary64_18003 flip3-+_binary64_17970
Counts
1 → 17
Calls

1 calls:

9.0ms
(+.f64 (-.f64 1 y) (*.f64 x y))

series29.0ms (1.1%)

Counts
1 → 3
Calls

1 calls:

29.0ms
(+.f64 (-.f64 1 y) (*.f64 x y))

simplify68.0ms (2.4%)

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
05024264

prune19.0ms (0.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New19120
Fresh011
Picked011
Done000
Total19322

Merged error: 0.0b

Counts
22 → 3
Compiler

Compiled 283 to 163 computations (42.4% saved)

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (*.f64 y x) (-.f64 1 y))
0.0b
(sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y)))
0.0b
(sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y)))
0.1b
(*.f64 (sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y))) (sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y))))

rewrite52.0ms (1.9%)

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt_binary64_17989
24×sqrt-prod_binary64_17983
21×pow1_binary64_18028
16×sqrt-div_binary64_17984
15×add-cube-cbrt_binary64_18002 *-un-lft-identity_binary64_17967
10×sqrt-pow1_binary64_17985 pow1/2_binary64_18047
flip-+_binary64_17941 add-log-exp_binary64_18006 flip3-+_binary64_17970
swap-sqr_binary64_17934
add-exp-log_binary64_18005 associate-*l*_binary64_17908 associate-*r*_binary64_17907 add-cbrt-cube_binary64_18003
pow-prod-up_binary64_18037
unswap-sqr_binary64_17935 frac-times_binary64_17977 rem-sqrt-square_binary64_17980 associate-+r+_binary64_17899
pow-prod-down_binary64_18038 pow-sqr_binary64_17940 cancel-sign-sub-inv_binary64_17933
associate-*l/_binary64_17910 sum-log_binary64_18058 associate-*r/_binary64_17909
cbrt-unprod_binary64_18000 sub-neg_binary64_17960 *-commutative_binary64_17898 prod-exp_binary64_18016 sqrt-unprod_binary64_17987 rem-square-sqrt_binary64_17979 associate-+r-_binary64_17901 +-commutative_binary64_17897 diff-log_binary64_18059 pow-plus_binary64_18030 sqr-abs_binary64_17982 pow2_binary64_18048
Counts
4 → 105
Calls

4 calls:

20.0ms
(*.f64 (sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y))) (sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y))))
8.0ms
(+.f64 (*.f64 y x) (-.f64 1 y))
7.0ms
(sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y)))

series170.0ms (6.1%)

Counts
4 → 12
Calls

4 calls:

55.0ms
(sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y)))
53.0ms
(sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y)))
35.0ms
(*.f64 (sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y))) (sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y))))
27.0ms
(+.f64 (*.f64 y x) (-.f64 1 y))

simplify77.0ms (2.8%)

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
050161956

prune137.0ms (4.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1161117
Fresh011
Picked101
Done011
Total1173120

Merged error: 0b

Counts
120 → 3
Compiler

Compiled 2699 to 1563 computations (42.1% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(*.f64 (-.f64 1 x) (-.f64 1 y))
2.9b
(+.f64 x (*.f64 (-.f64 1 x) (-.f64 1 y)))

rewrite23.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt_binary64_17989
14×*-un-lft-identity_binary64_17967
12×cancel-sign-sub-inv_binary64_17933
add-cube-cbrt_binary64_18002 distribute-lft-in_binary64_17916 distribute-rgt-in_binary64_17917 associate-+r+_binary64_17899
flip3--_binary64_17971 flip--_binary64_17942 associate-*l*_binary64_17908 associate-*r*_binary64_17907
sub-neg_binary64_17960 pow1_binary64_18028 add-exp-log_binary64_18005 frac-times_binary64_17977 add-log-exp_binary64_18006 difference-of-squares_binary64_17936 add-cbrt-cube_binary64_18003
associate-*l/_binary64_17910 associate-*r/_binary64_17909 distribute-lft-out--_binary64_17919
cbrt-unprod_binary64_18000 *-commutative_binary64_17898 prod-exp_binary64_18016 unswap-sqr_binary64_17935 pow-prod-down_binary64_18038 flip-+_binary64_17941 sum-log_binary64_18058 +-commutative_binary64_17897 flip3-+_binary64_17970
Counts
2 → 59
Calls

2 calls:

12.0ms
(*.f64 (-.f64 1 x) (-.f64 1 y))
5.0ms
(+.f64 x (*.f64 (-.f64 1 x) (-.f64 1 y)))

series59.0ms (2.1%)

Counts
2 → 6
Calls

2 calls:

32.0ms
(+.f64 x (*.f64 (-.f64 1 x) (-.f64 1 y)))
27.0ms
(*.f64 (-.f64 1 x) (-.f64 1 y))

simplify74.0ms (2.6%)

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
04929826
14929826

prune54.0ms (1.9%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New65065
Fresh011
Picked011
Done011
Total65368

Merged error: 0b

Counts
68 → 3
Compiler

Compiled 976 to 616 computations (36.9% saved)

localize12.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y)))
0.1b
(*.f64 (sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y))) (cbrt.f64 (pow.f64 (sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y))) 3)))
0.1b
(pow.f64 (sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y))) 3)
5.9b
(cbrt.f64 (pow.f64 (sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y))) 3))

rewrite70.0ms (2.5%)

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt_binary64_17989
48×cbrt-prod_binary64_17998
35×sqrt-prod_binary64_17983
23×add-cube-cbrt_binary64_18002 *-un-lft-identity_binary64_17967
22×cube-prod_binary64_17995 unpow-prod-down_binary64_18046
21×associate-*r*_binary64_17907
18×sqrt-div_binary64_17984
14×unswap-sqr_binary64_17935
10×cube-div_binary64_17996
pow1_binary64_18028 flip-+_binary64_17941 flip3-+_binary64_17970
cbrt-div_binary64_17999
add-exp-log_binary64_18005
associate-*l*_binary64_17908 add-cbrt-cube_binary64_18003
sqr-pow_binary64_17939
frac-times_binary64_17977 add-log-exp_binary64_18006
pow-pow_binary64_18039 unpow3_binary64_18033 pow-unpow_binary64_18044 cube-mult_binary64_17997
sqrt-pow1_binary64_17985 pow1/2_binary64_18047 associate-*l/_binary64_17910 associate-*r/_binary64_17909
rem-cube-cbrt_binary64_17990 pow1/3_binary64_18049 cbrt-unprod_binary64_18000 rem-cbrt-cube_binary64_17991 *-commutative_binary64_17898 prod-exp_binary64_18016 pow-to-exp_binary64_18036 pow-prod-down_binary64_18038 sqrt-pow2_binary64_17986 rem-sqrt-square_binary64_17980 pow-exp_binary64_18035
Counts
4 → 138
Calls

4 calls:

27.0ms
(*.f64 (sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y))) (cbrt.f64 (pow.f64 (sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y))) 3)))
10.0ms
(cbrt.f64 (pow.f64 (sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y))) 3))
9.0ms
(pow.f64 (sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y))) 3)
7.0ms
(sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y)))

series679.0ms (24.4%)

Counts
4 → 12
Calls

4 calls:

539.0ms
(pow.f64 (sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y))) 3)
54.0ms
(cbrt.f64 (pow.f64 (sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y))) 3))
52.0ms
(sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y)))
34.0ms
(*.f64 (sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y))) (cbrt.f64 (pow.f64 (sqrt.f64 (+.f64 (*.f64 y x) (-.f64 1 y))) 3)))

simplify86.0ms (3.1%)

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049813233
149813233

prune190.0ms (6.8%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1500150
Fresh000
Picked011
Done022
Total1503153

Merged error: 0b

Counts
153 → 3
Compiler

Compiled 3809 to 2284 computations (40% saved)

regimes39.0ms (1.4%)

Compiler

Compiled 172 to 148 computations (14% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01910
11910

end0.0ms (0%)

sample530.0ms (19.1%)

Algorithm
intervals
Results
149.0ms5884×body128valid
64.0ms747×body1024valid
61.0ms849×body512valid
23.0ms513×body256valid
2.0ms75×body128invalid
1.0msbody2048valid
Compiler

Compiled 60 to 52 computations (13.3% saved)

Profiling

Loading profile data...