Details

Time bar (total: 3.7s)

sample49.0ms

Algorithm
intervals
Results
17.0ms257×body80valid
5.0ms11×body640valid
5.0ms83×body80overflowed
3.0msbody1280valid
2.0msbody320valid
1.0msbody160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0125
1195
2195

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.8b

Counts
2 → 1

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ 1.0 (exp x))
0.0b
(- (log (+ 1.0 (exp x))) (* x y))
0.8b
(log (+ 1.0 (exp x)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
log-prod
add-log-exp
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log log-div associate--l+
flip3-+ add-cbrt-cube flip-+ distribute-lft-out
associate--l-
+-commutative sub-neg flip3-- diff-log rem-log-exp sum-log log-pow flip--
Counts
3 → 45
Calls
3 calls:
3.0ms
(+ 1.0 (exp x))
5.0ms
(- (log (+ 1.0 (exp x))) (* x y))
3.0ms
(log (+ 1.0 (exp x)))

series126.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(+ 1.0 (exp x))
60.0ms
(- (log (+ 1.0 (exp x))) (* x y))
59.0ms
(log (+ 1.0 (exp x)))

simplify47.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0207322
1584301
21729298
35001297

prune110.0ms

Filtered
54 candidates to 40 candidates (74.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New50454
Fresh000
Picked101
Done000
Total51455

Merged error: 0.5b

Counts
55 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ 1.0 (exp x)))
0.0b
(sqrt (+ 1.0 (exp x)))
1.4b
(log (sqrt (+ 1.0 (exp x))))
1.4b
(log (sqrt (+ 1.0 (exp x))))

rewrite16.0ms

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

series297.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(sqrt (+ 1.0 (exp x)))
30.0ms
(sqrt (+ 1.0 (exp x)))
106.0ms
(log (sqrt (+ 1.0 (exp x))))
125.0ms
(log (sqrt (+ 1.0 (exp x))))

simplify52.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (45.0ms)

IterNodesCost
0162564
1453528
21549508
35001496

prune200.0ms

Filtered
84 candidates to 60 candidates (71.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New82284
Fresh123
Picked101
Done000
Total84488

Merged error: 0.5b

Counts
88 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 1/2 (pow x 2))
0.0b
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
0.0b
(+ (* 1/2 (pow x 2)) (+ x 2.0))
7.6b
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
10×add-exp-log add-log-exp
add-cube-cbrt *-un-lft-identity
associate-*r*
log-prod add-cbrt-cube
pow1
unpow-prod-down log-div unswap-sqr
flip3-+ associate-*l* prod-exp associate--l+ sum-log flip-+
associate--l- unpow2 sqr-pow
+-commutative pow-to-exp sub-neg associate-+r+ flip3-- diff-log rem-log-exp pow-exp log-pow *-commutative flip-- cbrt-unprod
Counts
4 → 71
Calls
4 calls:
5.0ms
(* 1/2 (pow x 2))
8.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
6.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
6.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

series172.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* 1/2 (pow x 2))
76.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
17.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
54.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0371575
11439529
25001520

prune174.0ms

Filtered
83 candidates to 61 candidates (73.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New82183
Fresh033
Picked101
Done000
Total83487

Merged error: 0.5b

Counts
87 → 4

localize23.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (pow x 2) (sqrt 2.0))
0.5b
(/ x (sqrt 2.0))
1.4b
(log (sqrt (+ 1.0 (exp x))))
8.2b
(log (+ (* 1/2 (/ x (sqrt 2.0))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 1/4 (/ 1/8 2.0))))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
66×times-frac
56×*-un-lft-identity
54×add-sqr-sqrt add-cube-cbrt
43×sqrt-prod
21×unpow-prod-down
13×add-exp-log
12×associate-/r*
11×associate-/l*
10×log-prod
add-cbrt-cube
pow1 unpow2 sqr-pow
log-div
div-exp log-pow add-log-exp
flip3-+ flip-+
cbrt-undiv frac-2neg sqrt-div associate-*r/ rem-log-exp frac-add clear-num div-inv
pow-to-exp sqrt-pow1 pow1/2 pow-exp distribute-lft-out
Counts
4 → 151
Calls
4 calls:
6.0ms
(/ (pow x 2) (sqrt 2.0))
8.0ms
(/ x (sqrt 2.0))
4.0ms
(log (sqrt (+ 1.0 (exp x))))
8.0ms
(log (+ (* 1/2 (/ x (sqrt 2.0))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 1/4 (/ 1/8 2.0))))))

series451.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(/ (pow x 2) (sqrt 2.0))
67.0ms
(/ x (sqrt 2.0))
109.0ms
(log (sqrt (+ 1.0 (exp x))))
211.0ms
(log (+ (* 1/2 (/ x (sqrt 2.0))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 1/4 (/ 1/8 2.0))))))

simplify70.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
06231438
124001267
250031254

prune721.0ms

Filtered
163 candidates to 100 candidates (61.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1621163
Fresh033
Picked011
Done000
Total1625167

Merged error: 0.5b

Counts
167 → 5

regimes88.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.4b against oracle of 0.4b and baseline of 12.2b

bsearch55.0ms

Steps
ItersRangePoint
9
-5.855776674212404
-7.74497267090904e-05
-0.0008614003792471078

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04430
14430

end0.0ms

sample898.0ms

Algorithm
intervals
Results
388.0ms8391×body80valid
102.0ms2450×body80overflowed
78.0ms244×body640valid
69.0ms126×body1280valid
37.0ms198×body320valid
11.0ms99×body160valid