Details

Time bar (total: 15.6s)

sample29.0ms

Algorithm
intervals
Results
15.0ms256×body80valid

simplify69.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03310
17910
221010
348310
491010
5151610
6281810
7500110

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.9b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
0.9b
(+ (* (+ x y) z) (* (+ t y) a))
2.9b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
29.0b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
20×add-sqr-sqrt
18×add-cube-cbrt
15×times-frac
13×distribute-lft-out
11×add-log-exp
10×associate-*l/
add-exp-log add-cbrt-cube
flip3-+ flip-+
pow1
associate-/r*
expm1-log1p-u associate-*l* frac-add log1p-expm1-u
fma-neg associate-*r* prod-diff associate-/l*
flip3-- diff-log sum-log associate-/r/ flip-- associate-/l/
cbrt-undiv +-commutative sub-neg fma-def frac-2neg div-sub div-exp pow-prod-down prod-exp associate--l+ clear-num *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 105
Calls
4 calls:
6.0ms
(* (+ x y) z)
7.0ms
(+ (* (+ x y) z) (* (+ t y) a))
10.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
15.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series755.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (+ x y) z)
51.0ms
(+ (* (+ x y) z) (* (+ t y) a))
98.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
585.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify70.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05681186
125261087
250011076

prune372.0ms

Filtered
117 candidates to 93 candidates (79.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New10611117
Fresh000
Picked101
Done000
Total10711118

Merged error: 9.1b

Counts
118 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

0.9b
(+ (fma x z (* z y)) (* (+ t y) a))
1.0b
(fma x z (* z y))
2.9b
(- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b))
29.0b
(/ (- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
17×add-sqr-sqrt add-cube-cbrt
15×times-frac
12×distribute-lft-out
11×add-log-exp
add-exp-log add-cbrt-cube
associate-/r*
pow1 expm1-log1p-u log1p-expm1-u
fma-def fma-neg prod-diff associate-/l*
flip3-- flip3-+ diff-log sum-log associate-/r/ flip-- flip-+ fma-udef associate-/l/
cbrt-undiv +-commutative sub-neg associate-+l+ frac-2neg div-sub div-exp associate--l+ clear-num div-inv
Counts
4 → 91
Calls
4 calls:
4.0ms
(+ (fma x z (* z y)) (* (+ t y) a))
1.0ms
(fma x z (* z y))
5.0ms
(- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b))
11.0ms
(/ (- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series426.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(+ (fma x z (* z y)) (* (+ t y) a))
31.0ms
(fma x z (* z y))
104.0ms
(- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b))
234.0ms
(/ (- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify51.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
03681067
11651987
25001975

prune290.0ms

Filtered
103 candidates to 77 candidates (74.8%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1030103
Fresh01010
Picked011
Done000
Total10311114

Merged error: 9.1b

Counts
114 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ (+ x t) y))
0.9b
(+ (* (+ x y) z) (* (+ t y) a))
2.9b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
29.1b
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
62×*-un-lft-identity
33×add-sqr-sqrt
32×times-frac
26×add-cube-cbrt
21×associate-*r* distribute-lft-out
17×add-exp-log
11×add-cbrt-cube add-log-exp
10×associate-*l/
pow1 flip3-+ flip-+
associate-/r*
expm1-log1p-u div-exp frac-add prod-exp associate-/r/ log1p-expm1-u
flip3-- fma-neg associate-*l* prod-diff flip-- associate-/l* unswap-sqr
cbrt-undiv frac-times rec-exp diff-log 1-exp sum-log cbrt-unprod div-inv
+-commutative sub-neg pow-flip fma-def frac-2neg associate-*r/ pow-prod-down associate--l+ clear-num un-div-inv *-commutative inv-pow
Counts
4 → 133
Calls
4 calls:
7.0ms
(/ 1 (+ (+ x t) y))
7.0ms
(+ (* (+ x y) z) (* (+ t y) a))
10.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
19.0ms
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

series797.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(/ 1 (+ (+ x t) y))
51.0ms
(+ (* (+ x y) z) (* (+ t y) a))
100.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
589.0ms
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

simplify77.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06061370
129541192
250011143

prune350.0ms

Filtered
145 candidates to 94 candidates (64.8%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1441145
Fresh099
Picked011
Done011
Total14412156

Merged error: 9.1b

Counts
156 → 12

localize17.0ms

Local error

Found 4 expressions with local error:

1.8b
(- (* (+ t y) a) (* y b))
9.2b
(/ (/ (/ (fma z (+ x y) (- (* (+ t y) a) (* y b))) (cbrt (+ (+ x t) y))) (cbrt (+ (+ x t) y))) (cbrt (+ (+ x t) y)))
9.4b
(/ (/ (fma z (+ x y) (- (* (+ t y) a) (* y b))) (cbrt (+ (+ x t) y))) (cbrt (+ (+ x t) y)))
10.2b
(/ (fma z (+ x y) (- (* (+ t y) a) (* y b))) (cbrt (+ (+ x t) y)))

rewrite463.0ms

Algorithm
rewrite-expression-head
Rules
6336×times-frac
6316×*-un-lft-identity
3975×cbrt-prod
2385×distribute-lft-out
2341×add-sqr-sqrt add-cube-cbrt
279×associate-/l*
186×cbrt-div associate-/r/
93×flip3-+ flip-+ div-inv
24×associate-/r*
20×add-exp-log
10×cbrt-undiv div-exp add-cbrt-cube
add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
frac-2neg clear-num
associate-/l/
sub-neg flip3-- fma-neg diff-log prod-diff flip--
Counts
4 → 2607
Calls
4 calls:
6.0ms
(- (* (+ t y) a) (* y b))
92.0ms
(/ (/ (/ (fma z (+ x y) (- (* (+ t y) a) (* y b))) (cbrt (+ (+ x t) y))) (cbrt (+ (+ x t) y))) (cbrt (+ (+ x t) y)))
21.0ms
(/ (/ (fma z (+ x y) (- (* (+ t y) a) (* y b))) (cbrt (+ (+ x t) y))) (cbrt (+ (+ x t) y)))
8.0ms
(/ (fma z (+ x y) (- (* (+ t y) a) (* y b))) (cbrt (+ (+ x t) y)))

series3.8s

Counts
4 → 12
Calls
4 calls:
33.0ms
(- (* (+ t y) a) (* y b))
437.0ms
(/ (/ (/ (fma z (+ x y) (- (* (+ t y) a) (* y b))) (cbrt (+ (+ x t) y))) (cbrt (+ (+ x t) y))) (cbrt (+ (+ x t) y)))
2.0s
(/ (/ (fma z (+ x y) (- (* (+ t y) a) (* y b))) (cbrt (+ (+ x t) y))) (cbrt (+ (+ x t) y)))
1.4s
(/ (fma z (+ x y) (- (* (+ t y) a) (* y b))) (cbrt (+ (+ x t) y)))

simplify779.0ms

Algorithm
egg-herbie
Counts
2619 → 2619
Iterations

Useful iterations: 1 (72.0ms)

IterNodesCost
0375192785
1500192145

prune5.8s

Filtered
2619 candidates to 1200 candidates (45.8%)
Pruning

15 alts after pruning (12 fresh and 3 done)

PrunedKeptTotal
New261632619
Fresh099
Picked011
Done022
Total2616152631

Merged error: 9.1b

Counts
2631 → 15

regimes597.0ms

Accuracy

47.8% (9.5b remaining)

Error of 17.9b against oracle of 8.4b and baseline of 26.6b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03730
13730

end0.0ms

sample638.0ms

Algorithm
intervals
Results
381.0ms7999×body80valid
0.0msbody1280valid