Details

Time bar (total: 6.4s)

sample27.0ms

Algorithm
intervals
Results
12.0ms256×body80valid

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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 24.7b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
1.6b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
2.2b
(+ (* (+ x y) z) (* (+ t y) a))
23.2b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite129.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:
10.0ms
(* (+ x y) z)
33.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
77.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series764.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (+ x y) z)
96.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
50.0ms
(+ (* (+ x y) z) (* (+ t y) a))
596.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify65.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05231089
123081025
250011025

prune324.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 7.9b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
1.6b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
2.2b
(+ (* (+ x y) z) (* (+ t y) a))
23.3b
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

rewrite187.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity
25×add-sqr-sqrt
24×associate-*r*
17×times-frac
16×add-cube-cbrt
15×add-exp-log
12×associate-*l/
11×add-cbrt-cube add-log-exp
10×distribute-lft-out
pow1
flip3-+ associate-*l* flip-+
prod-exp
frac-add unswap-sqr
flip3-- flip-- cbrt-unprod
frac-times diff-log div-exp pow-prod-down sum-log associate-/r/ *-commutative
cbrt-undiv +-commutative sub-neg rec-exp 1-exp associate-*r/ associate--l+ un-div-inv div-inv
Counts
4 → 98
Calls
4 calls:
10.0ms
(* (+ x y) z)
34.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
134.0ms
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

series756.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
06061129
129491025
250011005

prune313.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 7.9b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
1.6b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
2.2b
(+ (* (+ x y) z) (* (+ t y) a))
23.2b
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

rewrite164.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:
53.0ms
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
36.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
5.0ms
(+ (* (+ x y) z) (* (+ t y) a))
60.0ms
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

series984.0ms

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

simplify91.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
07033190
133552979
250022861

prune365.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 4.3b

localize16.0ms

Local error

Found 4 expressions with local error:

1.0b
(/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
1.6b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
2.2b
(+ (* (+ x y) z) (* (+ t y) a))
22.1b
(* (+ (+ x t) y) (/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))

rewrite183.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:
33.0ms
(/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
34.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
5.0ms
(+ (* (+ x y) z) (* (+ t y) a))
108.0ms
(* (+ (+ x t) y) (/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))

series287.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05701403
128571268
250031242

prune291.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 4.3b

regimes532.0ms

Accuracy

84.2% (3.5b remaining)

Error of 8.1b against oracle of 4.6b and baseline of 26.7b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04233
14233

end0.0ms

sample659.0ms

Algorithm
intervals
Results
368.0ms7994×body80valid
0.0msbody1280valid
0.0msbody640valid
0.0msbody320valid