Details

Time bar (total: 7.7s)

sample104.0ms

Algorithm
intervals
Results
31.0ms790×body80nan
8.0ms183×body80valid
7.0ms13×body1280valid
7.0ms27×body640valid
3.0ms22×body320valid
2.0ms14×body160valid

simplify26.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0227
1386
2536
3616
4786
51106
61756
72846
83636
93926
104766
114766

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.8b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x (log y)) (* z (log (- 1.0 y))))
0.0b
(* z (log (- 1.0 y)))
0.3b
(* x (log y))
6.6b
(log (- 1.0 y))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
37×log-prod
31×add-sqr-sqrt
27×*-un-lft-identity
17×add-cube-cbrt
16×distribute-rgt-in distribute-lft-in
11×pow1
10×associate-+r+
add-exp-log
associate-*r* add-cbrt-cube
associate-+l+ associate-*l* add-log-exp
distribute-lft-out-- difference-of-squares
expm1-log1p-u log1p-expm1-u
log-pow
log-div pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
+-commutative flip3-- fma-def flip3-+ rem-log-exp sum-log flip-- flip-+
Counts
4 → 106
Calls
4 calls:
17.0ms
(+ (* x (log y)) (* z (log (- 1.0 y))))
14.0ms
(* z (log (- 1.0 y)))
8.0ms
(* x (log y))
6.0ms
(log (- 1.0 y))

series392.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(+ (* x (log y)) (* z (log (- 1.0 y))))
241.0ms
(* z (log (- 1.0 y)))
33.0ms
(* x (log y))
43.0ms
(log (- 1.0 y))

simplify51.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0496683
11771625
25001600

prune356.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t)
0.0b
(+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
0.0b
(* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
0.3b
(* x (log y))

rewrite166.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
57×prod-diff
56×*-un-lft-identity
51×add-cube-cbrt
40×distribute-rgt-in distribute-lft-in
34×associate-+r+
24×log-prod
22×pow1
14×log-pow
13×associate--l+
11×add-log-exp
10×associate-*r*
add-exp-log add-cbrt-cube
associate-+l+ associate-*l*
sub-neg
expm1-log1p-u log1p-expm1-u
fma-neg distribute-lft-out--
flip3-- diff-log associate-*r/ pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod difference-of-squares unswap-sqr
+-commutative fma-def flip3-+ flip-+
Counts
4 → 170
Calls
4 calls:
48.0ms
(- (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t)
26.0ms
(+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
75.0ms
(* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
9.0ms
(* x (log y))

series428.0ms

Counts
4 → 12
Calls
4 calls:
169.0ms
(- (+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))) t)
126.0ms
(+ (* x (log y)) (* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2)))))))
97.0ms
(* z (- (log 1.0) (+ (* 1.0 y) (* 1/2 (/ (pow y 2) (pow 1.0 2))))))
36.0ms
(* x (log y))

simplify96.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06443156
123912185
250032156

prune586.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 2 expressions with local error:

0.0b
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
0.3b
(* x (log y))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
80×times-frac
76×add-sqr-sqrt
72×associate-*r*
56×unpow-prod-down
40×add-cube-cbrt *-un-lft-identity
27×add-exp-log
24×unpow2 sqr-pow
18×unswap-sqr
11×prod-exp
div-exp add-cbrt-cube
pow1
pow-to-exp log-prod associate-*l* pow-exp
distribute-rgt-in distribute-lft-in cbrt-unprod
expm1-log1p-u pow-prod-down *-commutative log1p-expm1-u add-log-exp
cbrt-undiv associate-*r/ log-pow div-inv
Counts
2 → 139
Calls
2 calls:
39.0ms
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
8.0ms
(* x (log y))

series91.0ms

Counts
2 → 6
Calls
2 calls:
54.0ms
(* 1/2 (/ (pow y 2) (pow 1.0 2)))
36.0ms
(* x (log y))

simplify102.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0626769
12656641
25001640

prune564.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize27.0ms

Local error

Found 4 expressions with local error:

0.3b
(* x (* 2 (log (cbrt y))))
0.3b
(* x (log (cbrt y)))
0.6b
(cbrt y)
0.6b
(cbrt y)

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
36×log-prod
30×distribute-rgt-in distribute-lft-in
24×cbrt-prod
23×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
12×pow1
11×add-exp-log add-cbrt-cube
associate-*r* associate-*l*
expm1-log1p-u pow-prod-down prod-exp cbrt-unprod log1p-expm1-u add-log-exp
pow1/3
log-pow *-commutative
unswap-sqr
Counts
4 → 104
Calls
4 calls:
25.0ms
(* x (* 2 (log (cbrt y))))
10.0ms
(* x (log (cbrt y)))
1.0ms
(cbrt y)
1.0ms
(cbrt y)

series537.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(* x (* 2 (log (cbrt y))))
89.0ms
(* x (log (cbrt y)))
175.0ms
(cbrt y)
179.0ms
(cbrt y)

simplify43.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0297668
11179591
25001567

prune537.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

regimes225.0ms

Accuracy

0% (0.1b remaining)

Error of 0.4b against oracle of 0.2b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03820
13820

end0.0ms

sample3.1s

Algorithm
intervals
Results
997.0ms24302×body80nan
264.0ms5552×body80valid
238.0ms848×body640valid
223.0ms394×body1280valid
127.0ms762×body320valid
49.0ms477×body160valid