Details

Time bar (total: 3.4s)

sample16.0ms

Algorithm
intervals
Results
5.0ms256×body80valid
1.0ms81×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))))

rewrite17.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:
3.0ms
(sqrt (+ x 1.0))
5.0ms
(+ 1.0 (sqrt (+ x 1.0)))
7.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

series228.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0317483
11159435
25001427

prune139.0ms

Pruning

5 alts after pruning (5 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
(/ (+ 1.0 (sqrt (+ x 1.0))) x)
0.2b
(/ 1 (/ (+ 1.0 (sqrt (+ x 1.0))) x))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
108×times-frac
99×*-un-lft-identity
64×add-sqr-sqrt
63×add-cube-cbrt
19×associate-/r*
18×distribute-lft-out
17×add-exp-log
11×add-cbrt-cube
div-exp
associate-/l*
pow1 div-inv add-log-exp
cbrt-undiv sqrt-prod
flip3-+ flip-+
rec-exp frac-2neg sqrt-div 1-exp clear-num associate-/l/
+-commutative rem-sqrt-square pow-flip sqrt-pow1 pow1/2 sum-log associate-/r/ inv-pow
Counts
4 → 149
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
9.0ms
(+ 1.0 (sqrt (+ x 1.0)))
8.0ms
(/ (+ 1.0 (sqrt (+ x 1.0))) x)
10.0ms
(/ 1 (/ (+ 1.0 (sqrt (+ x 1.0))) x))

series309.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(sqrt (+ x 1.0))
49.0ms
(+ 1.0 (sqrt (+ x 1.0)))
88.0ms
(/ (+ 1.0 (sqrt (+ x 1.0))) x)
143.0ms
(/ 1 (/ (+ 1.0 (sqrt (+ x 1.0))) x))

simplify69.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05931413
126271258
250011171

prune233.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

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

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
585×times-frac
355×*-un-lft-identity
260×add-sqr-sqrt
259×add-cube-cbrt
48×add-exp-log distribute-lft-out
35×div-inv
34×div-exp
31×associate-/r/
21×associate-/l*
18×add-cbrt-cube
17×flip3-+ associate-/r* flip-+
cbrt-undiv rec-exp 1-exp
pow1 add-log-exp
sqrt-prod
frac-2neg sqrt-div clear-num
+-commutative rem-sqrt-square pow-flip sqrt-pow1 pow1/2 sum-log associate-/l/ inv-pow
Counts
4 → 362
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
5.0ms
(+ 1.0 (sqrt (+ x 1.0)))
8.0ms
(/ 1 (+ 1.0 (sqrt (+ x 1.0))))
17.0ms
(/ (/ 1 (+ 1.0 (sqrt (+ x 1.0)))) (/ 1 x))

series337.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(sqrt (+ x 1.0))
49.0ms
(+ 1.0 (sqrt (+ x 1.0)))
106.0ms
(/ 1 (+ 1.0 (sqrt (+ x 1.0))))
151.0ms
(/ (/ 1 (+ 1.0 (sqrt (+ x 1.0)))) (/ 1 x))

simplify83.0ms

Algorithm
egg-herbie
Counts
374 → 374
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
015784823
150014258

prune472.0ms

Pruning

4 alts after pruning (2 fresh and 2 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.3b
(pow (sqrt (+ x 1.0)) 3)
5.1b
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))
7.0b
(/ x (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)))

rewrite60.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
sum-cubes 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 sqrt-unprod diff-log unpow3 div-exp pow-exp prod-exp clear-num rem-square-sqrt *-commutative sqrt-pow2 flip-- cbrt-unprod div-inv rem-cube-cbrt sqr-pow
Counts
4 → 184
Calls
4 calls:
11.0ms
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
9.0ms
(pow (sqrt (+ x 1.0)) 3)
12.0ms
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))
18.0ms
(/ x (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)))

series367.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
73.0ms
(pow (sqrt (+ x 1.0)) 3)
73.0ms
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))
204.0ms
(/ x (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)))

simplify134.0ms

Algorithm
egg-herbie
Counts
196 → 196
Iterations

Useful iterations: 2 (116.0ms)

IterNodesCost
07711703
138731474
250021459

prune420.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes15.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0125
1125

end0.0ms

sample304.0ms

Algorithm
intervals
Results
148.0ms7997×body80valid
39.0ms2693×body80nan
0.0msbody1280valid