Details

Time bar (total: 2.6s)

analyze12.0ms

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

sample27.0ms

Algorithm
intervals
Results
8.0ms61×body640valid
5.0ms128×body80valid
3.0ms18×body1280valid
3.0ms27×body320valid
2.0ms22×body160valid

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (11.0ms)

IterNodesCost
019322
119322

prune3.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 10.1b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite75.0ms

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:
7.0ms
(/.f64 1 (-.f64 x 1))
6.0ms
(/.f64 1 (+.f64 x 1))
17.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
40.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))

series84.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(/.f64 1 (-.f64 x 1))
7.0ms
(/.f64 1 (+.f64 x 1))
15.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
54.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))

simplify105.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 0 (75.0ms)

IterNodesCost
050692576

prune137.0ms

Filtered
88 candidates to 147 candidates (-67.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1452147
Fresh000
Picked101
Done000
Total1462148

Merged error: 0.1b

Counts
148 → 2

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt.f64 (-.f64 x 1))
0.3b
(cbrt.f64 (-.f64 x 1))
0.3b
(*.f64 (cbrt.f64 (-.f64 x 1)) (cbrt.f64 (-.f64 x 1)))
17.1b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (*.f64 (/.f64 1 (*.f64 (cbrt.f64 (-.f64 x 1)) (cbrt.f64 (-.f64 x 1)))) (/.f64 1 (cbrt.f64 (-.f64 x 1)))))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
54×cbrt-prod_binary64
50×add-sqr-sqrt_binary64
40×*-un-lft-identity_binary64
16×cbrt-div_binary64
14×swap-sqr_binary64 add-cube-cbrt_binary64 difference-of-squares_binary64
12×flip3--_binary64 frac-add_binary64 flip--_binary64
11×pow1_binary64
10×associate-*r*_binary64 associate-*l*_binary64
add-log-exp_binary64
pow1/3_binary64 difference-of-sqr-1_binary64 distribute-lft-out--_binary64
frac-times_binary64
add-exp-log_binary64
associate-*r/_binary64 associate-*l/_binary64
add-cbrt-cube_binary64 unswap-sqr_binary64 frac-sub_binary64
un-div-inv_binary64
pow-prod-down_binary64 pow-prod-up_binary64 pow-sqr_binary64 sum-log_binary64
flip3-+_binary64 sub-neg_binary64 diff-log_binary64 cbrt-unprod_binary64 associate-+l+_binary64 associate-+l-_binary64 pow-plus_binary64 prod-exp_binary64 +-commutative_binary64 flip-+_binary64 pow2_binary64 *-commutative_binary64
Counts
4 → 124
Calls
4 calls:
3.0ms
(cbrt.f64 (-.f64 x 1))
3.0ms
(cbrt.f64 (-.f64 x 1))
12.0ms
(*.f64 (cbrt.f64 (-.f64 x 1)) (cbrt.f64 (-.f64 x 1)))
24.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (*.f64 (/.f64 1 (*.f64 (cbrt.f64 (-.f64 x 1)) (cbrt.f64 (-.f64 x 1)))) (/.f64 1 (cbrt.f64 (-.f64 x 1)))))

series171.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(cbrt.f64 (-.f64 x 1))
28.0ms
(cbrt.f64 (-.f64 x 1))
38.0ms
(*.f64 (cbrt.f64 (-.f64 x 1)) (cbrt.f64 (-.f64 x 1)))
76.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (*.f64 (/.f64 1 (*.f64 (cbrt.f64 (-.f64 x 1)) (cbrt.f64 (-.f64 x 1)))) (/.f64 1 (cbrt.f64 (-.f64 x 1)))))

simplify69.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
050433230

prune192.0ms

Filtered
94 candidates to 136 candidates (-44.7%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1360136
Fresh011
Picked011
Done000
Total1362138

Merged error: 0.1b

Counts
138 → 2

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(/.f64 2 (pow.f64 x 5))
0.1b
(/.f64 2 (pow.f64 x 3))
0.2b
(/.f64 2 (pow.f64 x 7))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
78×times-frac_binary64
60×*-un-lft-identity_binary64 add-cube-cbrt_binary64 add-sqr-sqrt_binary64
36×unpow-prod-down_binary64
26×associate-/r*_binary64
18×add-exp-log_binary64
12×sqr-pow_binary64 cube-prod_binary64
add-cbrt-cube_binary64 associate-/l*_binary64 div-exp_binary64
unpow3_binary64 cube-mult_binary64
pow-to-exp_binary64 add-log-exp_binary64 pow1_binary64 cbrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 pow-exp_binary64
Counts
3 → 155
Calls
3 calls:
5.0ms
(/.f64 2 (pow.f64 x 5))
5.0ms
(/.f64 2 (pow.f64 x 3))
5.0ms
(/.f64 2 (pow.f64 x 7))

series91.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(/.f64 2 (pow.f64 x 5))
23.0ms
(/.f64 2 (pow.f64 x 3))
36.0ms
(/.f64 2 (pow.f64 x 7))

simplify78.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049062191
149062191

prune160.0ms

Filtered
104 candidates to 164 candidates (-57.7%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1613164
Fresh000
Picked011
Done011
Total1615166

Merged error: 0.0b

Counts
166 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(/.f64 2 (pow.f64 x 5))
0.1b
(/.f64 (/.f64 2 (*.f64 x x)) x)
0.2b
(/.f64 2 (pow.f64 x 7))
0.5b
(/.f64 2 (*.f64 x x))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
78×times-frac_binary64
54×*-un-lft-identity_binary64 add-cube-cbrt_binary64 add-sqr-sqrt_binary64
28×add-exp-log_binary64
24×unpow-prod-down_binary64
22×add-cbrt-cube_binary64
18×associate-/r*_binary64
16×associate-/l*_binary64
13×div-exp_binary64
cbrt-undiv_binary64
sqr-pow_binary64 div-inv_binary64
add-log-exp_binary64 pow1_binary64 clear-num_binary64 frac-2neg_binary64
pow-to-exp_binary64 cbrt-unprod_binary64 prod-exp_binary64 pow-exp_binary64
associate-/l/_binary64
Counts
4 → 159
Calls
4 calls:
5.0ms
(/.f64 2 (pow.f64 x 5))
7.0ms
(/.f64 (/.f64 2 (*.f64 x x)) x)
4.0ms
(/.f64 2 (pow.f64 x 7))
5.0ms
(/.f64 2 (*.f64 x x))

series123.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(/.f64 2 (pow.f64 x 5))
29.0ms
(/.f64 (/.f64 2 (*.f64 x x)) x)
43.0ms
(/.f64 2 (pow.f64 x 7))
20.0ms
(/.f64 2 (*.f64 x x))

simplify124.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 0 (90.0ms)

IterNodesCost
049772283
149772283

prune179.0ms

Filtered
122 candidates to 171 candidates (-40.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1692171
Fresh112
Picked101
Done022
Total1715176

Merged error: 0b

Counts
176 → 5

regimes26.0ms

Accuracy

99.8% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 25.7b

bsearch44.0ms

Steps
ItersRangePoint
10
2.3043253668356612e-10
796.8629485042827
126.59925884127742
10
-235423.6517036655
-4.826735066471469e-14
-106.76785359664669

simplify5.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
07285
17285

end0.0ms

sample764.0ms

Algorithm
intervals
Results
261.0ms1845×body640valid
160.0ms4108×body80valid
109.0ms613×body1280valid
107.0ms976×body320valid
33.0ms458×body160valid
0.0msbody80invalid

Profiling

Loading profile data...