Details

Time bar (total: 4.6s)

sample103.0ms

Algorithm
halfpoints

simplify60.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0307
1477
2847
31317
42237
54667
611237
722447
850027

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
0.1b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
17.4b
(- (exp x) (exp (- x)))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt
43×*-un-lft-identity
35×associate-*l*
29×add-cube-cbrt times-frac
13×add-exp-log add-cbrt-cube
prod-diff
pow1
associate-*r*
add-log-exp
prod-exp cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
expm1-log1p-u fma-neg log1p-expm1-u distribute-lft-out
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative div-inv
sub-neg flip3-- diff-log flip--
Counts
3 → 105
Calls
3 calls:
28.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
26.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
7.0ms
(- (exp x) (exp (- x)))

series169.0ms

Counts
3 → 9
Calls
3 calls:
58.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
76.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
35.0ms
(- (exp x) (exp (- x)))

simplify53.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
05411133
11885916
25002915

prune336.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (* (cbrt (/ (+ (exp x) (exp (- x))) 2.0)) (cbrt (/ (+ (exp x) (exp (- x))) 2.0))) (* (cbrt (/ (+ (exp x) (exp (- x))) 2.0)) (cos y)))
0.0b
(* (cbrt (/ (+ (exp x) (exp (- x))) 2.0)) (cbrt (/ (+ (exp x) (exp (- x))) 2.0)))
0.1b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
17.4b
(- (exp x) (exp (- x)))

rewrite179.0ms

Algorithm
rewrite-expression-head
Rules
111×*-un-lft-identity
98×add-sqr-sqrt
88×cbrt-prod
82×times-frac
61×add-cube-cbrt
39×associate-*l*
25×pow1 swap-sqr
23×add-exp-log associate-*r*
18×distribute-lft-out
16×cbrt-div
15×add-cbrt-cube
11×pow-prod-down associate-*l/ prod-exp cbrt-unprod unswap-sqr
prod-diff
frac-times pow1/3 add-log-exp
div-inv
expm1-log1p-u associate-*r/ log1p-expm1-u distribute-lft-out-- difference-of-squares
fma-neg *-commutative
pow-sqr pow-prod-up
cbrt-undiv pow2 sub-neg flip3-- pow-plus diff-log div-exp flip--
Counts
4 → 194
Calls
4 calls:
81.0ms
(* (* (cbrt (/ (+ (exp x) (exp (- x))) 2.0)) (cbrt (/ (+ (exp x) (exp (- x))) 2.0))) (* (cbrt (/ (+ (exp x) (exp (- x))) 2.0)) (cos y)))
55.0ms
(* (cbrt (/ (+ (exp x) (exp (- x))) 2.0)) (cbrt (/ (+ (exp x) (exp (- x))) 2.0)))
26.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
7.0ms
(- (exp x) (exp (- x)))

series478.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(* (* (cbrt (/ (+ (exp x) (exp (- x))) 2.0)) (cbrt (/ (+ (exp x) (exp (- x))) 2.0))) (* (cbrt (/ (+ (exp x) (exp (- x))) 2.0)) (cos y)))
278.0ms
(* (cbrt (/ (+ (exp x) (exp (- x))) 2.0)) (cbrt (/ (+ (exp x) (exp (- x))) 2.0)))
75.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
38.0ms
(- (exp x) (exp (- x)))

simplify98.0ms

Algorithm
egg-herbie
Counts
206 → 206
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07673307
128832830
250012639

prune637.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes58.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
01916
11916

end0.0ms

sample2.3s

Algorithm
halfpoints