Details

Time bar (total: 5.5s)

sample25.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify70.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03310
17910
221010
348310
491010
5151610
6281810
7500110

prune6.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: 26.5b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
1.7b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
2.5b
(+ (* (+ x y) z) (* (+ t y) a))
24.8b
(/ (- (+ (* (+ 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)
10.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
7.0ms
(+ (* (+ x y) z) (* (+ t y) a))
15.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series778.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (+ x y) z)
99.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
54.0ms
(+ (* (+ x y) z) (* (+ t y) a))
604.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify72.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05681186
125261087
250031076

prune397.0ms

Filtered
117 candidates to 93 candidates (79.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New10512117
Fresh000
Picked101
Done000
Total10612118

Merged error: 9.0b

Counts
118 → 12

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(fma x z (* z y))
1.7b
(- (+ (* 1 (fma x z (* z y))) (* (+ t y) a)) (* y b))
2.5b
(+ (* 1 (fma x z (* z y))) (* (+ t y) a))
24.8b
(/ (- (+ (* 1 (fma x z (* z y))) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
36×*-un-lft-identity
16×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-neg prod-diff fma-udef associate-/l*
associate-+l+ flip3-- flip3-+ diff-log sum-log associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative distribute-rgt-in sub-neg fma-def frac-2neg distribute-lft-in div-sub div-exp associate--l+ clear-num div-inv
Counts
4 → 90
Calls
4 calls:
1.0ms
(fma x z (* z y))
6.0ms
(- (+ (* 1 (fma x z (* z y))) (* (+ t y) a)) (* y b))
4.0ms
(+ (* 1 (fma x z (* z y))) (* (+ t y) a))
11.0ms
(/ (- (+ (* 1 (fma x z (* z y))) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series411.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(fma x z (* z y))
104.0ms
(- (+ (* 1 (fma x z (* z y))) (* (+ t y) a)) (* y b))
49.0ms
(+ (* 1 (fma x z (* z y))) (* (+ t y) a))
229.0ms
(/ (- (+ (* 1 (fma x z (* z y))) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify55.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
03981160
118311052
250011028

prune387.0ms

Filtered
102 candidates to 75 candidates (73.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New993102
Fresh4711
Picked101
Done000
Total10410114

Merged error: 9.0b

Counts
114 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(fma x z (* z y))
1.3b
(- (* (+ t y) a) (* y b))
2.7b
(+ (fma x z (* z y)) (- (* (+ t y) a) (* y b)))
24.8b
(/ (+ (+ x t) y) (+ (fma x z (* z y)) (- (* (+ t y) a) (* y b))))

rewrite33.0ms

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

series265.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(fma x z (* z y))
29.0ms
(- (* (+ t y) a) (* y b))
101.0ms
(+ (fma x z (* z y)) (- (* (+ t y) a) (* y b)))
100.0ms
(/ (+ (+ x t) y) (+ (fma x z (* z y)) (- (* (+ t y) a) (* y b))))

simplify51.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03351086
114601023
250021010

prune338.0ms

Filtered
108 candidates to 77 candidates (71.3%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1053108
Fresh189
Picked011
Done000
Total10612118

Merged error: 9.0b

Counts
118 → 12

localize30.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ (+ x t) y))
1.7b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
2.5b
(+ (* (+ x y) z) (* (+ t y) a))
24.8b
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

rewrite51.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))
10.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
7.0ms
(+ (* (+ x y) z) (* (+ t y) a))
22.0ms
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

series800.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(/ 1 (+ (+ x t) y))
97.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
53.0ms
(+ (* (+ x y) z) (* (+ t y) a))
593.0ms
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

simplify78.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06061370
129541192
250011143

prune358.0ms

Filtered
145 candidates to 95 candidates (65.5%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1432145
Fresh2810
Picked011
Done011
Total14512157

Merged error: 9.0b

Counts
157 → 12

regimes438.0ms

Accuracy

11.7% (15.9b remaining)

Error of 24.5b against oracle of 8.5b and baseline of 26.6b

bsearch151.0ms

Steps
ItersRangePoint
9
1.3162785925840912e+227
9.437977601653335e+232
1.3343332095766483e+227
5
-4.961076293749726e+105
-1.6602378069308091e+105
-2.607767836228133e+105
6
-1.972394196766702e+125
-3.3547147040715454e+124
-9.285471348708677e+124
10
-3.3206432797516923e+212
-7.001826016169787e+195
-7.128374583617386e+195

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04211
14211

end0.0ms

sample633.0ms

Algorithm
intervals
Results
364.0ms7999×body80valid
0.0msbody320valid