Details

Time bar (total: 10.2s)

sample25.0ms

Algorithm
intervals
Results
11.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: 28.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite130.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
(* (+ t y) a)
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
35.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
77.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series775.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(* (+ t y) a)
48.0ms
(+ (* (+ x y) z) (* (+ t y) a))
100.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
602.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify68.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05201087
123081025
250031025

prune329.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 10.4b

localize16.0ms

Local error

Found 4 expressions with local error:

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

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

series776.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(/ 1 (+ (+ x t) y))
44.0ms
(+ (* (+ x y) z) (* (+ t y) a))
93.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
583.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

prune312.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 10.4b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite306.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
(* (+ t y) a)
5.0ms
(+ (* (+ x y) z) (* (+ t y) a))
34.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
254.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series720.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (+ t y) a)
44.0ms
(+ (* (+ x y) z) (* (+ t y) a))
94.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
559.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify62.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05201087
123081025
250031025

prune306.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 10.4b

localize19.0ms

Local error

Found 4 expressions with local error:

1.6b
(+ (* (+ x y) z) (* (+ t y) a))
2.2b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
10.6b
(/ (/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (* (cbrt (+ (+ x t) y)) (cbrt (+ (+ x t) y)))) (cbrt (+ (+ x t) y)))
15.5b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (* (cbrt (+ (+ x t) y)) (cbrt (+ (+ x t) y))))

rewrite228.0ms

Algorithm
rewrite-expression-head
Rules
150×times-frac
136×*-un-lft-identity
122×cbrt-div
82×associate-/r/
80×cbrt-prod
66×flip3-+ flip-+
56×add-sqr-sqrt add-cube-cbrt
48×distribute-lft-out
40×frac-times
28×associate-*l/
20×associate-*r/
18×add-exp-log associate-/l*
11×add-cbrt-cube div-inv add-log-exp
associate-/r*
cbrt-undiv div-exp
pow1 frac-add
div-sub associate-/l/
flip3-- frac-2neg diff-log prod-exp clear-num sum-log flip-- cbrt-unprod
+-commutative sub-neg associate--l+
Counts
4 → 224
Calls
4 calls:
5.0ms
(+ (* (+ x y) z) (* (+ t y) a))
32.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
97.0ms
(/ (/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (* (cbrt (+ (+ x t) y)) (cbrt (+ (+ x t) y)))) (cbrt (+ (+ x t) y)))
78.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (* (cbrt (+ (+ x t) y)) (cbrt (+ (+ x t) y))))

series3.6s

Counts
4 → 12
Calls
4 calls:
44.0ms
(+ (* (+ x y) z) (* (+ t y) a))
95.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
605.0ms
(/ (/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (* (cbrt (+ (+ x t) y)) (cbrt (+ (+ x t) y)))) (cbrt (+ (+ x t) y)))
2.9s
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (* (cbrt (+ (+ x t) y)) (cbrt (+ (+ x t) y))))

simplify138.0ms

Algorithm
egg-herbie
Counts
236 → 236
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
011086213
147395954
250035898

prune803.0ms

Pruning

14 alts after pruning (12 fresh and 2 done)

Merged error: 5.8b

regimes514.0ms

Accuracy

32.7% (12.6b remaining)

Error of 17.9b against oracle of 5.2b and baseline of 24.0b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04033
14833
24833

end0.0ms

sample630.0ms

Algorithm
intervals
Results
363.0ms7995×body80valid
0.0msbody160valid
0.0msbody1280valid
0.0msbody320valid