Details

Time bar (total: 3.2s)

sample14.0ms

Algorithm
intervals
Results
5.0ms256×body80valid
1.0ms80×body80nan

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
084
184

prune2.0ms

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
(sqrt (+ x 1.0))
0.0b
(+ 1.0 (sqrt (+ x 1.0)))
0.2b
(/ x (+ 1.0 (sqrt (+ x 1.0))))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
14×add-sqr-sqrt
13×add-cube-cbrt
12×times-frac
distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
pow1 associate-/r* sqrt-prod
flip3-+ flip-+ associate-/l*
sqrt-div associate-/r/
cbrt-undiv +-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num sum-log div-inv
Counts
3 → 61
Calls
3 calls:
7.0ms
(sqrt (+ x 1.0))
18.0ms
(+ 1.0 (sqrt (+ x 1.0)))
31.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

series198.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(sqrt (+ x 1.0))
41.0ms
(+ 1.0 (sqrt (+ x 1.0)))
129.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

simplify36.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0317483
11159435
25001427

prune129.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.0b
(+ 1.0 (sqrt (+ x 1.0)))
0.1b
(* x (/ 1 (+ 1.0 (sqrt (+ x 1.0)))))
0.1b
(/ 1 (+ 1.0 (sqrt (+ x 1.0))))

rewrite128.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
31×add-sqr-sqrt
26×times-frac
23×add-cube-cbrt
18×associate-*r*
17×add-exp-log
11×add-cbrt-cube
distribute-lft-out
pow1
add-log-exp
flip3-+ div-exp prod-exp associate-/r* sqrt-prod associate-/r/ flip-+
associate-*l* associate-/l* unswap-sqr
cbrt-undiv rec-exp sqrt-div 1-exp cbrt-unprod div-inv
+-commutative rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down clear-num sum-log un-div-inv *-commutative inv-pow
Counts
4 → 106
Calls
4 calls:
7.0ms
(sqrt (+ x 1.0))
16.0ms
(+ 1.0 (sqrt (+ x 1.0)))
71.0ms
(* x (/ 1 (+ 1.0 (sqrt (+ x 1.0)))))
31.0ms
(/ 1 (+ 1.0 (sqrt (+ x 1.0))))

series287.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(sqrt (+ x 1.0))
36.0ms
(+ 1.0 (sqrt (+ x 1.0)))
129.0ms
(* x (/ 1 (+ 1.0 (sqrt (+ x 1.0)))))
94.0ms
(/ 1 (+ 1.0 (sqrt (+ x 1.0))))

simplify56.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0452821
11973707
25001668

prune174.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
106×sqrt-prod
62×add-sqr-sqrt
46×*-un-lft-identity
40×sqrt-pow1
32×sqrt-div
31×pow1
28×add-cube-cbrt
20×pow1/2
18×swap-sqr
10×associate-*r* associate-*l*
flip3-+ times-frac pow-prod-up flip-+ unswap-sqr
add-exp-log add-cbrt-cube distribute-lft-out
pow-prod-down pow-sqr
frac-times rem-sqrt-square add-log-exp
associate-/r* associate-/l*
associate-*r/ associate-*l/ associate-/r/
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 → 161
Calls
4 calls:
8.0ms
(sqrt (sqrt (+ x 1.0)))
8.0ms
(sqrt (sqrt (+ x 1.0)))
49.0ms
(* (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0))))
9.0ms
(/ x (+ 1.0 (* (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0))))))

series318.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(sqrt (sqrt (+ x 1.0)))
82.0ms
(sqrt (sqrt (+ x 1.0)))
28.0ms
(* (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0))))
127.0ms
(/ x (+ 1.0 (* (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0))))))

simplify74.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05131295
122981129
250011106

prune273.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite141.0ms

Algorithm
rewrite-expression-head
Rules
69×*-un-lft-identity
56×add-sqr-sqrt
52×times-frac
39×add-cube-cbrt sqrt-prod
30×associate-*r*
15×distribute-lft-out
11×add-exp-log add-cbrt-cube
pow1
associate-*l* associate-/l* add-log-exp unswap-sqr
flip3-+ associate-/r* associate-/r/ flip-+
cbrt-undiv sqrt-div div-exp prod-exp cbrt-unprod div-inv
+-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down clear-num sum-log *-commutative
Counts
4 → 132
Calls
4 calls:
7.0ms
(sqrt (+ x 1.0))
33.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
16.0ms
(+ 1.0 (sqrt (+ x 1.0)))
80.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

series473.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(sqrt (+ x 1.0))
278.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
39.0ms
(+ 1.0 (sqrt (+ x 1.0)))
128.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

simplify63.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05291281
122431134
250011107

prune251.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes16.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
0135
1135

end0.0ms

sample347.0ms

Algorithm
intervals
Results
151.0ms7999×body80valid
44.0ms2614×body80nan
0.0msbody1280valid