Details

Time bar (total: 9.8s)

sample26.0ms

Algorithm
intervals
Results
12.0ms256×body80valid

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

1 alts after pruning (1 fresh and 0 done)

Merged error: 25.5b

localize14.0ms

Local error

Found 4 expressions with local error:

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

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

series733.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (+ x y) z)
95.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
48.0ms
(+ (* (+ x y) z) (* (+ t y) a))
570.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify65.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05231089
123081025
250011025

prune309.0ms

Filtered
102 candidates to 74 candidates (72.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 7.2b

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

rewrite188.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:
11.0ms
(* (+ x y) z)
33.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
135.0ms
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

series726.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (+ x y) z)
92.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
45.0ms
(+ (* (+ x y) z) (* (+ t y) a))
569.0ms
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

simplify76.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06061129
129491025
250011005

prune295.0ms

Filtered
110 candidates to 74 candidates (67.3%)
Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 7.2b

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))
1.7b
(+ (* (+ x y) z) (* (+ t y) a))
23.8b
(/ (- (+ (* (+ 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)
35.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
6.0ms
(+ (* (+ x y) z) (* (+ t y) a))
76.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series732.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (+ x y) z)
100.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
45.0ms
(+ (* (+ x y) z) (* (+ t y) a))
566.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify65.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05231089
123081025
250011025

prune299.0ms

Filtered
102 candidates to 74 candidates (72.5%)
Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 7.2b

localize19.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
1.7b
(+ (* (+ x y) z) (* (+ t y) a))
8.9b
(/ (/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (* (cbrt (+ (+ x t) y)) (cbrt (+ (+ x t) y)))) (cbrt (+ (+ x t) y)))
15.0b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (* (cbrt (+ (+ x t) y)) (cbrt (+ (+ x t) y))))

rewrite233.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:
34.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
5.0ms
(+ (* (+ x y) z) (* (+ t y) a))
99.0ms
(/ (/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (* (cbrt (+ (+ x t) y)) (cbrt (+ (+ x t) y)))) (cbrt (+ (+ x t) y)))
81.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:
94.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
50.0ms
(+ (* (+ x y) z) (* (+ t y) a))
604.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))))

simplify136.0ms

Algorithm
egg-herbie
Counts
236 → 236
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
011086213
147395954
250035898

prune789.0ms

Filtered
236 candidates to 160 candidates (67.8%)
Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 4.8b

regimes383.0ms

Accuracy

20.8% (14.5b remaining)

Error of 19.2b against oracle of 4.7b and baseline of 23.1b

bsearch91.0ms

Steps
ItersRangePoint
9
1.8414535559113478e+167
1.0591418314876515e+173
2.45442140322551e+170
7
-4.621374255170359e+157
-2.550747777928692e+156
-8.064772440569011e+156

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03814
14014
24014

end0.0ms

sample627.0ms

Algorithm
intervals
Results
366.0ms7999×body80valid
0.0msbody320valid