Details

Time bar (total: 10.1s)

sample133.0ms

Algorithm
intervals
Results
99.0ms294×body10240exit
11.0ms210×body80valid
4.0ms29×body320valid
2.0ms10×body640valid
1.0ms11×body160valid

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550018

prune32.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 10.9b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite351.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:
5.0ms
(/ wj (+ wj 1))
5.0ms
(/ x (+ wj 1))
12.0ms
(/ (/ x (+ wj 1)) (exp wj))
322.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series39.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(/ wj (+ wj 1))
8.0ms
(/ x (+ wj 1))
13.0ms
(/ (/ x (+ wj 1)) (exp wj))
16.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify77.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
07211524
133031471
250011469

prune1.2s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.3b

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

rewrite50.0ms

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

series17.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(+ x (pow wj 2))
7.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
4.0ms
(* 2 (* wj x))

simplify128.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0202247
1793231
24232228
35001228

prune241.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.3b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (/ (+ (* x x) (- (pow wj 4))) (- x (pow wj 2))) (* 2 (* wj x)))
0.0b
(* 2 (* wj x))
23.9b
(/ (+ (* x x) (- (pow wj 4))) (- x (pow wj 2)))

rewrite171.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
25×*-un-lft-identity
24×times-frac
17×add-cube-cbrt
16×difference-of-squares
10×add-exp-log add-cbrt-cube
pow1 associate-/r*
div-sub
add-log-exp
unpow-prod-down distribute-lft-out-- unpow2 sqr-pow
associate--l- associate-*l* pow-prod-down prod-exp cbrt-unprod associate-/l*
neg-sub0 associate-+r- flip3-- unsub-neg associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-exp associate-*r* clear-num *-commutative flip-+ div-inv
Counts
3 → 87
Calls
3 calls:
128.0ms
(- (/ (+ (* x x) (- (pow wj 4))) (- x (pow wj 2))) (* 2 (* wj x)))
6.0ms
(* 2 (* wj x))
34.0ms
(/ (+ (* x x) (- (pow wj 4))) (- x (pow wj 2)))

series38.0ms

Counts
3 → 9
Calls
3 calls:
16.0ms
(- (/ (+ (* x x) (- (pow wj 4))) (- x (pow wj 2))) (* 2 (* wj x)))
4.0ms
(* 2 (* wj x))
18.0ms
(/ (+ (* x x) (- (pow wj 4))) (- x (pow wj 2)))

simplify53.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0397974
11702901
25002876

prune608.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.3b

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (- x (pow wj 2)))
0.6b
(cbrt (- x (pow wj 2)))
6.5b
(/ (- (* x x) (pow wj 4)) (cbrt (- x (pow wj 2))))
17.5b
(* (/ 1 (* (cbrt (- x (pow wj 2))) (cbrt (- x (pow wj 2))))) (/ (- (* x x) (pow wj 4)) (cbrt (- x (pow wj 2)))))

rewrite195.0ms

Algorithm
rewrite-expression-head
Rules
215×add-sqr-sqrt
147×times-frac
129×difference-of-squares
123×cbrt-prod
91×*-un-lft-identity
72×associate-*r*
58×add-cube-cbrt
51×add-exp-log
38×unpow-prod-down sqr-pow
20×cbrt-div prod-exp
19×add-cbrt-cube
16×div-exp
15×associate-*l* distribute-lft-out-- unpow2
12×associate-/r/
11×flip3-- associate-/r* flip--
unswap-sqr
cbrt-undiv cbrt-unprod
pow1 associate-/l*
frac-times
rec-exp 1-exp add-log-exp
associate-*r/ associate-*l/ div-inv
pow1/3 associate-/l/
frac-2neg div-sub pow-prod-down clear-num *-commutative
Counts
4 → 264
Calls
4 calls:
4.0ms
(cbrt (- x (pow wj 2)))
4.0ms
(cbrt (- x (pow wj 2)))
24.0ms
(/ (- (* x x) (pow wj 4)) (cbrt (- x (pow wj 2))))
147.0ms
(* (/ 1 (* (cbrt (- x (pow wj 2))) (cbrt (- x (pow wj 2))))) (/ (- (* x x) (pow wj 4)) (cbrt (- x (pow wj 2)))))

series175.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(cbrt (- x (pow wj 2)))
45.0ms
(cbrt (- x (pow wj 2)))
62.0ms
(/ (- (* x x) (pow wj 4)) (cbrt (- x (pow wj 2))))
21.0ms
(* (/ 1 (* (cbrt (- x (pow wj 2))) (cbrt (- x (pow wj 2))))) (/ (- (* x x) (pow wj 4)) (cbrt (- x (pow wj 2)))))

simplify61.0ms

Algorithm
egg-herbie
Counts
276 → 276
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012764147
150013763

prune2.7s

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.3b

regimes199.0ms

Accuracy

0% (1.6b remaining)

Error of 2.2b against oracle of 0.6b and baseline of 2.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample3.6s

Algorithm
intervals
Results
2.7s7938×body10240exit
323.0ms6285×body80valid
129.0ms816×body320valid
112.0ms471×body640valid
54.0ms514×body160valid