Details

Time bar (total: 16.5s)

sample124.0ms

Algorithm
intervals
Results
73.0ms235×body10240exit
16.0ms196×body80valid
6.0ms25×body640valid
4.0ms23×body320valid
2.0ms15×body160valid

simplify562.0ms

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

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 14.5b

localize27.0ms

Local error

Found 3 expressions with local error:

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

rewrite320.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))
133.0ms
(/ (- (/ wj 1) (/ x (exp wj))) (+ wj 1))
155.0ms
(- wj (/ (- (/ wj 1) (/ x (exp wj))) (+ wj 1)))

series166.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(/ x (exp wj))
61.0ms
(/ (- (/ wj 1) (/ x (exp wj))) (+ wj 1))
55.0ms
(- wj (/ (- (/ wj 1) (/ x (exp wj))) (+ wj 1)))

simplify1.1s

Counts
288 → 288
Iterations
IterNodes
done5001
11291
0480

prune828.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-cbrt-cube add-exp-log
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
add-log-exp
fma-neg associate-*l* prod-diff pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u
sub-neg flip3-- diff-log associate-*r* associate--l+ *-commutative fma-udef flip--
Counts
2 → 41
Calls
2 calls:
6.0ms
(- (fma wj wj x) (* 2 (* x wj)))
17.0ms
(* 2 (* x wj))

series54.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(- (fma wj wj x) (* 2 (* x wj)))
24.0ms
(* 2 (* x wj))

simplify786.0ms

Counts
47 → 47
Iterations
IterNodes
done5000
2921
1193
078

prune288.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

localize29.0ms

Local error

Found 4 expressions with local error:

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

rewrite203.0ms

Algorithm
rewrite-expression-head
Rules
108×add-sqr-sqrt
103×*-un-lft-identity
93×add-cube-cbrt
78×prod-diff
73×times-frac
41×distribute-rgt-in distribute-lft-in
18×associate-*l*
10×add-cbrt-cube
add-exp-log div-inv
distribute-lft-neg-in distribute-rgt-neg-in
pow1 associate-/r* flip3-- associate-*r* flip-- distribute-neg-frac associate-/l* add-log-exp difference-of-squares
expm1-log1p-u frac-times log1p-expm1-u
distribute-lft-neg-out fma-def distribute-lft-out--
cbrt-undiv clear-num sub-neg frac-2neg difference-of-sqr-1 div-exp associate-*l/ associate-*r/ distribute-frac-neg
+-commutative neg-mul-1 sum-log flip3-+ unsub-neg pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ distribute-lft-out unswap-sqr
Counts
4 → 206
Calls
4 calls:
146.0ms
(* (- (- wj 1)) (- wj (/ x (exp wj))))
10.0ms
(/ x (exp wj))
12.0ms
(/ x (exp wj))
16.0ms
(+ wj (/ (* (- (- wj 1)) (- wj (/ x (exp wj)))) (fma wj wj -1)))

series277.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(* (- (- wj 1)) (- wj (/ x (exp wj))))
30.0ms
(/ x (exp wj))
39.0ms
(/ x (exp wj))
156.0ms
(+ wj (/ (* (- (- wj 1)) (- wj (/ x (exp wj)))) (fma wj wj -1)))

simplify764.0ms

Counts
218 → 218
Iterations
IterNodes
done5001
11202
0380

prune1.3s

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.1b

localize63.0ms

Local error

Found 4 expressions with local error:

0.8b
(pow (cbrt (- wj (/ x (exp wj)))) 3)
0.8b
(pow (cbrt (- wj (/ x (exp wj)))) 3)
0.8b
(pow (cbrt (- wj (/ x (exp wj)))) 3)
14.5b
(fma (* (cbrt wj) (cbrt wj)) (cbrt wj) (/ (- (pow (cbrt (- wj (/ x (exp wj)))) 3)) (+ 1 wj)))

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt
36×cbrt-prod
31×*-un-lft-identity
27×unpow-prod-down cube-prod
19×add-cube-cbrt
12×difference-of-squares
pow-unpow
pow1 add-exp-log
cube-div cbrt-div pow-pow times-frac distribute-lft-out--
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cube-mult pow-to-exp flip3-- pow1/3 unpow3 pow-exp flip-- rem-cube-cbrt sqr-pow
fma-udef
Counts
4 → 130
Calls
4 calls:
20.0ms
(pow (cbrt (- wj (/ x (exp wj)))) 3)
20.0ms
(pow (cbrt (- wj (/ x (exp wj)))) 3)
25.0ms
(pow (cbrt (- wj (/ x (exp wj)))) 3)
1.0ms
(fma (* (cbrt wj) (cbrt wj)) (cbrt wj) (/ (- (pow (cbrt (- wj (/ x (exp wj)))) 3)) (+ 1 wj)))

series767.0ms

Counts
4 → 12
Calls
4 calls:
218.0ms
(pow (cbrt (- wj (/ x (exp wj)))) 3)
208.0ms
(pow (cbrt (- wj (/ x (exp wj)))) 3)
210.0ms
(pow (cbrt (- wj (/ x (exp wj)))) 3)
130.0ms
(fma (* (cbrt wj) (cbrt wj)) (cbrt wj) (/ (- (pow (cbrt (- wj (/ x (exp wj)))) 3)) (+ 1 wj)))

simplify949.0ms

Counts
142 → 142
Iterations
IterNodes
done5000
21352
1380
0121

prune833.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.1b

regimes103.0ms

Accuracy

0% (1.8b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations
IterNodes
done9
19
07

end0.0ms

sample6.8s

Algorithm
intervals
Results
5.1s7606×body10240exit
537.0ms6289×body80valid
269.0ms812×body320valid
213.0ms452×body640valid
75.0ms532×body160valid