Details

Time bar (total: 25.9s)

sample122.0ms

Algorithm
intervals
Results
74.0ms194×body10240exit
12.0ms188×body80valid
7.0ms34×body320valid
4.0ms13×body640valid
3.0ms21×body160valid

simplify5.6s

Counts
1 → 1
Iterations

Useful iterations: 5 (724.0ms)

IterNodesCost
0816
12115
25215
311115
420614
568612
6278912
done500112

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 15.8b

localize32.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ x (exp wj))
0.0b
(/ (- wj (/ x (exp wj))) (+ 1 wj))
5.8b
(- wj (/ (- wj (/ x (exp wj))) (+ 1 wj)))

rewrite247.0ms

Algorithm
rewrite-expression-head
Rules
177×add-sqr-sqrt
173×*-un-lft-identity
123×times-frac
90×prod-diff
87×add-cube-cbrt
36×difference-of-squares
25×distribute-lft-out
18×distribute-lft-out--
associate-/l*
associate-/r/
associate-/r* add-cbrt-cube
add-exp-log
div-inv add-log-exp
flip3-+ flip-+
pow1 expm1-log1p-u fma-neg log1p-expm1-u
cbrt-undiv flip3-- frac-2neg div-sub div-exp clear-num flip-- associate-/l/
sub-neg diff-log associate--r-
Counts
3 → 193
Calls
3 calls:
12.0ms
(/ x (exp wj))
98.0ms
(/ (- wj (/ x (exp wj))) (+ 1 wj))
119.0ms
(- wj (/ (- wj (/ x (exp wj))) (+ 1 wj)))

series166.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(/ x (exp wj))
57.0ms
(/ (- wj (/ x (exp wj))) (+ 1 wj))
63.0ms
(- wj (/ (- wj (/ x (exp wj))) (+ 1 wj)))

simplify2.1s

Counts
202 → 202
Iterations

Useful iterations: done (2.1s)

IterNodesCost
03318699
18247901
222325818
done50014977

prune606.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize15.0ms

Local error

Found 1 expressions with local error:

0.0b
(fma (* wj x) -2 (fma wj wj x))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(fma (* wj x) -2 (fma wj wj x))

series36.0ms

Counts
1 → 3
Calls
1 calls:
36.0ms
(fma (* wj x) -2 (fma wj wj x))

simplify2.2s

Counts
13 → 13
Iterations

Useful iterations: 4 (886.0ms)

IterNodesCost
021158
140155
2106134
3457134
42765108
done5000108

prune42.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (fma wj (fma -2 x wj) x)) (cbrt (fma wj (fma -2 x wj) x)))
0.6b
(cbrt (fma wj (fma -2 x wj) x))
0.6b
(cbrt (fma wj (fma -2 x wj) x))
0.6b
(cbrt (fma wj (fma -2 x wj) x))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
12.0ms
(* (cbrt (fma wj (fma -2 x wj) x)) (cbrt (fma wj (fma -2 x wj) x)))
1.0ms
(cbrt (fma wj (fma -2 x wj) x))
1.0ms
(cbrt (fma wj (fma -2 x wj) x))
6.0ms
(cbrt (fma wj (fma -2 x wj) x))

series1.0s

Counts
4 → 12
Calls
4 calls:
254.0ms
(* (cbrt (fma wj (fma -2 x wj) x)) (cbrt (fma wj (fma -2 x wj) x)))
267.0ms
(cbrt (fma wj (fma -2 x wj) x))
220.0ms
(cbrt (fma wj (fma -2 x wj) x))
259.0ms
(cbrt (fma wj (fma -2 x wj) x))

simplify3.3s

Counts
93 → 93
Iterations

Useful iterations: done (3.3s)

IterNodesCost
0811516
11651400
24201276
311031111
438861097
done50001093

prune354.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (exp wj))
0.0b
(/ (/ x (exp wj)) (+ 1 wj))
0.0b
(/ wj (+ 1 wj))
6.9b
(- wj (/ wj (+ 1 wj)))

rewrite137.0ms

Algorithm
rewrite-expression-head
Rules
169×*-un-lft-identity
155×times-frac
118×add-sqr-sqrt
113×add-cube-cbrt
54×prod-diff
27×distribute-lft-out
19×associate-/l*
13×add-cbrt-cube
11×add-exp-log associate-/r* div-inv
10×associate-/r/
add-log-exp
cbrt-undiv flip3-+ div-exp flip-+
pow1 expm1-log1p-u log1p-expm1-u
frac-2neg fma-neg clear-num
difference-of-squares
sub-neg flip3-- diff-log flip-- associate-/l/ distribute-lft-out--
Counts
4 → 226
Calls
4 calls:
14.0ms
(/ x (exp wj))
31.0ms
(/ (/ x (exp wj)) (+ 1 wj))
18.0ms
(/ wj (+ 1 wj))
52.0ms
(- wj (/ wj (+ 1 wj)))

series225.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(/ x (exp wj))
79.0ms
(/ (/ x (exp wj)) (+ 1 wj))
47.0ms
(/ wj (+ 1 wj))
46.0ms
(- wj (/ wj (+ 1 wj)))

simplify2.3s

Counts
238 → 238
Iterations

Useful iterations: done (2.3s)

IterNodesCost
03705110
18624525
221643611
done50013145

prune613.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

regimes69.0ms

Accuracy

0% (1.2b remaining)

Error of 1.3b against oracle of 0.1b and baseline of 1.3b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01419
11819
done1819

end0.0ms

sample6.7s

Algorithm
intervals
Results
5.2s7610×body10240exit
498.0ms6268×body80valid
147.0ms819×body320valid
120.0ms443×body640valid
64.0ms543×body160valid