Details

Time bar (total: 6.2s)

sample67.0ms

Algorithm
intervals
Results
43.0ms241×body10240exit
6.0ms201×body80valid
3.0ms28×body320valid
1.0ms10×body640valid
1.0ms20×body160valid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0219
1529
21139
32408
416258
550018

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 13.3b

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

rewrite70.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))
10.0ms
(/ (/ x (+ wj 1)) (exp wj))
32.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series147.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ x (+ wj 1))
22.0ms
(/ wj (+ wj 1))
45.0ms
(/ (/ x (+ wj 1)) (exp wj))
58.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify126.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
010154090
145553249
250013243

prune527.0ms

Filtered
272 candidates to 165 candidates (60.7%)
Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.3b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

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

series50.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
20.0ms
(* 2 (* wj x))

simplify34.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0195282
1764240
25001222

prune113.0ms

Filtered
50 candidates to 32 candidates (64.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.3b

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
0.6b
(cbrt (+ x (pow wj 2)))
0.6b
(cbrt (+ x (pow wj 2)))
0.6b
(cbrt (+ x (pow wj 2)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 103
Calls
4 calls:
13.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
4.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))
5.0ms
(cbrt (+ x (pow wj 2)))

series1.2s

Counts
4 → 12
Calls
4 calls:
280.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
319.0ms
(cbrt (+ x (pow wj 2)))
319.0ms
(cbrt (+ x (pow wj 2)))
320.0ms
(cbrt (+ x (pow wj 2)))

simplify164.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0259918
1988867
24915790
35001790

prune347.0ms

Filtered
115 candidates to 86 candidates (74.8%)
Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.3b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ wj (+ wj 1))
0.0b
(+ (* wj wj) (- 1 (* wj 1)))
0.0b
(/ (+ (* wj wj) (- 1 (* wj 1))) (exp wj))
4.6b
(- (+ (* (/ x (+ (pow wj 3) 1)) (/ (+ (* wj wj) (- 1 (* wj 1))) (exp wj))) wj) (/ wj (+ wj 1)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
93×*-un-lft-identity
70×add-sqr-sqrt
65×add-cube-cbrt
58×times-frac
57×prod-diff
14×add-log-exp
13×distribute-lft-out
associate-/r/ add-cbrt-cube
add-exp-log flip3-+ associate-/r* flip-+
associate-/l*
associate-+r+ div-inv
pow1 expm1-log1p-u log1p-expm1-u
fma-neg diff-log sum-log
cbrt-undiv associate-+r- sub-neg frac-2neg div-exp clear-num frac-sub associate-/l/ difference-of-squares
+-commutative flip3-- fma-def div-sub associate--l+ flip-- distribute-lft-out--
Counts
4 → 166
Calls
4 calls:
5.0ms
(/ wj (+ wj 1))
6.0ms
(+ (* wj wj) (- 1 (* wj 1)))
9.0ms
(/ (+ (* wj wj) (- 1 (* wj 1))) (exp wj))
27.0ms
(- (+ (* (/ x (+ (pow wj 3) 1)) (/ (+ (* wj wj) (- 1 (* wj 1))) (exp wj))) wj) (/ wj (+ wj 1)))

series239.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ wj (+ wj 1))
15.0ms
(+ (* wj wj) (- 1 (* wj 1)))
23.0ms
(/ (+ (* wj wj) (- 1 (* wj 1))) (exp wj))
176.0ms
(- (+ (* (/ x (+ (pow wj 3) 1)) (/ (+ (* wj wj) (- 1 (* wj 1))) (exp wj))) wj) (/ wj (+ wj 1)))

simplify108.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
08533846
138262909
250012883

prune500.0ms

Filtered
178 candidates to 114 candidates (64.0%)
Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.3b

regimes119.0ms

Accuracy

47.3% (0.9b remaining)

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

bsearch54.0ms

Steps
ItersRangePoint
10
5.2561196964825414e-17
2.348668524657356e-07
2.3299975505553626e-07

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04250
14250

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.4s7666×body10240exit
199.0ms6312×body80valid
76.0ms820×body320valid
59.0ms412×body640valid
32.0ms536×body160valid