Details

Time bar (total: 20.4s)

sample104.0ms

Algorithm
intervals
Results
64.0ms236×body10240exit
9.0ms195×body80valid
5.0ms34×body320valid
3.0ms14×body640valid
1.0ms16×body160valid

simplify4.1s

Counts
1 → 1
Iterations

Useful iterations: 5 (202.0ms)

IterNodesCost
0816
12015
24815
310515
419014
562112
6258512
done500112

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 14.3b

localize18.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- wj (/ x (exp wj))) (+ wj 1))
0.2b
(/ x (exp wj))
6.1b
(- wj (/ (- wj (/ x (exp wj))) (+ wj 1)))

rewrite144.0ms

Algorithm
rewrite-expression-head
Rules
53×add-sqr-sqrt
49×*-un-lft-identity
39×times-frac
23×add-cube-cbrt
12×difference-of-squares
associate-/l*
associate-/r* add-cbrt-cube distribute-lft-out
add-exp-log distribute-lft-out--
add-log-exp
pow1
cbrt-undiv flip3-- frac-2neg div-sub div-exp clear-num associate-/r/ flip-- div-inv associate-/l/
sub-neg flip3-+ diff-log flip-+ associate--r-
Counts
3 → 94
Calls
3 calls:
72.0ms
(/ (- wj (/ x (exp wj))) (+ wj 1))
15.0ms
(/ x (exp wj))
53.0ms
(- wj (/ (- wj (/ x (exp wj))) (+ wj 1)))

series154.0ms

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

simplify1.9s

Counts
103 → 103
Iterations

Useful iterations: 3 (951.0ms)

IterNodesCost
01741576
14091496
29601436
322671431
done50001431

prune336.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log distribute-rgt-in add-cube-cbrt sub-neg associate-+r+ *-un-lft-identity distribute-lft-in add-cbrt-cube add-log-exp
associate-*r* associate-*l*
associate-*r/
+-commutative flip3-- flip3-+ pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod flip-+ unswap-sqr
Counts
2 → 39
Calls
2 calls:
15.0ms
(+ x (* wj (- wj (* x 2))))
21.0ms
(* wj (- wj (* x 2)))

series115.0ms

Counts
2 → 6
Calls
2 calls:
45.0ms
(+ x (* wj (- wj (* x 2))))
70.0ms
(* wj (- wj (* x 2)))

simplify1.5s

Counts
45 → 45
Iterations

Useful iterations: 2 (145.0ms)

IterNodesCost
070507
1186473
2543431
32137431
done5002431

prune100.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.2b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ wj (+ wj 1))
0.0b
(/ (/ x (exp wj)) (+ wj 1))
0.2b
(/ x (exp wj))
5.5b
(- wj (/ wj (+ wj 1)))

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
119×times-frac
108×*-un-lft-identity
75×add-sqr-sqrt
70×add-cube-cbrt
19×associate-/l*
18×distribute-lft-out
13×add-cbrt-cube
11×add-exp-log associate-/r*
div-inv
add-log-exp
cbrt-undiv div-exp
pow1 associate-/r/
frac-2neg clear-num
flip3-+ flip-+ difference-of-squares
sub-neg flip3-- diff-log flip-- associate-/l/ distribute-lft-out--
Counts
4 → 161
Calls
4 calls:
14.0ms
(/ wj (+ wj 1))
28.0ms
(/ (/ x (exp wj)) (+ wj 1))
13.0ms
(/ x (exp wj))
38.0ms
(- wj (/ wj (+ wj 1)))

series189.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(/ wj (+ wj 1))
63.0ms
(/ (/ x (exp wj)) (+ wj 1))
44.0ms
(/ x (exp wj))
45.0ms
(- wj (/ wj (+ wj 1)))

simplify2.9s

Counts
173 → 173
Iterations

Useful iterations: 3 (1.5s)

IterNodesCost
02552336
15742195
213442107
335612098
done50002098

prune525.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite225.0ms

Algorithm
rewrite-expression-head
Rules
106×times-frac
96×*-un-lft-identity
68×add-sqr-sqrt
61×add-cube-cbrt
16×distribute-lft-out associate-/l*
11×add-cbrt-cube add-log-exp
add-exp-log
associate-/r* div-inv
pow1 cbrt-undiv div-exp difference-of-squares
frac-2neg flip3-+ diff-log clear-num sum-log associate-/r/ flip-+ distribute-lft-out--
+-commutative sub-neg unpow-prod-down flip3-- cube-prod associate--l+ flip-- associate-/l/ sqr-pow
Counts
4 → 145
Calls
4 calls:
16.0ms
(+ (pow wj 4) (pow wj 2))
166.0ms
(- (+ (pow wj 4) (pow wj 2)) (pow wj 3))
30.0ms
(/ (/ x (exp wj)) (+ wj 1))
7.0ms
(/ x (exp wj))

series244.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(+ (pow wj 4) (pow wj 2))
32.0ms
(- (+ (pow wj 4) (pow wj 2)) (pow wj 3))
70.0ms
(/ (/ x (exp wj)) (+ wj 1))
46.0ms
(/ x (exp wj))

simplify3.6s

Counts
157 → 157
Iterations

Useful iterations: 3 (1.7s)

IterNodesCost
02422337
15822188
215052094
348712072
done50002072

prune727.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

regimes78.0ms

Accuracy

64.9% (0.5b remaining)

Error of 0.6b against oracle of 0.0b and baseline of 1.6b

bsearch59.0ms

Steps
ItersRangePoint
10
4.772092826529504e-10
110.15968793260775
1.4895969334168604e-05

simplify7.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02943
13943
done3943

end0.0ms

sample3.1s

Algorithm
intervals
Results
2.0s7507×body10240exit
274.0ms6302×body80valid
103.0ms777×body320valid
98.0ms467×body640valid
46.0ms544×body160valid