Details

Time bar (total: 5.1s)

sample22.0ms

Algorithm
intervals
Results
9.0ms320×body80valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1255
2415
3635
4805
5965
61135
71215
81245
91245

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 5.9b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ t (- 1.0 z))
0.0b
(- (/ y z) (/ t (- 1.0 z)))
5.6b
(* x (- (/ y z) (/ t (- 1.0 z))))

rewrite344.0ms

Algorithm
rewrite-expression-head
Rules
1192×times-frac
1082×add-sqr-sqrt
1078×*-un-lft-identity
819×prod-diff
814×add-cube-cbrt
275×distribute-rgt-in distribute-lft-in
129×distribute-lft-out-- difference-of-squares
104×div-inv
80×associate-/r/
42×flip3-- flip--
13×fma-neg
10×associate-*r*
add-exp-log add-cbrt-cube
pow1 associate-/r* add-log-exp
expm1-log1p-u sub-neg associate-*r/ associate-*l* log1p-expm1-u associate-/l*
frac-sub
cbrt-undiv frac-2neg diff-log div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod unswap-sqr
Counts
3 → 927
Calls
3 calls:
12.0ms
(/ t (- 1.0 z))
53.0ms
(- (/ y z) (/ t (- 1.0 z)))
184.0ms
(* x (- (/ y z) (/ t (- 1.0 z))))

series128.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(/ t (- 1.0 z))
36.0ms
(- (/ y z) (/ t (- 1.0 z)))
58.0ms
(* x (- (/ y z) (/ t (- 1.0 z))))

simplify228.0ms

Algorithm
egg-herbie
Counts
936 → 936
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
0166127825
1500122260

prune1.6s

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- 1.0 z))
0.0b
(- (/ y z) (* t (/ 1 (- 1.0 z))))
0.1b
(* t (/ 1 (- 1.0 z)))
5.6b
(* x (- (/ y z) (* t (/ 1 (- 1.0 z)))))

rewrite123.0ms

Algorithm
rewrite-expression-head
Rules
77×add-sqr-sqrt
69×*-un-lft-identity
68×times-frac
54×add-cube-cbrt
39×prod-diff
24×associate-*r*
19×add-exp-log
15×distribute-rgt-in distribute-lft-in
13×fma-neg add-cbrt-cube
pow1
associate-*r/ distribute-lft-out-- difference-of-squares
associate-*l* div-inv add-log-exp
prod-exp associate-/r*
expm1-log1p-u flip3-- div-exp associate-/r/ frac-sub flip-- log1p-expm1-u unswap-sqr
sub-neg un-div-inv cbrt-unprod associate-/l*
cbrt-undiv rec-exp 1-exp pow-prod-down *-commutative
pow-flip frac-2neg diff-log clear-num inv-pow
Counts
4 → 185
Calls
4 calls:
11.0ms
(/ 1 (- 1.0 z))
21.0ms
(- (/ y z) (* t (/ 1 (- 1.0 z))))
30.0ms
(* t (/ 1 (- 1.0 z)))
53.0ms
(* x (- (/ y z) (* t (/ 1 (- 1.0 z)))))

series157.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ 1 (- 1.0 z))
41.0ms
(- (/ y z) (* t (/ 1 (- 1.0 z))))
35.0ms
(* t (/ 1 (- 1.0 z)))
57.0ms
(* x (- (/ y z) (* t (/ 1 (- 1.0 z)))))

simplify79.0ms

Algorithm
egg-herbie
Counts
197 → 197
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06261632
126971397
250011294

prune392.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ t (- 1.0 z))
0.1b
(fma y (/ 1 z) (- (/ t (- 1.0 z))))
5.6b
(* x (fma y (/ 1 z) (- (/ t (- 1.0 z)))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
23×*-un-lft-identity
15×add-cube-cbrt times-frac
add-exp-log add-cbrt-cube
pow1 associate-/r*
distribute-lft-out-- difference-of-squares
expm1-log1p-u associate-*r* associate-*l* fma-udef log1p-expm1-u associate-/l* add-log-exp
associate-/r/
cbrt-undiv distribute-rgt-in flip3-- frac-2neg distribute-lft-in div-exp pow-prod-down prod-exp clear-num *-commutative flip-- cbrt-unprod div-inv unswap-sqr
Counts
3 → 71
Calls
3 calls:
11.0ms
(/ t (- 1.0 z))
0.0ms
(fma y (/ 1 z) (- (/ t (- 1.0 z))))
7.0ms
(* x (fma y (/ 1 z) (- (/ t (- 1.0 z)))))

series147.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(/ t (- 1.0 z))
53.0ms
(fma y (/ 1 z) (- (/ t (- 1.0 z))))
58.0ms
(* x (fma y (/ 1 z) (- (/ t (- 1.0 z)))))

simplify37.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0303522
11110468
25001463

prune212.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ (* x y) z) (* x (- (/ t (- 1.0 z)))))
0.0b
(/ t (- 1.0 z))
2.9b
(* x (- (/ t (- 1.0 z))))
6.7b
(/ (* x y) z)

rewrite97.0ms

Algorithm
rewrite-expression-head
Rules
60×add-sqr-sqrt
58×*-un-lft-identity
51×times-frac
46×associate-*r*
38×add-cube-cbrt
21×distribute-lft-neg-in distribute-rgt-neg-in
13×add-exp-log add-cbrt-cube
10×distribute-lft-out-- difference-of-squares
associate-/r*
fma-def
pow1 associate-/r/ add-log-exp
div-inv
expm1-log1p-u log1p-expm1-u associate-/l*
cbrt-undiv flip3-- div-exp associate-*l* distribute-rgt-neg-out flip--
frac-2neg associate-*r/ prod-exp clear-num cbrt-unprod distribute-neg-frac
+-commutative neg-mul-1 flip3-+ unsub-neg pow-prod-down frac-add sum-log *-commutative flip-+ unswap-sqr
Counts
4 → 150
Calls
4 calls:
15.0ms
(+ (/ (* x y) z) (* x (- (/ t (- 1.0 z)))))
11.0ms
(/ t (- 1.0 z))
55.0ms
(* x (- (/ t (- 1.0 z))))
10.0ms
(/ (* x y) z)

series189.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(+ (/ (* x y) z) (* x (- (/ t (- 1.0 z)))))
34.0ms
(/ t (- 1.0 z))
63.0ms
(* x (- (/ t (- 1.0 z))))
21.0ms
(/ (* x y) z)

simplify76.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
0642851
13081795
25001792

prune367.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0b

regimes233.0ms

Accuracy

45.2% (3.1b remaining)

Error of 3.1b against oracle of 0.0b and baseline of 5.7b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03019
14019
24219
34419
44419

end0.0ms

sample620.0ms

Algorithm
intervals
Results
282.0ms10124×body80valid