Details

Time bar (total: 4.8s)

sample25.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify114.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03210
17110
218410
338110
468210
5110210
6212210
7433710
8500110

prune5.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.2b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite65.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)
11.0ms
(+ (* (+ x y) z) (* (+ t y) a))
16.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
29.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series863.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (+ x y) z)
71.0ms
(+ (* (+ x y) z) (* (+ t y) a))
100.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
667.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify86.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
05231089
123081025
250011025

prune313.0ms

Filtered
102 candidates to 74 candidates (72.5%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New9210102
Fresh000
Picked011
Done000
Total9211103

Merged error: 8.8b

Counts
103 → 11

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

rewrite98.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:
29.0ms
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
11.0ms
(+ (* (+ x y) z) (* (+ t y) a))
16.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
25.0ms
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

series874.0ms

Counts
4 → 12
Calls
4 calls:
631.0ms
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
46.0ms
(+ (* (+ x y) z) (* (+ t y) a))
98.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
98.0ms
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

simplify106.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
07033190
133552979
250022861

prune342.0ms

Filtered
188 candidates to 95 candidates (50.5%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1871188
Fresh189
Picked011
Done011
Total18811199

Merged error: 6.0b

Counts
199 → 11

localize4.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune20.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New000
Fresh088
Picked011
Done022
Total01111

Merged error: 6.0b

Counts
11 → 11

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* a (+ t y))
1.8b
(+ (* a (+ t y)) (* z y))
2.0b
(- (+ (* a (+ t y)) (* z y)) (* y b))
20.6b
(/ (- (+ (* a (+ t y)) (* z y)) (* y b)) (+ (+ x t) y))

rewrite36.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
add-exp-log add-cbrt-cube
pow1
associate-/r*
associate-*r*
flip3-+ associate-*l* flip-+ associate-/l*
distribute-rgt-in associate-+l+ flip3-- distribute-lft-in diff-log associate-*r/ 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
(* a (+ t y))
6.0ms
(+ (* a (+ t y)) (* z y))
8.0ms
(- (+ (* a (+ t y)) (* z y)) (* y b))
14.0ms
(/ (- (+ (* a (+ t y)) (* z y)) (* y b)) (+ (+ x t) y))

series278.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* a (+ t y))
29.0ms
(+ (* a (+ t y)) (* z y))
57.0ms
(- (+ (* a (+ t y)) (* z y)) (* y b))
167.0ms
(/ (- (+ (* a (+ t y)) (* z y)) (* y b)) (+ (+ x t) y))

simplify58.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0431909
11872842
25001837

prune213.0ms

Filtered
102 candidates to 69 candidates (67.6%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New993102
Fresh167
Picked101
Done033
Total10112113

Merged error: 6.0b

Counts
113 → 12

regimes598.0ms

Accuracy

84.2% (3.4b remaining)

Error of 7.4b against oracle of 4.0b and baseline of 25.9b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03632
13632

end0.0ms

sample614.0ms

Algorithm
intervals
Results
357.0ms7995×body80valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid