Details

Time bar (total: 7.4s)

sample36.0ms

Algorithm
intervals
Results
18.0ms256×body80valid

simplify100.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: 27.5b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.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
(* (+ t y) a)
9.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
7.0ms
(+ (* (+ x y) z) (* (+ t y) a))
18.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series743.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05201087
123081025
250031025

prune306.0ms

Filtered
102 candidates to 76 candidates (74.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New9210102
Fresh000
Picked101
Done000
Total9310103

Merged error: 9.1b

Counts
103 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
2.0b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
2.1b
(+ (* (+ x y) z) (* (+ t y) a))
25.7b
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

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

series810.0ms

Counts
4 → 12
Calls
4 calls:
570.0ms
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
96.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
47.0ms
(+ (* (+ x y) z) (* (+ t y) a))
97.0ms
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

simplify95.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
07033190
133552979
250022861

prune333.0ms

Filtered
188 candidates to 94 candidates (50.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1871188
Fresh189
Picked011
Done000
Total18810198

Merged error: 6.1b

Counts
198 → 10

localize25.0ms

Local error

Found 4 expressions with local error:

10.6b
(/ (* (cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))) (cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))) (* (cbrt (+ (+ x t) y)) (cbrt (+ (+ x t) y))))
26.5b
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
26.5b
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
26.5b
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
30×cbrt-div
16×add-exp-log
cbrt-prod flip3-- flip--
frac-times associate-/r/ add-cbrt-cube associate-/l/
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
flip3-+ flip-+
pow1 cbrt-undiv associate-*r/ div-exp associate-*l/ prod-exp cbrt-unprod add-log-exp
pow1/3
frac-2neg times-frac clear-num associate-/r* div-inv associate-/l*
Counts
4 → 76
Calls
4 calls:
33.0ms
(/ (* (cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))) (cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))) (* (cbrt (+ (+ x t) y)) (cbrt (+ (+ x t) y))))
9.0ms
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
9.0ms
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
9.0ms
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

series1.5s

Counts
4 → 12
Calls
4 calls:
612.0ms
(/ (* (cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))) (cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))) (* (cbrt (+ (+ x t) y)) (cbrt (+ (+ x t) y))))
294.0ms
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
290.0ms
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
304.0ms
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

simplify48.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
04251797
114151558
250021512

prune375.0ms

Filtered
88 candidates to 75 candidates (85.2%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New87188
Fresh088
Picked011
Done011
Total871198

Merged error: 6.1b

Counts
98 → 11

localize32.0ms

Local error

Found 4 expressions with local error:

26.5b
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
26.5b
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
26.5b
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
26.5b
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt cbrt-div *-un-lft-identity
pow1 add-exp-log flip3-- pow1/3 add-cbrt-cube flip-- add-log-exp
Counts
4 → 52
Calls
4 calls:
9.0ms
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
9.0ms
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
9.0ms
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
9.0ms
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

series1.2s

Counts
4 → 12
Calls
4 calls:
288.0ms
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
291.0ms
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
286.0ms
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
293.0ms
(cbrt (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

simplify57.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0157884
1462816
21970784
35001780

prune325.0ms

Filtered
64 candidates to 60 candidates (93.8%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New63164
Fresh088
Picked101
Done022
Total641175

Merged error: 6.1b

Counts
75 → 11

regimes515.0ms

Accuracy

85.4% (3.2b remaining)

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

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04133
14133

end0.0ms

sample606.0ms

Algorithm
intervals
Results
348.0ms7997×body80valid
0.0msbody1280valid
0.0msbody320valid