Details

Time bar (total: 3.7s)

sample23.0ms

Algorithm
intervals
Results
5.0ms275×body80nan
4.0ms44×body1280valid
3.0ms45×body640valid
3.0ms140×body80valid
1.0ms14×body320valid
0.0ms13×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.5b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
61×sqrt-prod
54×*-un-lft-identity
42×add-sqr-sqrt prod-diff
31×add-cube-cbrt
distribute-lft-out
fma-neg
add-log-exp difference-of-squares
pow1 distribute-lft-out--
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
sub-neg rem-sqrt-square flip3-- sqrt-pow1 flip3-+ pow1/2 diff-log flip-- flip-+ hypot-def
Counts
2 → 89
Calls
2 calls:
4.0ms
(sqrt (+ x 1.0))
27.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series103.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(sqrt (+ x 1.0))
66.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify42.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
02991161
1921822
25001744

prune132.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.0b
(+ (sqrt (+ x 1.0)) (sqrt x))
0.1b
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
78×*-un-lft-identity
33×distribute-lft-out
32×sqrt-prod
24×times-frac
21×add-sqr-sqrt
18×add-cube-cbrt
fma-def
associate-/r*
add-exp-log add-cbrt-cube add-log-exp
pow1 flip3-+ flip-+ associate-/l*
expm1-log1p-u log1p-expm1-u
sqrt-div associate-/r/ associate-/l/
cbrt-undiv +-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num sum-log hypot-def div-inv
Counts
3 → 94
Calls
3 calls:
4.0ms
(sqrt (+ x 1.0))
18.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
32.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

series234.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(sqrt (+ x 1.0))
66.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
140.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify48.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0409790
11672716
25001675

prune210.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (+ x 1.0))
0.3b
(cbrt (+ x 1.0))
0.3b
(cbrt (+ x 1.0))
0.3b
(* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 103
Calls
4 calls:
2.0ms
(cbrt (+ x 1.0))
2.0ms
(cbrt (+ x 1.0))
2.0ms
(cbrt (+ x 1.0))
23.0ms
(* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))

series372.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(cbrt (+ x 1.0))
89.0ms
(cbrt (+ x 1.0))
89.0ms
(cbrt (+ x 1.0))
104.0ms
(* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))

simplify156.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 3 (147.0ms)

IterNodesCost
0321818
11071769
24756694
35001692

prune374.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
106×sqrt-prod
63×add-sqr-sqrt
55×*-un-lft-identity
40×sqrt-pow1
32×sqrt-div
31×pow1
29×add-cube-cbrt
20×pow1/2
18×swap-sqr
12×times-frac distribute-lft-out
10×flip3-+ associate-*r* associate-*l* flip-+
pow-prod-up unswap-sqr
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
expm1-log1p-u frac-times rem-sqrt-square log1p-expm1-u associate-/l* add-log-exp
associate-/r*
associate-*r/ associate-*l/ associate-/r/ associate-/l/
cbrt-undiv pow2 frac-2neg pow-plus sqrt-unprod div-exp prod-exp clear-num rem-square-sqrt *-commutative cbrt-unprod div-inv
Counts
4 → 175
Calls
4 calls:
5.0ms
(sqrt (sqrt (+ x 1.0)))
4.0ms
(sqrt (sqrt (+ x 1.0)))
31.0ms
(/ (+ 1.0 0) (+ (* (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0)))) (sqrt x)))
31.0ms
(* (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0))))

series361.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(sqrt (sqrt (+ x 1.0)))
91.0ms
(sqrt (sqrt (+ x 1.0)))
142.0ms
(/ (+ 1.0 0) (+ (* (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0)))) (sqrt x)))
38.0ms
(* (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0))))

simplify91.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
05941528
128001345
250011318

prune574.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.0b

regimes28.0ms

Accuracy

0% (0.1b 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
0126
1166
2166

end0.0ms

sample657.0ms

Algorithm
intervals
Results
146.0ms1723×body1280valid
138.0ms7968×body80nan
82.0ms4137×body80valid
80.0ms1228×body640valid
30.0ms606×body320valid
10.0ms306×body160valid