Details

Time bar (total: 4.5s)

sample64.0ms

Algorithm
intervals
Results
41.0ms217×body10240exit
6.0ms205×body80valid
3.0ms27×body320valid
2.0ms11×body640valid
1.0ms20×body160valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
0219
1529
21139
32408
416258
550018

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 13.4b

localize9.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))
5.4b
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

rewrite432.0ms

Algorithm
rewrite-expression-head
Rules
231×*-un-lft-identity
175×times-frac
129×add-sqr-sqrt
124×add-cube-cbrt
72×prod-diff
52×distribute-lft-out
24×associate-/l*
20×associate-/r/
13×add-cbrt-cube
11×add-exp-log flip3-+ associate-/r* flip-+ div-inv
add-log-exp
cbrt-undiv div-exp
pow1 expm1-log1p-u fma-neg log1p-expm1-u
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 → 260
Calls
4 calls:
5.0ms
(/ x (+ wj 1))
5.0ms
(/ wj (+ wj 1))
12.0ms
(/ (/ x (+ wj 1)) (exp wj))
398.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series141.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ x (+ wj 1))
20.0ms
(/ wj (+ wj 1))
38.0ms
(/ (/ x (+ wj 1)) (exp wj))
57.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify123.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
010154090
145553249
250013243

prune510.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
10×add-log-exp
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt
fma-neg prod-diff
expm1-log1p-u fma-def associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u distribute-lft-out
diff-log sum-log
+-commutative sub-neg flip3-- flip3-+ associate-*r* associate--l+ *-commutative flip-- flip-+
Counts
3 → 61
Calls
3 calls:
5.0ms
(+ x (pow wj 2))
49.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
6.0ms
(* 2 (* wj x))

series79.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(+ x (pow wj 2))
29.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
19.0ms
(* 2 (* wj x))

simplify37.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0237344
1922293
25001274

prune141.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize5.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune9.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(* wj (exp wj))
0.0b
(+ (exp wj) (* wj (exp wj)))
1.0b
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
5.4b
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
82×*-un-lft-identity
73×add-sqr-sqrt
66×add-cube-cbrt
63×prod-diff
61×times-frac
14×distribute-rgt-out distribute-rgt1-in
associate-/r/ add-cbrt-cube add-log-exp
add-exp-log
pow1
flip3-+ associate-/r* flip-+
expm1-log1p-u log1p-expm1-u div-inv
fma-def fma-neg associate-*r* associate-*l* associate-/l*
flip3-- div-sub flip-- associate-/l/ difference-of-squares
cbrt-undiv +-commutative sub-neg frac-2neg diff-log div-exp pow-prod-down prod-exp clear-num sum-log *-commutative cbrt-unprod distribute-lft-out-- associate--r- unswap-sqr
Counts
4 → 164
Calls
4 calls:
5.0ms
(* wj (exp wj))
4.0ms
(+ (exp wj) (* wj (exp wj)))
19.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
30.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

series161.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* wj (exp wj))
34.0ms
(+ (exp wj) (* wj (exp wj)))
43.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
52.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

simplify96.0ms

Algorithm
egg-herbie
Counts
176 → 176
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
08094615
130653121
250012819

prune301.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.2b

regimes86.0ms

Accuracy

52.4% (0.9b remaining)

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

bsearch31.0ms

Steps
ItersRangePoint
7
6.455311877312871e-06
0.0001516457190089863
2.1610528876044702e-05

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02729
12729

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.4s7580×body10240exit
199.0ms6253×body80valid
72.0ms790×body320valid
70.0ms488×body640valid
36.0ms554×body160valid