Details

Time bar (total: 5.3s)

sample43.0ms

Algorithm
intervals
Results
12.0ms280×body80nan
8.0ms62×body640valid
5.0ms29×body1280valid
5.0ms140×body80valid
2.0ms18×body320valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0116
1146
2146

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 21.1b

Counts
2 → 1

localize8.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))
2.0b
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

rewrite51.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))
6.0ms
(/ 1.0 (sqrt (+ x 1.0)))
6.0ms
(/ 1.0 (sqrt x))
31.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series290.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(sqrt (+ x 1.0))
79.0ms
(/ 1.0 (sqrt (+ x 1.0)))
44.0ms
(/ 1.0 (sqrt x))
136.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

simplify48.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04431097
114341038
25002992

prune542.0ms

Filtered
145 candidates to 98 candidates (67.6%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New13015145
Fresh000
Picked101
Done000
Total13115146

Merged error: 20.6b

Counts
146 → 15

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.1b
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
0.3b
(* (sqrt x) (sqrt (+ x 1.0)))
2.3b
(- (sqrt (+ x 1.0)) (sqrt x))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
23×sqrt-prod
20×*-un-lft-identity
18×add-exp-log add-cbrt-cube
pow1 add-cube-cbrt
associate-*r*
sqrt-div associate-*r/ associate-*l* add-log-exp
prod-exp cbrt-unprod
cbrt-undiv div-exp difference-of-squares unswap-sqr
sqrt-pow1 flip3-+ pow1/2 pow-prod-down flip-+ distribute-lft-out distribute-lft-out--
flip3-- associate-/r/ flip-- associate-/l/
sub-neg rem-sqrt-square frac-2neg times-frac sqrt-unprod diff-log clear-num associate-/r* *-commutative div-inv associate-/l*
Counts
4 → 93
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
20.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
8.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
8.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series428.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(sqrt (+ x 1.0))
265.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
60.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
69.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify67.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0511884
12548762
25002749

prune246.0ms

Filtered
105 candidates to 73 candidates (69.5%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New1023105
Fresh11314
Picked101
Done000
Total10416120

Merged error: 19.8b

Counts
120 → 16

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
105×*-un-lft-identity
41×distribute-lft-out
35×sqrt-prod
31×times-frac
29×add-exp-log add-sqr-sqrt add-cbrt-cube
21×add-cube-cbrt
cbrt-undiv div-exp add-log-exp
pow1 prod-exp cbrt-unprod distribute-lft-out--
associate-*r* associate-/r*
associate-*l* associate-/l*
flip3-+ associate-*r/ flip-+
sqrt-div associate-/r/ unswap-sqr
pow-prod-down associate-/l/
associate-+r- associate-+r+ frac-2neg sqrt-pow1 pow1/2 clear-num sum-log div-inv
+-commutative sub-neg sqrt-unprod diff-log div-sub *-commutative
Counts
4 → 136
Calls
4 calls:
15.0ms
(/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
25.0ms
(/ (* 1.0 (/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
8.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
6.0ms
(+ x (- 1.0 x))

series697.0ms

Counts
4 → 12
Calls
4 calls:
146.0ms
(/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
487.0ms
(/ (* 1.0 (/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
62.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
1.0ms
(+ x (- 1.0 x))

simplify95.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
07101587
138371359
250021323

prune291.0ms

Filtered
148 candidates to 84 candidates (56.8%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1453148
Fresh7815
Picked101
Done000
Total15311164

Merged error: 0.2b

Counts
164 → 11

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity
31×sqrt-prod
29×add-exp-log add-cbrt-cube
27×add-sqr-sqrt
21×distribute-lft-out
19×add-cube-cbrt times-frac
cbrt-undiv div-exp
pow1 prod-exp cbrt-unprod
associate-*r* associate-/r*
associate-*l* add-log-exp
associate-*r/
flip3-+ sqrt-div associate-/r/ flip-+ associate-/l* unswap-sqr
pow-prod-down
frac-2neg sqrt-pow1 pow1/2 clear-num div-inv
+-commutative sqrt-unprod sum-log *-commutative associate-/l/
Counts
4 → 116
Calls
4 calls:
7.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
10.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
18.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
8.0ms
(* (sqrt x) (sqrt (+ x 1.0)))

series777.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
142.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
508.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
58.0ms
(* (sqrt x) (sqrt (+ x 1.0)))

simplify84.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
06711264
135141071
250011043

prune258.0ms

Filtered
128 candidates to 81 candidates (63.3%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1199128
Fresh6410
Picked101
Done000
Total12613139

Merged error: 0.0b

Counts
139 → 13

regimes51.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01716
11716

end0.0ms

sample1.1s

Algorithm
intervals
Results
271.0ms8027×body80nan
257.0ms1856×body640valid
199.0ms1103×body1280valid
148.0ms4129×body80valid
62.0ms613×body320valid
20.0ms299×body160valid

Profiling

Loading profile data...