Details

Time bar (total: 6.3s)

sample93.0ms

Algorithm
intervals
Results
30.0ms62×body1280valid
26.0ms333×body80valid
10.0ms34×body640valid
4.0ms59×body80overflowed
3.0ms15×body320valid
2.0ms18×body160valid

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (35.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune7.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 28.6b

Counts
2 → 1

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite176.0ms

Algorithm
rewrite-expression-head
Rules
122×*-un-lft-identity
106×times-frac
96×add-sqr-sqrt
36×add-cube-cbrt
27×distribute-lft-out--
18×difference-of-squares
10×add-cbrt-cube distribute-lft-out associate-/l*
add-exp-log
pow1 associate-/r* add-log-exp
associate-*l*
div-inv associate-/l/
flip3-- div-sub associate-*r* flip--
cbrt-undiv frac-2neg div-exp associate-*l/ clear-num
sub-neg distribute-rgt-out-- flip3-+ diff-log pow-prod-down prod-exp *-commutative frac-sub cbrt-unprod flip-+ sub-div associate--r- unswap-sqr
Counts
4 → 138
Calls
4 calls:
10.0ms
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
11.0ms
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
6.0ms
(* (- 1.0 eps) x)
141.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))

series301.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
44.0ms
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
33.0ms
(* (- 1.0 eps) x)
180.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))

simplify64.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
06841993
121761881
250021880

prune391.0ms

Filtered
150 candidates to 107 candidates (71.3%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1482150
Fresh000
Picked101
Done000
Total1492151

Merged error: 0.5b

Counts
151 → 2

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.6b
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

rewrite21.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)))

series105.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(* 0.5 (pow x 2))
41.0ms
(* 0.33333333333333337 (pow x 3))
39.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 (38.0ms)

IterNodesCost
0281376
11249330
25002323

prune265.0ms

Filtered
81 candidates to 48 candidates (59.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New80181
Fresh011
Picked011
Done000
Total80383

Merged error: 0.5b

Counts
83 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

5.6b
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))
9.7b
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
9.7b
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
9.7b
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))

rewrite29.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))))

series472.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))
146.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
140.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
142.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))

simplify134.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0253983
1904924
24252836
35001836

prune228.0ms

Filtered
65 candidates to 59 candidates (90.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New63265
Fresh011
Picked101
Done011
Total64468

Merged error: 0.5b

Counts
68 → 4

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt cbrt-div *-un-lft-identity
pow1 add-exp-log flip3-- pow1/3 add-cbrt-cube flip-- add-log-exp
Counts
4 → 52
Calls
4 calls:
6.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))))
7.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))

series588.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
149.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
141.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
149.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))

simplify119.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
02291104
18301044
23711936
35003936

prune274.0ms

Filtered
64 candidates to 64 candidates (100.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New62264
Fresh112
Picked101
Done011
Total64468

Merged error: 0.5b

Counts
68 → 4

regimes70.0ms

Accuracy

96.2% (0.6b remaining)

Error of 1.0b against oracle of 0.4b and baseline of 16.6b

bsearch147.0ms

Steps
ItersRangePoint
9
6.599768314344505e-07
24.426543482179152
0.8939352765532171

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04126
14126

end0.0ms

sample2.6s

Algorithm
intervals
Results
883.0ms1726×body1280valid
716.0ms10013×body80valid
403.0ms1282×body640valid
131.0ms1917×body80overflowed
126.0ms590×body320valid
48.0ms350×body160valid

Profiling

Loading profile data...