Details

Time bar (total: 9.2s)

sample99.0ms

Algorithm
intervals
Results
57.0ms75×body1280valid
16.0ms42×body640valid
6.0ms30×body320valid
4.0ms96×body80valid
2.0ms69×body80nan
1.0ms13×body160valid

simplify2.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
044
154
done54

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.8b

localize11.0ms

Local error

Found 1 expressions with local error:

4.7b
(log (+ 1.0 x))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
log-prod *-un-lft-identity
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt log-div
expm1-log1p-u flip3-+ rem-log-exp log-pow add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out add-log-exp
Counts
1 → 17
Calls
1 calls:
5.0ms
(log (+ 1.0 x))

series58.0ms

Counts
1 → 3
Calls
1 calls:
58.0ms
(log (+ 1.0 x))

simplify1.3s

Counts
20 → 20
Iterations

Useful iterations: done (1.3s)

IterNodesCost
060188
1133177
2429159
31678158
done5000154

prune71.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize21.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify0.0ms

Counts
0 → 0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
done00

prune4.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.1b

localize17.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (log (- (* 1.0 1.0) (* x x))) (log (- 1.0 x)))
1.9b
(log (- (* 1.0 1.0) (* x x)))
4.4b
(log (- 1.0 x))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
22×add-sqr-sqrt
18×pow1 log-prod
16×add-cube-cbrt prod-diff
15×log-pow
log-div
distribute-lft-out--
add-exp-log flip3-- flip-- associate--r+ difference-of-squares
fma-neg associate--l+
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
associate--l- rem-log-exp associate--r-
sub-neg diff-log
Counts
3 → 87
Calls
3 calls:
33.0ms
(- (log (- (* 1.0 1.0) (* x x))) (log (- 1.0 x)))
16.0ms
(log (- (* 1.0 1.0) (* x x)))
18.0ms
(log (- 1.0 x))

series353.0ms

Counts
3 → 9
Calls
3 calls:
158.0ms
(- (log (- (* 1.0 1.0) (* x x))) (log (- 1.0 x)))
141.0ms
(log (- (* 1.0 1.0) (* x x)))
54.0ms
(log (- 1.0 x))

simplify1.3s

Counts
96 → 96
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01771945
14541616
220091368
done50001296

prune257.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize34.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 1.0 x (* 1/2 (/ (pow x 2) (pow 1.0 2))))
0.0b
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
0.0b
(fma 1/3 (/ (pow x 3) (pow 1.0 3)) (fma 1.0 x (* 1/2 (/ (pow x 2) (pow 1.0 2)))))
9.0b
(- (fma 1/3 (/ (pow x 3) (pow 1.0 3)) (fma 1.0 x (* 1/2 (/ (pow x 2) (pow 1.0 2))))) (* 1.0 (pow x 2)))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
80×times-frac
74×add-sqr-sqrt
68×associate-*r*
56×unpow-prod-down
40×add-cube-cbrt *-un-lft-identity
27×add-exp-log
24×unpow2 sqr-pow
17×unswap-sqr
10×prod-exp
div-exp add-cbrt-cube
pow1 pow-to-exp pow-exp add-log-exp
expm1-log1p-u log1p-expm1-u
fma-neg associate-*l* prod-diff fma-udef
cbrt-unprod
cbrt-undiv sub-neg flip3-- diff-log associate-*r/ pow-prod-down associate--l+ *-commutative flip-- div-inv
Counts
4 → 153
Calls
4 calls:
0.0ms
(fma 1.0 x (* 1/2 (/ (pow x 2) (pow 1.0 2))))
45.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
0.0ms
(fma 1/3 (/ (pow x 3) (pow 1.0 3)) (fma 1.0 x (* 1/2 (/ (pow x 2) (pow 1.0 2)))))
9.0ms
(- (fma 1/3 (/ (pow x 3) (pow 1.0 3)) (fma 1.0 x (* 1/2 (/ (pow x 2) (pow 1.0 2))))) (* 1.0 (pow x 2)))

series296.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(fma 1.0 x (* 1/2 (/ (pow x 2) (pow 1.0 2))))
63.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))
54.0ms
(fma 1/3 (/ (pow x 3) (pow 1.0 3)) (fma 1.0 x (* 1/2 (/ (pow x 2) (pow 1.0 2)))))
74.0ms
(- (fma 1/3 (/ (pow x 3) (pow 1.0 3)) (fma 1.0 x (* 1/2 (/ (pow x 2) (pow 1.0 2))))) (* 1.0 (pow x 2)))

simplify1.9s

Counts
165 → 165
Iterations

Useful iterations: done (1.9s)

IterNodesCost
02912847
17682582
235492196
done50022151

prune690.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

regimes103.0ms

Accuracy

98.5% (0.3b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 21.7b

bsearch2.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01724
12024
done2024

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.3s2223×body1280valid
479.0ms1635×body640valid
117.0ms854×body320valid
95.0ms2664×body80nan
87.0ms2883×body80valid
32.0ms405×body160valid