Details

Time bar (total: 7.4s)

sample95.0ms

Algorithm
intervals
Results
35.0ms735×body80nan
9.0ms30×body640valid
9.0ms179×body80valid
6.0ms10×body1280valid
4.0ms22×body320valid
2.0ms16×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

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 10.4b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
28×*-un-lft-identity
21×log-prod
20×add-cube-cbrt
11×pow1
add-exp-log prod-diff add-log-exp
distribute-rgt-in distribute-lft-in associate-*r* add-cbrt-cube
associate-*l*
expm1-log1p-u log1p-expm1-u distribute-lft-out-- difference-of-squares
fma-neg log-pow
log-div flip3-- diff-log pow-prod-down prod-exp *-commutative flip-- cbrt-unprod unswap-sqr
sub-neg rem-log-exp associate--l+ sum-log
Counts
4 → 106
Calls
4 calls:
7.0ms
(* z (log (- 1.0 y)))
19.0ms
(- (+ (* x (log y)) (* z (log (- 1.0 y)))) t)
4.0ms
(* x (log y))
3.0ms
(log (- 1.0 y))

series235.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(* z (log (- 1.0 y)))
87.0ms
(- (+ (* x (log y)) (* z (log (- 1.0 y)))) t)
36.0ms
(* x (log y))
45.0ms
(log (- 1.0 y))

simplify55.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0519871
11908704
25001676

prune330.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.2b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
22×*-un-lft-identity
20×add-cube-cbrt
12×log-prod associate-*r*
11×add-exp-log add-log-exp
prod-diff
add-cbrt-cube
pow1
distribute-rgt-in associate-+l+ distribute-lft-in associate-*l*
unswap-sqr
expm1-log1p-u unpow-prod-down prod-exp log1p-expm1-u
fma-neg
diff-log sum-log *-commutative cbrt-unprod unpow2 sqr-pow
+-commutative pow-to-exp sub-neg associate-+r+ flip3-- fma-def flip3-+ pow-prod-down pow-exp associate--l+ log-pow flip-- flip-+ fma-udef distribute-lft-out-- difference-of-squares
Counts
4 → 107
Calls
4 calls:
24.0ms
(- (+ (* x (log y)) (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))))) t)
4.0ms
(+ (* x (log y)) (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))))
7.0ms
(* x (log y))
6.0ms
(* z (pow y 2))

series371.0ms

Counts
4 → 12
Calls
4 calls:
180.0ms
(- (+ (* x (log y)) (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))))) t)
122.0ms
(+ (* x (log y)) (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))))
40.0ms
(* x (log y))
29.0ms
(* z (pow y 2))

simplify58.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04481299
117441119
250021111

prune489.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.2b

localize28.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
0.6b
(cbrt y)
6.6b
(* z (pow y 2))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity
add-exp-log cbrt-prod
associate-*r*
add-cbrt-cube
pow1 expm1-log1p-u unpow-prod-down log1p-expm1-u add-log-exp unswap-sqr
pow1/3 associate-*l* prod-exp
unpow2 sqr-pow
pow-to-exp pow-exp *-commutative cbrt-unprod
Counts
4 → 68
Calls
4 calls:
0.0ms
(cbrt y)
0.0ms
(cbrt y)
0.0ms
(cbrt y)
6.0ms
(* z (pow y 2))

series563.0ms

Counts
4 → 12
Calls
4 calls:
180.0ms
(cbrt y)
177.0ms
(cbrt y)
173.0ms
(cbrt y)
33.0ms
(* z (pow y 2))

simplify88.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0143237
1501211
22430201
35001201

prune455.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.2b

localize33.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
5.0b
(pow y 1/3)
6.6b
(* z (pow y 2))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
10×add-exp-log
associate-*r*
unpow-prod-down
cbrt-prod add-cbrt-cube
pow1
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-unpow associate-*l* prod-exp sqr-pow
pow-to-exp pow1/3 pow-exp unpow2
pow-pow unpow1/3 *-commutative cbrt-unprod
Counts
4 → 75
Calls
4 calls:
0.0ms
(cbrt y)
0.0ms
(cbrt y)
1.0ms
(pow y 1/3)
6.0ms
(* z (pow y 2))

series564.0ms

Counts
4 → 12
Calls
4 calls:
178.0ms
(cbrt y)
173.0ms
(cbrt y)
184.0ms
(pow y 1/3)
29.0ms
(* z (pow y 2))

simplify113.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 3 (108.0ms)

IterNodesCost
0201242
1690206
23278200
35003195

prune457.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.2b

regimes427.0ms

Accuracy

0% (0.3b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 0.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03924
13924

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.1s23667×body80nan
283.0ms5599×body80valid
258.0ms860×body640valid
228.0ms386×body1280valid
133.0ms749×body320valid
49.0ms439×body160valid