Details

Time bar (total: 6.9s)

sample30.0ms

Algorithm
intervals
Results
13.0ms256×body80valid

simplify98.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.5b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ t y) a)
1.6b
(+ (* (+ x y) z) (* (+ t y) a))
1.7b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
22.8b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite287.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:
20.0ms
(* (+ t y) a)
14.0ms
(+ (* (+ x y) z) (* (+ t y) a))
74.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
176.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series693.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (+ t y) a)
42.0ms
(+ (* (+ x y) z) (* (+ t y) a))
90.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
542.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify64.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05201087
123081025
250031025

prune304.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 8.1b

localize19.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))
1.7b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
22.9b
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

rewrite327.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:
109.0ms
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
14.0ms
(+ (* (+ x y) z) (* (+ t y) a))
71.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
125.0ms
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

series758.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
07033190
133552979
250022861

prune365.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 4.5b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ (+ x t) y))
1.6b
(+ (* (+ x y) z) (* (+ t y) a))
1.7b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
22.9b
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

rewrite388.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:
35.0ms
(/ 1 (+ (+ x t) y))
14.0ms
(+ (* (+ x y) z) (* (+ t y) a))
71.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
263.0ms
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

series714.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(/ 1 (+ (+ x t) y))
41.0ms
(+ (* (+ x y) z) (* (+ t y) a))
88.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
534.0ms
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

simplify69.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05621271
127681148
250021106

prune288.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 4.5b

localize15.0ms

Local error

Found 4 expressions with local error:

0.9b
(/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
1.6b
(+ (* (+ x y) z) (* (+ t y) a))
1.7b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
21.7b
(* (+ (+ x t) y) (/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))

rewrite382.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:
71.0ms
(/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
14.0ms
(+ (* (+ x y) z) (* (+ t y) a))
69.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
221.0ms
(* (+ (+ x t) y) (/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))

series276.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
45.0ms
(+ (* (+ x y) z) (* (+ t y) a))
83.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
90.0ms
(* (+ (+ x t) y) (/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))

simplify69.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05701403
128571268
250031242

prune446.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 4.5b

regimes515.0ms

Accuracy

83.6% (3.6b remaining)

Error of 7.8b against oracle of 4.2b and baseline of 26.4b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04133
14133

end0.0ms

sample698.0ms

Algorithm
intervals
Results
320.0ms7997×body80valid
0.0msbody1280valid
0.0msbody640valid
0.0msbody160valid