Details

Time bar (total: 9.7s)

sample95.0ms

Algorithm
intervals
Results
18.0ms46×body1280valid
17.0ms57×body640valid
17.0ms276×body80nan
14.0ms121×body80valid
6.0ms26×body320valid
1.0msbody160valid

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (18.0ms)

IterNodesCost
026511
126511

prune11.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.4b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.2b
(/ 1.0 (sqrt (+ x 1.0)))
0.3b
(/ 1.0 (sqrt x))
1.9b
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
75×*-un-lft-identity
73×add-sqr-sqrt
69×times-frac
50×sqrt-prod
42×add-cube-cbrt
13×associate-/r*
11×distribute-lft-out--
difference-of-squares
add-exp-log add-cbrt-cube distribute-lft-out
associate-/l* add-log-exp
pow1
sqrt-div div-inv
cbrt-undiv frac-2neg flip3-+ div-exp clear-num associate-/r/ flip-+
sub-neg rem-sqrt-square flip3-- sqrt-pow1 pow1/2 diff-log frac-sub flip--
Counts
4 → 133
Calls
4 calls:
6.0ms
(sqrt (+ x 1.0))
16.0ms
(/ 1.0 (sqrt (+ x 1.0)))
8.0ms
(/ 1.0 (sqrt x))
64.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series58.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sqrt (+ x 1.0))
12.0ms
(/ 1.0 (sqrt (+ x 1.0)))
14.0ms
(/ 1.0 (sqrt x))
25.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

simplify58.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
050761846

prune512.0ms

Filtered
103 candidates to 145 candidates (-40.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New13510145
Fresh000
Picked101
Done000
Total13610146

Merged error: 19.9b

Counts
146 → 10

localize28.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1.0 (sqrt (+ 1.0 x)))
0.2b
(/ (- (/ 1.0 (/ x 1.0)) (/ 1.0 (/ (+ 1.0 x) 1.0))) (+ (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ 1.0 x)))))
0.3b
(/ 1.0 (sqrt x))
1.9b
(- (/ 1.0 (/ x 1.0)) (/ 1.0 (/ (+ 1.0 x) 1.0)))

rewrite750.0ms

Algorithm
rewrite-expression-head
Rules
2937×times-frac
2554×*-un-lft-identity
1354×add-sqr-sqrt
778×add-cube-cbrt
708×distribute-lft-out
508×sqrt-prod
368×distribute-lft-out--
211×div-inv
144×difference-of-squares
64×distribute-rgt-out--
45×associate-/l*
37×associate-/r/
27×associate-/r*
10×add-exp-log add-cbrt-cube
add-log-exp
pow1
cbrt-undiv frac-2neg div-exp clear-num associate-/l/
flip3-- flip3-+ sqrt-div frac-sub flip-- flip-+
sub-neg diff-log div-sub frac-add
Counts
4 → 751
Calls
4 calls:
12.0ms
(/ 1.0 (sqrt (+ 1.0 x)))
267.0ms
(/ (- (/ 1.0 (/ x 1.0)) (/ 1.0 (/ (+ 1.0 x) 1.0))) (+ (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ 1.0 x)))))
8.0ms
(/ 1.0 (sqrt x))
186.0ms
(- (/ 1.0 (/ x 1.0)) (/ 1.0 (/ (+ 1.0 x) 1.0)))

series77.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(/ 1.0 (sqrt (+ 1.0 x)))
39.0ms
(/ (- (/ 1.0 (/ x 1.0)) (/ 1.0 (/ (+ 1.0 x) 1.0))) (+ (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ 1.0 x)))))
18.0ms
(/ 1.0 (sqrt x))
8.0ms
(- (/ 1.0 (/ x 1.0)) (/ 1.0 (/ (+ 1.0 x) 1.0)))

simplify434.0ms

Algorithm
egg-herbie
Counts
763 → 763
Iterations

Useful iterations: 0 (175.0ms)

IterNodesCost
0498323240
1498323240

prune2.3s

Filtered
283 candidates to 763 candidates (-169.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New7594763
Fresh729
Picked101
Done000
Total7676773

Merged error: 5.7b

Counts
773 → 6

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (sqrt (+ 1.0 x)))
0.2b
(/ (- (/ 1.0 x) (/ 1.0 (+ 1.0 x))) (+ (/ 1 (sqrt x)) (/ 1 (sqrt (+ 1.0 x)))))
0.3b
(/ 1 (sqrt x))
1.9b
(- (/ 1.0 x) (/ 1.0 (+ 1.0 x)))

rewrite227.0ms

Algorithm
rewrite-expression-head
Rules
950×*-un-lft-identity
855×times-frac
452×add-sqr-sqrt
314×distribute-lft-out
236×add-cube-cbrt
220×sqrt-prod
144×distribute-lft-out--
103×div-inv
72×difference-of-squares
29×associate-/r*
21×associate-/l*
14×add-exp-log
10×add-cbrt-cube
pow1
pow-flip add-log-exp
div-exp associate-/r/
cbrt-undiv frac-2neg clear-num associate-/l/
rec-exp flip3-- sqrt-pow1 flip3-+ pow1/2 sqrt-div 1-exp frac-sub flip-- flip-+ inv-pow
sub-neg diff-log div-sub frac-add
Counts
4 → 411
Calls
4 calls:
12.0ms
(/ 1 (sqrt (+ 1.0 x)))
90.0ms
(/ (- (/ 1.0 x) (/ 1.0 (+ 1.0 x))) (+ (/ 1 (sqrt x)) (/ 1 (sqrt (+ 1.0 x)))))
7.0ms
(/ 1 (sqrt x))
26.0ms
(- (/ 1.0 x) (/ 1.0 (+ 1.0 x)))

series58.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(/ 1 (sqrt (+ 1.0 x)))
30.0ms
(/ (- (/ 1.0 x) (/ 1.0 (+ 1.0 x))) (+ (/ 1 (sqrt x)) (/ 1 (sqrt (+ 1.0 x)))))
12.0ms
(/ 1 (sqrt x))
7.0ms
(- (/ 1.0 x) (/ 1.0 (+ 1.0 x)))

simplify185.0ms

Algorithm
egg-herbie
Counts
423 → 423
Iterations

Useful iterations: 0 (76.0ms)

IterNodesCost
0512210468

prune1.1s

Filtered
146 candidates to 423 candidates (-189.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New4221423
Fresh325
Picked011
Done000
Total4254429

Merged error: 5.7b

Counts
429 → 4

localize30.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (+ 1.0 x))
0.2b
(/ 1 (sqrt (+ 1.0 x)))
0.2b
(/ (- (/ 1.0 x) (/ 1.0 (+ 1.0 x))) (+ (pow x -1/2) (/ 1 (sqrt (+ 1.0 x)))))
1.9b
(- (/ 1.0 x) (/ 1.0 (+ 1.0 x)))

rewrite114.0ms

Algorithm
rewrite-expression-head
Rules
262×*-un-lft-identity
220×times-frac
163×add-sqr-sqrt
79×add-cube-cbrt
61×distribute-lft-out
56×distribute-lft-out--
33×div-inv
28×difference-of-squares
21×associate-/l*
16×associate-/r* sqrt-prod
12×add-exp-log
10×add-cbrt-cube
pow1 associate-/r/ add-log-exp
div-exp
cbrt-undiv pow-flip frac-2neg flip3-+ clear-num flip-+ associate-/l/
flip3-- sqrt-div frac-sub flip--
sub-neg rec-exp sqrt-pow1 pow1/2 diff-log 1-exp div-sub inv-pow
Counts
4 → 222
Calls
4 calls:
5.0ms
(/ 1.0 (+ 1.0 x))
6.0ms
(/ 1 (sqrt (+ 1.0 x)))
60.0ms
(/ (- (/ 1.0 x) (/ 1.0 (+ 1.0 x))) (+ (pow x -1/2) (/ 1 (sqrt (+ 1.0 x)))))
30.0ms
(- (/ 1.0 x) (/ 1.0 (+ 1.0 x)))

series64.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(/ 1.0 (+ 1.0 x))
8.0ms
(/ 1 (sqrt (+ 1.0 x)))
47.0ms
(/ (- (/ 1.0 x) (/ 1.0 (+ 1.0 x))) (+ (pow x -1/2) (/ 1 (sqrt (+ 1.0 x)))))
4.0ms
(- (/ 1.0 x) (/ 1.0 (+ 1.0 x)))

simplify155.0ms

Algorithm
egg-herbie
Counts
234 → 234
Iterations

Useful iterations: 0 (102.0ms)

IterNodesCost
049304978
149304978

prune791.0ms

Filtered
134 candidates to 234 candidates (-74.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2331234
Fresh022
Picked101
Done011
Total2344238

Merged error: 5.7b

Counts
238 → 4

regimes64.0ms

Accuracy

0% (0.3b remaining)

Error of 5.5b against oracle of 5.3b and baseline of 5.5b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01920
11920

end0.0ms

sample2.4s

Algorithm
intervals
Results
538.0ms1816×body640valid
486.0ms8017×body80nan
449.0ms1168×body1280valid
313.0ms4079×body80valid
141.0ms640×body320valid
44.0ms297×body160valid

Profiling

Loading profile data...