Details

Time bar (total: 4.8s)

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

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
17×add-sqr-sqrt
16×associate-*l*
13×times-frac
12×add-cube-cbrt
add-exp-log add-cbrt-cube
pow1 distribute-lft-out add-log-exp
fma-def associate-*r*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u unswap-sqr
cbrt-undiv +-commutative flip3-+ div-exp pow-prod-down associate-*l/ sum-log *-commutative flip-+ div-inv
Counts
2 → 54
Calls
2 calls:
30.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
6.0ms
(+ (exp x) (exp (- x)))

series86.0ms

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

simplify174.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0286487
11053428
24913426
35001426

prune163.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity
13×associate-*l*
10×times-frac
add-exp-log add-cbrt-cube
pow1 sqrt-pow1
exp-prod sqrt-prod
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*r*
rem-sqrt-square pow1/2 prod-exp cbrt-unprod unswap-sqr
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative fma-udef div-inv
Counts
4 → 80
Calls
4 calls:
8.0ms
(* (/ (fma (sqrt (exp x)) (sqrt (exp x)) (exp (- x))) 2.0) (cos y))
1.0ms
(sqrt (exp x))
1.0ms
(sqrt (exp x))
0.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) (exp (- x)))

series169.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(* (/ (fma (sqrt (exp x)) (sqrt (exp x)) (exp (- x))) 2.0) (cos y))
11.0ms
(sqrt (exp x))
12.0ms
(sqrt (exp x))
64.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) (exp (- x)))

simplify106.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (100.0ms)

IterNodesCost
0268701
1924578
23961554
35002548

prune294.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite10.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*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
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))

series459.0ms

Counts
4 → 12
Calls
4 calls:
161.0ms
(* (cbrt (cos y)) (cbrt (cos y)))
104.0ms
(cbrt (cos y))
97.0ms
(cbrt (cos y))
97.0ms
(cbrt (cos y))

simplify101.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (96.0ms)

IterNodesCost
0128471
1500419
23232387
35002381

prune270.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp (* -1 x)) (exp x))
0.7b
(/ (* (cos y) (+ (exp (* -1 x)) (exp x))) (sqrt 2.0))
0.7b
(* (/ 1 (sqrt 2.0)) (/ (* (cos y) (+ (exp (* -1 x)) (exp x))) (sqrt 2.0)))
1.0b
(/ 1 (sqrt 2.0))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
52×add-exp-log add-sqr-sqrt times-frac
44×*-un-lft-identity
40×add-cube-cbrt
32×sqrt-prod add-cbrt-cube
22×associate-*l*
18×div-exp
17×prod-exp
12×associate-/r*
10×cbrt-undiv associate-*r*
cbrt-unprod
pow1
add-log-exp
unswap-sqr
expm1-log1p-u rec-exp 1-exp log1p-expm1-u div-inv associate-/l*
pow-flip fma-def associate-*r/
frac-2neg flip3-+ clear-num flip-+ associate-/l/
+-commutative frac-times sqrt-pow1 pow1/2 pow-prod-down associate-*l/ sum-log *-commutative distribute-lft-out inv-pow
Counts
4 → 164
Calls
4 calls:
4.0ms
(+ (exp (* -1 x)) (exp x))
8.0ms
(/ (* (cos y) (+ (exp (* -1 x)) (exp x))) (sqrt 2.0))
30.0ms
(* (/ 1 (sqrt 2.0)) (/ (* (cos y) (+ (exp (* -1 x)) (exp x))) (sqrt 2.0)))
3.0ms
(/ 1 (sqrt 2.0))

series270.0ms

Counts
4 → 10
Calls
4 calls:
21.0ms
(+ (exp (* -1 x)) (exp x))
101.0ms
(/ (* (cos y) (+ (exp (* -1 x)) (exp x))) (sqrt 2.0))
147.0ms
(* (/ 1 (sqrt 2.0)) (/ (* (cos y) (+ (exp (* -1 x)) (exp x))) (sqrt 2.0)))
0.0ms
(/ 1 (sqrt 2.0))

simplify89.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
05871707
136251422
250021313

prune370.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes37.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
01210
11210

end0.0ms

sample1.9s

Algorithm
halfpoints