Details

Time bar (total: 3.9s)

sample58.0ms

Algorithm
intervals
Results
30.0ms76×body10240exit
9.0ms255×body80valid
4.0msbody1280valid
3.0ms12×body640valid
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.8b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite7.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)))

series72.0ms

Counts
2 → 6
Calls
2 calls:
8.0ms
(+ 1.0 (exp x))
64.0ms
(log (+ 1.0 (exp x)))

simplify99.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (26.0ms)

IterNodesCost
0128169
1337152
2897151
33150150
45002150

prune75.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.0ms

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

series223.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ 1.0 (exp x))
8.0ms
(+ 1.0 (exp x))
103.0ms
(log (sqrt (+ 1.0 (exp x))))
104.0ms
(log (sqrt (+ 1.0 (exp x))))

simplify40.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (35.0ms)

IterNodesCost
0155476
1390434
21073422
35002414

prune207.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.2b

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))
8.3b
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

rewrite31.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)))

series176.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* 1/2 (pow x 2))
78.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
18.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
51.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

simplify47.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0371575
11439529
25001520

prune197.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.2b

localize26.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (log (+ (pow (* 1/2 (pow x 2)) 3) (pow (+ x 2.0) 3))) (log (+ (* (* 1/2 (pow x 2)) (* 1/2 (pow x 2))) (- (* (+ x 2.0) (+ x 2.0)) (* (* 1/2 (pow x 2)) (+ x 2.0))))))
9.2b
(+ (pow (* 1/2 (pow x 2)) 3) (pow (+ x 2.0) 3))
11.9b
(log (+ (* (* 1/2 (pow x 2)) (* 1/2 (pow x 2))) (- (* (+ x 2.0) (+ x 2.0)) (* (* 1/2 (pow x 2)) (+ x 2.0)))))
12.6b
(log (+ (pow (* 1/2 (pow x 2)) 3) (pow (+ x 2.0) 3)))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
16×log-prod
10×pow1 add-sqr-sqrt
add-cube-cbrt log-div
add-exp-log log-pow add-log-exp
flip3-+ associate--l+ flip-+
add-cbrt-cube distribute-lft-out--
sum-cubes distribute-lft-out associate--r+
associate--l- rem-log-exp associate--r-
+-commutative sub-neg flip3-- diff-log sum-log flip-- difference-of-squares
Counts
4 → 72
Calls
4 calls:
28.0ms
(- (log (+ (pow (* 1/2 (pow x 2)) 3) (pow (+ x 2.0) 3))) (log (+ (* (* 1/2 (pow x 2)) (* 1/2 (pow x 2))) (- (* (+ x 2.0) (+ x 2.0)) (* (* 1/2 (pow x 2)) (+ x 2.0))))))
12.0ms
(+ (pow (* 1/2 (pow x 2)) 3) (pow (+ x 2.0) 3))
13.0ms
(log (+ (* (* 1/2 (pow x 2)) (* 1/2 (pow x 2))) (- (* (+ x 2.0) (+ x 2.0)) (* (* 1/2 (pow x 2)) (+ x 2.0)))))
11.0ms
(log (+ (pow (* 1/2 (pow x 2)) 3) (pow (+ x 2.0) 3)))

series362.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(- (log (+ (pow (* 1/2 (pow x 2)) 3) (pow (+ x 2.0) 3))) (log (+ (* (* 1/2 (pow x 2)) (* 1/2 (pow x 2))) (- (* (+ x 2.0) (+ x 2.0)) (* (* 1/2 (pow x 2)) (+ x 2.0))))))
48.0ms
(+ (pow (* 1/2 (pow x 2)) 3) (pow (+ x 2.0) 3))
58.0ms
(log (+ (* (* 1/2 (pow x 2)) (* 1/2 (pow x 2))) (- (* (+ x 2.0) (+ x 2.0)) (* (* 1/2 (pow x 2)) (+ x 2.0)))))
126.0ms
(log (+ (pow (* 1/2 (pow x 2)) 3) (pow (+ x 2.0) 3)))

simplify67.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04761691
117861582
250021544

prune348.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.2b

regimes65.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample1.7s

Algorithm
intervals
Results
976.0ms2445×body10240exit
318.0ms8428×body80valid
66.0ms254×body640valid
66.0ms134×body1280valid
26.0ms160×body320valid
13.0ms110×body160valid