Details

Time bar (total: 6.1s)

sample103.0ms

Algorithm
halfpoints

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

Filtered
1 candidates to 1 candidates (100.0%)
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)))

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

series84.0ms

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

simplify166.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0286487
11053428
24913426
35001426

prune171.0ms

Filtered
60 candidates to 47 candidates (78.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite14.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:
2.0ms
(sqrt (exp x))
2.0ms
(sqrt (exp x))
6.0ms
(* (/ (fma (sqrt (exp x)) (sqrt (exp x)) (exp (- x))) 2.0) (cos y))
1.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) (exp (- x)))

series167.0ms

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

simplify107.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (100.0ms)

IterNodesCost
0268701
1924578
23961554
35001548

prune304.0ms

Filtered
92 candidates to 74 candidates (80.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
198×sqrt-prod
172×times-frac
171×*-un-lft-identity
133×add-sqr-sqrt
119×add-cube-cbrt
92×associate-*l*
34×add-exp-log add-cbrt-cube
26×distribute-lft-out
14×associate-/l*
12×prod-exp associate-/r* cbrt-unprod
11×pow1
cbrt-undiv div-exp
unswap-sqr
expm1-log1p-u sqrt-div associate-*r* pow-prod-down associate-*l/ log1p-expm1-u div-inv associate-/l/ add-log-exp
sqrt-undiv frac-2neg flip3-+ clear-num *-commutative flip-+
frac-times associate-*r/
Counts
4 → 288
Calls
4 calls:
16.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) (sqrt 2.0)) (cos y))
9.0ms
(/ (sqrt (+ (exp x) (exp (- x)))) (sqrt 2.0))
9.0ms
(/ (sqrt (+ (exp x) (exp (- x)))) (sqrt 2.0))
24.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) (sqrt 2.0)) (* (/ (sqrt (+ (exp x) (exp (- x)))) (sqrt 2.0)) (cos y)))

series515.0ms

Counts
4 → 12
Calls
4 calls:
132.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) (sqrt 2.0)) (cos y))
117.0ms
(/ (sqrt (+ (exp x) (exp (- x)))) (sqrt 2.0))
124.0ms
(/ (sqrt (+ (exp x) (exp (- x)))) (sqrt 2.0))
141.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) (sqrt 2.0)) (* (/ (sqrt (+ (exp x) (exp (- x)))) (sqrt 2.0)) (cos y)))

simplify92.0ms

Algorithm
egg-herbie
Counts
300 → 300
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06164377
129883873
250013671

prune748.0ms

Filtered
300 candidates to 168 candidates (56.0%)
Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize34.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (exp (- x)) (exp (- x)))
0.0b
(pow (exp (- x)) 3)
0.0b
(pow (exp x) 3)
17.1b
(- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
89×exp-prod
66×exp-neg
50×*-un-lft-identity
45×neg-sub0 exp-diff
42×associate-*r/
38×add-sqr-sqrt
36×add-cube-cbrt
27×distribute-rgt-neg-in frac-sub
23×distribute-lft-neg-in
21×un-div-inv
16×frac-times
15×pow-pow pow-prod-down sub-div
14×associate-*l/
13×pow1 pow-sqr pow-prod-up
neg-mul-1
add-cbrt-cube
unpow-prod-down pow-unpow cube-prod add-log-exp
add-exp-log expm1-log1p-u log1p-expm1-u
swap-sqr associate-*r* associate-*l*
cube-div cube-mult pow-to-exp unpow3 pow-exp rem-cube-cbrt sqr-pow
pow2 sub-neg flip3-- distribute-rgt-out-- pow-plus fma-neg diff-log prod-diff prod-exp *-commutative flip-- cbrt-unprod unswap-sqr
Counts
4 → 198
Calls
4 calls:
15.0ms
(* (exp (- x)) (exp (- x)))
5.0ms
(pow (exp (- x)) 3)
4.0ms
(pow (exp x) 3)
18.0ms
(- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))

series123.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (exp (- x)) (exp (- x)))
30.0ms
(pow (exp (- x)) 3)
23.0ms
(pow (exp x) 3)
54.0ms
(- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))

simplify156.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 2 (144.0ms)

IterNodesCost
0657967
12968777
25001753

prune704.0ms

Filtered
210 candidates to 101 candidates (48.1%)
Pruning

2 alts after pruning (0 fresh and 2 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

sample2.3s

Algorithm
halfpoints