Details

Time bar (total: 12.3s)

sample3.9s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 23.937988%

Results
14.0ms256×body80valid

simplify100.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03210
17110
218410
338110
468210
5110210
6212210
7433710
8500110

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 25.5b

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))
2.3b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
23.8b
(/ (- (+ (* (+ 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))
13.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
14.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series191.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (+ x y) z)
16.0ms
(+ (* (+ x y) z) (* (+ t y) a))
30.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
140.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify62.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05231089
123081025
250011025

prune170.0ms

Filtered
74 candidates to 102 candidates (-37.8%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New8913102
Fresh000
Picked011
Done000
Total8914103

Merged error: 7.8b

Counts
103 → 14

localize17.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))
2.3b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
23.8b
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
152×*-un-lft-identity
138×times-frac
72×add-sqr-sqrt add-cube-cbrt
48×distribute-lft-out
24×associate-/r*
17×add-exp-log
11×associate-/r/ add-cbrt-cube add-log-exp
div-exp associate-*l/ associate-/l*
flip3-- flip3-+ flip-- flip-+ div-inv
pow1
cbrt-undiv frac-add
rec-exp frac-2neg diff-log 1-exp clear-num sum-log associate-/l/
+-commutative sub-neg pow-flip associate--l+ inv-pow
Counts
4 → 176
Calls
4 calls:
16.0ms
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
9.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
14.0ms
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

series218.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
17.0ms
(+ (* (+ x y) z) (* (+ t y) a))
29.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
42.0ms
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

simplify91.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
07033188
133552977
250022859

prune163.0ms

Filtered
93 candidates to 188 candidates (-102.2%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1862188
Fresh3912
Picked101
Done011
Total19012202

Merged error: 3.7b

Counts
202 → 12

localize16.0ms

Local error

Found 4 expressions with local error:

0.8b
(/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
1.4b
(+ (* (+ x y) z) (* (+ t y) a))
2.3b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
23.0b
(* (+ (+ x t) y) (/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
26×*-un-lft-identity
20×add-cube-cbrt times-frac
17×add-exp-log
15×associate-*r*
11×add-cbrt-cube add-log-exp
10×associate-*l/
pow1 flip3-+ flip-+
associate-*l*
div-exp frac-add prod-exp associate-/r/
flip3-- associate-/r* flip-- distribute-lft-out 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 → 106
Calls
4 calls:
10.0ms
(/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
7.0ms
(+ (* (+ x y) z) (* (+ t y) a))
9.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
21.0ms
(* (+ (+ x t) y) (/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))

series112.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
16.0ms
(+ (* (+ x y) z) (* (+ t y) a))
31.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
38.0ms
(* (+ (+ x t) y) (/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))

simplify75.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05701401
128571266
250031240

prune149.0ms

Filtered
78 candidates to 118 candidates (-51.3%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1180118
Fresh01010
Picked011
Done011
Total11812130

Merged error: 3.7b

Counts
130 → 12

localize19.0ms

Local error

Found 4 expressions with local error:

7.9b
(* (* (cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))) (cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))) (/ (cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))) (+ (+ x t) y)))
24.6b
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
24.6b
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
24.6b
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity
36×associate-*r*
32×times-frac
30×cbrt-div
29×add-sqr-sqrt
25×cbrt-prod
24×add-cube-cbrt
18×distribute-lft-out
16×add-exp-log frac-times
15×flip3-- flip--
12×associate-*l/
10×add-cbrt-cube
pow1
prod-exp cbrt-unprod
associate-*r/
add-log-exp
pow1/3 pow-prod-down unswap-sqr
cbrt-undiv div-exp associate-/r/
flip3-+ associate-*l* *-commutative flip-+ div-inv
Counts
4 → 114
Calls
4 calls:
39.0ms
(* (* (cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))) (cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))) (/ (cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))) (+ (+ x t) y)))
9.0ms
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
8.0ms
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
8.0ms
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

series482.0ms

Counts
4 → 12
Calls
4 calls:
134.0ms
(* (* (cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))) (cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))) (/ (cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))) (+ (+ x t) y)))
115.0ms
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
116.0ms
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
116.0ms
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

simplify75.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05913388
123993077
250012930

prune117.0ms

Filtered
90 candidates to 126 candidates (-40.0%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New1260126
Fresh099
Picked011
Done022
Total12612138

Merged error: 3.7b

Counts
138 → 12

regimes1.1s

Accuracy

85.5% (3.2b remaining)

Error of 7.8b against oracle of 4.6b and baseline of 26.9b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03632
13632

end0.0ms

sample4.9s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 23.937988%

Results
449.0ms7998×body80valid
0.0msbody160valid

Profiling

Loading profile data...