Details

Time bar (total: 6.2s)

sample312.0ms

Algorithm
intervals
Results
26.0ms457×body80nan
13.0ms226×body80valid
12.0ms226×body80overflowed
4.0ms32×body160valid

simplify70.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1287
2417
3757
41827
55767
626667
750017

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 5.3b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
0.3b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
6.3b
(- (exp (* 2.0 x)) 1.0)
6.4b
(- (exp x) 1.0)

rewrite58.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)))
25.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
5.0ms
(- (exp (* 2.0 x)) 1.0)
7.0ms
(- (exp x) 1.0)

series194.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
58.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
24.0ms
(- (exp (* 2.0 x)) 1.0)
25.0ms
(- (exp x) 1.0)

simplify55.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04801694
115231484
250011470

prune380.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
0.3b
(/ (- (exp (* 2.0 x)) 1.0) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
6.3b
(fma (- 1.0) 1.0 (exp (+ x x)))
6.3b
(- (exp (* 2.0 x)) 1.0)

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
174×times-frac
171×*-un-lft-identity
127×add-sqr-sqrt
87×add-cube-cbrt
22×associate-/r* distribute-lft-out
20×distribute-lft-out-- difference-of-squares
15×associate-/r/
11×add-exp-log add-cbrt-cube
prod-diff
div-inv associate-/l*
flip3-+ flip-+
add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
fma-neg
flip3-- frac-2neg clear-num flip-- associate-/l/
sub-neg diff-log div-sub fma-udef
Counts
4 → 206
Calls
4 calls:
7.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
20.0ms
(/ (- (exp (* 2.0 x)) 1.0) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
0.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
5.0ms
(- (exp (* 2.0 x)) 1.0)

series238.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
110.0ms
(/ (- (exp (* 2.0 x)) 1.0) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
40.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
28.0ms
(- (exp (* 2.0 x)) 1.0)

simplify112.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
08053596
135513384
250033382

prune623.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ (exp x) 1.0) (- (exp (* 2.0 x)) 1.0))
0.3b
(/ (* (+ (exp x) 1.0) (- (exp (* 2.0 x)) 1.0)) (- (exp (* 2 x)) 1.0))
6.3b
(- (exp (* 2.0 x)) 1.0)
6.3b
(- (exp (* 2 x)) 1.0)

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt *-un-lft-identity
36×prod-diff
34×add-cube-cbrt
11×add-exp-log distribute-rgt-in distribute-lft-in add-cbrt-cube
flip3-- flip--
frac-times associate-/l/ add-log-exp
pow1 flip3-+ fma-neg flip-+
times-frac associate-*r* associate-/r* distribute-lft-out-- difference-of-squares
expm1-log1p-u sub-neg associate-*r/ associate-*l* associate-*l/ log1p-expm1-u
cbrt-undiv diff-log div-exp prod-exp associate-/r/ cbrt-unprod
frac-2neg pow-prod-down clear-num *-commutative div-inv distribute-lft-out associate-/l* unswap-sqr
Counts
4 → 146
Calls
4 calls:
26.0ms
(* (+ (exp x) 1.0) (- (exp (* 2.0 x)) 1.0))
21.0ms
(/ (* (+ (exp x) 1.0) (- (exp (* 2.0 x)) 1.0)) (- (exp (* 2 x)) 1.0))
7.0ms
(- (exp (* 2.0 x)) 1.0)
5.0ms
(- (exp (* 2 x)) 1.0)

series172.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* (+ (exp x) 1.0) (- (exp (* 2.0 x)) 1.0))
83.0ms
(/ (* (+ (exp x) 1.0) (- (exp (* 2.0 x)) 1.0)) (- (exp (* 2 x)) 1.0))
27.0ms
(- (exp (* 2.0 x)) 1.0)
17.0ms
(- (exp (* 2 x)) 1.0)

simplify85.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
06601778
130491385
250011381

prune335.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (cbrt (pow (fma (- 1.0) 1.0 (exp (+ x x))) 3)) (+ (exp x) 1.0))
0.3b
(/ (- (exp (* 2.0 x)) 1.0) (/ (cbrt (pow (fma (- 1.0) 1.0 (exp (+ x x))) 3)) (+ (exp x) 1.0)))
6.3b
(fma (- 1.0) 1.0 (exp (+ x x)))
6.3b
(- (exp (* 2.0 x)) 1.0)

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
750×times-frac
654×*-un-lft-identity
442×add-sqr-sqrt
348×cbrt-prod
306×add-cube-cbrt
106×distribute-lft-out
87×unpow-prod-down cube-prod
70×associate-/r*
68×distribute-lft-out-- difference-of-squares
29×cube-mult unpow3 sqr-pow
20×associate-/l*
15×associate-/r/
11×add-exp-log
prod-diff add-cbrt-cube
div-inv
flip3-+ flip-+
add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
fma-neg
flip3-- frac-2neg clear-num flip-- associate-/l/
sub-neg diff-log div-sub fma-udef
Counts
4 → 554
Calls
4 calls:
11.0ms
(/ (cbrt (pow (fma (- 1.0) 1.0 (exp (+ x x))) 3)) (+ (exp x) 1.0))
34.0ms
(/ (- (exp (* 2.0 x)) 1.0) (/ (cbrt (pow (fma (- 1.0) 1.0 (exp (+ x x))) 3)) (+ (exp x) 1.0)))
0.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
5.0ms
(- (exp (* 2.0 x)) 1.0)

series235.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(/ (cbrt (pow (fma (- 1.0) 1.0 (exp (+ x x))) 3)) (+ (exp x) 1.0))
106.0ms
(/ (- (exp (* 2.0 x)) 1.0) (/ (cbrt (pow (fma (- 1.0) 1.0 (exp (+ x x))) 3)) (+ (exp x) 1.0)))
43.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
23.0ms
(- (exp (* 2.0 x)) 1.0)

simplify124.0ms

Algorithm
egg-herbie
Counts
566 → 566
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
0158711825
1500211415

prune1.0s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.2b

regimes23.0ms

Accuracy

75.2% (0.6b remaining)

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

bsearch39.0ms

Steps
ItersRangePoint
6
-3.45304144449549e-15
-4.53965370491993e-16
-1.95283781379911e-15

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03923
13923

end0.0ms

sample1.9s

Algorithm
intervals
Results
678.0ms12746×body80nan
430.0ms7482×body80valid
345.0ms6660×body80overflowed
84.0ms669×body160valid