Details

Time bar (total: 12.5s)

sample68.0ms

Algorithm
intervals
Results
44.0ms253×body10240exit
6.0ms200×body80valid
2.0ms29×body320valid
2.0ms15×body640valid
1.0ms13×body160valid

simplify2.7s

Counts
1 → 1
Iterations

Useful iterations: 5 (155.0ms)

IterNodesCost
0816
12115
25215
311115
420214
568912
6253212
done500012

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 13.1b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite86.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:
3.0ms
(/ x (exp wj))
28.0ms
(/ (- wj (/ x (exp wj))) (+ wj 1))
45.0ms
(- wj (/ (- wj (/ x (exp wj))) (+ wj 1)))

series113.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(/ x (exp wj))
37.0ms
(/ (- wj (/ x (exp wj))) (+ wj 1))
47.0ms
(- wj (/ (- wj (/ x (exp wj))) (+ wj 1)))

simplify1.1s

Counts
202 → 202
Iterations

Useful iterations: done (1.1s)

IterNodesCost
03318699
18247884
222955807
done50005794

prune352.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
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 flip-- fma-udef
Counts
2 → 41
Calls
2 calls:
6.0ms
(* 2 (* wj x))
3.0ms
(- (fma wj wj x) (* 2 (* wj x)))

series49.0ms

Counts
2 → 6
Calls
2 calls:
19.0ms
(* 2 (* wj x))
30.0ms
(- (fma wj wj x) (* 2 (* wj x)))

simplify2.0s

Counts
47 → 47
Iterations

Useful iterations: 3 (792.0ms)

IterNodesCost
076542
1187504
2642424
33196383
done5001383

prune103.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.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:
3.0ms
(/ x (exp wj))
5.0ms
(/ wj (+ wj 1))
10.0ms
(/ (/ x (exp wj)) (+ wj 1))
16.0ms
(- wj (/ wj (+ wj 1)))

series116.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ x (exp wj))
23.0ms
(/ wj (+ wj 1))
39.0ms
(/ (/ x (exp wj)) (+ wj 1))
29.0ms
(- wj (/ wj (+ wj 1)))

simplify1.1s

Counts
238 → 238
Iterations

Useful iterations: done (1.1s)

IterNodesCost
03705110
18614511
223673673
done50003662

prune479.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (- (fma wj wj (pow wj 4)) (pow wj 3)) (/ (/ x (exp wj)) (+ wj 1)))
0.0b
(/ x (exp wj))
0.0b
(- (fma wj wj (pow wj 4)) (pow wj 3))
0.0b
(/ (/ x (exp wj)) (+ wj 1))

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
142×*-un-lft-identity
119×add-sqr-sqrt
106×times-frac
105×add-cube-cbrt
72×prod-diff
39×associate-+l+
20×unpow-prod-down cube-prod
16×distribute-lft-out associate-/l*
11×add-cbrt-cube add-log-exp
add-exp-log
fma-def difference-of-squares sqr-pow
associate-/r* div-inv
cube-mult unpow3
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
fma-neg distribute-lft-out--
sub-neg flip3-- frac-2neg flip3-+ diff-log frac-add associate--l+ clear-num sum-log associate-/r/ flip-- flip-+ fma-udef
+-commutative associate-+l- associate-/l/
Counts
4 → 242
Calls
4 calls:
77.0ms
(+ (- (fma wj wj (pow wj 4)) (pow wj 3)) (/ (/ x (exp wj)) (+ wj 1)))
3.0ms
(/ x (exp wj))
7.0ms
(- (fma wj wj (pow wj 4)) (pow wj 3))
10.0ms
(/ (/ x (exp wj)) (+ wj 1))

series154.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(+ (- (fma wj wj (pow wj 4)) (pow wj 3)) (/ (/ x (exp wj)) (+ wj 1)))
25.0ms
(/ x (exp wj))
33.0ms
(- (fma wj wj (pow wj 4)) (pow wj 3))
40.0ms
(/ (/ x (exp wj)) (+ wj 1))

simplify1.0s

Counts
254 → 254
Iterations

Useful iterations: done (1.0s)

IterNodesCost
03435428
17944309
224403810
done50003809

prune699.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

regimes52.0ms

Accuracy

0% (0.9b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
02033
12729
done2729

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.4s7783×body10240exit
192.0ms6321×body80valid
72.0ms770×body320valid
64.0ms453×body640valid
32.0ms539×body160valid