Details

Time bar (total: 3.8s)

sample15.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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: 21.7b

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))
21.5b
(/ (* x y) (* (* (+ x y) (+ x y)) (+ (+ x y) 1.0)))

rewrite51.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)))

series223.0ms

Counts
3 → 9
Calls
3 calls:
18.0ms
(* (+ x y) (+ x y))
39.0ms
(* (* (+ x y) (+ x y)) (+ (+ x y) 1.0))
165.0ms
(/ (* x y) (* (* (+ x y) (+ x y)) (+ (+ x y) 1.0)))

simplify42.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
09341519
150021370

prune274.0ms

Filtered
155 candidates to 94 candidates (60.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1478155
Fresh000
Picked101
Done000
Total1488156

Merged error: 9.7b

Counts
156 → 8

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)))
21.6b
(/ x (* (+ x y) (+ x y)))

rewrite58.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:
9.0ms
(* (+ x y) (+ x y))
7.0ms
(/ y (+ (+ x y) 1.0))
27.0ms
(* (/ x (* (+ x y) (+ x y))) (/ y (+ (+ x y) 1.0)))
9.0ms
(/ x (* (+ x y) (+ x y)))

series279.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(* (+ x y) (+ x y))
43.0ms
(/ y (+ (+ x y) 1.0))
158.0ms
(* (/ x (* (+ x y) (+ x y))) (/ y (+ (+ x y) 1.0)))
64.0ms
(/ x (* (+ x y) (+ x y)))

simplify103.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
06771321
137041174
250011163

prune283.0ms

Filtered
190 candidates to 120 candidates (63.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1846190
Fresh437
Picked101
Done000
Total1899198

Merged error: 0.0b

Counts
198 → 9

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
313×*-un-lft-identity
303×times-frac
163×add-sqr-sqrt
142×add-cube-cbrt
89×distribute-lft-out
78×associate-*l*
34×add-exp-log add-cbrt-cube
28×associate-/r/
24×associate-/l*
21×associate-*r*
14×cbrt-undiv flip3-+ div-exp flip-+ div-inv
13×associate-/r*
pow1 prod-exp cbrt-unprod unswap-sqr
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative associate-/l/
Counts
4 → 318
Calls
4 calls:
7.0ms
(/ y (+ (+ x y) 1.0))
5.0ms
(/ x (+ x y))
10.0ms
(/ (/ x (+ x y)) (+ x y))
46.0ms
(* (/ (/ x (+ x y)) (+ x y)) (/ y (+ (+ x y) 1.0)))

series303.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(/ y (+ (+ x y) 1.0))
43.0ms
(/ x (+ x y))
63.0ms
(/ (/ x (+ x y)) (+ x y))
152.0ms
(* (/ (/ x (+ x y)) (+ x y)) (/ y (+ (+ x y) 1.0)))

simplify121.0ms

Algorithm
egg-herbie
Counts
330 → 330
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
09982781
146362579
250012579

prune478.0ms

Filtered
330 candidates to 202 candidates (61.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New3255330
Fresh448
Picked101
Done000
Total3309339

Merged error: 0b

Counts
339 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
267×times-frac
260×*-un-lft-identity
133×add-sqr-sqrt
124×add-cube-cbrt
78×associate-*l*
68×distribute-lft-out
24×associate-/r/
21×associate-/l*
20×add-exp-log add-cbrt-cube
12×flip3-+ flip-+ div-inv
associate-/r*
cbrt-undiv div-exp
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*r* prod-exp cbrt-unprod unswap-sqr
frac-2neg clear-num
expm1-log1p pow-prod-down associate-*l/ *-commutative associate-/l/ expm1-udef
Counts
4 → 261
Calls
4 calls:
5.0ms
(/ x (+ x y))
1.0ms
(expm1 (log1p (/ y (+ (+ x y) 1.0))))
15.0ms
(/ (/ x (+ x y)) (+ x y))
21.0ms
(* (/ (/ x (+ x y)) (+ x y)) (expm1 (log1p (/ y (+ (+ x y) 1.0)))))

series347.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ x (+ x y))
67.0ms
(expm1 (log1p (/ y (+ (+ x y) 1.0))))
64.0ms
(/ (/ x (+ x y)) (+ x y))
178.0ms
(* (/ (/ x (+ x y)) (+ x y)) (expm1 (log1p (/ y (+ (+ x y) 1.0)))))

simplify84.0ms

Algorithm
egg-herbie
Counts
273 → 273
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
07112395
130372198
250012182

prune456.0ms

Filtered
273 candidates to 172 candidates (63.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2721273
Fresh178
Picked011
Done000
Total2739282

Merged error: 0b

Counts
282 → 9

regimes57.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0128
1128

end0.0ms

sample365.0ms

Algorithm
intervals
Results
234.0ms8000×body80valid