Details

Time bar (total: 3.7s)

sample16.0ms

Algorithm
intervals
Results
9.0ms256×body80valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0368
11568
25398
324108
450018

prune2.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: 19.4b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (+ x y) (+ x y))
0.1b
(* (* (+ x y) (+ x y)) (+ (+ x y) 1.0))
19.2b
(/ (* x y) (* (* (+ x y) (+ x y)) (+ (+ x y) 1.0)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
60×frac-times flip3-+ flip-+
31×add-exp-log add-cbrt-cube
30×associate-*l/
27×*-un-lft-identity
26×associate-/r/
18×associate-*r/
15×pow1
13×prod-exp cbrt-unprod
11×add-sqr-sqrt
associate-*r* distribute-lft-out
add-cube-cbrt
cbrt-undiv swap-sqr div-exp
associate-*l*
pow-prod-down
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in *-commutative unswap-sqr
pow2 frac-2neg times-frac pow-plus clear-num associate-/r* pow-sqr pow-prod-up div-inv associate-/l*
Counts
3 → 146
Calls
3 calls:
8.0ms
(* (+ x y) (+ x y))
15.0ms
(* (* (+ x y) (+ x y)) (+ (+ x y) 1.0))
21.0ms
(/ (* x y) (* (* (+ x y) (+ x y)) (+ (+ x y) 1.0)))

series219.0ms

Counts
3 → 9
Calls
3 calls:
19.0ms
(* (+ x y) (+ x y))
40.0ms
(* (* (+ x y) (+ x y)) (+ (+ x y) 1.0))
159.0ms
(/ (* x y) (* (* (+ x y) (+ x y)) (+ (+ x y) 1.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
09341519
150021370

prune301.0ms

Filtered
155 candidates to 94 candidates (60.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1496155
Fresh000
Picked101
Done000
Total1506156

Merged error: 8.8b

Counts
156 → 6

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) (+ x y))
0.0b
(/ y (+ (+ x y) 1.0))
0.1b
(* (/ x (* (+ x y) (+ x y))) (/ y (+ (+ x y) 1.0)))
20.0b
(/ x (* (+ x y) (+ x y)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
80×*-un-lft-identity
43×add-sqr-sqrt
40×times-frac
34×add-exp-log add-cbrt-cube
31×add-cube-cbrt
27×distribute-lft-out
25×associate-*r*
20×flip3-+ associate-/r/ flip-+
19×associate-*l*
13×pow1 frac-times
10×cbrt-undiv div-exp prod-exp cbrt-unprod
associate-*r/ associate-*l/
swap-sqr associate-/r* associate-/l*
unswap-sqr
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
frac-2neg pow-prod-down clear-num *-commutative
pow2 distribute-rgt-in distribute-lft-in pow-plus pow-sqr pow-prod-up
Counts
4 → 178
Calls
4 calls:
8.0ms
(* (+ x y) (+ x y))
7.0ms
(/ y (+ (+ x y) 1.0))
22.0ms
(* (/ x (* (+ x y) (+ x y))) (/ y (+ (+ x y) 1.0)))
12.0ms
(/ x (* (+ x y) (+ x y)))

series294.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (+ x y) (+ x y))
45.0ms
(/ y (+ (+ x y) 1.0))
163.0ms
(* (/ x (* (+ x y) (+ x y))) (/ y (+ (+ x y) 1.0)))
65.0ms
(/ x (* (+ x y) (+ x y)))

simplify99.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
06771321
137041174
250011163

prune298.0ms

Filtered
190 candidates to 120 candidates (63.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1837190
Fresh415
Picked101
Done000
Total1888196

Merged error: 0.0b

Counts
196 → 8

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ x y))
0.0b
(/ 1 (+ x y))
0.1b
(* (/ 1 (+ x y)) (/ x (+ x y)))
0.1b
(* (* (/ 1 (+ x y)) (/ x (+ x y))) (/ y (+ (+ x y) 1.0)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
105×add-exp-log
92×*-un-lft-identity
70×times-frac
64×add-sqr-sqrt
61×add-cbrt-cube
47×add-cube-cbrt
42×prod-exp
39×associate-*r*
36×div-exp
23×distribute-lft-out
22×cbrt-unprod
19×cbrt-undiv associate-*l*
12×pow1
10×associate-/r/
associate-/r*
rec-exp 1-exp
frac-times associate-*l/ associate-/l* unswap-sqr
flip3-+ flip-+ div-inv
expm1-log1p-u associate-*r/ pow-prod-down log1p-expm1-u add-log-exp
frac-2neg clear-num *-commutative
pow-flip inv-pow
Counts
4 → 211
Calls
4 calls:
5.0ms
(/ x (+ x y))
6.0ms
(/ 1 (+ x y))
17.0ms
(* (/ 1 (+ x y)) (/ x (+ x y)))
26.0ms
(* (* (/ 1 (+ x y)) (/ x (+ x y))) (/ y (+ (+ x y) 1.0)))

series316.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(/ x (+ x y))
33.0ms
(/ 1 (+ x y))
67.0ms
(* (/ 1 (+ x y)) (/ x (+ x y)))
172.0ms
(* (* (/ 1 (+ x y)) (/ x (+ x y))) (/ y (+ (+ x y) 1.0)))

simplify108.0ms

Algorithm
egg-herbie
Counts
223 → 223
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
08211605
146131322
250011322

prune460.0ms

Filtered
223 candidates to 124 candidates (55.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2194223
Fresh527
Picked011
Done000
Total2247231

Merged error: 0b

Counts
231 → 7

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ y (+ (+ x y) 1.0))
0.0b
(/ x (+ x y))
0.0b
(* (/ y (+ (+ x y) 1.0)) (/ x (+ x y)))
0.1b
(/ (* (/ y (+ (+ x y) 1.0)) (/ x (+ x y))) (+ x y))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
95×*-un-lft-identity
62×times-frac
54×add-sqr-sqrt
42×add-cube-cbrt
38×add-exp-log add-cbrt-cube
30×distribute-lft-out
21×associate-*l*
18×associate-*r*
15×cbrt-undiv div-exp
13×associate-/r*
10×associate-/r/
prod-exp cbrt-unprod
associate-/l*
pow1
flip3-+ flip-+ div-inv
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
frac-2neg clear-num associate-/l/
frac-times associate-*r/ associate-*l/
pow-prod-down *-commutative
Counts
4 → 175
Calls
4 calls:
7.0ms
(/ y (+ (+ x y) 1.0))
5.0ms
(/ x (+ x y))
20.0ms
(* (/ y (+ (+ x y) 1.0)) (/ x (+ x y)))
20.0ms
(/ (* (/ y (+ (+ x y) 1.0)) (/ x (+ x y))) (+ x y))

series395.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(/ y (+ (+ x y) 1.0))
40.0ms
(/ x (+ x y))
132.0ms
(* (/ y (+ (+ x y) 1.0)) (/ x (+ x y)))
170.0ms
(/ (* (/ y (+ (+ x y) 1.0)) (/ x (+ x y))) (+ x y))

simplify86.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
06511341
135171178
250011178

prune265.0ms

Filtered
187 candidates to 126 candidates (67.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1861187
Fresh145
Picked101
Done011
Total1886194

Merged error: 0b

Counts
194 → 6

regimes44.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0169
1169

end0.0ms

sample417.0ms

Algorithm
intervals
Results
287.0ms8000×body80valid