Details

Time bar (total: 5.9s)

sample65.0ms

Algorithm
intervals
Results
32.0ms75×body1280valid
11.0ms47×body640valid
9.0ms32×body2560valid
3.0ms19×body320valid
2.0ms69×body80valid
1.0ms14×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: 52.6b

localize6.0ms

Local error

Found 3 expressions with local error:

0.6b
(+ x (sqrt (+ (* x x) 1.0)))
4.0b
(log (+ x (sqrt (+ (* x x) 1.0))))
15.9b
(sqrt (+ (* x x) 1.0))

rewrite27.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:
12.0ms
(+ x (sqrt (+ (* x x) 1.0)))
9.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))
5.0ms
(sqrt (+ (* x x) 1.0))

series438.0ms

Counts
3 → 9
Calls
3 calls:
227.0ms
(+ x (sqrt (+ (* x x) 1.0)))
169.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))
41.0ms
(sqrt (+ (* x x) 1.0))

simplify32.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0331422
11127385
25002366

prune173.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize14.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.1b
(* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))

rewrite236.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:
144.0ms
(- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3))))
73.0ms
(* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))

series290.0ms

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

simplify114.0ms

Algorithm
egg-herbie
Counts
306 → 306
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
08882291
147681819
250011795

prune465.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(hypot x (sqrt 1.0))
0.6b
(+ x (hypot x (sqrt 1.0)))
4.0b
(log (+ x (hypot x (sqrt 1.0))))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt add-cube-cbrt add-log-exp
pow1 add-exp-log log-prod
expm1-log1p-u fma-def add-cbrt-cube log1p-expm1-u
log-div flip3-+ flip-+ distribute-lft-out
+-commutative hypot-udef rem-log-exp sum-log log-pow
Counts
3 → 44
Calls
3 calls:
0.0ms
(hypot x (sqrt 1.0))
3.0ms
(+ x (hypot x (sqrt 1.0)))
3.0ms
(log (+ x (hypot x (sqrt 1.0))))

series512.0ms

Counts
3 → 9
Calls
3 calls:
103.0ms
(hypot x (sqrt 1.0))
126.0ms
(+ x (hypot x (sqrt 1.0)))
283.0ms
(log (+ x (hypot x (sqrt 1.0))))

simplify86.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 3 (82.0ms)

IterNodesCost
0268349
1886321
23696305
35001303

prune135.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.6b
(+ x (hypot x (sqrt 1.0)))
0.6b
(+ x (hypot x (sqrt 1.0)))
4.0b
(log (sqrt (+ x (hypot x (sqrt 1.0)))))
4.0b
(log (sqrt (+ x (hypot x (sqrt 1.0)))))

rewrite14.0ms

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

series862.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(+ x (hypot x (sqrt 1.0)))
126.0ms
(+ x (hypot x (sqrt 1.0)))
303.0ms
(log (sqrt (+ x (hypot x (sqrt 1.0)))))
299.0ms
(log (sqrt (+ x (hypot x (sqrt 1.0)))))

simplify106.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 3 (98.0ms)

IterNodesCost
0285724
1883658
23992630
35001624

prune271.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes30.0ms

Accuracy

99.7% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 32.9b

bsearch86.0ms

Steps
ItersRangePoint
10
5.939545479408298e-16
0.006665254470786589
0.0011585336522522951
9
-14674.600957416102
-0.00012459925560949148
-1.0138774176732859

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04631
14631

end0.0ms

sample1.9s

Algorithm
intervals
Results
933.0ms2293×body1280valid
380.0ms1600×body640valid
224.0ms818×body2560valid
103.0ms758×body320valid
67.0ms2143×body80valid
30.0ms388×body160valid