Details

Time bar (total: 2.8s)

sample13.0ms

Algorithm
intervals
Results
5.0ms256×body80valid
1.0ms88×body80nan

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
084
184

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize5.0ms

Local error

Found 3 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
17×add-sqr-sqrt
14×add-cube-cbrt
12×times-frac
distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
pow1 associate-/r* sqrt-prod
expm1-log1p-u fma-def flip3-+ flip-+ log1p-expm1-u associate-/l*
sqrt-div associate-/r/
cbrt-undiv +-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num sum-log hypot-def div-inv
Counts
3 → 71
Calls
3 calls:
11.0ms
(+ 1.0 (sqrt (+ x 1.0)))
4.0ms
(sqrt (+ x 1.0))
17.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

series216.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(+ 1.0 (sqrt (+ x 1.0)))
34.0ms
(sqrt (+ x 1.0))
139.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

simplify38.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0334508
11222457
25002445

prune155.0ms

Filtered
80 candidates to 62 candidates (77.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
0.2b
(pow (sqrt (+ x 1.0)) 3)
3.6b
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))
5.8b
(/ x (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)))

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
89×*-un-lft-identity
62×sqrt-div
43×add-sqr-sqrt
34×sqrt-prod
32×flip3-+ flip-+
31×add-cube-cbrt
28×associate-*r/ distribute-lft-out
27×times-frac
23×unpow-prod-down cube-prod
21×pow1
16×frac-sub
12×frac-times
11×swap-sqr
add-exp-log sqrt-pow1 pow1/2 associate-/r* add-cbrt-cube
associate-*l/
associate-*r* associate-*l*
add-log-exp
pow-prod-up
expm1-log1p-u sum-cubes log1p-expm1-u sub-div unswap-sqr
pow-unpow pow-pow pow-prod-down pow-sqr associate-/l*
cube-div associate-/r/
cbrt-undiv pow2 cube-mult pow-to-exp sub-neg flip3-- distribute-rgt-out-- frac-2neg pow-plus fma-neg sqrt-unprod diff-log unpow3 div-exp prod-diff pow-exp prod-exp clear-num rem-square-sqrt *-commutative sqrt-pow2 flip-- cbrt-unprod div-inv rem-cube-cbrt sqr-pow
Counts
4 → 194
Calls
4 calls:
20.0ms
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
5.0ms
(pow (sqrt (+ x 1.0)) 3)
15.0ms
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))
57.0ms
(/ x (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)))

series357.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
71.0ms
(pow (sqrt (+ x 1.0)) 3)
71.0ms
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))
198.0ms
(/ x (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)))

simplify135.0ms

Algorithm
egg-herbie
Counts
206 → 206
Iterations

Useful iterations: 2 (116.0ms)

IterNodesCost
08251791
141301518
250011510

prune439.0ms

Filtered
206 candidates to 109 candidates (52.9%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.0b
(* (/ x (- (- (* 1.0 1.0) x) 1.0)) (- 1.0 (sqrt (+ x 1.0))))
3.6b
(- (- (* 1.0 1.0) x) 1.0)
3.6b
(- 1.0 (sqrt (+ x 1.0)))

rewrite141.0ms

Algorithm
rewrite-expression-head
Rules
96×*-un-lft-identity
92×add-sqr-sqrt
78×prod-diff
64×add-cube-cbrt
42×sqrt-prod
23×distribute-rgt-in distribute-lft-in
21×associate-*l*
16×times-frac
12×difference-of-squares
11×add-log-exp
10×distribute-lft-out
add-exp-log add-cbrt-cube
pow1 fma-neg
associate-*r* distribute-lft-out--
sub-neg flip3-- associate--l+ flip--
expm1-log1p-u diff-log log1p-expm1-u
frac-times sqrt-div associate-*r/ prod-exp associate-/r/ cbrt-unprod unswap-sqr
cbrt-undiv associate--l- rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 div-exp pow-prod-down associate-*l/ *-commutative flip-+ hypot-def div-inv
Counts
4 → 194
Calls
4 calls:
4.0ms
(sqrt (+ x 1.0))
88.0ms
(* (/ x (- (- (* 1.0 1.0) x) 1.0)) (- 1.0 (sqrt (+ x 1.0))))
28.0ms
(- (- (* 1.0 1.0) x) 1.0)
11.0ms
(- 1.0 (sqrt (+ x 1.0)))

series364.0ms

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

simplify100.0ms

Algorithm
egg-herbie
Counts
206 → 206
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
07182842
133292079
250012073

prune287.0ms

Filtered
206 candidates to 107 candidates (51.9%)
Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes32.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
084
184

end0.0ms

sample303.0ms

Algorithm
intervals
Results
148.0ms7998×body80valid
45.0ms2635×body80nan
0.0msbody1280valid