Details

Time bar (total: 1.8s)

sample25.0ms

Algorithm
intervals
Results
12.0ms88×body1280valid
4.0ms134×body80valid
2.0ms20×body640valid
1.0msbody320valid
0.0msbody160valid

simplify5.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 (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.1b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(atan (+ N 1.0))
1.5b
(- (atan (+ N 1.0)) (atan N))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
sub-neg flip3-- diff-atan flip--
Counts
2 → 5
Calls
2 calls:
1.0ms
(atan (+ N 1.0))
2.0ms
(- (atan (+ N 1.0)) (atan N))

series12.0ms

Counts
2 → 6
Calls
2 calls:
1.0ms
(atan (+ N 1.0))
10.0ms
(- (atan (+ N 1.0)) (atan N))

simplify54.0ms

Algorithm
egg-herbie
Counts
11 → 11
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05258
110658
219456
337055
4148255
5500255

prune15.0ms

Filtered
11 candidates to 4 candidates (36.4%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New10111
Fresh000
Picked011
Done000
Total10212

Merged error: 0.3b

Counts
12 → 2

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (+ N 1.0) N)
0.3b
(atan2 1.0 (+ 1 (* (+ N 1.0) N)))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
associate-*l/
flip3-+ *-commutative flip-+
Counts
2 → 3
Calls
2 calls:
3.0ms
(* (+ N 1.0) N)
1.0ms
(atan2 1.0 (+ 1 (* (+ N 1.0) N)))

series43.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(* (+ N 1.0) N)
3.0ms
(atan2 1.0 (+ 1 (* (+ N 1.0) N)))

simplify201.0ms

Algorithm
egg-herbie
Counts
9 → 9
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04432
110029
230529
391329
4400629
5500129

prune21.0ms

Filtered
9 candidates to 5 candidates (55.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New729
Fresh000
Picked011
Done011
Total7411

Merged error: 0.3b

Counts
11 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* N N) (* 1.0 1.0))
0.0b
(* (- (* N N) (* 1.0 1.0)) N)
0.3b
(atan2 1.0 (+ 1 (/ (* (- (* N N) (* 1.0 1.0)) N) (- N 1.0))))
4.7b
(/ (* (- (* N N) (* 1.0 1.0)) N) (- N 1.0))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
14×*-commutative
12×difference-of-squares
associate-*l*
associate-/l*
flip3-- associate-*l/ flip--
associate-/r/ associate-/l/
sub-neg frac-2neg clear-num div-inv
Counts
4 → 28
Calls
4 calls:
5.0ms
(- (* N N) (* 1.0 1.0))
6.0ms
(* (- (* N N) (* 1.0 1.0)) N)
1.0ms
(atan2 1.0 (+ 1 (/ (* (- (* N N) (* 1.0 1.0)) N) (- N 1.0))))
8.0ms
(/ (* (- (* N N) (* 1.0 1.0)) N) (- N 1.0))

series244.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(- (* N N) (* 1.0 1.0))
76.0ms
(* (- (* N N) (* 1.0 1.0)) N)
5.0ms
(atan2 1.0 (+ 1 (/ (* (- (* N N) (* 1.0 1.0)) N) (- N 1.0))))
118.0ms
(/ (* (- (* N N) (* 1.0 1.0)) N) (- N 1.0))

simplify58.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0176179
1549160
22148143
35001140

prune69.0ms

Filtered
40 candidates to 23 candidates (57.5%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New37340
Fresh101
Picked101
Done022
Total39544

Merged error: 0.3b

Counts
44 → 5

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (/ 1 N) (+ N 1.0))
0.1b
(/ 1 (/ (/ 1 N) (+ N 1.0)))
0.3b
(atan2 1.0 (+ 1 (/ 1 (/ (/ 1 N) (+ N 1.0)))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
11×associate-/r/
associate-/l/
clear-num
div-inv
frac-2neg
remove-double-div
associate-/r* associate-/l*
flip3-+ flip-+
inv-pow
Counts
3 → 27
Calls
3 calls:
4.0ms
(/ (/ 1 N) (+ N 1.0))
5.0ms
(/ 1 (/ (/ 1 N) (+ N 1.0)))
1.0ms
(atan2 1.0 (+ 1 (/ 1 (/ (/ 1 N) (+ N 1.0)))))

series79.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(/ (/ 1 N) (+ N 1.0))
41.0ms
(/ 1 (/ (/ 1 N) (+ N 1.0)))
3.0ms
(atan2 1.0 (+ 1 (/ 1 (/ (/ 1 N) (+ N 1.0)))))

simplify107.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0118101
146393
2254492
3500292

prune56.0ms

Filtered
36 candidates to 23 candidates (63.9%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New36036
Fresh022
Picked011
Done022
Total36541

Merged error: 0.3b

Counts
41 → 5

regimes40.0ms

Accuracy

0% (0.0b remaining)

Error of 0.3b against oracle of 0.3b and baseline of 0.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0124
1124

end0.0ms

sample725.0ms

Algorithm
intervals
Results
394.0ms2883×body1280valid
126.0ms4068×body80valid
66.0ms609×body640valid
26.0ms300×body320valid
9.0ms140×body160valid