Details

Time bar (total: 28.5s)

sample254.0ms

Algorithm
intervals
Results
78.0ms99×body1280valid
30.0ms173×body80nan
28.0ms52×body640valid
20.0ms23×body1280nan
16.0ms30×body640nan
14.0ms28×body10240exit
14.0ms144×body80valid
11.0ms34×body320valid
4.0ms10×body320nan
3.0ms12×body160valid
1.0msbody160nan

simplify1.6s

Counts
1 → 1
Iterations
IterNodes
done5000
51264
4252
386
235
117
08

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.3b

localize27.0ms

Local error

Found 3 expressions with local error:

0.8b
(pow x (/ 1.0 n))
1.2b
(pow (+ x 1.0) (/ 1.0 n))
2.2b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite105.0ms

Algorithm
rewrite-expression-head
Rules
76×*-un-lft-identity
73×unpow-prod-down
63×add-sqr-sqrt
56×prod-diff
51×add-cube-cbrt
26×pow-unpow
24×sqr-pow
18×times-frac
10×distribute-lft-out
difference-of-squares
fma-neg
pow1 add-exp-log add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u distribute-lft-out--
pow-to-exp pow-pow pow-exp div-inv
sub-neg flip3-- diff-log flip--
Counts
3 → 149
Calls
3 calls:
3.0ms
(pow x (/ 1.0 n))
8.0ms
(pow (+ x 1.0) (/ 1.0 n))
87.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series713.0ms

Counts
3 → 9
Calls
3 calls:
77.0ms
(pow x (/ 1.0 n))
219.0ms
(pow (+ x 1.0) (/ 1.0 n))
416.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify1.9s

Counts
158 → 158
Iterations
IterNodes
done5000
22866
1738
0270

prune944.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 20.2b

localize56.0ms

Local error

Found 4 expressions with local error:

0.7b
(pow x (/ (/ 1.0 n) 2))
1.2b
(pow (+ x 1.0) (/ 1.0 n))
3.2b
(fma (- (pow x (/ (/ 1.0 n) 2))) (pow x (/ (/ 1.0 n) 2)) (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2))))
3.4b
(fma 1 (pow (+ x 1.0) (/ 1.0 n)) (- (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
75×times-frac
56×pow-unpow
50×*-un-lft-identity
48×add-sqr-sqrt add-cube-cbrt
unpow-prod-down
pow1 add-exp-log
div-inv
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-to-exp pow-pow pow-exp fma-udef sqr-pow
distribute-lft-out
Counts
4 → 109
Calls
4 calls:
6.0ms
(pow x (/ (/ 1.0 n) 2))
13.0ms
(pow (+ x 1.0) (/ 1.0 n))
0.0ms
(fma (- (pow x (/ (/ 1.0 n) 2))) (pow x (/ (/ 1.0 n) 2)) (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2))))
0.0ms
(fma 1 (pow (+ x 1.0) (/ 1.0 n)) (- (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))))

series1.3s

Counts
4 → 12
Calls
4 calls:
62.0ms
(pow x (/ (/ 1.0 n) 2))
214.0ms
(pow (+ x 1.0) (/ 1.0 n))
532.0ms
(fma (- (pow x (/ (/ 1.0 n) 2))) (pow x (/ (/ 1.0 n) 2)) (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2))))
498.0ms
(fma 1 (pow (+ x 1.0) (/ 1.0 n)) (- (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))))

simplify2.6s

Counts
121 → 121
Iterations
IterNodes
done5002
23703
1842
0264

prune1.0s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 20.2b

localize127.0ms

Local error

Found 4 expressions with local error:

3.2b
(fma (- (pow x (/ (/ 1.0 n) 2))) (pow x (/ (/ 1.0 n) 2)) (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2))))
3.4b
(fma 1 (pow (+ x 1.0) (/ 1.0 n)) (- (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))))
3.4b
(fma 1 (pow (+ x 1.0) (/ 1.0 n)) (- (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))))
3.4b
(fma 1 (pow (+ x 1.0) (/ 1.0 n)) (- (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt expm1-log1p-u pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt fma-udef log1p-expm1-u add-log-exp
Counts
4 → 40
Calls
4 calls:
0.0ms
(fma (- (pow x (/ (/ 1.0 n) 2))) (pow x (/ (/ 1.0 n) 2)) (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2))))
0.0ms
(fma 1 (pow (+ x 1.0) (/ 1.0 n)) (- (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))))
0.0ms
(fma 1 (pow (+ x 1.0) (/ 1.0 n)) (- (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))))
1.0ms
(fma 1 (pow (+ x 1.0) (/ 1.0 n)) (- (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))))

series1.6s

Counts
4 → 12
Calls
4 calls:
148.0ms
(fma (- (pow x (/ (/ 1.0 n) 2))) (pow x (/ (/ 1.0 n) 2)) (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2))))
485.0ms
(fma 1 (pow (+ x 1.0) (/ 1.0 n)) (- (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))))
461.0ms
(fma 1 (pow (+ x 1.0) (/ 1.0 n)) (- (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))))
477.0ms
(fma 1 (pow (+ x 1.0) (/ 1.0 n)) (- (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))))

simplify1.9s

Counts
52 → 52
Iterations
IterNodes
done5000
33353
2583
1162
073

prune461.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 20.2b

localize44.0ms

Local error

Found 4 expressions with local error:

0.7b
(pow x (/ (/ 1.0 n) 2))
1.2b
(pow (+ x 1.0) (/ 1.0 n))
3.2b
(fma (- (pow x (/ (/ 1.0 n) 2))) (pow x (/ (/ 1.0 n) 2)) (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2))))
3.4b
(fma 1 (pow (+ x 1.0) (/ 1.0 n)) (- (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
75×times-frac
56×pow-unpow
50×*-un-lft-identity
48×add-sqr-sqrt add-cube-cbrt
unpow-prod-down
pow1 add-exp-log
div-inv
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-to-exp pow-pow pow-exp fma-udef sqr-pow
distribute-lft-out
Counts
4 → 109
Calls
4 calls:
6.0ms
(pow x (/ (/ 1.0 n) 2))
11.0ms
(pow (+ x 1.0) (/ 1.0 n))
0.0ms
(fma (- (pow x (/ (/ 1.0 n) 2))) (pow x (/ (/ 1.0 n) 2)) (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2))))
0.0ms
(fma 1 (pow (+ x 1.0) (/ 1.0 n)) (- (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))))

series956.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(pow x (/ (/ 1.0 n) 2))
228.0ms
(pow (+ x 1.0) (/ 1.0 n))
165.0ms
(fma (- (pow x (/ (/ 1.0 n) 2))) (pow x (/ (/ 1.0 n) 2)) (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2))))
485.0ms
(fma 1 (pow (+ x 1.0) (/ 1.0 n)) (- (* (pow x (/ (/ 1.0 n) 2)) (pow x (/ (/ 1.0 n) 2)))))

simplify2.7s

Counts
121 → 121
Iterations
IterNodes
done5002
23703
1842
0264

prune1.2s

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 20.2b

regimes418.0ms

Accuracy

80.6% (1.7b remaining)

Error of 22.1b against oracle of 20.4b and baseline of 29.2b

bsearch2.0ms

simplify12.0ms

Iterations
IterNodes
done55
255
153
043

end0.0ms

sample8.5s

Algorithm
intervals
Results
2.5s3156×body1280valid
1.0s1213×body10240exit
932.0ms1585×body640valid
874.0ms5247×body80nan
754.0ms4883×body80valid
573.0ms641×body1280nan
370.0ms677×body640nan
348.0ms837×body320valid
150.0ms467×body160valid
124.0ms378×body320nan
38.0ms204×body160nan