Details

Time bar (total: 3.7s)

sample65.0ms

Algorithm
intervals
Results
39.0ms91×body10240exit
10.0ms261×body80valid
3.0ms10×body640valid
2.0msbody1280valid
1.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.3b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ 1.0 (exp x))
0.3b
(log (+ 1.0 (exp x)))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
log-prod add-log-exp
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt
log-div flip3-+ add-cbrt-cube flip-+ distribute-lft-out
+-commutative rem-log-exp sum-log log-pow
Counts
2 → 27
Calls
2 calls:
3.0ms
(+ 1.0 (exp x))
3.0ms
(log (+ 1.0 (exp x)))

series70.0ms

Counts
2 → 6
Calls
2 calls:
7.0ms
(+ 1.0 (exp x))
62.0ms
(log (+ 1.0 (exp x)))

simplify96.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (24.0ms)

IterNodesCost
0128169
1337152
2897151
33150150
45002150

prune75.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite18.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:
5.0ms
(sqrt (+ 1.0 (exp x)))
5.0ms
(sqrt (+ 1.0 (exp x)))
3.0ms
(log (sqrt (+ 1.0 (exp x))))
4.0ms
(log (sqrt (+ 1.0 (exp x))))

series306.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(sqrt (+ 1.0 (exp x)))
33.0ms
(sqrt (+ 1.0 (exp x)))
117.0ms
(log (sqrt (+ 1.0 (exp x))))
118.0ms
(log (sqrt (+ 1.0 (exp x))))

simplify50.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
0162564
1453528
21549508
35001496

prune214.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.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:
11.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
6.0ms
(* 1/2 (pow x 2))
9.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
11.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

series175.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
26.0ms
(* 1/2 (pow x 2))
17.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
53.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

simplify50.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0371575
11439529
25001520

prune196.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1/2 (pow x 2)) (+ x 2.0))
0.0b
(log (log (+ (* 1/2 (pow x 2)) (+ x 2.0))))
0.4b
(exp (log (log (+ (* 1/2 (pow x 2)) (+ x 2.0)))))
8.0b
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
11×log-prod
pow1 add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-exp-log
log-pow
exp-prod exp-sum add-cbrt-cube
sum-log
log-div flip3-+ rem-log-exp flip-+
+-commutative associate-+r+ rem-exp-log
Counts
4 → 56
Calls
4 calls:
9.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
1.0ms
(log (log (+ (* 1/2 (pow x 2)) (+ x 2.0))))
2.0ms
(exp (log (log (+ (* 1/2 (pow x 2)) (+ x 2.0)))))
9.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

series231.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
105.0ms
(log (log (+ (* 1/2 (pow x 2)) (+ x 2.0))))
55.0ms
(exp (log (log (+ (* 1/2 (pow x 2)) (+ x 2.0)))))
54.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

simplify38.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0351653
11333581
25001552

prune183.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

regimes33.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01211
11211

end0.0ms

sample1.8s

Algorithm
intervals
Results
1.1s2534×body10240exit
325.0ms8444×body80valid
72.0ms265×body640valid
66.0ms126×body1280valid
31.0ms185×body320valid
13.0ms101×body160valid