Details

Time bar (total: 14.8s)

sample65.0ms

Algorithm
intervals
Results
40.0ms231×body10240exit
6.0ms208×body80valid
2.0ms23×body320valid
1.0ms19×body160valid
1.0msbody640valid

simplify3.3s

Counts
1 → 1
Iterations

Useful iterations: 5 (167.0ms)

IterNodesCost
0816
12115
25215
311115
420614
568612
6278912
done500112

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 10.9b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite157.0ms

Algorithm
rewrite-expression-head
Rules
218×add-sqr-sqrt
211×*-un-lft-identity
151×times-frac
129×prod-diff
123×add-cube-cbrt
38×difference-of-squares
25×distribute-lft-out
19×distribute-lft-out--
associate-/l*
associate-/r/ add-cbrt-cube div-inv add-log-exp
add-exp-log associate-/r*
fma-neg
pow1 expm1-log1p-u flip3-+ flip-+ log1p-expm1-u
flip3-- flip--
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num associate-/l/
associate--r-
Counts
4 → 252
Calls
4 calls:
17.0ms
(- wj (/ x (exp wj)))
50.0ms
(/ (- wj (/ x (exp wj))) (+ 1 wj))
6.0ms
(/ x (exp wj))
70.0ms
(- wj (/ (- wj (/ x (exp wj))) (+ 1 wj)))

series149.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(- wj (/ x (exp wj)))
38.0ms
(/ (- wj (/ x (exp wj))) (+ 1 wj))
31.0ms
(/ x (exp wj))
46.0ms
(- wj (/ (- wj (/ x (exp wj))) (+ 1 wj)))

simplify2.2s

Counts
264 → 264
Iterations

Useful iterations: done (2.1s)

IterNodesCost
043010677
110759608
229666992
done50005844

prune405.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.4b

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(fma -2 (* wj x) (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:
0.0ms
(fma -2 (* wj x) (fma wj wj x))

series29.0ms

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

simplify1.4s

Counts
13 → 13
Iterations

Useful iterations: 4 (529.0ms)

IterNodesCost
021158
140155
2106134
3463134
42765108
done5000108

prune47.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.4b

localize9.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))

rewrite18.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:
11.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))
1.0ms
(cbrt (fma wj (fma -2 x wj) x))

series653.0ms

Counts
4 → 12
Calls
4 calls:
169.0ms
(* (cbrt (fma wj (fma -2 x wj) x)) (cbrt (fma wj (fma -2 x wj) x)))
162.0ms
(cbrt (fma wj (fma -2 x wj) x))
162.0ms
(cbrt (fma wj (fma -2 x wj) x))
158.0ms
(cbrt (fma wj (fma -2 x wj) x))

simplify2.0s

Counts
93 → 93
Iterations

Useful iterations: done (2.0s)

IterNodesCost
0811516
11651400
24201276
311031111
438861097
done50001093

prune238.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.4b

localize9.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))
7.9b
(- wj (/ wj (+ 1 wj)))

rewrite75.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:
6.0ms
(/ x (exp wj))
19.0ms
(/ (/ x (exp wj)) (+ 1 wj))
13.0ms
(/ wj (+ 1 wj))
27.0ms
(- wj (/ wj (+ 1 wj)))

series123.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(/ x (exp wj))
42.0ms
(/ (/ x (exp wj)) (+ 1 wj))
21.0ms
(/ wj (+ 1 wj))
31.0ms
(- wj (/ wj (+ 1 wj)))

simplify1.4s

Counts
238 → 238
Iterations

Useful iterations: done (1.4s)

IterNodesCost
03705110
18624525
221643611
done50013145

prune395.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

regimes38.0ms

Accuracy

82.3% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 1.1b

bsearch38.0ms

Steps
ItersRangePoint
8
1.0880025577165871e-05
0.3201433979245282
0.00010403459478968982

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02760
13560
done3560

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.3s7541×body10240exit
178.0ms6326×body80valid
67.0ms781×body320valid
60.0ms437×body640valid
31.0ms543×body160valid