Details

Time bar (total: 15.3s)

sample65.0ms

Algorithm
intervals
Results
30.0ms72×body1280valid
15.0ms68×body640valid
6.0ms21×body2560valid
4.0ms26×body320valid
2.0ms53×body80valid
1.0ms16×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1105

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 54.1b

localize10.0ms

Local error

Found 3 expressions with local error:

1.4b
(+ x (sqrt (+ (* x x) 1.0)))
3.6b
(log (+ x (sqrt (+ (* x x) 1.0))))
11.2b
(sqrt (+ (* x x) 1.0))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity
add-sqr-sqrt
add-cube-cbrt
pow1 add-log-exp
add-exp-log log-prod
expm1-log1p-u fma-def flip3-+ sqrt-prod add-cbrt-cube flip-+ log1p-expm1-u
log-div sqrt-div distribute-lft-out
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 rem-log-exp sum-log log-pow hypot-def
Counts
3 → 52
Calls
3 calls:
9.0ms
(+ x (sqrt (+ (* x x) 1.0)))
9.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))
5.0ms
(sqrt (+ (* x x) 1.0))

series276.0ms

Counts
3 → 9
Calls
3 calls:
55.0ms
(+ x (sqrt (+ (* x x) 1.0)))
178.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))
43.0ms
(sqrt (+ (* x x) 1.0))

simplify36.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0331422
11127385
25002366

prune201.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3))))
0.2b
(* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))

rewrite250.0ms

Algorithm
rewrite-expression-head
Rules
240×times-frac
220×associate-*r*
184×add-sqr-sqrt
140×unpow-prod-down cube-prod
126×*-un-lft-identity
120×add-cube-cbrt
80×sqrt-prod
40×sqr-pow
30×cube-mult unpow3
25×add-exp-log unswap-sqr
10×prod-exp
div-exp
add-cbrt-cube
pow1 pow-to-exp pow-exp add-log-exp
fma-neg prod-diff
distribute-lft-out
associate-*r/ associate-*l*
expm1-log1p-u diff-log log-pow frac-sub cbrt-unprod log1p-expm1-u
cbrt-undiv sub-neg flip3-- flip3-+ pow-prod-down associate--l+ sum-log *-commutative flip-- flip-+ div-inv
Counts
2 → 300
Calls
2 calls:
147.0ms
(- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3))))
79.0ms
(* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))

series291.0ms

Counts
2 → 6
Calls
2 calls:
157.0ms
(- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3))))
133.0ms
(* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))

simplify121.0ms

Algorithm
egg-herbie
Counts
306 → 306
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
08882291
147681819
250011795

prune497.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3))))) (cbrt (- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3))))))
16.7b
(cbrt (- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))))
16.7b
(cbrt (- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))))
16.7b
(cbrt (- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))))

rewrite557.0ms

Algorithm
rewrite-expression-head
Rules
52×cbrt-div
30×associate-*r/
26×frac-sub
25×cbrt-prod
23×add-sqr-sqrt
16×frac-times
15×add-cube-cbrt *-un-lft-identity
13×flip3-- flip3-+ flip-- flip-+
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u associate-*l/ add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 117
Calls
4 calls:
399.0ms
(* (cbrt (- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3))))) (cbrt (- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3))))))
51.0ms
(cbrt (- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))))
52.0ms
(cbrt (- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))))
50.0ms
(cbrt (- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))))

series2.1s

Counts
4 → 12
Calls
4 calls:
670.0ms
(* (cbrt (- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3))))) (cbrt (- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3))))))
467.0ms
(cbrt (- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))))
458.0ms
(cbrt (- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))))
461.0ms
(cbrt (- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))))

simplify106.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
05724561
126874380
250024225

prune545.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- 0.0625) (pow x 5))
0.2b
(/ 0.125 (pow x 3))
14.6b
(log (- (/ 0.125 (pow x 3)) (- (/ 0.5 x) (/ (- 0.0625) (pow x 5)))))
19.0b
(- (/ 0.125 (pow x 3)) (- (/ 0.5 x) (/ (- 0.0625) (pow x 5))))

rewrite871.0ms

Algorithm
rewrite-expression-head
Rules
2802×times-frac
2496×add-sqr-sqrt
1944×*-un-lft-identity
1522×prod-diff
1510×add-cube-cbrt
965×associate--r+
652×unpow-prod-down
339×distribute-rgt-neg-in
330×difference-of-squares
297×distribute-lft-neg-in
272×sqr-pow
149×cube-prod
134×distribute-lft-out--
104×div-inv
99×neg-mul-1
49×cube-mult unpow3
40×fma-neg
19×associate-/r*
15×add-exp-log
13×associate-/l*
12×log-prod
add-log-exp
frac-sub add-cbrt-cube
div-exp
pow1 log-div
expm1-log1p-u flip3-- flip-- log1p-expm1-u
diff-log
cbrt-undiv neg-sub0 pow-to-exp sub-neg frac-2neg div-sub pow-exp clear-num associate--r-
distribute-frac-neg rem-log-exp log-pow
Counts
4 → 1793
Calls
4 calls:
6.0ms
(/ (- 0.0625) (pow x 5))
4.0ms
(/ 0.125 (pow x 3))
267.0ms
(log (- (/ 0.125 (pow x 3)) (- (/ 0.5 x) (/ (- 0.0625) (pow x 5)))))
355.0ms
(- (/ 0.125 (pow x 3)) (- (/ 0.5 x) (/ (- 0.0625) (pow x 5))))

series333.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(/ (- 0.0625) (pow x 5))
41.0ms
(/ 0.125 (pow x 3))
178.0ms
(log (- (/ 0.125 (pow x 3)) (- (/ 0.5 x) (/ (- 0.0625) (pow x 5)))))
62.0ms
(- (/ 0.125 (pow x 3)) (- (/ 0.5 x) (/ (- 0.0625) (pow x 5))))

simplify476.0ms

Algorithm
egg-herbie
Counts
1805 → 1805
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
0500248960

prune6.6s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes38.0ms

Accuracy

99.7% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 32.7b

bsearch82.0ms

Steps
ItersRangePoint
10
7.712829756242493e-08
8770343.893451896
0.0012127302794364438
9
-1827977.1926269082
-0.00043085380315138777
-1.0384538355180963

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03924
13924

end0.0ms

sample1.8s

Algorithm
intervals
Results
938.0ms2382×body1280valid
352.0ms1513×body640valid
191.0ms730×body2560valid
102.0ms769×body320valid
71.0ms2212×body80valid
30.0ms394×body160valid