Details

Time bar (total: 5.1s)

sample110.0ms

Algorithm
halfpoints

simplify61.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0307
1477
2847
31217
42067
54377
610477
720077
850017

prune10.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 0.0b

Counts
2 → 1

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (exp x) (exp (neg x)))
0.0b
(* (/ (+ (exp x) (exp (neg x))) 2.0) (cos y))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
16×add-sqr-sqrt associate-*l*
13×times-frac
11×add-cube-cbrt
add-exp-log add-cbrt-cube
pow1 distribute-lft-out add-log-exp
associate-*r*
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv +-commutative flip3-+ div-exp pow-prod-down associate-*l/ sum-log *-commutative flip-+ div-inv
Counts
2 → 47
Calls
2 calls:
4.0ms
(+ (exp x) (exp (neg x)))
10.0ms
(* (/ (+ (exp x) (exp (neg x))) 2.0) (cos y))

series84.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(+ (exp x) (exp (neg x)))
62.0ms
(* (/ (+ (exp x) (exp (neg x))) 2.0) (cos y))

simplify169.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0279461
11020404
24811402
35002402

prune120.0ms

Filtered
53 candidates to 40 candidates (75.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New50353
Fresh000
Picked011
Done000
Total50454

Merged error: 0b

Counts
54 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
49×*-un-lft-identity
48×sqrt-prod
38×times-frac
35×add-sqr-sqrt
29×add-cube-cbrt
19×associate-*l*
11×pow1
10×distribute-lft-out
add-exp-log add-cbrt-cube
sqrt-div add-log-exp
rem-sqrt-square
pow-prod-down associate-*l/ prod-exp cbrt-unprod div-inv
sqrt-pow1 pow1/2
+-commutative frac-times flip3-+ associate-*r/ associate-*r* sum-log *-commutative flip-+
Counts
4 → 105
Calls
4 calls:
5.0ms
(+ (exp x) (exp (neg x)))
6.0ms
(sqrt (/ (+ (exp x) (exp (neg x))) 2.0))
6.0ms
(sqrt (/ (+ (exp x) (exp (neg x))) 2.0))
18.0ms
(* (sqrt (/ (+ (exp x) (exp (neg x))) 2.0)) (* (sqrt (/ (+ (exp x) (exp (neg x))) 2.0)) (cos y)))

series340.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (exp x) (exp (neg x)))
99.0ms
(sqrt (/ (+ (exp x) (exp (neg x))) 2.0))
97.0ms
(sqrt (/ (+ (exp x) (exp (neg x))) 2.0))
122.0ms
(* (sqrt (/ (+ (exp x) (exp (neg x))) 2.0)) (* (sqrt (/ (+ (exp x) (exp (neg x))) 2.0)) (cos y)))

simplify49.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03901330
113301167
250011146

prune297.0ms

Filtered
117 candidates to 87 candidates (74.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1170117
Fresh022
Picked011
Done011
Total1174121

Merged error: 0b

Counts
121 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) (exp (neg x)))
0.0b
(+ (exp x) (exp (neg x)))
0.2b
(* (/ (sqrt (+ (exp x) (exp (neg x)))) 2.0) (cos y))
0.7b
(* (/ (sqrt (+ (exp x) (exp (neg x)))) 1) (* (/ (sqrt (+ (exp x) (exp (neg x)))) 2.0) (cos y)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
50×associate-*l*
49×*-un-lft-identity
44×times-frac
41×add-sqr-sqrt
39×add-exp-log
33×add-cube-cbrt
30×add-cbrt-cube
25×sqrt-prod
17×prod-exp
12×cbrt-unprod
11×pow1
10×div-exp
distribute-lft-out add-log-exp
cbrt-undiv
associate-*r* pow-prod-down associate-*l/
1-exp unswap-sqr
+-commutative flip3-+ sum-log *-commutative flip-+ div-inv
frac-times associate-*r/
Counts
4 → 123
Calls
4 calls:
4.0ms
(+ (exp x) (exp (neg x)))
5.0ms
(+ (exp x) (exp (neg x)))
11.0ms
(* (/ (sqrt (+ (exp x) (exp (neg x)))) 2.0) (cos y))
22.0ms
(* (/ (sqrt (+ (exp x) (exp (neg x)))) 1) (* (/ (sqrt (+ (exp x) (exp (neg x)))) 2.0) (cos y)))

series193.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (exp x) (exp (neg x)))
26.0ms
(+ (exp x) (exp (neg x)))
89.0ms
(* (/ (sqrt (+ (exp x) (exp (neg x)))) 2.0) (cos y))
56.0ms
(* (/ (sqrt (+ (exp x) (exp (neg x)))) 1) (* (/ (sqrt (+ (exp x) (exp (neg x)))) 2.0) (cos y)))

simplify65.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05651692
125961266
250011219

prune293.0ms

Filtered
135 candidates to 87 candidates (64.4%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1350135
Fresh011
Picked011
Done022
Total1354139

Merged error: 0b

Counts
139 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ (+ (exp x) (exp (neg x))) (sqrt 2.0)) (cos y))
0.7b
(* (/ 1 (sqrt 2.0)) (* (/ (+ (exp x) (exp (neg x))) (sqrt 2.0)) (cos y)))
1.0b
(/ (+ (exp x) (exp (neg x))) (sqrt 2.0))
1.0b
(/ 1 (sqrt 2.0))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
91×*-un-lft-identity
86×times-frac
73×add-sqr-sqrt
65×add-cube-cbrt
54×add-exp-log
50×associate-*l*
49×sqrt-prod
34×add-cbrt-cube
22×prod-exp
14×div-exp
13×pow1 distribute-lft-out
12×associate-/r* cbrt-unprod
cbrt-undiv
associate-/l*
rec-exp 1-exp associate-*r* pow-prod-down associate-*l/ div-inv add-log-exp
pow-flip unswap-sqr
frac-2neg clear-num *-commutative associate-/l/
frac-times sqrt-pow1 flip3-+ pow1/2 associate-*r/ flip-+ inv-pow
Counts
4 → 195
Calls
4 calls:
12.0ms
(* (/ (+ (exp x) (exp (neg x))) (sqrt 2.0)) (cos y))
16.0ms
(* (/ 1 (sqrt 2.0)) (* (/ (+ (exp x) (exp (neg x))) (sqrt 2.0)) (cos y)))
8.0ms
(/ (+ (exp x) (exp (neg x))) (sqrt 2.0))
4.0ms
(/ 1 (sqrt 2.0))

series326.0ms

Counts
4 → 10
Calls
4 calls:
102.0ms
(* (/ (+ (exp x) (exp (neg x))) (sqrt 2.0)) (cos y))
147.0ms
(* (/ 1 (sqrt 2.0)) (* (/ (+ (exp x) (exp (neg x))) (sqrt 2.0)) (cos y)))
76.0ms
(/ (+ (exp x) (exp (neg x))) (sqrt 2.0))
0.0ms
(/ 1 (sqrt 2.0))

simplify84.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
06122109
133431799
250011697

prune362.0ms

Filtered
205 candidates to 110 candidates (53.7%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New2050205
Fresh000
Picked011
Done033
Total2054209

Merged error: 0b

Counts
209 → 4

regimes42.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
0127
1127

end0.0ms

sample2.3s

Algorithm
halfpoints

Profiling

Loading profile data...