Details

Time bar (total: 5.8s)

sample106.0ms

Algorithm
intervals
Results
33.0ms56×body1280valid
22.0ms329×body80valid
15.0ms48×body640valid
5.0ms22×body320valid
4.0ms59×body80overflowed
2.0msbody160valid

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (35.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune15.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.1b

Counts
2 → 2

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
0.0b
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
0.0b
(* (+ 1.0 eps) x)
1.5b
(- (/ (/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x))) 2.0) (/ (/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x))) 2.0))

rewrite180.0ms

Algorithm
rewrite-expression-head
Rules
122×*-un-lft-identity
106×times-frac
94×add-sqr-sqrt
36×add-cube-cbrt
26×distribute-lft-out--
17×difference-of-squares
11×distribute-lft-out
10×add-cbrt-cube associate-/l*
add-exp-log
pow1 associate-/r* add-log-exp
associate-*l* div-inv associate-/l/
div-sub associate-*r*
cbrt-undiv flip3-- frac-2neg flip3-+ div-exp associate-*l/ clear-num flip-- flip-+
sub-neg distribute-rgt-out-- diff-log pow-prod-down prod-exp *-commutative frac-sub cbrt-unprod sub-div associate--r- unswap-sqr
Counts
4 → 137
Calls
4 calls:
11.0ms
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
11.0ms
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
6.0ms
(* (+ 1.0 eps) x)
145.0ms
(- (/ (/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x))) 2.0) (/ (/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x))) 2.0))

series90.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
12.0ms
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
5.0ms
(* (+ 1.0 eps) x)
61.0ms
(- (/ (/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x))) 2.0) (/ (/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x))) 2.0))

simplify68.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
06891986
122651877
250021876

prune1.2s

Filtered
149 candidates to 109 candidates (26.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1463149
Fresh101
Picked101
Done000
Total1483151

Merged error: 0.9b

Counts
151 → 3

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 0.5 (pow x 2))
0.1b
(* 0.33333333333333337 (pow x 3))
5.8b
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
20×associate-*r*
13×add-exp-log
10×add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp unswap-sqr
add-cbrt-cube
associate-*l* prod-exp
cube-prod sqr-pow
pow1
pow-to-exp diff-log pow-exp *-commutative cbrt-unprod unpow2
cube-mult sub-neg flip3-- unpow3 associate--l+ sum-log flip--
Counts
3 → 72
Calls
3 calls:
5.0ms
(* 0.5 (pow x 2))
6.0ms
(* 0.33333333333333337 (pow x 3))
7.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

series12.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(* 0.5 (pow x 2))
4.0ms
(* 0.33333333333333337 (pow x 3))
5.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

simplify45.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0281367
11210327
25001314

prune220.0ms

Filtered
81 candidates to 48 candidates (40.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New78381
Fresh022
Picked101
Done000
Total79584

Merged error: 0.9b

Counts
84 → 5

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 0.5 (pow x 2))
0.1b
(* 0.33333333333333337 (pow x 3))
5.8b
(+ (* 0.33333333333333337 (pow x 3)) (- 1.0 (* 0.5 (pow x 2))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
20×associate-*r*
13×add-exp-log
10×add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp unswap-sqr
add-cbrt-cube
associate-*l* prod-exp
cube-prod sqr-pow
pow1
pow-to-exp associate-+r+ pow-exp sum-log *-commutative cbrt-unprod unpow2
+-commutative cube-mult associate-+r- sub-neg flip3-+ diff-log unpow3 flip-+
Counts
3 → 73
Calls
3 calls:
5.0ms
(* 0.5 (pow x 2))
6.0ms
(* 0.33333333333333337 (pow x 3))
6.0ms
(+ (* 0.33333333333333337 (pow x 3)) (- 1.0 (* 0.5 (pow x 2))))

series12.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(* 0.5 (pow x 2))
4.0ms
(* 0.33333333333333337 (pow x 3))
5.0ms
(+ (* 0.33333333333333337 (pow x 3)) (- 1.0 (* 0.5 (pow x 2))))

simplify44.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0287366
11198326
25002316

prune211.0ms

Filtered
82 candidates to 49 candidates (40.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New82082
Fresh044
Picked011
Done000
Total82587

Merged error: 0.9b

Counts
87 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* 0.33333333333333337 x) x)
0.7b
(cbrt x)
0.7b
(pow (cbrt x) 3)
5.8b
(- (+ (* (* (* 0.33333333333333337 x) x) (pow (cbrt x) 3)) 1.0) (* 0.5 (pow x 2)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
10×pow1 add-exp-log
cbrt-prod add-cbrt-cube add-log-exp
unpow-prod-down cube-prod
pow-unpow associate-*r* pow-prod-down prod-exp cbrt-unprod
pow-pow pow1/3 diff-log
cube-mult pow-to-exp sub-neg flip3-- unpow3 associate-*l* pow-exp associate--l+ sum-log *-commutative flip-- rem-cube-cbrt sqr-pow
Counts
4 → 73
Calls
4 calls:
5.0ms
(* (* 0.33333333333333337 x) x)
1.0ms
(cbrt x)
3.0ms
(pow (cbrt x) 3)
11.0ms
(- (+ (* (* (* 0.33333333333333337 x) x) (pow (cbrt x) 3)) 1.0) (* 0.5 (pow x 2)))

series69.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (* 0.33333333333333337 x) x)
26.0ms
(cbrt x)
32.0ms
(pow (cbrt x) 3)
7.0ms
(- (+ (* (* (* 0.33333333333333337 x) x) (pow (cbrt x) 3)) 1.0) (* 0.5 (pow x 2)))

simplify68.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0351412
11878356
25001322

prune260.0ms

Filtered
85 candidates to 47 candidates (44.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New83285
Fresh123
Picked101
Done011
Total85590

Merged error: 0.9b

Counts
90 → 5

regimes118.0ms

Accuracy

97.1% (0.5b remaining)

Error of 0.9b against oracle of 0.4b and baseline of 16.3b

bsearch168.0ms

Steps
ItersRangePoint
9
5.042106407826366e-05
28.700163284045342
0.4483322262182013

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04126
14126

end0.0ms

sample2.8s

Algorithm
intervals
Results
847.0ms1696×body1280valid
711.0ms10267×body80valid
413.0ms1345×body640valid
135.0ms2000×body80overflowed
132.0ms620×body320valid
46.0ms341×body160valid

Profiling

Loading profile data...