Details

Time bar (total: 9.5s)

sample26.0ms

Algorithm
intervals
Results
12.0ms256×body80valid

simplify103.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03210
17110
218410
338110
468210
5110210
6212210
7433710
8500110

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))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
18×add-sqr-sqrt
16×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*
associate-*l* frac-add
associate-*r* associate-/l*
flip3-- diff-log sum-log associate-/r/ flip-- associate-/l/
cbrt-undiv +-commutative sub-neg frac-2neg div-sub div-exp pow-prod-down prod-exp associate--l+ clear-num *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 90
Calls
4 calls:
6.0ms
(* (+ x y) z)
7.0ms
(+ (* (+ x y) z) (* (+ t y) a))
9.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
17.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series720.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (+ x y) z)
44.0ms
(+ (* (+ x y) z) (* (+ t y) a))
92.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
561.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify63.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05231089
123081025
250011025

prune280.0ms

Filtered
102 candidates to 74 candidates (72.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New9111102
Fresh000
Picked101
Done000
Total9211103

Merged error: 9.1b

Counts
103 → 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)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
60×*-un-lft-identity
32×times-frac
31×add-sqr-sqrt
24×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*
div-exp frac-add prod-exp associate-/r/
flip3-- associate-*l* 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 frac-2neg associate-*r/ pow-prod-down associate--l+ clear-num un-div-inv *-commutative inv-pow
Counts
4 → 118
Calls
4 calls:
9.0ms
(/ 1 (+ (+ x t) y))
7.0ms
(+ (* (+ x y) z) (* (+ t y) a))
9.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
20.0ms
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

series792.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(/ 1 (+ (+ x t) y))
45.0ms
(+ (* (+ x y) z) (* (+ t y) a))
94.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
598.0ms
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

simplify76.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05621271
127681148
250021106

prune295.0ms

Filtered
130 candidates to 77 candidates (59.2%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1282130
Fresh1910
Picked011
Done000
Total12912141

Merged error: 9.1b

Counts
141 → 12

localize18.0ms

Local error

Found 4 expressions with local error:

0.9b
(+ (* (+ x y) z) (* (+ t y) a))
2.9b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
9.2b
(/ (/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (* (cbrt (+ (+ x t) y)) (cbrt (+ (+ x t) y)))) (cbrt (+ (+ x t) y)))
19.7b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (* (cbrt (+ (+ x t) y)) (cbrt (+ (+ x t) y))))

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
150×times-frac
136×*-un-lft-identity
122×cbrt-div
82×associate-/r/
80×cbrt-prod
66×flip3-+ flip-+
56×add-sqr-sqrt add-cube-cbrt
48×distribute-lft-out
40×frac-times
28×associate-*l/
20×associate-*r/
18×add-exp-log associate-/l*
11×add-cbrt-cube div-inv add-log-exp
associate-/r*
cbrt-undiv div-exp
pow1 frac-add
div-sub associate-/l/
flip3-- frac-2neg diff-log prod-exp clear-num sum-log flip-- cbrt-unprod
+-commutative sub-neg associate--l+
Counts
4 → 224
Calls
4 calls:
7.0ms
(+ (* (+ x y) z) (* (+ t y) a))
9.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
32.0ms
(/ (/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (* (cbrt (+ (+ x t) y)) (cbrt (+ (+ x t) y)))) (cbrt (+ (+ x t) y)))
23.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (* (cbrt (+ (+ x t) y)) (cbrt (+ (+ x t) y))))

series3.8s

Counts
4 → 12
Calls
4 calls:
46.0ms
(+ (* (+ x y) z) (* (+ t y) a))
99.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
729.0ms
(/ (/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (* (cbrt (+ (+ x t) y)) (cbrt (+ (+ x t) y)))) (cbrt (+ (+ x t) y)))
2.9s
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (* (cbrt (+ (+ x t) y)) (cbrt (+ (+ x t) y))))

simplify141.0ms

Algorithm
egg-herbie
Counts
236 → 236
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
011086213
147395954
250035898

prune801.0ms

Filtered
236 candidates to 160 candidates (67.8%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New2342236
Fresh01010
Picked011
Done011
Total23414248

Merged error: 6.7b

Counts
248 → 14

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
0.9b
(+ (* (+ x y) z) (* (+ t y) a))
5.3b
(/ b (/ (+ (+ x t) y) y))
26.7b
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
154×*-un-lft-identity
132×times-frac
74×add-sqr-sqrt
72×add-cube-cbrt
49×distribute-lft-out
24×associate-/r*
18×associate-*l/
13×add-exp-log add-cbrt-cube
12×flip3-+ flip-+
frac-add
pow1 div-inv associate-/l/ associate-/l* add-log-exp
cbrt-undiv div-exp associate-*l*
associate-*r* associate-/r/
frac-2neg clear-num
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
4 → 173
Calls
4 calls:
6.0ms
(* (+ x y) z)
7.0ms
(+ (* (+ x y) z) (* (+ t y) a))
10.0ms
(/ b (/ (+ (+ x t) y) y))
18.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

series332.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (+ x y) z)
46.0ms
(+ (* (+ x y) z) (* (+ t y) a))
45.0ms
(/ b (/ (+ (+ x t) y) y))
216.0ms
(/ (+ (* (+ x y) z) (* (+ t y) a)) (+ (+ x t) y))

simplify84.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
07421674
133491591
250011590

prune438.0ms

Filtered
185 candidates to 124 candidates (67.0%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1814185
Fresh4711
Picked101
Done112
Total18712199

Merged error: 4.1b

Counts
199 → 12

regimes618.0ms

Accuracy

51.2% (10.3b remaining)

Error of 13.5b against oracle of 3.1b and baseline of 24.3b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03849
13849

end0.0ms

sample667.0ms

Algorithm
intervals
Results
397.0ms7999×body80valid
0.0msbody1280valid