Details

Time bar (total: 5.8s)

sample339.0ms

Algorithm
intervals
Results
52.0ms228×body10240exit
12.0ms397×body80nan
8.0ms235×body80valid
2.0ms24×body160valid

simplify71.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0197
1287
2407
3737
41767
55597
626267
750017

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.6b

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.2b
(- (exp (* 2.0 x)) 1.0)
4.3b
(- (exp x) 1.0)

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
78×add-sqr-sqrt
75×*-un-lft-identity
51×times-frac
31×sqrt-prod
27×add-cube-cbrt
24×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log add-cbrt-cube
pow1 flip3-- associate-/r* flip-- associate-/l*
associate-/r/
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 → 123
Calls
4 calls:
14.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
15.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
4.0ms
(- (exp (* 2.0 x)) 1.0)
6.0ms
(- (exp x) 1.0)

series206.0ms

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

simplify123.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 3 (109.0ms)

IterNodesCost
03871380
110541314
242871301
350031293

prune361.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (exp (* 2.0 x)))
0.0b
(* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)))
4.3b
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
4.3b
(- (exp x) 1.0)

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
21×*-un-lft-identity
17×sqrt-prod
associate-*r* add-log-exp difference-of-squares
pow1 add-cube-cbrt
add-exp-log add-cbrt-cube
flip3-- associate-*l* flip-- distribute-lft-out--
frac-times sub-neg
sqrt-pow1 flip3-+ flip-+
distribute-rgt-in distribute-lft-in diff-log associate-*r/ associate-*l/ distribute-lft-out
rem-sqrt-square exp-prod exp-to-pow pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 85
Calls
4 calls:
1.0ms
(sqrt (exp (* 2.0 x)))
50.0ms
(* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)))
7.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
4.0ms
(- (exp x) 1.0)

series199.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(sqrt (exp (* 2.0 x)))
113.0ms
(* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)))
50.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
15.0ms
(- (exp x) 1.0)

simplify42.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0322888
11345780
25001754

prune291.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (exp (* 2.0 x)))
0.0b
(* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (pow (exp 2.0) (/ x 2)) (sqrt 1.0)))
4.3b
(- (pow (exp 2.0) (/ x 2)) (sqrt 1.0))
4.3b
(- (exp x) 1.0)

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
17×*-un-lft-identity
13×difference-of-squares
11×sqrt-prod
10×associate-*r*
add-log-exp
pow1 add-cube-cbrt
add-exp-log add-cbrt-cube
flip3-- associate-*l* flip--
frac-times sub-neg unpow-prod-down sqr-pow
sqrt-pow1 flip3-+ flip-+ distribute-lft-out--
distribute-rgt-in distribute-lft-in diff-log associate-*r/ associate-*l/ distribute-lft-out
rem-sqrt-square exp-prod exp-to-pow pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 87
Calls
4 calls:
1.0ms
(sqrt (exp (* 2.0 x)))
55.0ms
(* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (pow (exp 2.0) (/ x 2)) (sqrt 1.0)))
15.0ms
(- (pow (exp 2.0) (/ x 2)) (sqrt 1.0))
4.0ms
(- (exp x) 1.0)

series220.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(sqrt (exp (* 2.0 x)))
127.0ms
(* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (pow (exp 2.0) (/ x 2)) (sqrt 1.0)))
53.0ms
(- (pow (exp 2.0) (/ x 2)) (sqrt 1.0))
17.0ms
(- (exp x) 1.0)

simplify48.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0384979
11544911
25001906

prune371.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(cbrt (sqrt (exp (* 2.0 x))))
0.1b
(* (cbrt (sqrt (exp (* 2.0 x)))) (cbrt (sqrt (exp (* 2.0 x)))))
4.3b
(- (pow (exp 2.0) (/ x 2)) (sqrt 1.0))
4.3b
(- (exp x) 1.0)

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
52×add-sqr-sqrt
46×cbrt-prod
26×sqrt-prod
22×*-un-lft-identity
18×add-cube-cbrt
11×pow1 swap-sqr
associate-*r* associate-*l* unswap-sqr
add-log-exp
pow1/3 difference-of-squares
add-exp-log
add-cbrt-cube
sub-neg unpow-prod-down flip3-- diff-log pow-prod-down pow-sqr pow-prod-up flip-- distribute-lft-out-- sqr-pow
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 103
Calls
4 calls:
4.0ms
(cbrt (sqrt (exp (* 2.0 x))))
11.0ms
(* (cbrt (sqrt (exp (* 2.0 x)))) (cbrt (sqrt (exp (* 2.0 x)))))
12.0ms
(- (pow (exp 2.0) (/ x 2)) (sqrt 1.0))
4.0ms
(- (exp x) 1.0)

series283.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(cbrt (sqrt (exp (* 2.0 x))))
111.0ms
(* (cbrt (sqrt (exp (* 2.0 x)))) (cbrt (sqrt (exp (* 2.0 x)))))
52.0ms
(- (pow (exp 2.0) (/ x 2)) (sqrt 1.0))
15.0ms
(- (exp x) 1.0)

simplify98.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
02991098
18711031
23219961
35003932

prune427.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

regimes25.0ms

Accuracy

73% (0.7b remaining)

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

bsearch55.0ms

Steps
ItersRangePoint
8
-9.296451012434831e-16
-3.148161800826367e-19
-6.977161741978232e-16

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04127
14127

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.3s6819×body10240exit
386.0ms12561×body80nan
255.0ms7396×body80valid
56.0ms727×body160valid