Details

Time bar (total: 13.7s)

sample350.0ms

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

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

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite2.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)
1.0ms
(fmod (cosh c) (log1p a))

series50.0ms

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

simplify137.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 3 (23.0ms)

IterNodesCost
08299
117389
259081
3362679
4500179

prune81.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 36.1b

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

rewrite13.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)))
2.0ms
(sqrt (cosh c))
2.0ms
(sqrt (cosh c))
1.0ms
(fmod (* (sqrt (cosh c)) (sqrt (cosh c))) (log1p a))

series179.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(* (sqrt (cosh c)) (sqrt (cosh c)))
63.0ms
(sqrt (cosh c))
65.0ms
(sqrt (cosh c))
3.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

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

rewrite19.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:
2.0ms
(sqrt (cosh c))
5.0ms
(sqrt (+ (exp (* -1 c)) (exp c)))
9.0ms
(* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))
1.0ms
(fmod (* (sqrt (cosh c)) (* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))) (log1p a))

series227.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(sqrt (cosh c))
52.0ms
(sqrt (+ (exp (* -1 c)) (exp c)))
99.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))

simplify36.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0302787
11008730
25002715

prune391.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 34.8b

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

rewrite23.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:
9.0ms
(* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))
10.0ms
(* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))
1.0ms
(fmod (* (sqrt (cosh c)) (* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))) (log1p a))
1.0ms
(fmod (* (sqrt (cosh c)) (* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))) (log1p a))

series225.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(* (sqrt (+ (exp (* -1 c)) (exp c))) (sqrt 1/2))
105.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))

simplify103.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 3 (93.0ms)

IterNodesCost
02141098
16921026
23209984
35003982

prune444.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 34.7b

regimes422.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.4s

Algorithm
intervals
Results
7.9s7880×body10240exit
1.1s2332×body1280valid
343.0ms1575×body640valid
172.0ms159×body2560valid
161.0ms5329×body80nan
122.0ms2779×body80valid
100.0ms729×body320valid
44.0ms416×body160valid
16.0ms10×body5120valid