Details

Time bar (total: 7.0s)

sample71.0ms

Algorithm
intervals
Results
45.0ms240×body10240exit
6.0ms204×body80valid
3.0ms29×body320valid
2.0ms11×body640valid
1.0ms15×body160valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550018

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 12.4b

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

rewrite511.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:
10.0ms
(/ x (+ wj 1))
10.0ms
(/ wj (+ wj 1))
22.0ms
(/ (/ x (+ wj 1)) (exp wj))
461.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series130.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(/ x (+ wj 1))
21.0ms
(/ wj (+ wj 1))
36.0ms
(/ (/ x (+ wj 1)) (exp wj))
53.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify81.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
07211524
133031471
250011469

prune427.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.7b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
*-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*r* sum-log *-commutative flip-+ distribute-lft-out
Counts
2 → 30
Calls
2 calls:
11.0ms
(+ x (pow wj 2))
15.0ms
(* 2 (* wj x))

series45.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(+ x (pow wj 2))
17.0ms
(* 2 (* wj x))

simplify66.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0149128
1550109
22327108
35001108

prune68.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.7b

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)))

rewrite85.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
frac-times add-cbrt-cube 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 → 95
Calls
4 calls:
61.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
7.0ms
(cbrt (+ x (pow wj 2)))
7.0ms
(cbrt (+ x (pow wj 2)))
7.0ms
(cbrt (+ x (pow wj 2)))

series1.2s

Counts
4 → 12
Calls
4 calls:
257.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
302.0ms
(cbrt (+ x (pow wj 2)))
300.0ms
(cbrt (+ x (pow wj 2)))
299.0ms
(cbrt (+ x (pow wj 2)))

simplify175.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 3 (165.0ms)

IterNodesCost
0252878
1944827
24715760
35001749

prune273.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.6b

localize18.0ms

Local error

Found 4 expressions with local error:

0.6b
(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)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
16×cbrt-prod *-un-lft-identity
add-sqr-sqrt add-cube-cbrt cbrt-div
pow1 add-exp-log flip3-+ pow1/3 add-cbrt-cube flip-+ distribute-lft-out add-log-exp
Counts
4 → 56
Calls
4 calls:
7.0ms
(cbrt (+ x (pow wj 2)))
7.0ms
(cbrt (+ x (pow wj 2)))
9.0ms
(cbrt (+ x (pow wj 2)))
7.0ms
(cbrt (+ x (pow wj 2)))

series1.2s

Counts
4 → 12
Calls
4 calls:
297.0ms
(cbrt (+ x (pow wj 2)))
293.0ms
(cbrt (+ x (pow wj 2)))
298.0ms
(cbrt (+ x (pow wj 2)))
297.0ms
(cbrt (+ x (pow wj 2)))

simplify59.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (53.0ms)

IterNodesCost
0136452
1429424
21576416
35001404

prune250.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.6b

regimes87.0ms

Accuracy

64.8% (0.6b remaining)

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

bsearch24.0ms

Steps
ItersRangePoint
6
1.0738724617663113e-08
5.0796479603103655e-08
1.0870455527639365e-08

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03116
13116

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.4s7879×body10240exit
198.0ms6304×body80valid
70.0ms773×body320valid
62.0ms440×body640valid
33.0ms556×body160valid