Details

Time bar (total: 3.1s)

sample48.0ms

Algorithm
intervals
Results
12.0ms42×body1280valid
7.0ms41×body640valid
7.0ms241×body80nan
7.0ms135×body80valid
3.0ms24×body320valid
1.0ms14×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

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: 28.2b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

2.0b
(log (+ N 1.0))
3.5b
(- (log (+ N 1.0)) (log N))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
11×log-prod
pow1 add-sqr-sqrt
add-cube-cbrt log-pow
log-div associate--l+ distribute-lft-out--
add-exp-log associate--r+
associate--l- flip3-+ add-cbrt-cube flip-+ distribute-lft-out add-log-exp
sub-neg flip3-- diff-log rem-log-exp flip-- difference-of-squares
Counts
2 → 41
Calls
2 calls:
3.0ms
(log (+ N 1.0))
7.0ms
(- (log (+ N 1.0)) (log N))

series10.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(log (+ N 1.0))
7.0ms
(- (log (+ N 1.0)) (log N))

simplify55.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0232285
1628264
22171244
35001244

prune83.0ms

Filtered
47 candidates to 34 candidates (27.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New43447
Fresh000
Picked101
Done000
Total44448

Merged error: 0.1b

Counts
48 → 4

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ N 1.0) N)
3.4b
(log (/ (+ N 1.0) N))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity
24×times-frac
19×add-sqr-sqrt add-cube-cbrt
16×log-prod
add-exp-log distribute-lft-out
add-cbrt-cube associate-/l*
pow1 associate-/r*
div-exp rem-log-exp div-inv associate-/l/ add-log-exp
cbrt-undiv log-div frac-2neg flip3-+ clear-num log-pow flip-+
Counts
2 → 60
Calls
2 calls:
5.0ms
(/ (+ N 1.0) N)
4.0ms
(log (/ (+ N 1.0) N))

series8.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(/ (+ N 1.0) N)
4.0ms
(log (/ (+ N 1.0) N))

simplify90.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0221370
1736343
23220333
35002333

prune87.0ms

Filtered
66 candidates to 46 candidates (30.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New63366
Fresh123
Picked101
Done000
Total65570

Merged error: 0.1b

Counts
70 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (+ N 1.0))
0.3b
(cbrt (+ N 1.0))
2.0b
(log (cbrt (+ N 1.0)))
3.7b
(+ (* 2 (log (cbrt (+ N 1.0)))) (log (/ (cbrt (+ N 1.0)) N)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
46×log-prod
42×*-un-lft-identity
32×cbrt-prod
26×add-sqr-sqrt add-cube-cbrt
25×associate-+r+
21×times-frac
14×associate-+l+
distribute-lft-out
distribute-rgt-in distribute-lft-in
cbrt-div
pow1 add-exp-log add-log-exp
flip3-+ add-cbrt-cube flip-+
log-div pow1/3
log-pow
+-commutative associate-+r- rem-log-exp sum-log div-inv
Counts
4 → 98
Calls
4 calls:
3.0ms
(cbrt (+ N 1.0))
3.0ms
(cbrt (+ N 1.0))
3.0ms
(log (cbrt (+ N 1.0)))
13.0ms
(+ (* 2 (log (cbrt (+ N 1.0)))) (log (/ (cbrt (+ N 1.0)) N)))

series45.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(cbrt (+ N 1.0))
6.0ms
(cbrt (+ N 1.0))
8.0ms
(log (cbrt (+ N 1.0)))
25.0ms
(+ (* 2 (log (cbrt (+ N 1.0)))) (log (/ (cbrt (+ N 1.0)) N)))

simplify48.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
05751058
11844965
25001900

prune248.0ms

Filtered
110 candidates to 91 candidates (17.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1091110
Fresh134
Picked011
Done000
Total1105115

Merged error: 0.1b

Counts
115 → 5

localize26.0ms

Local error

Found 4 expressions with local error:

2.0b
(log (cbrt (+ N 1.0)))
2.0b
(log (cbrt (+ N 1.0)))
2.0b
(log (cbrt (+ N 1.0)))
3.6b
(+ (pow (* 2 (log (cbrt (+ N 1.0)))) 3) (pow (log (/ (cbrt (+ N 1.0)) N)) 3))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
21×log-prod
18×*-un-lft-identity
12×cbrt-prod
10×add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log
log-div cbrt-div log-pow add-log-exp
flip3-+ add-cbrt-cube flip-+ distribute-lft-out
pow1/3 rem-log-exp
+-commutative sum-log sum-cubes
Counts
4 → 70
Calls
4 calls:
4.0ms
(log (cbrt (+ N 1.0)))
3.0ms
(log (cbrt (+ N 1.0)))
3.0ms
(log (cbrt (+ N 1.0)))
9.0ms
(+ (pow (* 2 (log (cbrt (+ N 1.0)))) 3) (pow (log (/ (cbrt (+ N 1.0)) N)) 3))

series79.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(log (cbrt (+ N 1.0)))
7.0ms
(log (cbrt (+ N 1.0)))
7.0ms
(log (cbrt (+ N 1.0)))
57.0ms
(+ (pow (* 2 (log (cbrt (+ N 1.0)))) 3) (pow (log (/ (cbrt (+ N 1.0)) N)) 3))

simplify87.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
08281072
134251012
25002978

prune508.0ms

Filtered
82 candidates to 68 candidates (17.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New81182
Fresh033
Picked101
Done011
Total82587

Merged error: 0.1b

Counts
87 → 5

regimes46.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 29.3b

bsearch13.0ms

Steps
ItersRangePoint
8
7423.9342200737565
8131618.111653002
9410.207051731439

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03016
13016

end0.0ms

sample1.5s

Algorithm
intervals
Results
491.0ms1757×body1280valid
244.0ms7825×body80nan
232.0ms1263×body640valid
200.0ms4097×body80valid
70.0ms584×body320valid
24.0ms299×body160valid

Profiling

Loading profile data...