Details

Time bar (total: 4.3s)

sample43.0ms

Algorithm
intervals
Results
11.0ms241×body80nan
8.0ms54×body640valid
5.0ms29×body1280valid
5.0ms136×body80valid
2.0ms24×body320valid
1.0ms13×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0116
1146
2146

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 21.1b

Counts
2 → 1

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.1b
(/ 1.0 (sqrt (+ x 1.0)))
0.2b
(/ 1.0 (sqrt x))
3.4b
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

rewrite48.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:
3.0ms
(sqrt (+ x 1.0))
5.0ms
(/ 1.0 (sqrt (+ x 1.0)))
4.0ms
(/ 1.0 (sqrt x))
32.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series28.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
06101151
123011116
250011086

prune272.0ms

Filtered
145 candidates to 100 candidates (31.0%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New13015145
Fresh000
Picked101
Done000
Total13115146

Merged error: 20.4b

Counts
146 → 15

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (- (* (/ 1.0 (sqrt x)) (/ 1.0 (sqrt x))) (* (/ 1.0 (sqrt (+ x 1.0))) (/ 1.0 (sqrt (+ x 1.0))))) (+ (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0)))))
0.3b
(* (/ 1.0 (sqrt (+ x 1.0))) (/ 1.0 (sqrt (+ x 1.0))))
0.5b
(* (/ 1.0 (sqrt x)) (/ 1.0 (sqrt x)))
3.3b
(- (* (/ 1.0 (sqrt x)) (/ 1.0 (sqrt x))) (* (/ 1.0 (sqrt (+ x 1.0))) (/ 1.0 (sqrt (+ x 1.0)))))

rewrite129.0ms

Algorithm
rewrite-expression-head
Rules
362×times-frac
331×*-un-lft-identity
258×add-sqr-sqrt
180×sqrt-prod
174×add-cube-cbrt
88×distribute-lft-out
67×swap-sqr
49×associate-*r* associate-*l*
30×add-exp-log add-cbrt-cube
19×div-inv
18×pow1 frac-sub unswap-sqr
16×difference-of-squares
14×frac-times associate-*r/ associate-*l/ associate-/r*
11×associate-/r/ associate-/l/
cbrt-undiv div-exp
sqrt-div prod-exp cbrt-unprod
add-log-exp
flip3-+ flip-+
associate-/l*
pow2 flip3-- pow-plus pow-prod-down pow-sqr *-commutative pow-prod-up flip--
sub-neg frac-2neg diff-log div-sub frac-add clear-num
Counts
4 → 354
Calls
4 calls:
55.0ms
(/ (- (* (/ 1.0 (sqrt x)) (/ 1.0 (sqrt x))) (* (/ 1.0 (sqrt (+ x 1.0))) (/ 1.0 (sqrt (+ x 1.0))))) (+ (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0)))))
23.0ms
(* (/ 1.0 (sqrt (+ x 1.0))) (/ 1.0 (sqrt (+ x 1.0))))
16.0ms
(* (/ 1.0 (sqrt x)) (/ 1.0 (sqrt x)))
8.0ms
(- (* (/ 1.0 (sqrt x)) (/ 1.0 (sqrt x))) (* (/ 1.0 (sqrt (+ x 1.0))) (/ 1.0 (sqrt (+ x 1.0)))))

series35.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ (- (* (/ 1.0 (sqrt x)) (/ 1.0 (sqrt x))) (* (/ 1.0 (sqrt (+ x 1.0))) (/ 1.0 (sqrt (+ x 1.0))))) (+ (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0)))))
2.0ms
(* (/ 1.0 (sqrt (+ x 1.0))) (/ 1.0 (sqrt (+ x 1.0))))
3.0ms
(* (/ 1.0 (sqrt x)) (/ 1.0 (sqrt x)))
5.0ms
(- (* (/ 1.0 (sqrt x)) (/ 1.0 (sqrt x))) (* (/ 1.0 (sqrt (+ x 1.0))) (/ 1.0 (sqrt (+ x 1.0)))))

simplify86.0ms

Algorithm
egg-herbie
Counts
366 → 366
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
017185942
150015479

prune979.0ms

Filtered
366 candidates to 203 candidates (44.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New3615366
Fresh12214
Picked101
Done000
Total3747381

Merged error: 4.7b

Counts
381 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1.0 (sqrt (+ x 1.0)))
0.2b
(/ 1.0 (sqrt x))
0.3b
(/ (/ (* (* 1.0 1.0) (- (+ x 1.0) x)) (* (+ x 1.0) x)) (+ (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0)))))
2.2b
(- (+ x 1.0) x)

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
303×*-un-lft-identity
296×times-frac
124×sqrt-prod
117×distribute-lft-out
108×add-sqr-sqrt
106×add-cube-cbrt
37×add-exp-log add-cbrt-cube
35×associate-/r/
34×div-inv
30×associate-*l/
27×associate-/r*
17×flip3-+ flip-+
15×cbrt-undiv div-exp
13×associate-/l*
prod-exp cbrt-unprod add-log-exp
pow1
frac-2neg clear-num
sqrt-div diff-log distribute-lft-out--
sub-neg flip3-- frac-add associate--l+ sum-log flip-- associate-/l/ difference-of-squares
Counts
4 → 248
Calls
4 calls:
5.0ms
(/ 1.0 (sqrt (+ x 1.0)))
4.0ms
(/ 1.0 (sqrt x))
46.0ms
(/ (/ (* (* 1.0 1.0) (- (+ x 1.0) x)) (* (+ x 1.0) x)) (+ (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0)))))
6.0ms
(- (+ x 1.0) x)

series48.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
260 → 260
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
014944115
150023785

prune456.0ms

Filtered
260 candidates to 144 candidates (44.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2582260
Fresh246
Picked101
Done000
Total2616267

Merged error: 4.7b

Counts
267 → 6

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1.0 (sqrt (+ x 1.0)))
0.2b
(/ 1.0 (sqrt x))
0.7b
(/ (* (* 1.0 1.0) 1.0) (* (+ x 1.0) x))
4.2b
(/ (/ (* (* 1.0 1.0) 1.0) (* (+ x 1.0) x)) (+ (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0)))))

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
298×*-un-lft-identity
297×times-frac
124×sqrt-prod
116×distribute-lft-out
106×add-sqr-sqrt add-cube-cbrt
58×add-exp-log add-cbrt-cube
37×associate-/r/
35×div-inv
32×associate-*l/
28×associate-/r*
21×cbrt-undiv div-exp
18×flip3-+ prod-exp cbrt-unprod flip-+
14×associate-/l*
pow1 frac-2neg clear-num add-log-exp
sqrt-div
frac-add associate-/l/
Counts
4 → 258
Calls
4 calls:
9.0ms
(/ 1.0 (sqrt (+ x 1.0)))
4.0ms
(/ 1.0 (sqrt x))
10.0ms
(/ (* (* 1.0 1.0) 1.0) (* (+ x 1.0) x))
40.0ms
(/ (/ (* (* 1.0 1.0) 1.0) (* (+ x 1.0) x)) (+ (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0)))))

series45.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ 1.0 (sqrt (+ x 1.0)))
7.0ms
(/ 1.0 (sqrt x))
3.0ms
(/ (* (* 1.0 1.0) 1.0) (* (+ x 1.0) x))
30.0ms
(/ (/ (* (* 1.0 1.0) 1.0) (* (+ x 1.0) x)) (+ (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0)))))

simplify71.0ms

Algorithm
egg-herbie
Counts
270 → 270
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
014493810
150013418

prune438.0ms

Filtered
270 candidates to 147 candidates (45.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2628270
Fresh415
Picked101
Done000
Total2679276

Merged error: 0.0b

Counts
276 → 9

regimes53.0ms

Accuracy

0% (0.4b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 0.4b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01512
11512

end0.0ms

sample1.2s

Algorithm
intervals
Results
265.0ms7825×body80nan
252.0ms1833×body640valid
204.0ms1166×body1280valid
151.0ms4104×body80valid
63.0ms594×body320valid
20.0ms303×body160valid

Profiling

Loading profile data...