Details

Time bar (total: 4.7s)

sample356.0ms

Algorithm
intervals
Results
59.0ms240×body10240exit
14.0ms421×body80nan
8.0ms237×body80valid
2.0ms25×body160valid

simplify76.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0197
1287
2417
3757
41827
55767
626577
750017

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 4.9b

Counts
2 → 1

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))
5.2b
(- (exp (* 2.0 x)) 1.0)
5.3b
(- (exp x) 1.0)

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
flip3-- flip--
sqrt-div
associate-/r/ associate-/l/
sqrt-prod
sub-neg frac-2neg clear-num div-inv
pow1/2 div-sub
Counts
4 → 25
Calls
4 calls:
5.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
6.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
4.0ms
(- (exp (* 2.0 x)) 1.0)
5.0ms
(- (exp x) 1.0)

series204.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
65.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
25.0ms
(- (exp (* 2.0 x)) 1.0)
23.0ms
(- (exp x) 1.0)

simplify51.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0214267
1556263
21769256
35002254

prune108.0ms

Filtered
37 candidates to 27 candidates (73.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New34337
Fresh000
Picked101
Done000
Total35338

Merged error: 0.0b

Counts
38 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
frac-2neg clear-num associate-/r* div-inv
flip3-- flip3-+ flip-- flip-+ associate-/l/
sub-neg div-sub fma-udef
Counts
4 → 22
Calls
4 calls:
7.0ms
(/ (- (exp (* 2.0 x)) 1.0) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
3.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
1.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
4.0ms
(- (exp (* 2.0 x)) 1.0)

series248.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(/ (- (exp (* 2.0 x)) 1.0) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
65.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
43.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
28.0ms
(- (exp (* 2.0 x)) 1.0)

simplify78.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0209259
1627255
22659230
35001230

prune108.0ms

Filtered
34 candidates to 26 candidates (76.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New33134
Fresh112
Picked011
Done000
Total34337

Merged error: 0.0b

Counts
37 → 3

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (exp (* 2.0 x)) 1.0) (/ 1 (/ (+ (exp x) 1.0) (- (exp (* 2 x)) (* 1.0 1.0)))))
0.0b
(/ (+ (exp x) 1.0) (- (exp (* 2 x)) (* 1.0 1.0)))
5.2b
(- (exp (* 2.0 x)) 1.0)
5.2b
(- (exp (* 2 x)) (* 1.0 1.0))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
17×associate-/r/
15×associate-/r*
13×*-commutative
exp-lft-sqr
associate-/l/ difference-of-squares
flip3-- flip--
frac-2neg clear-num div-inv
sub-neg flip3-+ prod-diff flip-+
fma-neg div-sub
Counts
4 → 42
Calls
4 calls:
11.0ms
(/ (- (exp (* 2.0 x)) 1.0) (/ 1 (/ (+ (exp x) 1.0) (- (exp (* 2 x)) (* 1.0 1.0)))))
8.0ms
(/ (+ (exp x) 1.0) (- (exp (* 2 x)) (* 1.0 1.0)))
3.0ms
(- (exp (* 2.0 x)) 1.0)
5.0ms
(- (exp (* 2 x)) (* 1.0 1.0))

series170.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(/ (- (exp (* 2.0 x)) 1.0) (/ 1 (/ (+ (exp x) 1.0) (- (exp (* 2 x)) (* 1.0 1.0)))))
41.0ms
(/ (+ (exp x) 1.0) (- (exp (* 2 x)) (* 1.0 1.0)))
25.0ms
(- (exp (* 2.0 x)) 1.0)
18.0ms
(- (exp (* 2 x)) (* 1.0 1.0))

simplify44.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0319377
11182361
25001344

prune155.0ms

Filtered
54 candidates to 40 candidates (74.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New53154
Fresh011
Picked011
Done011
Total53457

Merged error: 0.0b

Counts
57 → 4

localize26.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (exp (* 2 x)) (exp (* 2 x)))
0.1b
(pow (exp (* 2 x)) 3)
5.1b
(- (pow (exp (* 2 x)) 3) (pow (* 1.0 1.0) 3))
5.2b
(- (exp (* 2.0 x)) 1.0)

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
28×*-commutative
19×unpow-prod-down
15×exp-lft-sqr
14×exp-prod sqr-pow
12×prod-diff
unpow3
difference-of-squares
fma-neg
sub-neg flip3-- pow-pow pow-prod-down pow-sqr pow-prod-up flip--
difference-cubes pow2 pow-to-exp swap-sqr associate-*r* associate-*l* pow-exp prod-exp unswap-sqr
Counts
4 → 50
Calls
4 calls:
6.0ms
(* (exp (* 2 x)) (exp (* 2 x)))
3.0ms
(pow (exp (* 2 x)) 3)
9.0ms
(- (pow (exp (* 2 x)) 3) (pow (* 1.0 1.0) 3))
4.0ms
(- (exp (* 2.0 x)) 1.0)

series112.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (exp (* 2 x)) (exp (* 2 x)))
26.0ms
(pow (exp (* 2 x)) 3)
44.0ms
(- (pow (exp (* 2 x)) 3) (pow (* 1.0 1.0) 3))
26.0ms
(- (exp (* 2.0 x)) 1.0)

simplify165.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 3 (155.0ms)

IterNodesCost
0287472
1952323
24487283
35001281

prune174.0ms

Filtered
62 candidates to 32 candidates (51.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New61162
Fresh011
Picked101
Done112
Total63366

Merged error: 0b

Counts
66 → 3

regimes27.0ms

Accuracy

77.8% (0.6b remaining)

Error of 0.7b against oracle of 0.1b and baseline of 2.9b

bsearch2.0ms

Steps
ItersRangePoint
0
-1.4365382038701608e-08
-1.394695875033139e-08
-1.41561703945165e-08

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05244
15244

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.4s6812×body10240exit
395.0ms12826×body80nan
247.0ms7417×body80valid
56.0ms721×body160valid