Details

Time bar (total: 3.7s)

analyze1.0ms

Algorithm
search

sample27.0ms

Algorithm
intervals
Results
8.0ms55×body640valid
6.0ms33×body1280valid
5.0ms139×body80valid
2.0ms18×body320valid
1.0ms11×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0116
1146
2146

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 19.3b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ 1.0 (sqrt (+ x 1.0)))
0.2b
(/ 1.0 (sqrt x))
3.6b
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
71×*-un-lft-identity
70×add-sqr-sqrt
69×times-frac
46×sqrt-prod
40×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
div-inv
pow1
cbrt-undiv frac-2neg sqrt-div div-exp clear-num associate-/r/
sub-neg flip3-- flip3-+ diff-log frac-sub flip-- flip-+
Counts
3 → 117
Calls
3 calls:
7.0ms
(/ 1.0 (sqrt (+ x 1.0)))
7.0ms
(/ 1.0 (sqrt x))
30.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series25.0ms

Counts
3 → 9
Calls
3 calls:
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))))

simplify58.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05411048
120151014
25002983

prune223.0ms

Filtered
85 candidates to 126 candidates (-48.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New11511126
Fresh000
Picked101
Done000
Total11611127

Merged error: 18.7b

Counts
127 → 11

localize13.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.5b
(- (* (/ 1.0 (sqrt x)) (/ 1.0 (sqrt x))) (* (/ 1.0 (sqrt (+ x 1.0))) (/ 1.0 (sqrt (+ x 1.0)))))

rewrite116.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:
44.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)))))
25.0ms
(* (/ 1.0 (sqrt (+ x 1.0))) (/ 1.0 (sqrt (+ x 1.0))))
16.0ms
(* (/ 1.0 (sqrt x)) (/ 1.0 (sqrt x)))
9.0ms
(- (* (/ 1.0 (sqrt x)) (/ 1.0 (sqrt x))) (* (/ 1.0 (sqrt (+ x 1.0))) (/ 1.0 (sqrt (+ x 1.0)))))

series40.0ms

Counts
4 → 12
Calls
4 calls:
29.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)))
6.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 (35.0ms)

IterNodesCost
017185942
150015479

prune928.0ms

Filtered
203 candidates to 366 candidates (-80.3%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New3597366
Fresh9110
Picked101
Done000
Total3698377

Merged error: 4.0b

Counts
377 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite77.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)

series47.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ 1.0 (sqrt (+ x 1.0)))
7.0ms
(/ 1.0 (sqrt x))
33.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 (30.0ms)

IterNodesCost
014944115
150023785

prune440.0ms

Filtered
144 candidates to 260 candidates (-80.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2564260
Fresh437
Picked101
Done000
Total2617268

Merged error: 4.0b

Counts
268 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite80.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:
10.0ms
(/ (* (* 1.0 1.0) 1.0) (* (+ x 1.0) x))
6.0ms
(/ 1.0 (sqrt (+ x 1.0)))
4.0ms
(/ 1.0 (sqrt x))
44.0ms
(/ (/ (* (* 1.0 1.0) 1.0) (* (+ x 1.0) x)) (+ (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0)))))

series50.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
270 → 270
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
014493810
150013418

prune412.0ms

Filtered
147 candidates to 270 candidates (-83.7%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New26010270
Fresh516
Picked101
Done000
Total26611277

Merged error: 0.0b

Counts
277 → 11

regimes64.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01612
11612

end0.0ms

analyze1.0ms

Algorithm
search

sample789.0ms

Algorithm
intervals
Results
256.0ms1833×body640valid
201.0ms1126×body1280valid
153.0ms4100×body80valid
66.0ms632×body320valid
22.0ms309×body160valid

Profiling

Loading profile data...