Details

Time bar (total: 5.0s)

sample99.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

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

series82.0ms

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

simplify168.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0279461
11020404
24811402
35002402

prune116.0ms

Filtered
53 candidates to 40 candidates (75.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New51253
Fresh000
Picked011
Done000
Total51354

Merged error: 0.0b

Counts
54 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity
38×associate-*l*
34×sqrt-prod
30×add-sqr-sqrt
25×times-frac
23×add-cube-cbrt
11×pow1 add-exp-log add-cbrt-cube
distribute-lft-out add-log-exp
sqrt-div
associate-*r* pow-prod-down associate-*l/ prod-exp cbrt-unprod
unswap-sqr
+-commutative flip3-+ sum-log *-commutative flip-+ div-inv
frac-times associate-*r/
Counts
4 → 98
Calls
4 calls:
18.0ms
(* (sqrt (/ (+ (exp x) (exp (neg x))) 2.0)) (* (sqrt (/ (+ (exp x) (exp (neg x))) 2.0)) (cos y)))
8.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))

series274.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(* (sqrt (/ (+ (exp x) (exp (neg x))) 2.0)) (* (sqrt (/ (+ (exp x) (exp (neg x))) 2.0)) (cos y)))
27.0ms
(+ (exp x) (exp (neg x)))
21.0ms
(+ (exp x) (exp (neg x)))
110.0ms
(* (sqrt (/ (+ (exp x) (exp (neg x))) 2.0)) (cos y))

simplify45.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03881200
114071051
250021049

prune297.0ms

Filtered
110 candidates to 83 candidates (75.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1082110
Fresh011
Picked101
Done011
Total1094113

Merged error: 0b

Counts
113 → 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.0b
(+ (exp x) (exp (neg x)))
0.0b
(* (sqrt (/ (+ (exp x) (exp (neg x))) 2.0)) (cos y))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
21×add-sqr-sqrt
19×associate-*l*
18×sqrt-prod
14×add-cube-cbrt
13×times-frac
10×add-log-exp
pow1 add-exp-log add-cbrt-cube distribute-lft-out
+-commutative flip3-+ associate-*r* sum-log flip-+ unswap-sqr
sqrt-div pow-prod-down associate-*l/ prod-exp *-commutative cbrt-unprod div-inv
Counts
4 → 73
Calls
4 calls:
5.0ms
(+ (exp x) (exp (neg x)))
5.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))

series179.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(+ (exp x) (exp (neg x)))
21.0ms
(+ (exp x) (exp (neg x)))
26.0ms
(+ (exp x) (exp (neg x)))
110.0ms
(* (sqrt (/ (+ (exp x) (exp (neg x))) 2.0)) (cos y))

simplify113.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0255714
1749660
23263656
35001656

prune288.0ms

Filtered
85 candidates to 68 candidates (80.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New85085
Fresh022
Picked011
Done011
Total85489

Merged error: 0b

Counts
89 → 4

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) (exp (neg x)))
0.0b
(exp (/ (+ (exp x) (exp (neg x))) 2.0))
0.1b
(pow (exp (/ (+ (exp x) (exp (neg x))) 2.0)) (cos y))
0.3b
(log (pow (exp (/ (+ (exp x) (exp (neg x))) 2.0)) (cos y)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
32×exp-prod
24×add-sqr-sqrt add-cube-cbrt times-frac
17×pow-pow
log-prod distribute-lft-out add-log-exp
unpow-prod-down
pow1 add-exp-log
add-cbrt-cube
pow-unpow rem-log-exp
pow-to-exp pow-exp div-inv sqr-pow
+-commutative flip3-+ sum-log log-pow flip-+ rem-exp-log
Counts
4 → 87
Calls
4 calls:
5.0ms
(+ (exp x) (exp (neg x)))
7.0ms
(exp (/ (+ (exp x) (exp (neg x))) 2.0))
9.0ms
(pow (exp (/ (+ (exp x) (exp (neg x))) 2.0)) (cos y))
7.0ms
(log (pow (exp (/ (+ (exp x) (exp (neg x))) 2.0)) (cos y)))

series324.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (exp x) (exp (neg x)))
77.0ms
(exp (/ (+ (exp x) (exp (neg x))) 2.0))
114.0ms
(pow (exp (/ (+ (exp x) (exp (neg x))) 2.0)) (cos y))
111.0ms
(log (pow (exp (/ (+ (exp x) (exp (neg x))) 2.0)) (cos y)))

simplify41.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0367899
11293825
25001813

prune261.0ms

Filtered
99 candidates to 75 candidates (75.8%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New99099
Fresh011
Picked011
Done022
Total994103

Merged error: 0b

Counts
103 → 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.4s

Algorithm
halfpoints

Profiling

Loading profile data...