Details

Time bar (total: 5.5s)

sample29.0ms

Algorithm
intervals
Results
14.0ms256×body80valid

simplify79.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03310
17910
221010
348310
491010
5151610
6281810
7500110

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

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
20×add-sqr-sqrt
18×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*
expm1-log1p-u associate-*l* frac-add log1p-expm1-u
fma-neg associate-*r* prod-diff associate-/l*
flip3-- diff-log sum-log associate-/r/ flip-- associate-/l/
cbrt-undiv +-commutative sub-neg fma-def frac-2neg div-sub div-exp pow-prod-down prod-exp associate--l+ clear-num *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 105
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))
15.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series922.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (+ x y) z)
46.0ms
(+ (* (+ x y) z) (* (+ t y) a))
97.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
759.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify81.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
05681186
125261087
250011076

prune348.0ms

Filtered
117 candidates to 93 candidates (79.5%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New10710117
Fresh000
Picked011
Done000
Total10711118

Merged error: 8.8b

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
62×*-un-lft-identity
33×add-sqr-sqrt
32×times-frac
26×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*
expm1-log1p-u div-exp frac-add prod-exp associate-/r/ log1p-expm1-u
flip3-- fma-neg associate-*l* prod-diff 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 fma-def frac-2neg associate-*r/ pow-prod-down associate--l+ clear-num un-div-inv *-commutative inv-pow
Counts
4 → 133
Calls
4 calls:
7.0ms
(/ 1 (+ (+ x t) y))
7.0ms
(+ (* (+ x y) z) (* (+ t y) a))
10.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
20.0ms
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

series771.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
06061370
129541192
250011143

prune363.0ms

Filtered
145 candidates to 94 candidates (64.8%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1432145
Fresh279
Picked011
Done011
Total14511156

Merged error: 8.8b

Counts
156 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
150×*-un-lft-identity
132×times-frac
70×add-sqr-sqrt add-cube-cbrt
48×distribute-lft-out
22×associate-/r*
17×add-exp-log
11×add-cbrt-cube
div-exp associate-/l*
div-inv add-log-exp
pow1
cbrt-undiv expm1-log1p-u log1p-expm1-u
rec-exp frac-2neg 1-exp clear-num associate-/l/
sub-neg flip3-- pow-flip flip3-+ fma-neg diff-log prod-diff associate-/r/ flip-- flip-+ fma-udef inv-pow
Counts
4 → 167
Calls
4 calls:
10.0ms
(/ 1 (/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b)))))
6.0ms
(- (* (+ t y) a) (* y b))
1.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
8.0ms
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

series865.0ms

Counts
4 → 12
Calls
4 calls:
583.0ms
(/ 1 (/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b)))))
28.0ms
(- (* (+ t y) a) (* y b))
112.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
142.0ms
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

simplify74.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04962605
122282401
250022286

prune331.0ms

Filtered
179 candidates to 93 candidates (52.0%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New1763179
Fresh268
Picked011
Done022
Total17812190

Merged error: 4.6b

Counts
190 → 12

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

12 alts after pruning (8 fresh and 4 done)

PrunedKeptTotal
New000
Fresh088
Picked011
Done033
Total01212

Merged error: 4.6b

Counts
12 → 12

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

sample765.0ms

Algorithm
intervals
Results
462.0ms7999×body80valid
0.0msbody160valid