Details

Time bar (total: 5.6s)

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

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt
47×*-un-lft-identity
35×associate-*l*
31×add-cube-cbrt
29×times-frac
14×add-exp-log add-cbrt-cube
prod-diff
pow1 add-log-exp
associate-*r*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
fma-def fma-neg
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative div-inv
+-commutative sub-neg flip3-- flip3-+ diff-log sum-log flip-- flip-+
Counts
4 → 122
Calls
4 calls:
29.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
6.0ms
(+ (exp x) (exp (- x)))
30.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
8.0ms
(- (exp x) (exp (- x)))

series207.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
22.0ms
(+ (exp x) (exp (- x)))
82.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
41.0ms
(- (exp x) (exp (- x)))

simplify58.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05741243
120081013
250021009

prune427.0ms

Filtered
134 candidates to 98 candidates (73.1%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ (fma x x (fma 1/12 (pow x 4) 2)) 2.0) (cos y))
0.0b
(fma 1/12 (pow x 4) 2)
0.0b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
16.6b
(- (exp x) (exp (- x)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt
37×*-un-lft-identity
32×associate-*l*
29×add-cube-cbrt
26×times-frac
14×add-exp-log add-cbrt-cube
prod-diff
pow1
associate-*r* add-log-exp
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u distribute-lft-out-- difference-of-squares unswap-sqr
fma-neg
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative div-inv
sub-neg flip3-- diff-log flip-- fma-udef
Counts
4 → 112
Calls
4 calls:
9.0ms
(* (/ (fma x x (fma 1/12 (pow x 4) 2)) 2.0) (cos y))
0.0ms
(fma 1/12 (pow x 4) 2)
30.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
11.0ms
(- (exp x) (exp (- x)))

series279.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(* (/ (fma x x (fma 1/12 (pow x 4) 2)) 2.0) (cos y))
93.0ms
(fma 1/12 (pow x 4) 2)
76.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
40.0ms
(- (exp x) (exp (- x)))

simplify60.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05491115
11868897
25002893

prune488.0ms

Filtered
124 candidates to 90 candidates (72.6%)
Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite143.0ms

Algorithm
rewrite-expression-head
Rules
71×add-sqr-sqrt
70×*-un-lft-identity
69×associate-*l*
60×times-frac
50×add-cube-cbrt
44×add-exp-log
35×add-cbrt-cube
25×sqrt-prod
19×prod-exp
14×cbrt-unprod
13×pow1
11×div-exp
prod-diff
cbrt-undiv associate-*r*
distribute-lft-out add-log-exp
pow-prod-down associate-*l/ unswap-sqr
expm1-log1p-u log1p-expm1-u distribute-lft-out-- difference-of-squares
fma-neg 1-exp *-commutative div-inv
frac-times sub-neg flip3-- diff-log associate-*r/ flip--
Counts
4 → 171
Calls
4 calls:
30.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
36.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y))
61.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) 1) (* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y)))
8.0ms
(- (exp x) (exp (- x)))

series270.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
91.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y))
58.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) 1) (* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y)))
40.0ms
(- (exp x) (exp (- x)))

simplify97.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
08132298
134671818
250011675

prune569.0ms

Filtered
183 candidates to 121 candidates (66.1%)
Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes35.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02315
12315

end0.0ms

sample2.6s

Algorithm
halfpoints