Details

Time bar (total: 4.2s)

sample71.0ms

Algorithm
intervals
Results
38.0ms72×body1280valid
14.0ms55×body640valid
3.0ms82×body80valid
3.0ms22×body320valid
3.0ms25×body160valid
3.0ms82×body80nan

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
052
152

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 40.4b

localize3.0ms

Local error

Found 1 expressions with local error:

5.8b
(log (+ 1.0 x))

rewrite3.0ms

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

series46.0ms

Counts
1 → 3
Calls
1 calls:
46.0ms
(log (+ 1.0 x))

simplify39.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 3 (37.0ms)

IterNodesCost
013199
136389
2129286
3500281

prune44.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 1 expressions with local error:

0.0b
(fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2)))))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2)))))

series42.0ms

Counts
1 → 3
Calls
1 calls:
42.0ms
(fma x 1.0 (- (log 1.0) (* 1/2 (/ (pow x 2) (pow 1.0 2)))))

simplify123.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (19.0ms)

IterNodesCost
047115
114897
255197
3349494
4500194

prune41.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ 1.0 x))
0.0b
(sqrt (+ 1.0 x))
5.9b
(log (sqrt (+ 1.0 x)))
5.9b
(log (sqrt (+ 1.0 x)))

rewrite16.0ms

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

series238.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(sqrt (+ 1.0 x))
39.0ms
(sqrt (+ 1.0 x))
81.0ms
(log (sqrt (+ 1.0 x)))
82.0ms
(log (sqrt (+ 1.0 x)))

simplify58.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 3 (51.0ms)

IterNodesCost
0187510
1521462
21993440
35002428

prune197.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (log (sqrt (- (* 1.0 1.0) (* x x)))) (log (sqrt (- 1.0 x))))
2.5b
(log (sqrt (- (* 1.0 1.0) (* x x))))
5.8b
(log (sqrt (- 1.0 x)))
5.9b
(log (sqrt (+ 1.0 x)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
56×log-pow
42×pow1
37×log-prod *-un-lft-identity
36×prod-diff
33×add-sqr-sqrt
27×add-cube-cbrt
22×sqrt-prod
18×sqrt-pow1 pow1/2
10×log-div sqrt-div
associate--r+ distribute-lft-out--
add-exp-log associate--l+
fma-neg
flip3-- flip-- difference-of-squares
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-log-exp
associate--l- associate--r-
sub-neg flip3-+ diff-log flip-+ distribute-lft-out
Counts
4 → 149
Calls
4 calls:
14.0ms
(- (log (sqrt (- (* 1.0 1.0) (* x x)))) (log (sqrt (- 1.0 x))))
4.0ms
(log (sqrt (- (* 1.0 1.0) (* x x))))
3.0ms
(log (sqrt (- 1.0 x)))
3.0ms
(log (sqrt (+ 1.0 x)))

series589.0ms

Counts
4 → 12
Calls
4 calls:
224.0ms
(- (log (sqrt (- (* 1.0 1.0) (* x x)))) (log (sqrt (- 1.0 x))))
195.0ms
(log (sqrt (- (* 1.0 1.0) (* x x))))
85.0ms
(log (sqrt (- 1.0 x)))
84.0ms
(log (sqrt (+ 1.0 x)))

simplify64.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
06042058
118331491
250011466

prune380.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes60.0ms

Accuracy

98.9% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 20.9b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01810
11810

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.1s2286×body1280valid
442.0ms1690×body640valid
129.0ms870×body320valid
111.0ms2717×body80valid
78.0ms2688×body80nan
43.0ms437×body160valid