Details

Time bar (total: 1.8s)

analyze4.0ms

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

sample23.0ms

Algorithm
intervals
Results
8.0ms57×body1280valid
4.0ms38×body640valid
4.0ms136×body80valid
1.0ms13×body320valid
1.0ms12×body160valid

simplify69.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
068013
168013

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.2b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/.f64 (+.f64 x 1) (-.f64 x 1))
0.0b
(/.f64 x (+.f64 x 1))
3.1b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
110×*-un-lft-identity_binary64
60×times-frac_binary64
57×add-sqr-sqrt_binary64
25×add-cube-cbrt_binary64
20×distribute-lft-out_binary64
18×distribute-lft-out--_binary64
14×difference-of-squares_binary64
11×associate-/r*_binary64
add-exp-log_binary64 add-cbrt-cube_binary64 associate-/l*_binary64
add-log-exp_binary64 difference-of-sqr-1_binary64
associate-/r/_binary64
pow1_binary64
flip3-+_binary64 associate-/l/_binary64 flip3--_binary64 cbrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64 flip--_binary64 flip-+_binary64
sub-neg_binary64 diff-log_binary64 frac-sub_binary64
Counts
3 → 113
Calls
3 calls:
8.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
6.0ms
(/.f64 x (+.f64 x 1))
37.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))

series14.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
3.0ms
(/.f64 x (+.f64 x 1))
8.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))

simplify72.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
049111531
149111531

prune142.0ms

Filtered
77 candidates to 122 candidates (-58.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1184122
Fresh000
Picked101
Done000
Total1194123

Merged error: 0.0b

Counts
123 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/.f64 1 (-.f64 x 1))
0.0b
(/.f64 x (+.f64 x 1))
0.1b
(*.f64 (+.f64 x 1) (/.f64 1 (-.f64 x 1)))
5.5b
(-.f64 (/.f64 x (+.f64 x 1)) (*.f64 (+.f64 x 1) (/.f64 1 (-.f64 x 1))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
72×add-sqr-sqrt_binary64
69×*-un-lft-identity_binary64
56×times-frac_binary64
37×add-cube-cbrt_binary64
27×associate-*r*_binary64
19×add-exp-log_binary64
14×difference-of-squares_binary64
13×add-cbrt-cube_binary64
11×associate-/r*_binary64
pow1_binary64 difference-of-sqr-1_binary64 distribute-lft-out--_binary64
add-log-exp_binary64 associate-/r/_binary64 associate-/l*_binary64 frac-sub_binary64
flip3-+_binary64 distribute-lft-out_binary64 div-exp_binary64 flip-+_binary64
associate-*l*_binary64 prod-exp_binary64 frac-times_binary64 associate-*l/_binary64
flip3--_binary64 cbrt-undiv_binary64 unswap-sqr_binary64 div-inv_binary64 flip--_binary64
cbrt-unprod_binary64 1-exp_binary64 associate-*r/_binary64 clear-num_binary64 frac-2neg_binary64 rec-exp_binary64 un-div-inv_binary64
pow-prod-down_binary64 sub-neg_binary64 diff-log_binary64 inv-pow_binary64 pow-flip_binary64 *-commutative_binary64
Counts
4 → 154
Calls
4 calls:
6.0ms
(/.f64 1 (-.f64 x 1))
5.0ms
(/.f64 x (+.f64 x 1))
17.0ms
(*.f64 (+.f64 x 1) (/.f64 1 (-.f64 x 1)))
11.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (*.f64 (+.f64 x 1) (/.f64 1 (-.f64 x 1))))

series18.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(/.f64 1 (-.f64 x 1))
3.0ms
(/.f64 x (+.f64 x 1))
4.0ms
(*.f64 (+.f64 x 1) (/.f64 1 (-.f64 x 1)))
9.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (*.f64 (+.f64 x 1) (/.f64 1 (-.f64 x 1))))

simplify56.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
051791695

prune131.0ms

Filtered
103 candidates to 166 candidates (-61.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1660166
Fresh033
Picked011
Done000
Total1664170

Merged error: 0.0b

Counts
170 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/.f64 (+.f64 x 1) (-.f64 x 1))
0.1b
(*.f64 (/.f64 x (+.f64 (*.f64 x x) -1)) (-.f64 x 1))
5.5b
(-.f64 (*.f64 (/.f64 x (+.f64 (*.f64 x x) -1)) (-.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
16.2b
(/.f64 x (+.f64 (*.f64 x x) -1))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
69×*-un-lft-identity_binary64
64×add-sqr-sqrt_binary64
53×times-frac_binary64
35×add-cube-cbrt_binary64
18×associate-*l*_binary64
13×add-exp-log_binary64 add-cbrt-cube_binary64
12×difference-of-squares_binary64
11×associate-/r*_binary64
distribute-lft-out_binary64
associate-*r*_binary64 difference-of-sqr--1_binary64 associate-/l*_binary64
add-log-exp_binary64 pow1_binary64 flip3--_binary64 difference-of-sqr-1_binary64 associate-/r/_binary64 distribute-lft-out--_binary64 flip--_binary64
sub-neg_binary64 frac-sub_binary64
associate-*r/_binary64 frac-times_binary64
flip3-+_binary64 cbrt-undiv_binary64 div-inv_binary64 div-exp_binary64 flip-+_binary64
associate-/l/_binary64 cbrt-unprod_binary64 distribute-lft-in_binary64 distribute-rgt-in_binary64 unswap-sqr_binary64 clear-num_binary64 prod-exp_binary64 frac-2neg_binary64 associate--l+_binary64 associate-*l/_binary64
pow-prod-down_binary64 diff-log_binary64 *-commutative_binary64
Counts
4 → 153
Calls
4 calls:
10.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
14.0ms
(*.f64 (/.f64 x (+.f64 (*.f64 x x) -1)) (-.f64 x 1))
20.0ms
(-.f64 (*.f64 (/.f64 x (+.f64 (*.f64 x x) -1)) (-.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
6.0ms
(/.f64 x (+.f64 (*.f64 x x) -1))

series26.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
5.0ms
(*.f64 (/.f64 x (+.f64 (*.f64 x x) -1)) (-.f64 x 1))
12.0ms
(-.f64 (*.f64 (/.f64 x (+.f64 (*.f64 x x) -1)) (-.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
6.0ms
(/.f64 x (+.f64 (*.f64 x x) -1))

simplify39.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
051392025

prune158.0ms

Filtered
123 candidates to 165 candidates (-34.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1650165
Fresh022
Picked011
Done011
Total1654169

Merged error: 0.0b

Counts
169 → 4

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(+.f64 1 (*.f64 x (+.f64 x 3)))
0.0b
(*.f64 x (+.f64 x 3))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64 add-sqr-sqrt_binary64
add-log-exp_binary64 pow1_binary64 associate-*r*_binary64 add-cube-cbrt_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
associate-*l*_binary64
flip3-+_binary64 associate-*r/_binary64 distribute-lft-in_binary64 distribute-rgt-in_binary64 flip-+_binary64 associate-+r+_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 distribute-lft-out_binary64 unswap-sqr_binary64 prod-exp_binary64 +-commutative_binary64 sum-log_binary64 *-commutative_binary64
Counts
2 → 36
Calls
2 calls:
5.0ms
(+.f64 1 (*.f64 x (+.f64 x 3)))
6.0ms
(*.f64 x (+.f64 x 3))

series9.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(+.f64 1 (*.f64 x (+.f64 x 3)))
6.0ms
(*.f64 x (+.f64 x 3))

simplify67.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
04937308
14937308

prune28.0ms

Filtered
28 candidates to 42 candidates (-50.0%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New42042
Fresh011
Picked011
Done022
Total42446

Merged error: 0.0b

Counts
46 → 4

regimes38.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch24.0ms

Steps
ItersRangePoint
8
783.9248997700159
333434.52581577527
14598.338637180132
10
-1150091520452.1025
-0.024287732823846688
-13030.927938080447

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
08239
18239

end0.0ms

sample672.0ms

Algorithm
intervals
Results
244.0ms1665×body1280valid
137.0ms1201×body640valid
128.0ms4231×body80valid
53.0ms595×body320valid
18.0ms308×body160valid

Profiling

Loading profile data...