Details

Time bar (total: 5.5s)

sample14.0ms

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

rewrite29.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:
8.0ms
(+ 1.0 (sqrt (+ x 1.0)))
4.0ms
(sqrt (+ x 1.0))
16.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

series235.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(+ 1.0 (sqrt (+ x 1.0)))
36.0ms
(sqrt (+ x 1.0))
154.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

simplify35.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0317483
11159435
25001427

prune142.0ms

Filtered
70 candidates to 52 candidates (74.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.2b
(pow (sqrt (+ x 1.0)) 3)
0.2b
(/ x (+ 1.0 (cbrt (pow (sqrt (+ x 1.0)) 3))))
5.9b
(cbrt (pow (sqrt (+ x 1.0)) 3))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
25×add-sqr-sqrt
24×add-cube-cbrt
20×cbrt-prod sqrt-prod
14×unpow-prod-down cube-prod
12×times-frac
distribute-lft-out
pow1 add-exp-log add-cbrt-cube
sqrt-div
cube-div flip3-+ associate-/r* flip-+ add-log-exp
pow-unpow pow-pow associate-/l*
cube-mult cbrt-div sqrt-pow1 pow1/2 unpow3 associate-/r/ sqr-pow
cbrt-undiv pow-to-exp rem-sqrt-square frac-2neg pow1/3 div-exp pow-exp clear-num sqrt-pow2 rem-cbrt-cube div-inv rem-cube-cbrt
Counts
4 → 116
Calls
4 calls:
4.0ms
(sqrt (+ x 1.0))
5.0ms
(pow (sqrt (+ x 1.0)) 3)
43.0ms
(/ x (+ 1.0 (cbrt (pow (sqrt (+ x 1.0)) 3))))
6.0ms
(cbrt (pow (sqrt (+ x 1.0)) 3))

series298.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(sqrt (+ x 1.0))
75.0ms
(pow (sqrt (+ x 1.0)) 3)
157.0ms
(/ x (+ 1.0 (cbrt (pow (sqrt (+ x 1.0)) 3))))
33.0ms
(cbrt (pow (sqrt (+ x 1.0)) 3))

simplify51.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0438828
11823728
25002713

prune223.0ms

Filtered
128 candidates to 74 candidates (57.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize29.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ x (+ (sqrt 1.0) 1.0)) (* 1/8 (/ (pow x 3) (* (pow (sqrt 1.0) 3) (pow (+ (sqrt 1.0) 1.0) 2)))))
0.0b
(/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2)))
0.0b
(+ (+ (/ x (+ (sqrt 1.0) 1.0)) (* 1/8 (/ (pow x 3) (* (pow (sqrt 1.0) 3) (pow (+ (sqrt 1.0) 1.0) 2))))) (- (* (/ 1/4 1.0) (/ (pow x 3) (pow (+ (sqrt 1.0) 1.0) 3))) (* 1/2 (/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2))))))
7.2b
(- (* (/ 1/4 1.0) (/ (pow x 3) (pow (+ (sqrt 1.0) 1.0) 3))) (* 1/2 (/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2)))))

rewrite308.0ms

Algorithm
rewrite-expression-head
Rules
30×add-exp-log
22×associate-*r/
21×frac-add
20×add-log-exp
12×div-exp frac-sub
10×*-un-lft-identity
prod-exp add-cbrt-cube
add-sqr-sqrt add-cube-cbrt times-frac associate-/l*
pow-to-exp flip3-+ pow-exp sum-log flip-+
unpow-prod-down
pow1 frac-times flip3-- associate-*l/ flip--
diff-log
cbrt-undiv +-commutative sub-neg associate-+r+ unpow2 sqr-pow
associate-+r- associate-+l+ frac-2neg clear-num associate-/r* cbrt-unprod div-inv distribute-lft-out
Counts
4 → 102
Calls
4 calls:
34.0ms
(+ (/ x (+ (sqrt 1.0) 1.0)) (* 1/8 (/ (pow x 3) (* (pow (sqrt 1.0) 3) (pow (+ (sqrt 1.0) 1.0) 2)))))
13.0ms
(/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2)))
231.0ms
(+ (+ (/ x (+ (sqrt 1.0) 1.0)) (* 1/8 (/ (pow x 3) (* (pow (sqrt 1.0) 3) (pow (+ (sqrt 1.0) 1.0) 2))))) (- (* (/ 1/4 1.0) (/ (pow x 3) (pow (+ (sqrt 1.0) 1.0) 3))) (* 1/2 (/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2))))))
26.0ms
(- (* (/ 1/4 1.0) (/ (pow x 3) (pow (+ (sqrt 1.0) 1.0) 3))) (* 1/2 (/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2)))))

series1.8s

Counts
4 → 12
Calls
4 calls:
510.0ms
(+ (/ x (+ (sqrt 1.0) 1.0)) (* 1/8 (/ (pow x 3) (* (pow (sqrt 1.0) 3) (pow (+ (sqrt 1.0) 1.0) 2)))))
198.0ms
(/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2)))
567.0ms
(+ (+ (/ x (+ (sqrt 1.0) 1.0)) (* 1/8 (/ (pow x 3) (* (pow (sqrt 1.0) 3) (pow (+ (sqrt 1.0) 1.0) 2))))) (- (* (/ 1/4 1.0) (/ (pow x 3) (pow (+ (sqrt 1.0) 1.0) 3))) (* 1/2 (/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2))))))
527.0ms
(- (* (/ 1/4 1.0) (/ (pow x 3) (pow (+ (sqrt 1.0) 1.0) 3))) (* 1/2 (/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2)))))

simplify183.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (145.0ms)

IterNodesCost
07893613
146053468
250013461

prune701.0ms

Filtered
114 candidates to 78 candidates (68.4%)
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 (sqrt (+ x 1.0))))
0.0b
(+ 1.0 (sqrt (+ x 1.0)))
0.0b
(sqrt (+ x 1.0))
0.2b
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

rewrite81.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:
17.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
8.0ms
(+ 1.0 (sqrt (+ x 1.0)))
7.0ms
(sqrt (+ x 1.0))
44.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

series540.0ms

Counts
4 → 12
Calls
4 calls:
316.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
44.0ms
(+ 1.0 (sqrt (+ x 1.0)))
32.0ms
(sqrt (+ x 1.0))
147.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

simplify64.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05291282
122321134
250011107

prune273.0ms

Filtered
144 candidates to 91 candidates (63.2%)
Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes21.0ms

Accuracy

99.8% (0.0b remaining)

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

bsearch39.0ms

Steps
ItersRangePoint
9
1.560051953962792e-13
7.712829756242493e-08
8.626548691723187e-11

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02013
12013

end0.0ms

sample322.0ms

Algorithm
intervals
Results
161.0ms7999×body80valid
49.0ms2652×body80nan
0.0msbody1280valid