Details

Time bar (total: 18.8s)

sample114.0ms

Algorithm
intervals
Results
74.0ms225×body10240exit
10.0ms210×body80valid
4.0ms15×body640valid
3.0ms24×body320valid
1.0ms10×body160valid

simplify892.0ms

Counts
1 → 1
Iterations
IterNodes
done5000
4419
3115
252
121
08

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 11.6b

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite328.0ms

Algorithm
rewrite-expression-head
Rules
421×add-sqr-sqrt
355×*-un-lft-identity
339×times-frac
150×prod-diff
127×add-cube-cbrt
104×difference-of-squares
45×distribute-lft-out
35×distribute-lft-out--
14×associate-/l*
associate-/r/
associate-/r* add-cbrt-cube
add-exp-log
div-inv add-log-exp
flip3-+ flip-+
expm1-log1p-u pow1 fma-neg log1p-expm1-u associate-/l/
cbrt-undiv clear-num frac-2neg flip3-- div-sub div-exp flip--
sub-neg diff-log frac-sub associate--r-
Counts
3 → 279
Calls
3 calls:
10.0ms
(/ x (exp wj))
117.0ms
(/ (- (/ wj 1) (/ x (exp wj))) (+ wj 1))
165.0ms
(- wj (/ (- (/ wj 1) (/ x (exp wj))) (+ wj 1)))

series164.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(/ x (exp wj))
72.0ms
(/ (- (/ wj 1) (/ x (exp wj))) (+ wj 1))
56.0ms
(- wj (/ (- (/ wj 1) (/ x (exp wj))) (+ wj 1)))

simplify721.0ms

Counts
288 → 288
Iterations
IterNodes
done5001
11291
0480

prune971.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.4b

localize19.0ms

Local error

Found 1 expressions with local error:

0.0b
(* 2 (* x wj))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-cbrt-cube add-exp-log
associate-*l* pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
expm1-log1p-u associate-*r* *-commutative log1p-expm1-u add-log-exp
Counts
1 → 20
Calls
1 calls:
30.0ms
(* 2 (* x wj))

series37.0ms

Counts
1 → 3
Calls
1 calls:
37.0ms
(* 2 (* x wj))

simplify2.7s

Counts
23 → 23
Iterations
IterNodes
done5000
31472
2316
188
037

prune104.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.4b

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ wj (+ 1 wj))
0.0b
(* (+ 1 wj) (exp wj))
0.0b
(/ x (* (+ 1 wj) (exp wj)))
3.3b
(- wj (- (/ wj (+ 1 wj)) (/ x (* (+ 1 wj) (exp wj)))))

rewrite264.0ms

Algorithm
rewrite-expression-head
Rules
212×*-un-lft-identity
186×prod-diff
180×times-frac
164×associate--r+
156×add-sqr-sqrt
137×add-cube-cbrt
70×associate-/r/
46×associate-*l/
36×flip3-+ flip-+
32×distribute-lft-out
29×div-inv
13×add-cbrt-cube
11×add-exp-log
add-log-exp
difference-of-squares
pow1 distribute-rgt-out-- associate-/l* distribute-lft-out--
associate-/r*
expm1-log1p-u associate-*l* log1p-expm1-u
cbrt-undiv fma-neg diff-log div-exp associate-*r*
clear-num sub-neg frac-2neg prod-exp cbrt-unprod
flip3-- pow-prod-down *-commutative flip-- associate--r- unswap-sqr
Counts
4 → 293
Calls
4 calls:
10.0ms
(/ wj (+ 1 wj))
40.0ms
(* (+ 1 wj) (exp wj))
26.0ms
(/ x (* (+ 1 wj) (exp wj)))
167.0ms
(- wj (- (/ wj (+ 1 wj)) (/ x (* (+ 1 wj) (exp wj)))))

series246.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ wj (+ 1 wj))
56.0ms
(* (+ 1 wj) (exp wj))
66.0ms
(/ x (* (+ 1 wj) (exp wj)))
84.0ms
(- wj (- (/ wj (+ 1 wj)) (/ x (* (+ 1 wj) (exp wj)))))

simplify1.1s

Counts
305 → 305
Iterations
IterNodes
done5000
11344
0529

prune1.8s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.4b

localize75.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (/ x (* (+ 1 wj) (exp wj))))
0.5b
(cbrt (/ x (* (+ 1 wj) (exp wj))))
3.3b
(- wj (fma (/ wj (+ (pow wj 3) 1)) (fma wj (- wj 1) 1) (/ (- x) (* (+ wj 1) (exp wj)))))
60.6b
(fma (- (cbrt (/ x (* (+ 1 wj) (exp wj))))) (* (cbrt (/ x (* (+ 1 wj) (exp wj)))) (cbrt (/ x (* (+ 1 wj) (exp wj))))) (* (cbrt (/ x (* (+ 1 wj) (exp wj)))) (* (cbrt (/ x (* (+ 1 wj) (exp wj)))) (cbrt (/ x (* (+ 1 wj) (exp wj)))))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-prod
17×add-sqr-sqrt *-un-lft-identity
15×add-cube-cbrt
prod-diff
times-frac add-log-exp
expm1-log1p-u pow1 add-cbrt-cube associate-*l/ add-exp-log associate-/r/ log1p-expm1-u
fma-neg
cbrt-div flip3-+ pow1/3 flip-+ fma-udef div-inv
sub-neg flip3-- diff-log flip-- associate--r+ distribute-lft-out-- difference-of-squares
Counts
4 → 79
Calls
4 calls:
9.0ms
(cbrt (/ x (* (+ 1 wj) (exp wj))))
12.0ms
(cbrt (/ x (* (+ 1 wj) (exp wj))))
10.0ms
(- wj (fma (/ wj (+ (pow wj 3) 1)) (fma wj (- wj 1) 1) (/ (- x) (* (+ wj 1) (exp wj)))))
0.0ms
(fma (- (cbrt (/ x (* (+ 1 wj) (exp wj))))) (* (cbrt (/ x (* (+ 1 wj) (exp wj)))) (cbrt (/ x (* (+ 1 wj) (exp wj))))) (* (cbrt (/ x (* (+ 1 wj) (exp wj)))) (* (cbrt (/ x (* (+ 1 wj) (exp wj)))) (cbrt (/ x (* (+ 1 wj) (exp wj)))))))

series703.0ms

Counts
4 → 12
Calls
4 calls:
132.0ms
(cbrt (/ x (* (+ 1 wj) (exp wj))))
148.0ms
(cbrt (/ x (* (+ 1 wj) (exp wj))))
104.0ms
(- wj (fma (/ wj (+ (pow wj 3) 1)) (fma wj (- wj 1) 1) (/ (- x) (* (+ wj 1) (exp wj)))))
318.0ms
(fma (- (cbrt (/ x (* (+ 1 wj) (exp wj))))) (* (cbrt (/ x (* (+ 1 wj) (exp wj)))) (cbrt (/ x (* (+ 1 wj) (exp wj))))) (* (cbrt (/ x (* (+ 1 wj) (exp wj)))) (* (cbrt (/ x (* (+ 1 wj) (exp wj)))) (cbrt (/ x (* (+ 1 wj) (exp wj)))))))

simplify1.3s

Counts
91 → 91
Iterations
IterNodes
done5001
21721
1480
0210

prune901.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.4b

regimes140.0ms

Accuracy

0% (1.9b remaining)

Error of 2.2b against oracle of 0.3b and baseline of 2.2b

bsearch0.0ms

simplify1.0ms

Iterations
IterNodes
done9
19
07

end0.0ms

sample6.2s

Algorithm
intervals
Results
4.9s7455×body10240exit
347.0ms6324×body80valid
178.0ms771×body320valid
112.0ms434×body640valid
66.0ms554×body160valid