Details

Time bar (total: 5.1s)

sample106.0ms

Algorithm
halfpoints

simplify60.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0307
1477
2847
31217
42067
54107
610177
720747
850017

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite35.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:
28.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
5.0ms
(+ (exp x) (exp (- x)))

series81.0ms

Counts
2 → 6
Calls
2 calls:
59.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
23.0ms
(+ (exp x) (exp (- x)))

simplify165.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0277461
11018404
24757402
35001402

prune138.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.0ms

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

series218.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (exp x) (exp (- x)))
24.0ms
(+ (exp x) (exp (- x)))
22.0ms
(+ (exp x) (exp (- x)))
150.0ms
(* (cbrt (/ (+ (exp x) (exp (- x))) 2.0)) (cos y))

simplify123.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (116.0ms)

IterNodesCost
0267715
1817639
23513634
35002633

prune330.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize30.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (cbrt (/ (+ (exp x) (exp (- x))) 2.0)) (cos y))
0.0b
(pow (exp x) 3)
0.0b
(pow (exp (- x)) 3)
15.6b
(- (exp (+ x x)) 1)

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
34×*-un-lft-identity
24×add-cube-cbrt
19×associate-*l*
18×cbrt-prod
15×pow-pow
13×exp-prod times-frac
pow1
add-cbrt-cube
add-exp-log unpow-prod-down pow-unpow cube-prod add-log-exp
difference-of-squares
distribute-lft-neg-in distribute-rgt-neg-in associate-*r* exp-sum distribute-lft-out unswap-sqr
cube-div cube-mult pow-to-exp unpow3 difference-of-sqr-1 pow-exp rem-cube-cbrt sqr-pow
neg-sub0 exp-neg neg-mul-1 sub-neg cbrt-div flip3-- exp-diff diff-log pow-prod-down associate-*l/ prod-exp *-commutative flip-- cbrt-unprod div-inv distribute-lft-out--
Counts
4 → 117
Calls
4 calls:
27.0ms
(* (cbrt (/ (+ (exp x) (exp (- x))) 2.0)) (cos y))
2.0ms
(pow (exp x) 3)
5.0ms
(pow (exp (- x)) 3)
28.0ms
(- (exp (+ x x)) 1)

series222.0ms

Counts
4 → 12
Calls
4 calls:
152.0ms
(* (cbrt (/ (+ (exp x) (exp (- x))) 2.0)) (cos y))
23.0ms
(pow (exp x) 3)
25.0ms
(pow (exp (- x)) 3)
21.0ms
(- (exp (+ x x)) 1)

simplify57.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0453739
11694682
25001669

prune599.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize22.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt (+ (exp x) (exp (- x))))
1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
13×cbrt-prod
10×*-un-lft-identity
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log pow1/3 add-cbrt-cube add-log-exp
cbrt-div
flip3-+ flip-+ distribute-lft-out
Counts
4 → 47
Calls
4 calls:
5.0ms
(cbrt (+ (exp x) (exp (- x))))
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)

series127.0ms

Counts
4 → 6
Calls
4 calls:
127.0ms
(cbrt (+ (exp x) (exp (- x))))
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)

simplify62.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0140283
1407263
21655247
35001247

prune179.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes56.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03443
13443

end0.0ms

sample2.4s

Algorithm
halfpoints