Details

Time bar (total: 4.0s)

sample55.0ms

Algorithm
intervals
Results
28.0ms72×body10240exit
9.0ms275×body80valid
4.0msbody1280valid
1.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1195
2195

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.8b

localize10.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.7b
(log (+ 1.0 (exp x)))

rewrite23.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:
6.0ms
(+ 1.0 (exp x))
11.0ms
(- (log (+ 1.0 (exp x))) (* x y))
5.0ms
(log (+ 1.0 (exp x)))

series113.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0207322
1584301
21729298
35001297

prune122.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.4b

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.5b
(log (sqrt (+ 1.0 (exp x))))
1.5b
(log (sqrt (+ 1.0 (exp x))))

rewrite32.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:
10.0ms
(sqrt (+ 1.0 (exp x)))
8.0ms
(sqrt (+ 1.0 (exp x)))
6.0ms
(log (sqrt (+ 1.0 (exp x))))
6.0ms
(log (sqrt (+ 1.0 (exp x))))

series258.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(sqrt (+ 1.0 (exp x)))
26.0ms
(sqrt (+ 1.0 (exp x)))
93.0ms
(log (sqrt (+ 1.0 (exp x))))
94.0ms
(log (sqrt (+ 1.0 (exp x))))

simplify51.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
0162564
1453528
21549508
35001496

prune236.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.4b

localize18.0ms

Local error

Found 3 expressions with local error:

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

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
log-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log log-div
flip3-+ associate--l+ sum-log add-cbrt-cube flip-+
associate--l-
+-commutative sub-neg associate-+r+ flip3-- diff-log rem-log-exp log-pow flip--
Counts
3 → 44
Calls
3 calls:
23.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
17.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
26.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

series127.0ms

Counts
3 → 9
Calls
3 calls:
62.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
20.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
45.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

simplify128.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0292480
11010443
24638436
35001436

prune151.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.4b

localize15.0ms

Local error

Found 4 expressions with local error:

1.2b
(cbrt (log (+ (* 1/2 (pow x 2)) (+ x 2.0))))
4.9b
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))
4.9b
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))
4.9b
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
log-prod
pow1 add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-exp-log
log-div
cbrt-prod log-pow add-cbrt-cube add-log-exp
flip3-+ rem-log-exp flip-+
pow1/3
Counts
4 → 54
Calls
4 calls:
1.0ms
(cbrt (log (+ (* 1/2 (pow x 2)) (+ x 2.0))))
16.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))
16.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))
20.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

series318.0ms

Counts
4 → 12
Calls
4 calls:
170.0ms
(cbrt (log (+ (* 1/2 (pow x 2)) (+ x 2.0))))
52.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))
45.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))
50.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

simplify42.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0363755
11304677
25001644

prune247.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.4b

regimes90.0ms

Accuracy

0% (0.3b remaining)

Error of 0.5b against oracle of 0.3b and baseline of 0.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample1.7s

Algorithm
intervals
Results
977.0ms2489×body10240exit
296.0ms8451×body80valid
72.0ms284×body640valid
62.0ms129×body1280valid
30.0ms181×body320valid
14.0ms129×body160valid