Details

Time bar (total: 5.2s)

sample27.0ms

Algorithm
intervals
Results
13.0ms256×body80valid

simplify93.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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.5b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
2.3b
(+ (* (+ x y) z) (* (+ t y) a))
2.8b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
28.5b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite41.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)
6.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))

series795.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (+ x y) z)
45.0ms
(+ (* (+ x y) z) (* (+ t y) a))
135.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
591.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify68.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05231089
123081025
250011025

prune284.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

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ (+ x t) y))
2.3b
(+ (* (+ x y) z) (* (+ t y) a))
2.8b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
28.5b
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

rewrite50.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:
7.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)))

series788.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05621271
127681148
250021106

prune277.0ms

Filtered
130 candidates to 76 candidates (58.5%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1282130
Fresh279
Picked011
Done011
Total13011141

Merged error: 8.8b

Counts
141 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
2.3b
(+ (* (+ x y) z) (* (+ t y) a))
2.8b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
28.5b
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

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

series888.0ms

Counts
4 → 12
Calls
4 calls:
634.0ms
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
45.0ms
(+ (* (+ x y) z) (* (+ t y) a))
111.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
97.0ms
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

simplify96.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
07033190
133552979
250022861

prune355.0ms

Filtered
188 candidates to 96 candidates (51.1%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1862188
Fresh178
Picked101
Done022
Total18811199

Merged error: 4.7b

Counts
199 → 11

localize4.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune0.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New000
Fresh088
Picked011
Done022
Total01111

Merged error: 4.7b

Counts
11 → 11

regimes549.0ms

Accuracy

86.7% (3.2b remaining)

Error of 7.5b against oracle of 4.3b and baseline of 28.4b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03632
13632

end0.0ms

sample705.0ms

Algorithm
intervals
Results
431.0ms7999×body80valid
0.0msbody160valid