Details

Time bar (total: 26.5s)

sample198.0ms

Algorithm
intervals
Results
143.0ms263×body10240exit
14.0ms208×body80valid
5.0ms23×body320valid
3.0msbody640valid
2.0ms17×body160valid

simplify777.0ms

Counts
1 → 1

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 10.8b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite948.0ms

Algorithm
rewrite-expression-head
Rules
127×times-frac
118×*-un-lft-identity
78×add-sqr-sqrt
73×add-cube-cbrt
24×associate-/l*
21×distribute-lft-out
13×add-cbrt-cube
12×associate-/r/
11×add-exp-log associate-/r*
add-log-exp
flip3-+ flip-+ div-inv
cbrt-undiv div-exp
pow1
frac-2neg clear-num
diff-log frac-sub distribute-lft-out-- difference-of-squares
sub-neg flip3-- associate--l+ sum-log flip-- associate-/l/
Counts
4 → 176
Calls
4 calls:
15.0ms
(/ x (+ wj 1))
13.0ms
(/ wj (+ wj 1))
41.0ms
(/ (/ x (+ wj 1)) (exp wj))
863.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series253.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ x (+ wj 1))
39.0ms
(/ wj (+ wj 1))
85.0ms
(/ (/ x (+ wj 1)) (exp wj))
95.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify1.1s

Counts
188 → 188

prune752.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.3b

localize14.0ms

Local error

Found 1 expressions with local error:

0.0b
(* 2 (* wj x))

rewrite33.0ms

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

series41.0ms

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

simplify1.4s

Counts
21 → 21

prune44.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.3b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite394.0ms

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity
24×add-sqr-sqrt
17×add-cube-cbrt
16×times-frac
13×add-cbrt-cube
11×add-exp-log
add-log-exp
pow1 distribute-lft-out associate-/l*
associate-/r*
flip3-+ associate-*r/ associate-*r* associate-/r/ flip-+
cbrt-undiv div-exp associate-*l*
frac-2neg diff-log prod-exp clear-num frac-sub cbrt-unprod div-inv distribute-lft-out-- difference-of-squares
distribute-rgt-in sub-neg flip3-- distribute-lft-in pow-prod-down associate--l+ sum-log *-commutative flip-- unswap-sqr
Counts
4 → 99
Calls
4 calls:
13.0ms
(/ wj (+ wj 1))
17.0ms
(/ x (* (exp wj) (+ wj 1)))
33.0ms
(* (exp wj) (+ wj 1))
328.0ms
(- (+ (/ x (* (exp wj) (+ wj 1))) wj) (/ wj (+ wj 1)))

series218.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(/ wj (+ wj 1))
62.0ms
(/ x (* (exp wj) (+ wj 1)))
45.0ms
(* (exp wj) (+ wj 1))
81.0ms
(- (+ (/ x (* (exp wj) (+ wj 1))) wj) (/ wj (+ wj 1)))

simplify937.0ms

Counts
111 → 111

prune407.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.3b

localize57.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (/ wj (+ wj 1)) (+ (/ wj (+ wj 1)) (+ (/ x (* (exp wj) (+ wj 1))) wj))) (* (+ (/ x (* (exp wj) (+ wj 1))) wj) (+ (/ x (* (exp wj) (+ wj 1))) wj)))
0.1b
(pow (/ wj (+ wj 1)) 3)
2.4b
(- (pow (+ (/ x (* (exp wj) (+ wj 1))) wj) 3) (pow (/ wj (+ wj 1)) 3))
31.0b
(/ (- (pow (+ (/ x (* (exp wj) (+ wj 1))) wj) 3) (pow (/ wj (+ wj 1)) 3)) (+ (* (/ wj (+ wj 1)) (+ (/ wj (+ wj 1)) (+ (/ x (* (exp wj) (+ wj 1))) wj))) (* (+ (/ x (* (exp wj) (+ wj 1))) wj) (+ (/ x (* (exp wj) (+ wj 1))) wj))))

rewrite3.3s

Algorithm
rewrite-expression-head
Rules
293×add-sqr-sqrt
208×frac-add
185×*-un-lft-identity
178×flip3-+ flip-+
175×times-frac
136×frac-times
128×unpow-prod-down cube-prod
120×difference-of-squares
100×associate-*r/
78×associate-/r/
63×add-cube-cbrt
52×associate-*l/
51×sqr-pow
45×distribute-lft-out--
37×associate-/l*
26×distribute-lft-out
add-exp-log cube-div add-cbrt-cube
add-log-exp
pow1 difference-cubes
frac-sub associate-/l/
pow-unpow associate-/r* div-inv
cbrt-undiv distribute-rgt-in associate-+l+ associate-+r+ flip3-- distribute-lft-in div-exp pow-exp flip-- rem-cube-cbrt
+-commutative cube-mult pow-to-exp sub-neg pow-pow frac-2neg diff-log unpow3 div-sub clear-num sum-log
Counts
4 → 433
Calls
4 calls:
242.0ms
(+ (* (/ wj (+ wj 1)) (+ (/ wj (+ wj 1)) (+ (/ x (* (exp wj) (+ wj 1))) wj))) (* (+ (/ x (* (exp wj) (+ wj 1))) wj) (+ (/ x (* (exp wj) (+ wj 1))) wj)))
15.0ms
(pow (/ wj (+ wj 1)) 3)
884.0ms
(- (pow (+ (/ x (* (exp wj) (+ wj 1))) wj) 3) (pow (/ wj (+ wj 1)) 3))
2.1s
(/ (- (pow (+ (/ x (* (exp wj) (+ wj 1))) wj) 3) (pow (/ wj (+ wj 1)) 3)) (+ (* (/ wj (+ wj 1)) (+ (/ wj (+ wj 1)) (+ (/ x (* (exp wj) (+ wj 1))) wj))) (* (+ (/ x (* (exp wj) (+ wj 1))) wj) (+ (/ x (* (exp wj) (+ wj 1))) wj))))

series2.3s

Counts
4 → 12
Calls
4 calls:
248.0ms
(+ (* (/ wj (+ wj 1)) (+ (/ wj (+ wj 1)) (+ (/ x (* (exp wj) (+ wj 1))) wj))) (* (+ (/ x (* (exp wj) (+ wj 1))) wj) (+ (/ x (* (exp wj) (+ wj 1))) wj)))
37.0ms
(pow (/ wj (+ wj 1)) 3)
622.0ms
(- (pow (+ (/ x (* (exp wj) (+ wj 1))) wj) 3) (pow (/ wj (+ wj 1)) 3))
1.4s
(/ (- (pow (+ (/ x (* (exp wj) (+ wj 1))) wj) 3) (pow (/ wj (+ wj 1)) 3)) (+ (* (/ wj (+ wj 1)) (+ (/ wj (+ wj 1)) (+ (/ x (* (exp wj) (+ wj 1))) wj))) (* (+ (/ x (* (exp wj) (+ wj 1))) wj) (+ (/ x (* (exp wj) (+ wj 1))) wj))))

simplify1.9s

Counts
445 → 445

prune2.3s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.3b

regimes79.0ms

Accuracy

68.5% (0.6b remaining)

Error of 1.0b against oracle of 0.3b and baseline of 2.3b

bsearch48.0ms

Steps
ItersRangePoint
9
2.7200915701001408e-14
1.3271286283864795e-08
5.350338768905504e-09

simplify2.8s

end0.0ms

sample6.1s

Algorithm
intervals
Results
4.7s7759×body10240exit
457.0ms6303×body80valid
204.0ms781×body320valid
131.0ms477×body640valid
58.0ms517×body160valid