Details

Time bar (total: 4.1s)

sample61.0ms

Algorithm
intervals
Results
32.0ms81×body10240exit
10.0ms272×body80valid
3.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: 1.0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.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:
6.0ms
(+ 1.0 (exp x))
6.0ms
(log (+ 1.0 (exp x)))

series70.0ms

Counts
2 → 6
Calls
2 calls:
12.0ms
(+ 1.0 (exp x))
58.0ms
(log (+ 1.0 (exp x)))

simplify95.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (24.0ms)

IterNodesCost
0128169
1337152
2897151
33150150
45002150

prune73.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.9b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp x) 3)
1.0b
(log (/ (+ (pow 1.0 3) (pow (exp x) 3)) (+ (* (exp x) (- (exp x) 1.0)) (* 1.0 1.0))))
1.1b
(/ (+ (pow 1.0 3) (pow (exp x) 3)) (+ (* (exp x) (- (exp x) 1.0)) (* 1.0 1.0)))
3.7b
(- (exp x) 1.0)

rewrite153.0ms

Algorithm
rewrite-expression-head
Rules
107×*-un-lft-identity
54×times-frac
37×add-sqr-sqrt
35×add-cube-cbrt distribute-lft-out
33×log-prod
31×unpow-prod-down cube-prod
add-exp-log associate-/l*
sum-cubes add-cbrt-cube
pow1 add-log-exp
pow-pow associate-/r/
pow-unpow exp-prod flip3-+ associate-/r* flip-+
div-exp rem-log-exp div-inv associate-/l/
cbrt-undiv cube-mult pow-to-exp sub-neg log-div flip3-- frac-2neg diff-log unpow3 pow-exp clear-num log-pow flip-- distribute-lft-out-- rem-cube-cbrt difference-of-squares sqr-pow
Counts
4 → 139
Calls
4 calls:
4.0ms
(pow (exp x) 3)
37.0ms
(log (/ (+ (pow 1.0 3) (pow (exp x) 3)) (+ (* (exp x) (- (exp x) 1.0)) (* 1.0 1.0))))
95.0ms
(/ (+ (pow 1.0 3) (pow (exp x) 3)) (+ (* (exp x) (- (exp x) 1.0)) (* 1.0 1.0)))
10.0ms
(- (exp x) 1.0)

series290.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(pow (exp x) 3)
164.0ms
(log (/ (+ (pow 1.0 3) (pow (exp x) 3)) (+ (* (exp x) (- (exp x) 1.0)) (* 1.0 1.0))))
91.0ms
(/ (+ (pow 1.0 3) (pow (exp x) 3)) (+ (* (exp x) (- (exp x) 1.0)) (* 1.0 1.0)))
14.0ms
(- (exp x) 1.0)

simplify74.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
04992152
121142050
250032043

prune372.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.9b

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

rewrite73.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
(* 1/2 (pow x 2))
21.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
18.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
20.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

series166.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* 1/2 (pow x 2))
76.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
16.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

prune210.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.9b

localize15.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.3b
(exp (log (log (+ (* 1/2 (pow x 2)) (+ x 2.0)))))
6.6b
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

rewrite45.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:
19.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
1.0ms
(log (log (+ (* 1/2 (pow x 2)) (+ x 2.0))))
3.0ms
(exp (log (log (+ (* 1/2 (pow x 2)) (+ x 2.0)))))
21.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

series220.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
100.0ms
(log (log (+ (* 1/2 (pow x 2)) (+ x 2.0))))
47.0ms
(exp (log (log (+ (* 1/2 (pow x 2)) (+ x 2.0)))))
52.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

prune181.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.9b

regimes56.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
02014
12014

end0.0ms

sample1.8s

Algorithm
intervals
Results
1.0s2460×body10240exit
318.0ms8435×body80valid
73.0ms262×body640valid
62.0ms118×body1280valid
33.0ms193×body320valid
12.0ms97×body160valid