Details

Time bar (total: 13.7s)

sample352.0ms

Algorithm
intervals
Results
265.0ms265×body10240exit
36.0ms77×body1280valid
13.0ms60×body640valid
8.0msbody2560valid
5.0ms188×body80nan
3.0ms79×body80valid
2.0ms18×body320valid
1.0ms14×body160valid

simplify225.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1143
2163
3183
4193
5243
6443
7693
81693
911273
1050023

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.2b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(cosh c)
41.0b
(fmod (cosh c) (log1p a))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u add-log-exp
cosh-def
Counts
2 → 19
Calls
2 calls:
1.0ms
(cosh c)
0.0ms
(fmod (cosh c) (log1p a))

series47.0ms

Counts
2 → 6
Calls
2 calls:
45.0ms
(cosh c)
2.0ms
(fmod (cosh c) (log1p a))

simplify133.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 3 (23.0ms)

IterNodesCost
08299
117389
259081
3362679
4500179

prune78.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 36.1b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (sqrt (cosh c)) (sqrt (cosh c)))
0.5b
(sqrt (cosh c))
0.5b
(sqrt (cosh c))
41.0b
(fmod (* (sqrt (cosh c)) (sqrt (cosh c))) (log1p a))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
swap-sqr
add-exp-log cosh-def sqrt-div associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square
pow2 frac-times pow-plus sqrt-unprod associate-*r/ associate-*l/ prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 95
Calls
4 calls:
7.0ms
(* (sqrt (cosh c)) (sqrt (cosh c)))
1.0ms
(sqrt (cosh c))
1.0ms
(sqrt (cosh c))
0.0ms
(fmod (* (sqrt (cosh c)) (sqrt (cosh c))) (log1p a))

series170.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* (sqrt (cosh c)) (sqrt (cosh c)))
59.0ms
(sqrt (cosh c))
63.0ms
(sqrt (cosh c))
2.0ms
(fmod (* (sqrt (cosh c)) (sqrt (cosh c))) (log1p a))

simplify36.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0183465
1709417
25001391

prune242.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 35.2b

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(sqrt (cosh c))
0.5b
(sqrt (+ (exp (* -1 c)) (exp c)))
1.0b
(* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))
41.0b
(fmod (* (sqrt (cosh c)) (* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))) (log1p a))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
18×sqrt-prod
14×*-un-lft-identity
10×pow1 add-cube-cbrt
associate-*l*
add-exp-log associate-*r* add-cbrt-cube
sqrt-div
expm1-log1p-u sqrt-pow1 pow1/2 log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down
rem-sqrt-square flip3-+ associate-*l/ flip-+ distribute-lft-out
cosh-def sqrt-unprod prod-exp *-commutative cbrt-unprod hypot-def
Counts
4 → 79
Calls
4 calls:
1.0ms
(sqrt (cosh c))
6.0ms
(sqrt (+ (exp (* -1 c)) (exp c)))
21.0ms
(* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))
0.0ms
(fmod (* (sqrt (cosh c)) (* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))) (log1p a))

series219.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(sqrt (cosh c))
49.0ms
(sqrt (+ (exp (* -1 c)) (exp c)))
99.0ms
(* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))
11.0ms
(fmod (* (sqrt (cosh c)) (* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))) (log1p a))

simplify37.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0302787
11008730
25002715

prune373.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 34.8b

localize19.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))
1.0b
(* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))
41.0b
(fmod (* (sqrt (cosh c)) (* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))) (log1p a))
41.0b
(fmod (* (sqrt (cosh c)) (* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))) (log1p a))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
22×sqrt-prod
16×*-un-lft-identity
14×associate-*l*
12×pow1 add-cube-cbrt associate-*r*
add-exp-log add-cbrt-cube unswap-sqr
pow-prod-down
expm1-log1p-u sqrt-pow1 pow1/2 sqrt-div associate-*l/ log1p-expm1-u add-log-exp
flip3-+ sqrt-unprod prod-exp *-commutative cbrt-unprod flip-+ distribute-lft-out
Counts
4 → 88
Calls
4 calls:
18.0ms
(* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))
21.0ms
(* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))
0.0ms
(fmod (* (sqrt (cosh c)) (* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))) (log1p a))
0.0ms
(fmod (* (sqrt (cosh c)) (* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))) (log1p a))

series221.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))
97.0ms
(* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))
10.0ms
(fmod (* (sqrt (cosh c)) (* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))) (log1p a))
10.0ms
(fmod (* (sqrt (cosh c)) (* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))) (log1p a))

simplify106.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
02141098
16921026
23209984
35003982

prune431.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 34.7b

regimes406.0ms

Accuracy

0% (0.9b remaining)

Error of 33.7b against oracle of 32.8b and baseline of 33.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02327
12327

end0.0ms

sample10.5s

Algorithm
intervals
Results
8.0s7880×body10240exit
1.1s2332×body1280valid
340.0ms1575×body640valid
169.0ms159×body2560valid
152.0ms5329×body80nan
112.0ms2779×body80valid
93.0ms729×body320valid
41.0ms416×body160valid
15.0ms10×body5120valid