Details

Time bar (total: 5.6s)

sample63.0ms

Algorithm
intervals
Results
33.0ms77×body1280valid
12.0ms54×body640valid
6.0ms21×body2560valid
2.0ms78×body80valid
2.0ms16×body320valid
1.0ms10×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.7b

localize6.0ms

Local error

Found 3 expressions with local error:

0.5b
(+ x (sqrt (+ (* x x) 1.0)))
2.2b
(log (+ x (sqrt (+ (* x x) 1.0))))
15.5b
(sqrt (+ (* x x) 1.0))

rewrite25.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:
11.0ms
(+ x (sqrt (+ (* x x) 1.0)))
8.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))
5.0ms
(sqrt (+ (* x x) 1.0))

series273.0ms

Counts
3 → 9
Calls
3 calls:
60.0ms
(+ x (sqrt (+ (* x x) 1.0)))
170.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))
42.0ms
(sqrt (+ (* x x) 1.0))

simplify34.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0331422
11127385
25002366

prune183.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 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)))

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

series302.0ms

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

simplify118.0ms

Algorithm
egg-herbie
Counts
306 → 306
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
08882291
147681819
250011795

prune465.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.5b
(+ x (* (sqrt 1) (hypot x (sqrt 1.0))))
2.2b
(log (+ x (* (sqrt 1) (hypot x (sqrt 1.0)))))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
pow1 add-exp-log log-prod fma-def
expm1-log1p-u log-div flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
+-commutative rem-log-exp sum-log log-pow
Counts
2 → 32
Calls
2 calls:
2.0ms
(+ x (* (sqrt 1) (hypot x (sqrt 1.0))))
2.0ms
(log (+ x (* (sqrt 1) (hypot x (sqrt 1.0)))))

series429.0ms

Counts
2 → 6
Calls
2 calls:
127.0ms
(+ x (* (sqrt 1) (hypot x (sqrt 1.0))))
302.0ms
(log (+ x (* (sqrt 1) (hypot x (sqrt 1.0)))))

simplify95.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 3 (91.0ms)

IterNodesCost
0255366
1909318
23872309
35001304

prune113.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.5b
(+ x (* (sqrt 1) (hypot x (sqrt 1.0))))
0.5b
(+ x (* (sqrt 1) (hypot x (sqrt 1.0))))
2.2b
(log (+ x (* (sqrt 1) (hypot x (sqrt 1.0)))))
2.2b
(log (+ x (* (sqrt 1) (hypot x (sqrt 1.0)))))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
pow1 add-exp-log log-prod fma-def
expm1-log1p-u log-div flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
+-commutative rem-log-exp sum-log log-pow
Counts
4 → 64
Calls
4 calls:
2.0ms
(+ x (* (sqrt 1) (hypot x (sqrt 1.0))))
2.0ms
(+ x (* (sqrt 1) (hypot x (sqrt 1.0))))
2.0ms
(log (+ x (* (sqrt 1) (hypot x (sqrt 1.0)))))
2.0ms
(log (+ x (* (sqrt 1) (hypot x (sqrt 1.0)))))

series848.0ms

Counts
4 → 12
Calls
4 calls:
136.0ms
(+ x (* (sqrt 1) (hypot x (sqrt 1.0))))
129.0ms
(+ x (* (sqrt 1) (hypot x (sqrt 1.0))))
297.0ms
(log (+ x (* (sqrt 1) (hypot x (sqrt 1.0)))))
286.0ms
(log (+ x (* (sqrt 1) (hypot x (sqrt 1.0)))))

simplify98.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (91.0ms)

IterNodesCost
0255732
1909636
23872618
35001608

prune285.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes34.0ms

Accuracy

99.6% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 32.2b

bsearch84.0ms

Steps
ItersRangePoint
10
3.2824798326487284e-15
0.08347146558812443
0.0009199034035155784
9
-5.7596417613087905
-6.7357437175194845e-09
-1.03811431304858

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05030
15430
25730
35730

end0.0ms

sample1.8s

Algorithm
intervals
Results
917.0ms2308×body1280valid
365.0ms1563×body640valid
212.0ms786×body2560valid
102.0ms767×body320valid
63.0ms2171×body80valid
31.0ms405×body160valid