Details

Time bar (total: 4.1s)

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

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

simplify167.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: 0b

Counts
54 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cbrt (cos y)) (cbrt (cos y)))
0.4b
(cbrt (cos y))
0.4b
(cbrt (cos y))
0.4b
(cbrt (cos y))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
6.0ms
(* (cbrt (cos y)) (cbrt (cos y)))
1.0ms
(cbrt (cos y))
1.0ms
(cbrt (cos y))
1.0ms
(cbrt (cos y))

series449.0ms

Counts
4 → 12
Calls
4 calls:
156.0ms
(* (cbrt (cos y)) (cbrt (cos y)))
95.0ms
(cbrt (cos y))
96.0ms
(cbrt (cos y))
101.0ms
(cbrt (cos y))

simplify101.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
0122441
1481389
23180357
35001351

prune199.0ms

Filtered
85 candidates to 60 candidates (70.6%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New85085
Fresh011
Picked011
Done011
Total85388

Merged error: 0b

Counts
88 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
61×pow1
32×sqrt-pow1
24×add-sqr-sqrt
23×*-un-lft-identity pow-prod-down
20×associate-*l*
17×add-cube-cbrt
13×times-frac
12×pow1/2
11×add-exp-log add-cbrt-cube
10×pow-prod-up
associate-*l/
associate-*r*
sqrt-div sqrt-prod pow-sqr
swap-sqr add-log-exp
prod-exp cbrt-unprod distribute-lft-out unswap-sqr
*-commutative
cbrt-undiv pow2 frac-times pow-plus sqrt-unprod associate-*r/ div-exp rem-square-sqrt div-inv
Counts
4 → 111
Calls
4 calls:
13.0ms
(* (/ (+ (exp x) (exp (neg x))) 2.0) (cos y))
7.0ms
(sqrt (* (/ (+ (exp x) (exp (neg x))) 2.0) (cos y)))
7.0ms
(sqrt (* (/ (+ (exp x) (exp (neg x))) 2.0) (cos y)))
18.0ms
(* (sqrt (* (/ (+ (exp x) (exp (neg x))) 2.0) (cos y))) (sqrt (* (/ (+ (exp x) (exp (neg x))) 2.0) (cos y))))

series420.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(* (/ (+ (exp x) (exp (neg x))) 2.0) (cos y))
126.0ms
(sqrt (* (/ (+ (exp x) (exp (neg x))) 2.0) (cos y)))
119.0ms
(sqrt (* (/ (+ (exp x) (exp (neg x))) 2.0) (cos y)))
119.0ms
(* (sqrt (* (/ (+ (exp x) (exp (neg x))) 2.0) (cos y))) (sqrt (* (/ (+ (exp x) (exp (neg x))) 2.0) (cos y))))

simplify63.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
03631124
11812990
25001935

prune249.0ms

Filtered
123 candidates to 74 candidates (60.2%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1230123
Fresh000
Picked011
Done022
Total1233126

Merged error: 0b

Counts
126 → 3

regimes35.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.0s

Algorithm
halfpoints

Profiling

Loading profile data...