Details

Time bar (total: 7.7s)

analyze149.0ms (1.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%50%0%4
75%25%0%5
87.5%12.5%0%6
93.7%6.2%0%7
96.8%3.1%0%8
98.4%1.6%0%9
99.2%0.8%0%10
99.6%0.4%0%11
99.8%0.2%0%12
99.9%0.1%0%13
99.9%0.1%0.1%14
Compiler

Compiled 16 to 14 computations (12.5% saved)

sample26.0ms (0.3%)

Algorithm
intervals
Results
7.0ms50×body1024valid
6.0ms48×body512valid
5.0ms141×body128valid
1.0ms17×body256valid
Compiler

Compiled 31 to 28 computations (9.7% saved)

simplify14.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (7.0ms)

IterNodesCost
019222
119222

prune2.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 10.3b

Counts
2 → 1
Compiler

Compiled 30 to 26 computations (13.3% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 1 (+.f64 x 1))
0.0b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
0.0b
(/.f64 1 (-.f64 x 1))
1.3b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))

rewrite90.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
98×*-un-lft-identity_binary64
58×add-sqr-sqrt_binary64
56×times-frac_binary64
25×add-cube-cbrt_binary64
18×distribute-lft-out--_binary64
17×distribute-lft-out_binary64
14×difference-of-squares_binary64
12×add-exp-log_binary64
11×associate-/r*_binary64 add-log-exp_binary64
add-cbrt-cube_binary64 div-inv_binary64
pow1_binary64 associate-/l*_binary64
difference-of-sqr-1_binary64 associate-/r/_binary64 div-exp_binary64
flip3--_binary64 frac-add_binary64 flip--_binary64
flip3-+_binary64 sub-neg_binary64 diff-log_binary64 1-exp_binary64 cbrt-undiv_binary64 clear-num_binary64 inv-pow_binary64 frac-2neg_binary64 rec-exp_binary64 pow-flip_binary64 flip-+_binary64 frac-sub_binary64 sum-log_binary64
associate-+l+_binary64 associate-+l-_binary64 +-commutative_binary64
Counts
4 → 135
Calls

4 calls:

45.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
20.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
7.0ms
(/.f64 1 (-.f64 x 1))
6.0ms
(/.f64 1 (+.f64 x 1))

series174.0ms (2.3%)

Counts
4 → 12
Calls

4 calls:

112.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
26.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
18.0ms
(/.f64 1 (+.f64 x 1))
18.0ms
(/.f64 1 (-.f64 x 1))

simplify79.0ms (1%)

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
050512576

prune199.0ms (2.6%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1434147
Fresh000
Picked101
Done000
Total1444148

Merged error: 0.4b

Counts
148 → 4
Compiler

Compiled 3289 to 2641 computations (19.7% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(/.f64 (/.f64 1 (-.f64 x 1)) (-.f64 x 1))
0.2b
(*.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)))
3.9b
(-.f64 (*.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))) (/.f64 (/.f64 1 (-.f64 x 1)) (-.f64 x 1)))
14.8b
(/.f64 (-.f64 (*.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))) (/.f64 (/.f64 1 (-.f64 x 1)) (-.f64 x 1))) (-.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1))))

rewrite446.0ms (5.8%)

Algorithm
rewrite-expression-head
Rules
774×*-un-lft-identity_binary64
753×times-frac_binary64
635×add-sqr-sqrt_binary64
260×distribute-lft-out--_binary64
245×difference-of-squares_binary64
150×add-cube-cbrt_binary64
81×div-inv_binary64
58×frac-sub_binary64
52×difference-of-sqr-1_binary64
37×flip3--_binary64 flip--_binary64
35×associate-/l*_binary64
27×frac-times_binary64
24×distribute-lft-out_binary64
23×associate-/r*_binary64 associate-/r/_binary64
21×swap-sqr_binary64
18×associate-/l/_binary64
17×add-exp-log_binary64
14×pow1_binary64
13×associate-*r*_binary64 add-cbrt-cube_binary64 associate-*l*_binary64
associate-*r/_binary64 associate-*l/_binary64
div-exp_binary64
add-log-exp_binary64
sub-neg_binary64
cbrt-undiv_binary64
pow-div_binary64 distribute-lft-in_binary64 distribute-rgt-in_binary64 clear-num_binary64 frac-2neg_binary64 associate--l+_binary64
pow-prod-down_binary64 diff-log_binary64 cbrt-unprod_binary64 pow-prod-up_binary64 1-exp_binary64 pow-plus_binary64 unswap-sqr_binary64 div-sub_binary64 inv-pow_binary64 prod-exp_binary64 rec-exp_binary64 pow-sqr_binary64 pow-flip_binary64 pow2_binary64 *-commutative_binary64
Counts
4 → 544
Calls

4 calls:

146.0ms
(/.f64 (-.f64 (*.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))) (/.f64 (/.f64 1 (-.f64 x 1)) (-.f64 x 1))) (-.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1))))
97.0ms
(-.f64 (*.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))) (/.f64 (/.f64 1 (-.f64 x 1)) (-.f64 x 1)))
50.0ms
(*.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)))
17.0ms
(/.f64 (/.f64 1 (-.f64 x 1)) (-.f64 x 1))

series495.0ms (6.4%)

Counts
4 → 12
Calls

4 calls:

315.0ms
(/.f64 (-.f64 (*.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))) (/.f64 (/.f64 1 (-.f64 x 1)) (-.f64 x 1))) (-.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1))))
121.0ms
(-.f64 (*.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))) (/.f64 (/.f64 1 (-.f64 x 1)) (-.f64 x 1)))
35.0ms
(*.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)))
24.0ms
(/.f64 (/.f64 1 (-.f64 x 1)) (-.f64 x 1))

simplify240.0ms (3.1%)

Algorithm
egg-herbie
Counts
556 → 556
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
0528925568

prune3.5s (45.8%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New5551556
Fresh033
Picked011
Done000
Total5555560

Merged error: 0.3b

Counts
560 → 5
Compiler

Compiled 31680 to 25315 computations (20.1% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 x (+.f64 1 x))
0.0b
(*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2)))
0.0b
(-.f64 x (*.f64 (+.f64 1 x) 2))
16.1b
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))

rewrite46.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
24×associate-*r/_binary64
19×flip3--_binary64 flip--_binary64
16×frac-add_binary64 add-sqr-sqrt_binary64
13×*-un-lft-identity_binary64
12×frac-times_binary64
10×flip3-+_binary64 associate-*l*_binary64 flip-+_binary64
add-log-exp_binary64 pow1_binary64 add-cube-cbrt_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
associate-*r*_binary64
associate-*l/_binary64
sub-neg_binary64
distribute-lft-in_binary64 distribute-rgt-in_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 associate-+l+_binary64 unswap-sqr_binary64 prod-exp_binary64 difference-of-squares_binary64 associate-+r+_binary64 *-commutative_binary64
diff-log_binary64 distribute-lft-out_binary64 difference-of-sqr-1_binary64 distribute-lft-out--_binary64 +-commutative_binary64 sum-log_binary64
Counts
4 → 97
Calls

4 calls:

12.0ms
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))
10.0ms
(*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2)))
7.0ms
(*.f64 x (+.f64 1 x))
3.0ms
(-.f64 x (*.f64 (+.f64 1 x) 2))

series122.0ms (1.6%)

Counts
4 → 12
Calls

4 calls:

54.0ms
(*.f64 x (+.f64 1 x))
32.0ms
(-.f64 x (*.f64 (+.f64 1 x) 2))
28.0ms
(*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2)))
8.0ms
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))

simplify74.0ms (1%)

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049973152
149973152

prune183.0ms (2.4%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1090109
Fresh033
Picked011
Done011
Total1095114

Merged error: 0.3b

Counts
114 → 5
Compiler

Compiled 3896 to 2719 computations (30.2% saved)

localize17.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))
0.2b
(+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))
6.2b
(+.f64 (*.f64 (-.f64 x 1) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))) 1)
12.3b
(/.f64 (*.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (+.f64 (*.f64 (-.f64 x 1) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))) 1)) (*.f64 (-.f64 x 1) (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))))

rewrite158.0ms (2.1%)

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity_binary64
16×add-exp-log_binary64 add-cbrt-cube_binary64
13×flip3-+_binary64 flip-+_binary64
12×frac-times_binary64
11×associate-/l/_binary64 associate-/r/_binary64
10×add-log-exp_binary64 distribute-lft-out_binary64
times-frac_binary64
frac-add_binary64
associate-*r/_binary64 associate-*l/_binary64
pow1_binary64 flip3--_binary64 cbrt-unprod_binary64 cbrt-undiv_binary64 add-cube-cbrt_binary64 prod-exp_binary64 add-sqr-sqrt_binary64 div-exp_binary64 flip--_binary64
div-inv_binary64 +-commutative_binary64 sum-log_binary64
sub-neg_binary64 associate-+l+_binary64
associate-/r*_binary64 distribute-lft-in_binary64 distribute-rgt-in_binary64 clear-num_binary64 frac-2neg_binary64 associate-/l*_binary64
Counts
4 → 88
Calls

4 calls:

75.0ms
(/.f64 (*.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (+.f64 (*.f64 (-.f64 x 1) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))) 1)) (*.f64 (-.f64 x 1) (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))))
31.0ms
(+.f64 (*.f64 (-.f64 x 1) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))) 1)
19.0ms
(+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))
19.0ms
(+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))

series292.0ms (3.8%)

Counts
4 → 12
Calls

4 calls:

173.0ms
(/.f64 (*.f64 (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (+.f64 (*.f64 (-.f64 x 1) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))) 1)) (*.f64 (-.f64 x 1) (+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))))
66.0ms
(+.f64 (*.f64 (-.f64 x 1) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))) 1)
26.0ms
(+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))
26.0ms
(+.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))

simplify64.0ms (0.8%)

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
052313120

prune245.0ms (3.2%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New991100
Fresh022
Picked011
Done022
Total996105

Merged error: 0b

Counts
105 → 6
Compiler

Compiled 4564 to 3621 computations (20.7% saved)

regimes33.0ms (0.4%)

Compiler

Compiled 200 to 164 computations (18% saved)

bsearch47.0ms (0.6%)

Steps
ItersRangePoint
9
0.010202949254377256
24399092.24294659
7216120.091792685
8
-4012917671.3003016
-13249224.75806342
-35323144.403240085
Compiler

Compiled 1 to 1 computations (0% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0119109
1119109

end0.0ms (0%)

sample941.0ms (12.2%)

Algorithm
intervals
Results
180.0ms1295×body1024valid
174.0ms4490×body128valid
158.0ms1512×body512valid
54.0ms703×body256valid
0.0msbody128invalid
Compiler

Compiled 296 to 240 computations (18.9% saved)

Profiling

Loading profile data...