Details

Time bar (total: 5.5s)

sample123.0ms

Algorithm
intervals
Results
35.0ms188×body2560nan
27.0ms174×body1280nan
10.0ms290×body80nan
10.0ms256×body80valid
10.0ms79×body640nan
7.0ms43×body320nan
1.0ms19×body160nan

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1115
2115

prune2.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.4b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (sqrt (- (* x x) 1.0)))
0.2b
(log (+ x (sqrt (- (* x x) 1.0))))
30.2b
(sqrt (- (* x x) 1.0))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt
pow1 add-cube-cbrt add-log-exp
add-exp-log log-prod sqrt-prod
add-cbrt-cube
log-div flip3-+ sqrt-div flip-+ distribute-lft-out
+-commutative rem-sqrt-square flip3-- sqrt-pow1 pow1/2 rem-log-exp sum-log log-pow flip-- difference-of-squares
Counts
3 → 43
Calls
3 calls:
6.0ms
(+ x (sqrt (- (* x x) 1.0)))
6.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
4.0ms
(sqrt (- (* x x) 1.0))

series22.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ x (sqrt (- (* x x) 1.0)))
13.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
4.0ms
(sqrt (- (* x x) 1.0))

simplify134.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (129.0ms)

IterNodesCost
0316408
11042379
24663366
35002365

prune96.0ms

Filtered
52 candidates to 43 candidates (17.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New49352
Fresh000
Picked101
Done000
Total50353

Merged error: 0.0b

Counts
53 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (log x) (/ (/ 0.25 x) x))
0.1b
(/ (/ 0.25 x) x)
0.2b
(+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))
0.4b
(/ 0.09375 (pow x 4))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
99×times-frac
88×*-un-lft-identity
74×add-sqr-sqrt
65×add-cube-cbrt
16×associate-/l*
14×add-exp-log
12×unpow-prod-down distribute-lft-out--
11×pow1 associate--l+ add-cbrt-cube
10×associate-/r* add-log-exp
log-prod
distribute-lft-out
associate-+r+ log-pow
div-exp div-inv
cbrt-undiv diff-log sqr-pow
sub-neg associate-+l+ sum-log difference-of-squares
frac-2neg clear-num
+-commutative pow-to-exp associate-+r- flip3-- flip3-+ pow-exp flip-- flip-+ associate-/l/
Counts
4 → 167
Calls
4 calls:
15.0ms
(- (log x) (/ (/ 0.25 x) x))
6.0ms
(/ (/ 0.25 x) x)
32.0ms
(+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))
5.0ms
(/ 0.09375 (pow x 4))

series40.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(- (log x) (/ (/ 0.25 x) x))
3.0ms
(/ (/ 0.25 x) x)
10.0ms
(+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))
4.0ms
(/ 0.09375 (pow x 4))

simplify64.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
06941225
125461106
250011095

prune258.0ms

Filtered
179 candidates to 119 candidates (33.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1781179
Fresh022
Picked101
Done000
Total1793182

Merged error: 0b

Counts
182 → 3

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (/ (neg 0.5) x) (/ 0.125 (pow x 3)))
0.2b
(log (+ (* 2 x) (- (/ (neg 0.5) x) (/ 0.125 (pow x 3)))))
0.7b
(/ 0.125 (pow x 3))

rewrite123.0ms

Algorithm
rewrite-expression-head
Rules
60×add-sqr-sqrt
53×times-frac
39×*-un-lft-identity
29×add-cube-cbrt
14×unpow-prod-down cube-prod
12×associate-/r*
10×difference-of-squares
add-exp-log
sqr-pow
add-cbrt-cube add-log-exp
pow1 cube-mult unpow3
log-prod div-exp associate-/l* distribute-lft-out--
log-div
cbrt-undiv associate--l- neg-sub0 pow-to-exp sub-neg flip3-- distribute-rgt-neg-in frac-2neg flip3-+ diff-log div-sub rem-log-exp pow-exp clear-num log-pow frac-sub flip-- flip-+ div-inv
Counts
3 → 106
Calls
3 calls:
55.0ms
(- (/ (neg 0.5) x) (/ 0.125 (pow x 3)))
58.0ms
(log (+ (* 2 x) (- (/ (neg 0.5) x) (/ 0.125 (pow x 3)))))
5.0ms
(/ 0.125 (pow x 3))

series22.0ms

Counts
3 → 9
Calls
3 calls:
9.0ms
(- (/ (neg 0.5) x) (/ 0.125 (pow x 3)))
9.0ms
(log (+ (* 2 x) (- (/ (neg 0.5) x) (/ 0.125 (pow x 3)))))
4.0ms
(/ 0.125 (pow x 3))

simplify61.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0457837
12004799
25002799

prune159.0ms

Filtered
115 candidates to 71 candidates (38.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1150115
Fresh022
Picked011
Done000
Total1153118

Merged error: 0b

Counts
118 → 3

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))
0.4b
(/ 0.09375 (pow x 4))
0.5b
(cbrt (pow (+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4)))) 3))
0.7b
(pow (+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4)))) 3)

rewrite111.0ms

Algorithm
rewrite-expression-head
Rules
128×*-un-lft-identity
50×distribute-lft-out--
40×distribute-lft-out
35×pow1
34×unpow-prod-down
30×log-pow
28×cbrt-prod add-sqr-sqrt add-cube-cbrt
22×cube-prod
21×times-frac
10×add-exp-log
add-log-exp
associate--l+
associate-+r+ associate-/r* add-cbrt-cube
log-prod sqr-pow
cube-div
pow-unpow associate-+l+ flip3-+ diff-log div-exp sum-log flip-+ associate-/l*
cube-mult pow-to-exp sub-neg cbrt-div unpow3 pow-exp
cbrt-undiv +-commutative associate-+r- pow-pow frac-2neg pow1/3 clear-num rem-cbrt-cube div-inv rem-cube-cbrt
Counts
4 → 157
Calls
4 calls:
31.0ms
(+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))
4.0ms
(/ 0.09375 (pow x 4))
34.0ms
(cbrt (pow (+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4)))) 3))
32.0ms
(pow (+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4)))) 3)

series45.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4))))
4.0ms
(/ 0.09375 (pow x 4))
10.0ms
(cbrt (pow (+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4)))) 3))
22.0ms
(pow (+ (log 2) (- (- (log x) (/ (/ 0.25 x) x)) (/ 0.09375 (pow x 4)))) 3)

simplify111.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
09802067
144451969
250011940

prune265.0ms

Filtered
169 candidates to 81 candidates (52.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1690169
Fresh011
Picked011
Done011
Total1693172

Merged error: 0b

Counts
172 → 3

regimes31.0ms

Accuracy

0% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0178
1178

end0.0ms

sample3.7s

Algorithm
intervals
Results
1.2s6112×body2560nan
828.0ms5152×body1280nan
328.0ms8000×body80valid
324.0ms2556×body640nan
318.0ms8782×body80nan
130.0ms1333×body320nan
39.0ms596×body160nan

Profiling

Loading profile data...