Details

Time bar (total: 3.6s)

sample21.0ms

Algorithm
intervals
Results
12.0ms256×body80valid

simplify160.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0105
1125
2145
3155
4205
5405
6615
71435
813575
950015

prune2.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.0b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (exp x) (exp (neg x)))
0.0b
(/ 2.0 (+ (exp x) (exp (neg x))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
12×times-frac
11×add-sqr-sqrt add-cube-cbrt
distribute-lft-out
add-exp-log associate-/r* add-cbrt-cube add-log-exp
associate-/l*
pow1 flip3-+ associate-/r/ flip-+
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 45
Calls
2 calls:
4.0ms
(+ (exp x) (exp (neg x)))
6.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))

series63.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(+ (exp x) (exp (neg x)))
41.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))

simplify123.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 3 (118.0ms)

IterNodesCost
0192411
1634377
23020374
35001373

prune95.0ms

Filtered
51 candidates to 39 candidates (76.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New47451
Fresh000
Picked011
Done000
Total47552

Merged error: 0.0b

Counts
52 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (/ 2.0 (+ (exp x) (exp (neg x)))))
0.0b
(/ 2.0 (+ (exp x) (exp (neg x))))
0.0b
(/ 2.0 (+ (exp x) (exp (neg x))))
0.0b
(* (sqrt (/ 2.0 (+ (exp x) (exp (neg x))))) (sqrt (/ 2.0 (+ (exp x) (exp (neg x))))))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
134×*-un-lft-identity
116×sqrt-prod
103×times-frac
101×add-sqr-sqrt
70×add-cube-cbrt
29×swap-sqr distribute-lft-out
21×associate-*r* associate-*l*
20×pow1
14×associate-/r/
10×add-exp-log add-cbrt-cube
sqrt-pow1 pow1/2 unswap-sqr
associate-/r*
flip3-+ flip-+ div-inv
associate-/l*
sqrt-div pow-prod-up
add-log-exp
pow-prod-down pow-sqr
cbrt-undiv rem-sqrt-square frac-2neg div-exp clear-num
pow2 frac-times pow-plus sqrt-unprod associate-*r/ associate-*l/ prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 204
Calls
4 calls:
6.0ms
(sqrt (/ 2.0 (+ (exp x) (exp (neg x)))))
6.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))
6.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))
22.0ms
(* (sqrt (/ 2.0 (+ (exp x) (exp (neg x))))) (sqrt (/ 2.0 (+ (exp x) (exp (neg x))))))

series295.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(sqrt (/ 2.0 (+ (exp x) (exp (neg x)))))
42.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))
38.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))
101.0ms
(* (sqrt (/ 2.0 (+ (exp x) (exp (neg x))))) (sqrt (/ 2.0 (+ (exp x) (exp (neg x))))))

simplify84.0ms

Algorithm
egg-herbie
Counts
216 → 216
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
04262240
120262084
250022043

prune395.0ms

Filtered
216 candidates to 130 candidates (60.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2151216
Fresh033
Picked101
Done011
Total2165221

Merged error: 0b

Counts
221 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) (exp (neg x)))
0.0b
(* (/ (sqrt 2.0) (sqrt (+ (exp x) (exp (neg x))))) (/ (sqrt 2.0) (sqrt (+ (exp x) (exp (neg x))))))
0.0b
(/ (sqrt 2.0) (sqrt (+ (exp x) (exp (neg x)))))
0.0b
(/ (sqrt 2.0) (sqrt (+ (exp x) (exp (neg x)))))

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
434×sqrt-prod
384×times-frac
362×add-sqr-sqrt
330×*-un-lft-identity
196×add-cube-cbrt
94×swap-sqr
59×distribute-lft-out
48×associate-*r* associate-*l*
25×unswap-sqr
20×add-exp-log add-cbrt-cube
14×associate-/r*
12×sqrt-div associate-/r/ associate-/l*
11×pow1
flip3-+ flip-+
cbrt-undiv sqrt-undiv div-exp div-inv add-log-exp
prod-exp cbrt-unprod
frac-2neg clear-num
+-commutative pow2 frac-times pow-plus sqrt-unprod associate-*r/ pow-prod-down associate-*l/ sum-log rem-square-sqrt pow-sqr *-commutative pow-prod-up
Counts
4 → 393
Calls
4 calls:
4.0ms
(+ (exp x) (exp (neg x)))
53.0ms
(* (/ (sqrt 2.0) (sqrt (+ (exp x) (exp (neg x))))) (/ (sqrt 2.0) (sqrt (+ (exp x) (exp (neg x))))))
8.0ms
(/ (sqrt 2.0) (sqrt (+ (exp x) (exp (neg x)))))
8.0ms
(/ (sqrt 2.0) (sqrt (+ (exp x) (exp (neg x)))))

series352.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (exp x) (exp (neg x)))
104.0ms
(* (/ (sqrt 2.0) (sqrt (+ (exp x) (exp (neg x))))) (/ (sqrt 2.0) (sqrt (+ (exp x) (exp (neg x))))))
111.0ms
(/ (sqrt 2.0) (sqrt (+ (exp x) (exp (neg x)))))
115.0ms
(/ (sqrt 2.0) (sqrt (+ (exp x) (exp (neg x)))))

simplify131.0ms

Algorithm
egg-herbie
Counts
405 → 405
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
08397886
143926797
250036724

prune528.0ms

Filtered
405 candidates to 165 candidates (40.7%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New4041405
Fresh123
Picked011
Done011
Total4055410

Merged error: 0b

Counts
410 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) (exp (neg x)))
0.1b
(exp (- (log 2.0) (log (+ (exp x) (exp (neg x))))))
0.5b
(log (+ (exp x) (exp (neg x))))
1.7b
(- (log 2.0) (log (+ (exp x) (exp (neg x)))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity
14×log-prod
13×pow1 add-sqr-sqrt
add-cube-cbrt log-pow
exp-prod distribute-lft-out--
exp-sum add-log-exp
log-div associate--l+
add-exp-log
flip3-+ add-cbrt-cube flip-+ associate--r+ associate--r-
distribute-lft-out
sub-neg diff-log rem-exp-log difference-of-squares
+-commutative flip3-- exp-diff rem-log-exp sum-log flip--
Counts
4 → 78
Calls
4 calls:
4.0ms
(+ (exp x) (exp (neg x)))
6.0ms
(exp (- (log 2.0) (log (+ (exp x) (exp (neg x))))))
5.0ms
(log (+ (exp x) (exp (neg x))))
8.0ms
(- (log 2.0) (log (+ (exp x) (exp (neg x)))))

series500.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (exp x) (exp (neg x)))
227.0ms
(exp (- (log 2.0) (log (+ (exp x) (exp (neg x))))))
76.0ms
(log (+ (exp x) (exp (neg x))))
174.0ms
(- (log 2.0) (log (+ (exp x) (exp (neg x)))))

simplify94.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
0291767
1789704
22858676
35001674

prune187.0ms

Filtered
90 candidates to 60 candidates (66.7%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New90090
Fresh022
Picked011
Done022
Total90595

Merged error: 0b

Counts
95 → 5

regimes66.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
085
185

end0.0ms

sample322.0ms

Algorithm
intervals
Results
226.0ms8000×body80valid

Profiling

Loading profile data...