Details

Time bar (total: 3.2s)

analyze315.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
12.5%87.4%0.1%5
18.7%68.7%12.6%6
28.1%59.3%12.6%7
32.8%48.4%18.8%8
38.2%42.9%18.8%9
41%37.1%22%10
43.9%34.1%22%11
45.5%31%23.5%12
46.9%29.6%23.5%13
47.7%28%24.3%14

sample54.0ms

Algorithm
intervals
Results
26.0ms121×body5120exit
10.0ms185×body80valid
5.0ms42×body320valid
2.0ms13×body640valid
1.0ms16×body160valid
0.0msbody80invalid
0.0msbody80overflowed

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
0543612

prune10.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 16.2b

Counts
2 → 2

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
49×*-un-lft-identity
48×add-sqr-sqrt
38×times-frac
23×add-cube-cbrt
10×difference-of-squares
associate-/l*
distribute-lft-out
associate-/r* add-cbrt-cube
add-exp-log
distribute-lft-out-- add-log-exp
pow1
cbrt-undiv frac-2neg flip3-+ div-sub div-exp clear-num associate-/r/ flip-+ div-inv associate-/l/
+-commutative associate-+r- flip3-- sum-log flip--
Counts
3 → 91
Calls
3 calls:
11.0ms
(/ (- (/ x (exp wj)) wj) (+ wj 1))
4.0ms
(/ x (exp wj))
16.0ms
(+ wj (/ (- (/ x (exp wj)) wj) (+ wj 1)))

series29.0ms

Counts
3 → 9
Calls
3 calls:
10.0ms
(/ (- (/ x (exp wj)) wj) (+ wj 1))
7.0ms
(/ x (exp wj))
12.0ms
(+ wj (/ (- (/ x (exp wj)) wj) (+ wj 1)))

simplify59.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049491345
149491345

prune137.0ms

Filtered
73 candidates to 100 candidates (-37.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New973100
Fresh011
Picked101
Done000
Total984102

Merged error: 0.2b

Counts
102 → 4

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.0ms

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

series12.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
05100405

prune65.0ms

Filtered
31 candidates to 41 candidates (-32.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New39241
Fresh033
Picked011
Done000
Total39645

Merged error: 0.2b

Counts
45 → 6

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
240×times-frac
206×*-un-lft-identity
204×add-sqr-sqrt
99×add-cube-cbrt
42×difference-of-squares
39×associate-/r*
33×distribute-lft-out
21×distribute-lft-out--
18×add-exp-log
13×add-cbrt-cube
11×associate-/r/
10×associate-/l*
div-exp
div-inv
add-log-exp
pow1 cbrt-undiv flip3-- flip--
frac-2neg clear-num
rec-exp flip3-+ 1-exp flip-+ associate-/l/
+-commutative pow-flip sum-log inv-pow
Counts
4 → 234
Calls
4 calls:
4.0ms
(/ x (exp wj))
11.0ms
(/ (+ wj 1) (- (/ x (exp wj)) wj))
15.0ms
(/ 1 (/ (+ wj 1) (- (/ x (exp wj)) wj)))
31.0ms
(+ wj (/ 1 (/ (+ wj 1) (- (/ x (exp wj)) wj))))

series46.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(/ x (exp wj))
17.0ms
(/ (+ wj 1) (- (/ x (exp wj)) wj))
13.0ms
(/ 1 (/ (+ wj 1) (- (/ x (exp wj)) wj)))
9.0ms
(+ wj (/ 1 (/ (+ wj 1) (- (/ x (exp wj)) wj))))

simplify75.0ms

Algorithm
egg-herbie
Counts
246 → 246
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049754198
149754198

prune250.0ms

Filtered
143 candidates to 246 candidates (-72.0%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2460246
Fresh044
Picked011
Done011
Total2466252

Merged error: 0.2b

Counts
252 → 6

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))))
6.1b
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt *-un-lft-identity
16×add-cube-cbrt times-frac
add-cbrt-cube add-log-exp
add-exp-log
pow1
distribute-rgt-out distribute-rgt1-in associate-/r*
associate-*r* associate-*l* associate-/l*
flip3-- flip3-+ div-sub associate-/r/ flip-- 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 div-inv distribute-lft-out-- associate--r- unswap-sqr
Counts
4 → 86
Calls
4 calls:
4.0ms
(* wj (exp wj))
3.0ms
(+ (exp wj) (* wj (exp wj)))
9.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
12.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

series35.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* wj (exp wj))
4.0ms
(+ (exp wj) (* wj (exp wj)))
13.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
15.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

simplify50.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
054001311

prune113.0ms

Filtered
80 candidates to 98 candidates (-22.5%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New98098
Fresh033
Picked011
Done022
Total986104

Merged error: 0.2b

Counts
104 → 6

regimes159.0ms

Accuracy

63.5% (0.7b remaining)

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

bsearch20.0ms

Steps
ItersRangePoint
9
2.233175548758439e-09
0.006054136323863823
5.634537779413641e-09

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
010527
110527

end0.0ms

sample1.5s

Algorithm
intervals
Results
850.0ms3851×body5120exit
235.0ms6239×body80valid
90.0ms802×body320valid
78.0ms457×body640valid
43.0ms502×body160valid
3.0ms72×body80invalid
0.0ms11×body80overflowed

Profiling

Loading profile data...