Details

Time bar (total: 3.0s)

sample44.0ms

Algorithm
intervals
Results
10.0ms65×body640valid
8.0ms255×body80nan
8.0ms42×body1280valid
5.0ms120×body80valid
3.0ms24×body320valid
0.0msbody160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01411
11411

prune5.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: 21.7b

Counts
2 → 1

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

rewrite52.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)))
4.0ms
(/ 1.0 (sqrt x))
34.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series31.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
050721846

prune254.0ms

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

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New13312145
Fresh000
Picked101
Done000
Total13412146

Merged error: 21.1b

Counts
146 → 12

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.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 (+ 1.0 x))
16.0ms
(/ (* 1.0 (- (sqrt (+ 1.0 x)) (sqrt x))) (* (sqrt x) (sqrt (+ 1.0 x))))
8.0ms
(* (sqrt x) (sqrt (+ 1.0 x)))
10.0ms
(- (sqrt (+ 1.0 x)) (sqrt x))

series53.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(sqrt (+ 1.0 x))
33.0ms
(/ (* 1.0 (- (sqrt (+ 1.0 x)) (sqrt x))) (* (sqrt x) (sqrt (+ 1.0 x))))
6.0ms
(* (sqrt x) (sqrt (+ 1.0 x)))
10.0ms
(- (sqrt (+ 1.0 x)) (sqrt x))

simplify37.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
052801580

prune188.0ms

Filtered
76 candidates to 105 candidates (-38.2%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1032105
Fresh6511
Picked101
Done000
Total1107117

Merged error: 0.3b

Counts
117 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
78×*-un-lft-identity
35×sqrt-prod
32×distribute-lft-out
29×add-exp-log add-cbrt-cube
28×add-sqr-sqrt
25×times-frac
20×add-cube-cbrt
cbrt-undiv div-exp
pow1 prod-exp cbrt-unprod
associate-*r* associate-/r*
associate-*l* add-log-exp
flip3-+ associate-*r/ flip-+ associate-/l*
sqrt-div associate-/r/ unswap-sqr
pow-prod-down associate-/l/
frac-2neg sqrt-pow1 pow1/2 clear-num div-inv
+-commutative sqrt-unprod sum-log *-commutative
Counts
4 → 125
Calls
4 calls:
7.0ms
(+ (sqrt (+ 1.0 x)) (sqrt x))
12.0ms
(/ (+ 1.0 0) (+ (sqrt (+ 1.0 x)) (sqrt x)))
8.0ms
(* (sqrt x) (sqrt (+ 1.0 x)))
22.0ms
(/ (* 1.0 (/ (+ 1.0 0) (+ (sqrt (+ 1.0 x)) (sqrt x)))) (* (sqrt x) (sqrt (+ 1.0 x))))

series59.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (sqrt (+ 1.0 x)) (sqrt x))
9.0ms
(/ (+ 1.0 0) (+ (sqrt (+ 1.0 x)) (sqrt x)))
6.0ms
(* (sqrt x) (sqrt (+ 1.0 x)))
37.0ms
(/ (* 1.0 (/ (+ 1.0 0) (+ (sqrt (+ 1.0 x)) (sqrt x)))) (* (sqrt x) (sqrt (+ 1.0 x))))

simplify72.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
048852087
148852087

prune253.0ms

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

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1289137
Fresh426
Picked101
Done000
Total13311144

Merged error: 0.0b

Counts
144 → 11

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
87×add-sqr-sqrt
67×times-frac
55×*-un-lft-identity
53×add-cube-cbrt
34×sqrt-prod
29×associate-*l*
28×associate-*r*
22×add-exp-log add-cbrt-cube
12×associate-/r/
11×flip3-+ associate-*l/ flip-+
10×pow1 sqrt-div associate-/r* unswap-sqr
frac-add distribute-lft-out
cbrt-undiv div-exp associate-/l*
prod-exp cbrt-unprod
pow-prod-down div-inv add-log-exp
frac-2neg sqrt-pow1 pow1/2 clear-num *-commutative
frac-times sqrt-unprod associate-*r/
Counts
4 → 179
Calls
4 calls:
23.0ms
(* (/ 1.0 (sqrt x)) (/ 1.0 (+ (+ 1.0 x) (* (sqrt (+ 1.0 x)) (sqrt x)))))
7.0ms
(/ 1.0 (+ (+ 1.0 x) (* (sqrt (+ 1.0 x)) (sqrt x))))
8.0ms
(* (sqrt (+ 1.0 x)) (sqrt x))
4.0ms
(/ 1.0 (sqrt x))

series39.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
050733163

prune333.0ms

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

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1874191
Fresh2810
Picked011
Done000
Total18913202

Merged error: 0.0b

Counts
202 → 13

regimes68.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01418
11418

end0.0ms

sample1.3s

Algorithm
intervals
Results
278.0ms1830×body640valid
261.0ms8049×body80nan
224.0ms1131×body1280valid
170.0ms4073×body80valid
75.0ms652×body320valid
24.0ms314×body160valid

Profiling

Loading profile data...