Details

Time bar (total: 7.0s)

sample26.0ms

Algorithm
intervals
Results
12.0ms256×body80valid

simplify109.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03210
17110
218410
338110
468210
5110210
6212210
7433710
8500110

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 26.0b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
1.4b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
1.5b
(+ (* (+ x y) z) (* (+ t y) a))
24.4b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite128.0ms

Algorithm
rewrite-expression-head
Rules
684×*-un-lft-identity
304×distribute-lft-out
254×associate-*l*
140×distribute-lft-out--
125×times-frac
75×add-sqr-sqrt
38×add-cube-cbrt
25×associate-/l*
14×difference-of-squares
11×add-log-exp
10×associate-*l/
add-exp-log add-cbrt-cube unswap-sqr
flip3-+ flip-+
pow1
associate-/r*
frac-add
associate-*r*
+-commutative flip3-- diff-log associate--l+ sum-log associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg div-sub div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv
Counts
4 → 254
Calls
4 calls:
9.0ms
(* (+ x y) z)
30.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
19.0ms
(+ (* (+ x y) z) (* (+ t y) a))
48.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series860.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* (+ x y) z)
108.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
49.0ms
(+ (* (+ x y) z) (* (+ t y) a))
673.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify93.0ms

Algorithm
egg-herbie
Counts
266 → 266
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
05593069
123283005
250013005

prune296.0ms

Filtered
266 candidates to 85 candidates (68.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New25610266
Fresh000
Picked101
Done000
Total25710267

Merged error: 5.8b

Counts
267 → 10

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
1.4b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
1.5b
(+ (* (+ x y) z) (* (+ t y) a))
24.4b
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

rewrite264.0ms

Algorithm
rewrite-expression-head
Rules
2919×*-un-lft-identity
1239×distribute-lft-out
1018×times-frac
964×associate-*l*
560×distribute-lft-out--
434×add-sqr-sqrt
294×add-cube-cbrt
181×associate-/r*
56×difference-of-squares
45×associate-/r/
28×unswap-sqr
17×add-exp-log
16×associate-/l*
11×add-cbrt-cube add-log-exp
div-exp associate-*l/
flip3-+ flip-+
flip3-- flip-- div-inv
pow1
cbrt-undiv frac-add clear-num associate-/l/ remove-double-div
frac-2neg
+-commutative rec-exp diff-log 1-exp associate--l+ sum-log
sub-neg pow-flip inv-pow
Counts
4 → 818
Calls
4 calls:
66.0ms
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
33.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
19.0ms
(+ (* (+ x y) z) (* (+ t y) a))
41.0ms
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

series946.0ms

Counts
4 → 12
Calls
4 calls:
662.0ms
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
111.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
50.0ms
(+ (* (+ x y) z) (* (+ t y) a))
123.0ms
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

simplify201.0ms

Algorithm
egg-herbie
Counts
830 → 830
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
082911087
1405810434
250019772

prune402.0ms

Filtered
830 candidates to 125 candidates (84.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New8273830
Fresh369
Picked011
Done000
Total83010840

Merged error: 3.6b

Counts
840 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ (+ x t) y))
1.4b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
1.5b
(+ (* (+ x y) z) (* (+ t y) a))
24.4b
(* (/ 1 (+ (+ x t) y)) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

rewrite124.0ms

Algorithm
rewrite-expression-head
Rules
245×*-un-lft-identity
105×distribute-lft-out
101×associate-*l*
47×add-sqr-sqrt
40×distribute-lft-out--
32×times-frac
30×add-cube-cbrt
25×associate-*r*
22×frac-times
20×associate-/r*
19×associate-*l/
17×add-exp-log
13×flip3-- flip--
12×associate-/l*
11×add-cbrt-cube add-log-exp
pow1 flip3-+ flip-+
associate--l+
unswap-sqr
+-commutative distribute-rgt-in frac-2neg distribute-lft-in div-exp frac-add prod-exp clear-num associate-/r/ difference-of-squares
sub-neg
cbrt-undiv rec-exp diff-log 1-exp associate-*r/ sum-log cbrt-unprod div-inv
pow-flip pow-prod-down *-commutative inv-pow
Counts
4 → 209
Calls
4 calls:
7.0ms
(/ 1 (+ (+ x t) y))
33.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
18.0ms
(+ (* (+ x y) z) (* (+ t y) a))
56.0ms
(* (/ 1 (+ (+ x t) y)) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

series865.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(/ 1 (+ (+ x t) y))
113.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
48.0ms
(+ (* (+ x y) z) (* (+ t y) a))
647.0ms
(* (/ 1 (+ (+ x t) y)) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

simplify124.0ms

Algorithm
egg-herbie
Counts
221 → 221
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
07972430
140412281
250012227

prune313.0ms

Filtered
221 candidates to 98 candidates (55.7%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New2201221
Fresh178
Picked011
Done011
Total22110231

Merged error: 3.6b

Counts
231 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
0.4b
(- (* (+ x y) z) (* y b))
14.3b
(/ (* a (+ t y)) (+ (+ x t) y))
16.4b
(/ (- (* (+ x y) z) (* y b)) (+ (+ x t) y))

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
310×*-un-lft-identity
156×add-sqr-sqrt
130×times-frac
105×distribute-lft-out
71×associate-*l*
58×add-cube-cbrt
42×distribute-lft-out--
35×unswap-sqr
28×difference-of-squares
27×associate-*r*
26×associate-/l*
13×add-exp-log add-cbrt-cube
10×associate-/r*
*-commutative
pow1 add-log-exp
flip3-+ associate-/r/ flip-+ associate-/l/
cbrt-undiv div-exp
flip3-- frac-2neg associate-*r/ associate-*l/ prod-exp clear-num flip-- cbrt-unprod div-inv
sub-neg diff-log div-sub pow-prod-down
Counts
4 → 244
Calls
4 calls:
6.0ms
(* (+ x y) z)
16.0ms
(- (* (+ x y) z) (* y b))
21.0ms
(/ (* a (+ t y)) (+ (+ x t) y))
25.0ms
(/ (- (* (+ x y) z) (* y b)) (+ (+ x t) y))

series337.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(* (+ x y) z)
33.0ms
(- (* (+ x y) z) (* y b))
65.0ms
(/ (* a (+ t y)) (+ (+ x t) y))
209.0ms
(/ (- (* (+ x y) z) (* y b)) (+ (+ x t) y))

simplify104.0ms

Algorithm
egg-herbie
Counts
256 → 256
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
07022388
129912307
250032307

prune410.0ms

Filtered
256 candidates to 131 candidates (48.8%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New2515256
Fresh257
Picked101
Done022
Total25412266

Merged error: 2.1b

Counts
266 → 12

regimes477.0ms

Accuracy

41.5% (9.2b remaining)

Error of 12.6b against oracle of 3.3b and baseline of 19.1b

bsearch122.0ms

Steps
ItersRangePoint
9
3.637078954097819e+62
2.970289645651054e+69
2.6574689117362167e+63
9
-2.3839202753352175e+214
-1.8812003113546087e+207
-1.9701480721904167e+207

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04116
14516
24516

end0.0ms

sample654.0ms

Algorithm
intervals
Results
373.0ms7997×body80valid
0.0msbody640valid
0.0msbody1280valid