Details

Time bar (total: 3.4s)

sample250.0ms

Algorithm
intervals
Results
23.0ms59×body1280valid
15.0ms60×body640valid
7.0ms97×body80valid
5.0ms29×body320valid
4.0ms87×body80overflowed
1.0ms11×body160valid

simplify465.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
0506112

prune10.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 39.4b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (pow (exp x) 2.0) 1.0) (- (exp x) 1.0))
0.0b
(pow (exp x) 2.0)
3.4b
(- (pow (exp x) 2.0) 1.0)
3.4b
(- (exp x) 1.0)

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
74×add-sqr-sqrt
53×*-un-lft-identity
35×times-frac
30×difference-of-squares
21×add-cube-cbrt
16×distribute-lft-out--
10×unpow-prod-down
add-log-exp sqr-pow
associate-/l*
add-exp-log add-cbrt-cube
pow1 associate-/r*
flip3-- pow-pow flip--
pow-unpow exp-prod
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv pow-to-exp frac-2neg div-sub div-exp pow-exp clear-num div-inv
Counts
4 → 114
Calls
4 calls:
19.0ms
(/ (- (pow (exp x) 2.0) 1.0) (- (exp x) 1.0))
3.0ms
(pow (exp x) 2.0)
5.0ms
(- (pow (exp x) 2.0) 1.0)
6.0ms
(- (exp x) 1.0)

series42.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(/ (- (pow (exp x) 2.0) 1.0) (- (exp x) 1.0))
16.0ms
(pow (exp x) 2.0)
4.0ms
(- (pow (exp x) 2.0) 1.0)
11.0ms
(- (exp x) 1.0)

simplify71.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
049681717
149681717

prune214.0ms

Filtered
90 candidates to 126 candidates (-40.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1242126
Fresh000
Picked101
Done000
Total1252127

Merged error: 0b

Counts
127 → 2

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (+ 2 (* x (* x 1/2))))
11.7b
(sqrt (+ x (+ 2 (* x (* x 1/2)))))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity add-log-exp
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt sum-log
add-exp-log flip3-+ sqrt-div add-cbrt-cube flip-+ distribute-lft-out
+-commutative rem-sqrt-square associate-+r+ sqrt-pow1 pow1/2
Counts
2 → 30
Calls
2 calls:
5.0ms
(+ x (+ 2 (* x (* x 1/2))))
4.0ms
(sqrt (+ x (+ 2 (* x (* x 1/2)))))

series8.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(+ x (+ 2 (* x (* x 1/2))))
5.0ms
(sqrt (+ x (+ 2 (* x (* x 1/2)))))

simplify37.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
04998474
14998474

prune51.0ms

Filtered
26 candidates to 36 candidates (-38.5%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New36036
Fresh011
Picked011
Done000
Total36238

Merged error: 0b

Counts
38 → 2

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp x) 2.0)
0.0b
(pow (exp x) 2)
3.4b
(- (pow (exp x) 2.0) 1.0)
3.4b
(- (pow (exp x) 2) (* 1.0 1.0))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
12×*-un-lft-identity
10×add-cube-cbrt
unpow-prod-down pow-pow add-log-exp
difference-of-squares
pow1 pow-unpow exp-prod
add-exp-log add-cbrt-cube sqr-pow
pow-to-exp sub-neg flip3-- diff-log pow-exp flip-- unpow2
distribute-lft-out--
Counts
4 → 73
Calls
4 calls:
3.0ms
(pow (exp x) 2.0)
3.0ms
(pow (exp x) 2)
5.0ms
(- (pow (exp x) 2.0) 1.0)
5.0ms
(- (pow (exp x) 2) (* 1.0 1.0))

series27.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(pow (exp x) 2.0)
3.0ms
(pow (exp x) 2)
4.0ms
(- (pow (exp x) 2.0) 1.0)
4.0ms
(- (pow (exp x) 2) (* 1.0 1.0))

simplify54.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
04997610
14997610

prune136.0ms

Filtered
60 candidates to 85 candidates (-41.7%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New85085
Fresh000
Picked011
Done011
Total85287

Merged error: 0b

Counts
87 → 2

regimes34.0ms

Accuracy

99.1% (0.2b remaining)

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

bsearch17.0ms

Steps
ItersRangePoint
8
-2.7804654585538832e-05
-4.49934795699481e-10
-9.456159330324634e-06

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02835
12835

end0.0ms

sample1.9s

Algorithm
intervals
Results
839.0ms2292×body1280valid
417.0ms1729×body640valid
131.0ms2846×body80valid
120.0ms767×body320valid
110.0ms2585×body80overflowed
46.0ms416×body160valid

Profiling

Loading profile data...