Details

Time bar (total: 5.2s)

analyze257.0ms

Algorithm
search

sample76.0ms

Algorithm
intervals
Results
29.0ms49×body1280valid
15.0ms41×body640valid
11.0ms128×body80valid
6.0ms26×body320valid
2.0ms12×body160valid
1.0msbody80invalid
1.0msbody1280invalid
1.0msbody80overflowed
0.0msbody640invalid

simplify40.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (38.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune12.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: 30.2b

Counts
2 → 1

localize19.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 eps) x)
0.0b
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
3.2b
(- (/ (/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x))) 2.0) (/ (/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x))) 2.0))

rewrite194.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:
13.0ms
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
6.0ms
(* (+ 1.0 eps) x)
11.0ms
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
156.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))

series88.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
5.0ms
(* (+ 1.0 eps) x)
12.0ms
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
59.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))

simplify71.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06891986
122651877
250021876

prune408.0ms

Filtered
109 candidates to 149 candidates (-36.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1472149
Fresh000
Picked101
Done000
Total1482150

Merged error: 0.4b

Counts
150 → 2

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 0.33333333333333337 (pow x 3))
0.2b
(* 0.5 (pow x 2))
6.6b
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

rewrite24.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:
6.0ms
(* 0.33333333333333337 (pow x 3))
8.0ms
(* 0.5 (pow x 2))
7.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

series12.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0281376
11246330
25001323

prune135.0ms

Filtered
48 candidates to 81 candidates (-68.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New77481
Fresh011
Picked101
Done000
Total78583

Merged error: 0.4b

Counts
83 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

6.6b
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))
10.2b
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
10.2b
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
10.2b
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-div
pow1 add-exp-log flip3-- add-cbrt-cube flip--
pow1/3
diff-log
sub-neg associate--l+ sum-log
Counts
4 → 53
Calls
4 calls:
7.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))
7.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
7.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
7.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))

series37.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))
10.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
10.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
12.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))

simplify139.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0253983
1904924
24252836
35001836

prune371.0ms

Filtered
59 candidates to 65 candidates (-10.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New64165
Fresh134
Picked011
Done000
Total65570

Merged error: 0.4b

Counts
70 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

5.4b
(sqrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
5.4b
(sqrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
6.6b
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))
6.6b
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
14×add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log flip3-- sqrt-div diff-log add-cbrt-cube flip--
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 associate--l+ sum-log
Counts
4 → 58
Calls
4 calls:
7.0ms
(sqrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
7.0ms
(sqrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
7.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))
10.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

series22.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sqrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
7.0ms
(sqrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
5.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))
5.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

simplify118.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (109.0ms)

IterNodesCost
0199708
1707666
23357652
35001650

prune218.0ms

Filtered
54 candidates to 70 candidates (-29.6%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New70070
Fresh033
Picked011
Done011
Total70575

Merged error: 0.4b

Counts
75 → 5

regimes131.0ms

Accuracy

96.5% (0.6b remaining)

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

bsearch192.0ms

Steps
ItersRangePoint
10
0.001875032967631575
60023238.580744036
1.743909018348581

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04543
14543

end0.0ms

analyze250.0ms

Algorithm
search

sample2.2s

Algorithm
intervals
Results
978.0ms1661×body1280valid
451.0ms1212×body640valid
361.0ms4150×body80valid
169.0ms652×body320valid
56.0ms325×body160valid
17.0ms187×body80invalid
15.0ms187×body80overflowed
14.0ms23×body1280invalid
6.0ms15×body640invalid
4.0ms12×body320invalid
0.0msbody160invalid

Profiling

Loading profile data...