Details

Time bar (total: 5.2s)

sample309.0ms

Algorithm
intervals
Results
18.0ms392×body80nan
11.0ms246×body80valid
8.0ms196×body80overflowed
2.0ms14×body160valid

simplify73.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1287
2407
3737
41767
55597
626267
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: 2.4b

Counts
2 → 1

localize11.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))
3.0b
(- (exp (* 2.0 x)) 1.0)
3.1b
(- (exp x) 1.0)

rewrite51.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:
25.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
9.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)

series211.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
65.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
27.0ms
(- (exp (* 2.0 x)) 1.0)
24.0ms
(- (exp x) 1.0)

simplify126.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
03871380
110541314
242871301
350031293

prune293.0ms

Filtered
135 candidates to 92 candidates (68.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1323135
Fresh000
Picked101
Done000
Total1333136

Merged error: 0.0b

Counts
136 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
26×*-un-lft-identity
14×sqrt-prod
11×add-exp-log add-cbrt-cube difference-of-squares
flip3-- associate-*r* flip--
frac-times add-cube-cbrt associate-/l/ add-log-exp
distribute-lft-out--
pow1 flip3-+ flip-+
times-frac associate-*l* associate-/r*
sub-neg associate-*r/ associate-*l/
cbrt-undiv distribute-rgt-in distribute-lft-in diff-log div-exp prod-exp associate-/r/ cbrt-unprod distribute-lft-out
frac-2neg pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
4 → 105
Calls
4 calls:
19.0ms
(/ (* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0))) (- (exp x) 1.0))
16.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)

series371.0ms

Counts
4 → 12
Calls
4 calls:
185.0ms
(/ (* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0))) (- (exp x) 1.0))
119.0ms
(* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)))
52.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
15.0ms
(- (exp x) 1.0)

simplify70.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
04811464
124031163
250021124

prune276.0ms

Filtered
117 candidates to 83 candidates (70.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1170117
Fresh022
Picked011
Done000
Total1173120

Merged error: 0.0b

Counts
120 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
0.1b
(log (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
3.0b
(- (exp (* 2.0 x)) 1.0)
3.1b
(- (exp x) 1.0)

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
75×add-sqr-sqrt *-un-lft-identity
50×times-frac
31×log-prod
27×add-cube-cbrt
24×distribute-lft-out-- difference-of-squares
add-exp-log
add-log-exp
add-cbrt-cube
pow1 flip3-- associate-/r* flip-- associate-/l*
associate-/r/
sub-neg diff-log div-exp rem-log-exp div-inv associate-/l/
cbrt-undiv log-div frac-2neg div-sub clear-num log-pow
Counts
4 → 122
Calls
4 calls:
9.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
8.0ms
(log (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
4.0ms
(- (exp (* 2.0 x)) 1.0)
4.0ms
(- (exp x) 1.0)

series235.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
131.0ms
(log (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
26.0ms
(- (exp (* 2.0 x)) 1.0)
15.0ms
(- (exp x) 1.0)

simplify127.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
04261391
111851325
246911294
350011294

prune313.0ms

Filtered
134 candidates to 90 candidates (67.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1331134
Fresh011
Picked011
Done011
Total1334137

Merged error: 0b

Counts
137 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0))))
0.2b
(* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))
0.2b
(/ (pow x 2) (sqrt 2.0))
0.4b
(/ x (sqrt 2.0))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
123×times-frac
108×add-sqr-sqrt
83×*-un-lft-identity
81×add-cube-cbrt
67×sqrt-prod
52×associate-*l*
41×unpow-prod-down
21×add-exp-log
15×unpow2 sqr-pow
13×add-cbrt-cube
12×associate-/r*
11×associate-/l*
unswap-sqr
div-exp
pow1 associate-*r* add-log-exp
distribute-rgt-in sub-neg associate-+r+ distribute-lft-in prod-exp
cbrt-undiv div-inv
frac-times pow-to-exp flip3-- frac-2neg associate-*r/ pow-exp clear-num flip-- cbrt-unprod difference-of-squares
+-commutative flip3-+ pow-prod-down associate-*l/ sum-log *-commutative flip-+ distribute-lft-out--
Counts
4 → 221
Calls
4 calls:
5.0ms
(+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0))))
25.0ms
(* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))
6.0ms
(/ (pow x 2) (sqrt 2.0))
5.0ms
(/ x (sqrt 2.0))

series343.0ms

Counts
4 → 12
Calls
4 calls:
144.0ms
(+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0))))
75.0ms
(* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))
61.0ms
(/ (pow x 2) (sqrt 2.0))
62.0ms
(/ x (sqrt 2.0))

simplify74.0ms

Algorithm
egg-herbie
Counts
233 → 233
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06071757
126141546
250021528

prune447.0ms

Filtered
233 candidates to 143 candidates (61.4%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2330233
Fresh011
Picked011
Done022
Total2334237

Merged error: 0b

Counts
237 → 4

regimes58.0ms

Accuracy

98.3% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 3.3b

bsearch98.0ms

Steps
ItersRangePoint
8
1.8652500212734269e-07
6.042829624826513e-05
5.840110983247455e-07
8
-0.1152406257888697
-0.00010711273713490883
-0.0012905509290539541

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04636
14636

end0.0ms

sample1.5s

Algorithm
intervals
Results
527.0ms12504×body80nan
341.0ms7426×body80valid
263.0ms6589×body80overflowed
76.0ms701×body160valid

Profiling

Loading profile data...