Details

Time bar (total: 29.2s)

sample300.0ms

Algorithm
intervals
Results
116.0ms89×body1280valid
106.0ms35×body2560valid
26.0ms46×body640valid
10.0ms33×body320valid
8.0ms86×body80valid
5.0ms73×body80nan
1.0msbody160valid

simplify2.4s

Counts
1 → 1
Iterations
IterNodes
done5000
51593
4364
3144
260
125
010

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 45.9b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
1.6b
(- (pow (+ 1.0 (/ i n)) n) 1.0)
5.3b
(pow (+ 1.0 (/ i n)) n)
11.4b
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

rewrite1.5s

Algorithm
rewrite-expression-head
Rules
320×times-frac
305×add-sqr-sqrt
222×*-un-lft-identity
156×add-cube-cbrt
96×associate-*r*
84×difference-of-squares
48×unpow-prod-down
33×sqr-pow
28×distribute-lft-out--
24×prod-diff
19×add-exp-log
18×add-cbrt-cube
17×div-inv
13×associate-/r*
fma-neg
pow1 associate-/l*
cbrt-undiv div-exp add-log-exp
distribute-lft-out
expm1-log1p-u log1p-expm1-u
pow-unpow associate-*l* prod-exp cbrt-unprod unswap-sqr
flip3-- associate-/r/ flip-- associate-/l/
pow-to-exp clear-num sub-neg pow-pow frac-2neg diff-log div-sub pow-prod-down pow-exp associate-*r/ *-commutative
Counts
4 → 321
Calls
4 calls:
442.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
228.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
30.0ms
(pow (+ 1.0 (/ i n)) n)
389.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

series1.7s

Counts
4 → 12
Calls
4 calls:
548.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
348.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
334.0ms
(pow (+ 1.0 (/ i n)) n)
519.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

simplify1.7s

Counts
333 → 333
Iterations
IterNodes
done5001
11521
0479

prune2.1s

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 22.6b

localize54.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (* i i) 0.5 (* 1.0 i))
0.1b
(* 100.0 (/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* 0.5 (log 1.0)) (* i i))) (/ i n)))
8.2b
(* (* 0.5 (log 1.0)) (* i i))
18.8b
(/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* 0.5 (log 1.0)) (* i i))) (/ i n))

rewrite152.0ms

Algorithm
rewrite-expression-head
Rules
144×times-frac
91×add-sqr-sqrt
82×*-un-lft-identity add-cube-cbrt
45×associate-*r*
30×add-cbrt-cube add-exp-log
18×pow1
13×associate-/r*
11×prod-exp cbrt-unprod
pow-prod-down div-inv
cbrt-undiv div-exp
expm1-log1p-u associate-*l* log1p-expm1-u add-log-exp
associate-/l* unswap-sqr
associate-/r/ *-commutative associate-/l/
clear-num frac-2neg flip3-- div-sub associate-*r/ fma-udef flip--
Counts
4 → 177
Calls
4 calls:
1.0ms
(fma (* i i) 0.5 (* 1.0 i))
55.0ms
(* 100.0 (/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* 0.5 (log 1.0)) (* i i))) (/ i n)))
44.0ms
(* (* 0.5 (log 1.0)) (* i i))
42.0ms
(/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* 0.5 (log 1.0)) (* i i))) (/ i n))

series929.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(fma (* i i) 0.5 (* 1.0 i))
332.0ms
(* 100.0 (/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* 0.5 (log 1.0)) (* i i))) (/ i n)))
246.0ms
(* (* 0.5 (log 1.0)) (* i i))
259.0ms
(/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* 0.5 (log 1.0)) (* i i))) (/ i n))

simplify1.4s

Counts
189 → 189
Iterations
IterNodes
done5001
1972
0314

prune1.5s

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 10.8b

localize57.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* 0.5 (log 1.0)) (* i i))) i) n)
0.1b
(* 100.0 (* (/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* 0.5 (log 1.0)) (* i i))) i) n))
7.7b
(/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* 0.5 (log 1.0)) (* i i))) i)
8.2b
(* (* 0.5 (log 1.0)) (* i i))

rewrite113.0ms

Algorithm
rewrite-expression-head
Rules
32×add-cbrt-cube add-exp-log
26×add-sqr-sqrt
23×pow1
21×*-un-lft-identity add-cube-cbrt
19×times-frac
17×associate-*l*
15×prod-exp cbrt-unprod
12×pow-prod-down
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv associate-/r* div-exp *-commutative associate-/l*
associate-*l/ div-inv unswap-sqr associate-/l/
clear-num frac-2neg flip3-- div-sub associate-*r/ flip--
Counts
4 → 113
Calls
4 calls:
19.0ms
(* (/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* 0.5 (log 1.0)) (* i i))) i) n)
49.0ms
(* 100.0 (* (/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* 0.5 (log 1.0)) (* i i))) i) n))
20.0ms
(/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* 0.5 (log 1.0)) (* i i))) i)
21.0ms
(* (* 0.5 (log 1.0)) (* i i))

series1.0s

Counts
4 → 12
Calls
4 calls:
285.0ms
(* (/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* 0.5 (log 1.0)) (* i i))) i) n)
268.0ms
(* 100.0 (* (/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* 0.5 (log 1.0)) (* i i))) i) n))
207.0ms
(/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* 0.5 (log 1.0)) (* i i))) i)
255.0ms
(* (* 0.5 (log 1.0)) (* i i))

simplify2.2s

Counts
125 → 125
Iterations
IterNodes
done5002
23009
1563
0204

prune840.0ms

Pruning

17 alts after pruning (16 fresh and 1 done)

Merged error: 10.8b

localize53.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt n)
0.6b
(cbrt n)
7.7b
(/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* 0.5 (log 1.0)) (* i i))) i)
8.2b
(* (* 0.5 (log 1.0)) (* i i))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
18×add-cbrt-cube add-exp-log
16×pow1
14×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
times-frac
pow-prod-down prod-exp cbrt-unprod
cbrt-prod
expm1-log1p-u log1p-expm1-u add-log-exp
associate-/r* associate-/l*
pow1/3 associate-/l/
cbrt-undiv clear-num frac-2neg flip3-- div-sub div-exp associate-*r* associate-*l* *-commutative div-inv flip--
Counts
4 → 82
Calls
4 calls:
1.0ms
(cbrt n)
1.0ms
(cbrt n)
12.0ms
(/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* 0.5 (log 1.0)) (* i i))) i)
27.0ms
(* (* 0.5 (log 1.0)) (* i i))

series890.0ms

Counts
4 → 12
Calls
4 calls:
249.0ms
(cbrt n)
228.0ms
(cbrt n)
195.0ms
(/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* 0.5 (log 1.0)) (* i i))) i)
218.0ms
(* (* 0.5 (log 1.0)) (* i i))

simplify1.5s

Counts
94 → 94
Iterations
IterNodes
done5001
21866
1347
0140

prune536.0ms

Pruning

17 alts after pruning (16 fresh and 1 done)

Merged error: 10.8b

regimes655.0ms

Accuracy

53.1% (10.7b remaining)

Error of 21.7b against oracle of 11.0b and baseline of 33.8b

bsearch282.0ms

Steps
ItersRangePoint
9
3.0812599035097804e-09
7.830610238325062
4.039962480132393
9
-69051.06592837533
-4.7512835972832904e-05
-0.008529206764181105

simplify9.0ms

Iterations
IterNodes
done43
143
031

end0.0ms

sample7.3s

Algorithm
intervals
Results
2.6s2469×body1280valid
2.4s962×body2560valid
686.0ms1584×body640valid
569.0ms878×body320valid
273.0ms3111×body80valid
153.0ms2251×body80nan
115.0ms451×body160valid
44.0ms11×body5120valid