Details

Time bar (total: 5.3s)

sample29.0ms

Algorithm
intervals
Results
14.0ms256×body80valid

simplify80.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 27.2b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
2.0b
(+ (* (+ x y) z) (* (+ t y) a))
2.1b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
25.5b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite42.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))
16.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series764.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (+ x y) z)
49.0ms
(+ (* (+ x y) z) (* (+ t y) a))
115.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
580.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify71.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05681186
125261087
250011076

prune367.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: 7.8b

Counts
118 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

0.8b
(fma x z (* z y))
2.0b
(+ (fma x z (* z y)) (* (+ t y) a))
2.1b
(- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b))
25.5b
(/ (- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite24.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:
1.0ms
(fma x z (* z y))
4.0ms
(+ (fma x z (* z y)) (* (+ t y) a))
6.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))

series429.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(fma x z (* z y))
52.0ms
(+ (fma x z (* z y)) (* (+ t y) a))
104.0ms
(- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b))
237.0ms
(/ (- (+ (fma x z (* z y)) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify61.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
03681067
11651987
25001975

prune285.0ms

Filtered
103 candidates to 76 candidates (73.8%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1021103
Fresh1910
Picked011
Done000
Total10311114

Merged error: 7.8b

Counts
114 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ t y) a)
1.3b
(fma (+ x y) z (* (+ t y) a))
7.5b
(/ (* y b) (+ (+ x t) y))
21.7b
(/ (/ (fma (+ x y) z (* (+ t y) a)) 1) (+ (+ x t) y))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
146×*-un-lft-identity
124×times-frac
66×add-sqr-sqrt
64×add-cube-cbrt
49×distribute-lft-out
18×add-exp-log
16×add-cbrt-cube
14×associate-/l*
10×associate-/r*
div-inv
div-exp
pow1
cbrt-undiv
expm1-log1p-u associate-*l* associate-/r/ log1p-expm1-u add-log-exp
flip3-+ associate-*r* flip-+
frac-2neg associate-*l/ prod-exp clear-num cbrt-unprod
1-exp pow-prod-down *-commutative fma-udef associate-/l/ unswap-sqr
Counts
4 → 165
Calls
4 calls:
6.0ms
(* (+ t y) a)
1.0ms
(fma (+ x y) z (* (+ t y) a))
8.0ms
(/ (* y b) (+ (+ x t) y))
11.0ms
(/ (/ (fma (+ x y) z (* (+ t y) a)) 1) (+ (+ x t) y))

series355.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (+ t y) a)
47.0ms
(fma (+ x y) z (* (+ t y) a))
71.0ms
(/ (* y b) (+ (+ x t) y))
216.0ms
(/ (/ (fma (+ x y) z (* (+ t y) a)) 1) (+ (+ x t) y))

simplify71.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05881846
125851673
250011572

prune355.0ms

Filtered
177 candidates to 96 candidates (54.2%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1734177
Fresh279
Picked101
Done011
Total17612188

Merged error: 3.9b

Counts
188 → 12

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ t y) a)
1.3b
(fma (+ x y) z (* (+ t y) a))
8.6b
(* y (/ b (+ (+ x t) y)))
21.7b
(/ (/ (fma (+ x y) z (* (+ t y) a)) 1) (+ (+ x t) y))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
159×*-un-lft-identity
135×times-frac
79×add-sqr-sqrt
72×add-cube-cbrt
52×distribute-lft-out
24×associate-*r*
18×add-exp-log
16×add-cbrt-cube
13×associate-/l*
pow1 div-inv
associate-*l*
div-exp
associate-/r*
cbrt-undiv expm1-log1p-u associate-/r/ log1p-expm1-u add-log-exp
flip3-+ prod-exp cbrt-unprod flip-+ unswap-sqr
pow-prod-down associate-*l/ *-commutative
frac-2neg 1-exp associate-*r/ clear-num fma-udef associate-/l/
Counts
4 → 178
Calls
4 calls:
6.0ms
(* (+ t y) a)
1.0ms
(fma (+ x y) z (* (+ t y) a))
12.0ms
(* y (/ b (+ (+ x t) y)))
11.0ms
(/ (/ (fma (+ x y) z (* (+ t y) a)) 1) (+ (+ x t) y))

series354.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (+ t y) a)
47.0ms
(fma (+ x y) z (* (+ t y) a))
71.0ms
(* y (/ b (+ (+ x t) y)))
212.0ms
(/ (/ (fma (+ x y) z (* (+ t y) a)) 1) (+ (+ x t) y))

simplify78.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06411911
127971739
250011638

prune367.0ms

Filtered
190 candidates to 104 candidates (54.7%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1882190
Fresh3710
Picked101
Done011
Total19210202

Merged error: 2.6b

Counts
202 → 10

regimes464.0ms

Accuracy

15.9% (18.1b remaining)

Error of 21.0b against oracle of 2.9b and baseline of 24.4b

bsearch200.0ms

Steps
ItersRangePoint
8
2.265916191991471e+141
4.965461357868195e+145
3.1135092197043987e+143
7
9.651847403853559e-204
2.3171891508789683e-201
9.590167992060039e-203
7
-6.839508133948694e-210
-1.7010959355894162e-211
-2.729197251649235e-211
10
-6.902909240076935e+103
-6.492537590380074e+92
-3.7659166463064465e+102

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04241
14241

end0.0ms

sample731.0ms

Algorithm
intervals
Results
453.0ms7997×body80valid
0.0msbody640valid
0.0msbody1280valid