Details

Time bar (total: 30.8s)

sample201.0ms

Algorithm
intervals
Results
74.0ms79×body1280valid
62.0ms28×body2560valid
23.0ms54×body640valid
7.0ms32×body320valid
6.0ms99×body80valid
3.0ms58×body80nan
2.0ms13×body160valid

simplify3.6s

Counts
1 → 1
Iterations
IterNodes
done5003
63444
5877
4318
3139
260
125
010

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 41.8b

localize40.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)
4.9b
(pow (+ 1.0 (/ i n)) n)
8.9b
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

rewrite1.2s

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:
401.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
290.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
15.0ms
(pow (+ 1.0 (/ i n)) n)
434.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

series1.8s

Counts
4 → 12
Calls
4 calls:
496.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
384.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
333.0ms
(pow (+ 1.0 (/ i n)) n)
551.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

simplify2.3s

Counts
333 → 333
Iterations
IterNodes
done5000
11492
0479

prune2.1s

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 20.0b

localize61.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))) (* (* (* i i) (log 1.0)) 0.5)) (/ i n)))
8.9b
(* (* i i) (log 1.0))
15.2b
(/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* (* i i) (log 1.0)) 0.5)) (/ i n))

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
144×times-frac
95×add-sqr-sqrt
85×*-un-lft-identity add-cube-cbrt
48×associate-*r*
23×add-cbrt-cube add-exp-log
13×associate-/r*
12×pow1
div-inv
cbrt-undiv log-prod div-exp prod-exp cbrt-unprod
expm1-log1p-u associate-*l* pow-prod-down log1p-expm1-u add-log-exp unswap-sqr
distribute-rgt-in distribute-lft-in associate-/l*
associate-/r/ *-commutative associate-/l/
clear-num frac-2neg flip3-- div-sub associate-*r/ log-pow fma-udef flip--
Counts
4 → 181
Calls
4 calls:
0.0ms
(fma (* i i) 0.5 (* 1.0 i))
40.0ms
(* 100.0 (/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* (* i i) (log 1.0)) 0.5)) (/ i n)))
17.0ms
(* (* i i) (log 1.0))
17.0ms
(/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* (* i i) (log 1.0)) 0.5)) (/ i n))

series774.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(fma (* i i) 0.5 (* 1.0 i))
264.0ms
(* 100.0 (/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* (* i i) (log 1.0)) 0.5)) (/ i n)))
201.0ms
(* (* i i) (log 1.0))
231.0ms
(/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* (* i i) (log 1.0)) 0.5)) (/ i n))

simplify2.1s

Counts
193 → 193
Iterations
IterNodes
done5011
23495
1966
0324

prune1.3s

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 10.4b

localize44.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 100.0 (/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* (* i i) (log 1.0)) 0.5)) i))
0.1b
(* (* 100.0 (/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* (* i i) (log 1.0)) 0.5)) i)) n)
8.4b
(/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* (* i i) (log 1.0)) 0.5)) i)
8.9b
(* (* i i) (log 1.0))

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
25×add-cbrt-cube add-exp-log
24×*-un-lft-identity add-cube-cbrt
20×associate-*r*
19×times-frac
17×pow1
10×prod-exp cbrt-unprod
pow-prod-down
log-prod
associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-rgt-in cbrt-undiv associate-/r* distribute-lft-in div-exp *-commutative associate-/l* unswap-sqr
associate-*r/ div-inv associate-/l/
clear-num frac-2neg flip3-- div-sub associate-*l/ log-pow flip--
Counts
4 → 117
Calls
4 calls:
27.0ms
(* 100.0 (/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* (* i i) (log 1.0)) 0.5)) i))
35.0ms
(* (* 100.0 (/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* (* i i) (log 1.0)) 0.5)) i)) n)
18.0ms
(/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* (* i i) (log 1.0)) 0.5)) i)
17.0ms
(* (* i i) (log 1.0))

series813.0ms

Counts
4 → 12
Calls
4 calls:
174.0ms
(* 100.0 (/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* (* i i) (log 1.0)) 0.5)) i))
241.0ms
(* (* 100.0 (/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* (* i i) (log 1.0)) 0.5)) i)) n)
189.0ms
(/ (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* (* i i) (log 1.0)) 0.5)) i)
209.0ms
(* (* i i) (log 1.0))

simplify2.3s

Counts
129 → 129
Iterations
IterNodes
done5001
21955
1583
0212

prune649.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 10.4b

localize30.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 100.0 (* (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* (* i i) (log 1.0)) 0.5)) (/ 1 i)))
0.1b
(* (* 100.0 (* (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* (* i i) (log 1.0)) 0.5)) (/ 1 i))) n)
8.6b
(* (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* (* i i) (log 1.0)) 0.5)) (/ 1 i))
8.9b
(* (* i i) (log 1.0))

rewrite172.0ms

Algorithm
rewrite-expression-head
Rules
55×add-exp-log
37×add-cbrt-cube
31×prod-exp
26×pow1
25×add-sqr-sqrt
21×associate-*r*
19×cbrt-unprod
18×*-un-lft-identity
17×add-cube-cbrt
15×associate-*r/
13×pow-prod-down
12×associate-*l/
11×times-frac
associate-*l*
frac-times log-prod flip3-- div-exp flip--
expm1-log1p-u *-commutative log1p-expm1-u add-log-exp unswap-sqr
distribute-rgt-in cbrt-undiv rec-exp distribute-lft-in 1-exp un-div-inv
log-pow div-inv
Counts
4 → 133
Calls
4 calls:
30.0ms
(* 100.0 (* (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* (* i i) (log 1.0)) 0.5)) (/ 1 i)))
95.0ms
(* (* 100.0 (* (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* (* i i) (log 1.0)) 0.5)) (/ 1 i))) n)
27.0ms
(* (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* (* i i) (log 1.0)) 0.5)) (/ 1 i))
16.0ms
(* (* i i) (log 1.0))

series949.0ms

Counts
4 → 12
Calls
4 calls:
426.0ms
(* 100.0 (* (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* (* i i) (log 1.0)) 0.5)) (/ 1 i)))
209.0ms
(* (* 100.0 (* (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* (* i i) (log 1.0)) 0.5)) (/ 1 i))) n)
155.0ms
(* (- (fma n (log 1.0) (fma (* i i) 0.5 (* 1.0 i))) (* (* (* i i) (log 1.0)) 0.5)) (/ 1 i))
159.0ms
(* (* i i) (log 1.0))

simplify1.8s

Counts
145 → 145
Iterations
IterNodes
done5002
22355
1694
0245

prune647.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 10.4b

regimes299.0ms

Accuracy

55% (9.9b remaining)

Error of 21.1b against oracle of 11.2b and baseline of 33.2b

bsearch782.0ms

Steps
ItersRangePoint
10
4.5367458640904006e+33
2.4397352996973322e+45
4.586135949800823e+33
10
4.625956238950403e-119
1.9886031544758863e-109
1.1504506501799242e-111
5
6.347248424975081e-300
2.0287964304848516e-299
8.94230397278424e-300
9
-0.03438460291724579
-4.6633494757659894e-11
-0.01274350772906005

simplify25.0ms

Iterations
IterNodes
done81
481
378
271
167
050

end0.0ms

sample6.7s

Algorithm
intervals
Results
2.3s2575×body1280valid
2.0s917×body2560valid
1.1s1578×body640valid
323.0ms3075×body80valid
230.0ms879×body320valid
139.0ms2237×body80nan
64.0ms457×body160valid
42.0msbody5120valid