Details

Time bar (total: 2.3s)

analyze1.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%0%50%2

sample33.0ms

Algorithm
intervals
Results
10.0ms69×body640valid
10.0ms31×body1280valid
5.0ms130×body80valid
1.0ms14×body320valid
1.0ms12×body160valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (13.0ms)

IterNodesCost
026511
126511

prune4.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: 20.2b

Counts
2 → 1

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (+.f64 x 1.0))
0.2b
(/.f64 1.0 (sqrt.f64 (+.f64 x 1.0)))
0.3b
(/.f64 1.0 (sqrt.f64 x))
3.1b
(-.f64 (/.f64 1.0 (sqrt.f64 x)) (/.f64 1.0 (sqrt.f64 (+.f64 x 1.0))))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
75×*-un-lft-identity_binary64
73×add-sqr-sqrt_binary64
69×times-frac_binary64
50×sqrt-prod_binary64
42×add-cube-cbrt_binary64
13×associate-/r*_binary64
11×distribute-lft-out--_binary64
difference-of-squares_binary64
distribute-lft-out_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
add-log-exp_binary64 associate-/l*_binary64
pow1_binary64
div-inv_binary64 sqrt-div_binary64
flip3-+_binary64 cbrt-undiv_binary64 associate-/r/_binary64 clear-num_binary64 frac-2neg_binary64 div-exp_binary64 flip-+_binary64
sub-neg_binary64 pow1/2_binary64 flip3--_binary64 diff-log_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip--_binary64 frac-sub_binary64
Counts
4 → 132
Calls
4 calls:
3.0ms
(sqrt.f64 (+.f64 x 1.0))
7.0ms
(/.f64 1.0 (sqrt.f64 (+.f64 x 1.0)))
6.0ms
(/.f64 1.0 (sqrt.f64 x))
33.0ms
(-.f64 (/.f64 1.0 (sqrt.f64 x)) (/.f64 1.0 (sqrt.f64 (+.f64 x 1.0))))

series42.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(sqrt.f64 (+.f64 x 1.0))
8.0ms
(/.f64 1.0 (sqrt.f64 (+.f64 x 1.0)))
10.0ms
(/.f64 1.0 (sqrt.f64 x))
18.0ms
(-.f64 (/.f64 1.0 (sqrt.f64 x)) (/.f64 1.0 (sqrt.f64 (+.f64 x 1.0))))

simplify35.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
050761839

prune180.0ms

Filtered
103 candidates to 144 candidates (-39.8%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New13212144
Fresh000
Picked101
Done000
Total13312145

Merged error: 19.6b

Counts
145 → 12

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (+.f64 1.0 x))
0.2b
(/.f64 (*.f64 1.0 (-.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x))) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1.0 x))))
0.3b
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1.0 x)))
3.1b
(-.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt_binary64
23×sqrt-prod_binary64
20×*-un-lft-identity_binary64
18×add-exp-log_binary64 add-cbrt-cube_binary64
pow1_binary64 add-cube-cbrt_binary64
associate-*r*_binary64
add-log-exp_binary64 associate-*r/_binary64 associate-*l*_binary64 sqrt-div_binary64
cbrt-unprod_binary64 prod-exp_binary64
cbrt-undiv_binary64 unswap-sqr_binary64 difference-of-squares_binary64 div-exp_binary64
pow-prod-down_binary64 flip3-+_binary64 pow1/2_binary64 distribute-lft-out_binary64 sqrt-pow1_binary64 distribute-lft-out--_binary64 flip-+_binary64
associate-/l/_binary64 flip3--_binary64 associate-/r/_binary64 flip--_binary64
associate-/r*_binary64 sub-neg_binary64 diff-log_binary64 sqrt-unprod_binary64 rem-sqrt-square_binary64 clear-num_binary64 frac-2neg_binary64 associate-/l*_binary64 times-frac_binary64 div-inv_binary64 *-commutative_binary64
Counts
4 → 92
Calls
4 calls:
4.0ms
(sqrt.f64 (+.f64 1.0 x))
21.0ms
(/.f64 (*.f64 1.0 (-.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x))) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1.0 x))))
9.0ms
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1.0 x)))
9.0ms
(-.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x))

series72.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(sqrt.f64 (+.f64 1.0 x))
42.0ms
(/.f64 (*.f64 1.0 (-.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x))) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1.0 x))))
9.0ms
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1.0 x)))
14.0ms
(-.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x))

simplify40.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
052121577

prune122.0ms

Filtered
76 candidates to 104 candidates (-36.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1031104
Fresh8311
Picked101
Done000
Total1124116

Merged error: 0.3b

Counts
116 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x))
0.2b
(/.f64 (+.f64 1.0 0) (+.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x)))
0.3b
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1.0 x)))
0.3b
(/.f64 (*.f64 1.0 (/.f64 (+.f64 1.0 0) (+.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x)))) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1.0 x))))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
78×*-un-lft-identity_binary64
35×sqrt-prod_binary64
32×distribute-lft-out_binary64
29×add-exp-log_binary64 add-cbrt-cube_binary64
28×add-sqr-sqrt_binary64
25×times-frac_binary64
20×add-cube-cbrt_binary64
cbrt-undiv_binary64 div-exp_binary64
pow1_binary64 cbrt-unprod_binary64 prod-exp_binary64
associate-/r*_binary64 associate-*r*_binary64
add-log-exp_binary64 associate-*l*_binary64
flip3-+_binary64 associate-*r/_binary64 associate-/l*_binary64 flip-+_binary64
associate-/r/_binary64 unswap-sqr_binary64 sqrt-div_binary64
pow-prod-down_binary64 associate-/l/_binary64
pow1/2_binary64 sqrt-pow1_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64
sqrt-unprod_binary64 +-commutative_binary64 sum-log_binary64 *-commutative_binary64
Counts
4 → 125
Calls
4 calls:
8.0ms
(+.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x))
14.0ms
(/.f64 (+.f64 1.0 0) (+.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x)))
9.0ms
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1.0 x)))
25.0ms
(/.f64 (*.f64 1.0 (/.f64 (+.f64 1.0 0) (+.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x)))) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1.0 x))))

series79.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x))
13.0ms
(/.f64 (+.f64 1.0 0) (+.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x)))
8.0ms
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1.0 x)))
49.0ms
(/.f64 (*.f64 1.0 (/.f64 (+.f64 1.0 0) (+.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x)))) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1.0 x))))

simplify61.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
055162087

prune168.0ms

Filtered
90 candidates to 137 candidates (-52.2%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1298137
Fresh123
Picked101
Done000
Total13110141

Merged error: 0.0b

Counts
141 → 10

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/.f64 1.0 (+.f64 (+.f64 1.0 x) (*.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x))))
0.1b
(*.f64 (/.f64 1.0 (sqrt.f64 x)) (/.f64 1.0 (+.f64 (+.f64 1.0 x) (*.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x)))))
0.3b
(*.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x))
0.3b
(/.f64 1.0 (sqrt.f64 x))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
87×add-sqr-sqrt_binary64
67×times-frac_binary64
55×*-un-lft-identity_binary64
53×add-cube-cbrt_binary64
34×sqrt-prod_binary64
29×associate-*l*_binary64
28×associate-*r*_binary64
22×add-exp-log_binary64 add-cbrt-cube_binary64
12×associate-/r/_binary64
11×flip3-+_binary64 flip-+_binary64 associate-*l/_binary64
10×associate-/r*_binary64 pow1_binary64 unswap-sqr_binary64 sqrt-div_binary64
distribute-lft-out_binary64 frac-add_binary64
cbrt-undiv_binary64 associate-/l*_binary64 div-exp_binary64
cbrt-unprod_binary64 prod-exp_binary64
pow-prod-down_binary64 add-log-exp_binary64 div-inv_binary64
pow1/2_binary64 sqrt-pow1_binary64 clear-num_binary64 frac-2neg_binary64 *-commutative_binary64
associate-*r/_binary64 sqrt-unprod_binary64 frac-times_binary64
Counts
4 → 179
Calls
4 calls:
9.0ms
(/.f64 1.0 (+.f64 (+.f64 1.0 x) (*.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x))))
22.0ms
(*.f64 (/.f64 1.0 (sqrt.f64 x)) (/.f64 1.0 (+.f64 (+.f64 1.0 x) (*.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x)))))
9.0ms
(*.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x))
4.0ms
(/.f64 1.0 (sqrt.f64 x))

series56.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(/.f64 1.0 (+.f64 (+.f64 1.0 x) (*.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x))))
24.0ms
(*.f64 (/.f64 1.0 (sqrt.f64 x)) (/.f64 1.0 (+.f64 (+.f64 1.0 x) (*.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x)))))
9.0ms
(*.f64 (sqrt.f64 (+.f64 1.0 x)) (sqrt.f64 x))
13.0ms
(/.f64 1.0 (sqrt.f64 x))

simplify48.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
050183178

prune246.0ms

Filtered
149 candidates to 191 candidates (-28.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1865191
Fresh549
Picked101
Done000
Total1929201

Merged error: 0.0b

Counts
201 → 9

regimes45.0ms

Accuracy

0% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 0.3b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01418
11418

end0.0ms

sample800.0ms

Algorithm
intervals
Results
263.0ms1833×body640valid
204.0ms1140×body1280valid
156.0ms4101×body80valid
63.0ms610×body320valid
22.0ms316×body160valid

Profiling

Loading profile data...