Details

Time bar (total: 5.8s)

sample345.0ms

Algorithm
intervals
Results
49.0ms214×body10240exit
13.0ms343×body80nan
9.0ms234×body80valid
2.0ms23×body160valid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0197
1287
2417
3757
41827
55767
626667
750017

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
0.0b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
4.5b
(- (exp (* 2.0 x)) 1.0)
4.5b
(- (exp x) 1.0)

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
92×add-sqr-sqrt
89×*-un-lft-identity
51×times-frac
41×add-cube-cbrt
31×sqrt-prod
24×distribute-lft-out-- difference-of-squares
18×prod-diff
add-log-exp
add-exp-log fma-neg add-cbrt-cube
pow1 flip3-- associate-/r* flip-- associate-/l*
expm1-log1p-u associate-/r/ log1p-expm1-u
sub-neg rem-sqrt-square diff-log div-inv associate-/l/
cbrt-undiv frac-2neg sqrt-pow1 pow1/2 sqrt-div div-sub div-exp clear-num
Counts
4 → 155
Calls
4 calls:
14.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
17.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
5.0ms
(- (exp (* 2.0 x)) 1.0)
8.0ms
(- (exp x) 1.0)

series203.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
56.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
33.0ms
(- (exp (* 2.0 x)) 1.0)
23.0ms
(- (exp x) 1.0)

simplify61.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04801694
115231484
250011470

prune393.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (exp x) 1.0)))
0.0b
(+ (exp x) 1.0)
4.5b
(fma (- 1.0) 1.0 (exp (+ x x)))
4.5b
(- (exp (* 2.0 x)) 1.0)

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
14×add-sqr-sqrt
12×add-cube-cbrt
prod-diff
add-log-exp
pow1
sqrt-div
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
fma-def flip3-+ fma-neg flip-+
frac-times sqrt-pow1 associate-*r/
+-commutative sub-neg flip3-- pow1/2 diff-log pow-prod-down associate-*l/ sum-log sqrt-prod flip-- fma-udef distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 73
Calls
4 calls:
9.0ms
(sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (exp x) 1.0)))
4.0ms
(+ (exp x) 1.0)
0.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
5.0ms
(- (exp (* 2.0 x)) 1.0)

series232.0ms

Counts
4 → 12
Calls
4 calls:
155.0ms
(sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (exp x) 1.0)))
8.0ms
(+ (exp x) 1.0)
42.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
28.0ms
(- (exp (* 2.0 x)) 1.0)

simplify44.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0361673
11258564
25002559

prune273.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(sqrt (exp x))
0.3b
(sqrt (exp x))
4.5b
(fma (- 1.0) 1.0 (exp (+ x x)))
4.5b
(- (exp (* 2.0 x)) 1.0)

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
17×*-un-lft-identity
15×add-cube-cbrt
prod-diff
sqrt-pow1
pow1 exp-prod sqrt-prod add-log-exp
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
fma-neg
rem-sqrt-square pow1/2
sub-neg flip3-- diff-log flip-- fma-udef distribute-lft-out-- difference-of-squares
Counts
4 → 74
Calls
4 calls:
1.0ms
(sqrt (exp x))
1.0ms
(sqrt (exp x))
0.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
5.0ms
(- (exp (* 2.0 x)) 1.0)

series93.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(sqrt (exp x))
12.0ms
(sqrt (exp x))
41.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
25.0ms
(- (exp (* 2.0 x)) 1.0)

simplify92.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
0219440
1605348
22891335
35002308

prune294.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (* 0.5 (/ x (sqrt 2.0))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))))
0.1b
(* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))
0.2b
(/ (pow x 2) (sqrt 2.0))
0.5b
(/ x (sqrt 2.0))

rewrite97.0ms

Algorithm
rewrite-expression-head
Rules
177×times-frac
176×add-sqr-sqrt
151×*-un-lft-identity
149×add-cube-cbrt
78×prod-diff
67×sqrt-prod
52×associate-*l*
41×distribute-rgt-in unpow-prod-down distribute-lft-in
21×add-exp-log
15×unpow2 sqr-pow
13×add-cbrt-cube
12×associate-/r*
11×associate-/l*
div-inv add-log-exp unswap-sqr
div-exp
pow1 associate-*r*
expm1-log1p-u associate-*r/ prod-exp log1p-expm1-u
cbrt-undiv sum-log
frac-times pow-to-exp sub-neg flip3-- frac-2neg flip3-+ frac-add pow-exp clear-num flip-- cbrt-unprod flip-+ difference-of-squares
+-commutative associate-+r+ fma-def pow-prod-down associate-*l/ *-commutative distribute-lft-out--
Counts
4 → 308
Calls
4 calls:
14.0ms
(+ (* 0.5 (/ x (sqrt 2.0))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))))
55.0ms
(* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))
5.0ms
(/ (pow x 2) (sqrt 2.0))
3.0ms
(/ x (sqrt 2.0))

series278.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(+ (* 0.5 (/ x (sqrt 2.0))) (+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))))
69.0ms
(* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))
62.0ms
(/ (pow x 2) (sqrt 2.0))
53.0ms
(/ x (sqrt 2.0))

simplify73.0ms

Algorithm
egg-herbie
Counts
320 → 320
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
013344318
150013447

prune579.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes73.0ms

Accuracy

92.4% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 2.8b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04133
14133

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.3s6668×body10240exit
404.0ms12825×body80nan
251.0ms7410×body80valid
59.0ms721×body160valid