Details

Time bar (total: 2.0s)

sample22.0ms

Algorithm
intervals
Results
12.0ms256×body80valid

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0368
11528
25018
321538
450018

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 20.5b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite46.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
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 → 140
Calls
3 calls:
8.0ms
(* (+ x y) (+ x y))
15.0ms
(* (* (+ x y) (+ x y)) (+ (+ x y) 1.0))
17.0ms
(/ (* x y) (* (* (+ x y) (+ x y)) (+ (+ x y) 1.0)))

series33.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(* (+ x y) (+ x y))
8.0ms
(* (* (+ x y) (+ x y)) (+ (+ x y) 1.0))
21.0ms
(/ (* x y) (* (* (+ x y) (+ x y)) (+ (+ x y) 1.0)))

simplify39.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
09161489
150011351

prune168.0ms

Filtered
88 candidates to 149 candidates (-69.3%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1418149
Fresh000
Picked101
Done000
Total1428150

Merged error: 7.7b

Counts
150 → 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)))
19.2b
(/ x (* (+ x y) (+ x y)))

rewrite55.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
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 → 170
Calls
4 calls:
8.0ms
(* (+ x y) (+ x y))
7.0ms
(/ y (+ (+ x y) 1.0))
25.0ms
(* (/ x (* (+ x y) (+ x y))) (/ y (+ (+ x y) 1.0)))
8.0ms
(/ x (* (+ x y) (+ x y)))

series37.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (+ x y) (+ x y))
6.0ms
(/ y (+ (+ x y) 1.0))
18.0ms
(* (/ x (* (+ x y) (+ x y))) (/ y (+ (+ x y) 1.0)))
9.0ms
(/ x (* (+ x y) (+ x y)))

simplify97.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
06611282
135911138
250021127

prune175.0ms

Filtered
112 candidates to 182 candidates (-62.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1784182
Fresh347
Picked011
Done000
Total1819190

Merged error: 0.0b

Counts
190 → 9

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
99×add-exp-log
90×*-un-lft-identity
67×times-frac
61×add-cbrt-cube
59×add-sqr-sqrt
47×add-cube-cbrt
40×prod-exp
36×associate-*l*
33×div-exp
23×distribute-lft-out
22×associate-*r* cbrt-unprod
19×cbrt-undiv
12×pow1
10×associate-/r/
associate-/r*
frac-times rec-exp 1-exp associate-*r/ associate-/l*
flip3-+ flip-+ div-inv
pow-prod-down associate-*l/ add-log-exp unswap-sqr
frac-2neg clear-num *-commutative
pow-flip inv-pow
Counts
4 → 199
Calls
4 calls:
5.0ms
(/ x (+ x y))
5.0ms
(/ 1 (+ x y))
23.0ms
(* (/ x (+ x y)) (/ y (+ (+ x y) 1.0)))
20.0ms
(* (/ 1 (+ x y)) (* (/ x (+ x y)) (/ y (+ (+ x y) 1.0))))

series40.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ x (+ x y))
4.0ms
(/ 1 (+ x y))
14.0ms
(* (/ x (+ x y)) (/ y (+ (+ x y) 1.0)))
18.0ms
(* (/ 1 (+ x y)) (* (/ x (+ x y)) (/ y (+ (+ x y) 1.0))))

simplify104.0ms

Algorithm
egg-herbie
Counts
211 → 211
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
07861627
145591357
250021330

prune176.0ms

Filtered
118 candidates to 211 candidates (-78.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2074211
Fresh527
Picked011
Done101
Total2137220

Merged error: 0.0b

Counts
220 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ x y))
0.2b
(* (* (/ x (+ x y)) y) (/ 1 (+ (+ x y) 1.0)))
0.2b
(* (/ 1 (+ x y)) (* (* (/ x (+ x y)) y) (/ 1 (+ (+ x y) 1.0))))
6.9b
(* (/ x (+ x y)) y)

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
277×add-exp-log
154×prod-exp
97×add-cbrt-cube
79×div-exp
74×*-un-lft-identity
52×times-frac
46×cbrt-unprod
44×add-sqr-sqrt
39×add-cube-cbrt
37×associate-*l*
29×rec-exp 1-exp
25×associate-*r*
24×cbrt-undiv
21×pow1
19×distribute-lft-out
11×associate-*l/
10×pow-prod-down
associate-/r/
frac-times associate-*r/
flip3-+ associate-/r* flip-+ div-inv add-log-exp
un-div-inv *-commutative associate-/l*
unswap-sqr
pow-flip frac-2neg clear-num inv-pow
Counts
4 → 233
Calls
4 calls:
6.0ms
(/ 1 (+ x y))
19.0ms
(* (* (/ x (+ x y)) y) (/ 1 (+ (+ x y) 1.0)))
23.0ms
(* (/ 1 (+ x y)) (* (* (/ x (+ x y)) y) (/ 1 (+ (+ x y) 1.0))))
8.0ms
(* (/ x (+ x y)) y)

series46.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(/ 1 (+ x y))
14.0ms
(* (* (/ x (+ x y)) y) (/ 1 (+ (+ x y) 1.0)))
17.0ms
(* (/ 1 (+ x y)) (* (* (/ x (+ x y)) y) (/ 1 (+ (+ x y) 1.0))))
6.0ms
(* (/ x (+ x y)) y)

simplify45.0ms

Algorithm
egg-herbie
Counts
245 → 245
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
09702141
150011648

prune139.0ms

Filtered
105 candidates to 245 candidates (-133.3%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2450245
Fresh055
Picked011
Done011
Total2457252

Merged error: 0.0b

Counts
252 → 7

regimes93.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
0179
1179

end0.0ms

sample466.0ms

Algorithm
intervals
Results
281.0ms8000×body80valid

Profiling

Loading profile data...