Details

Time bar (total: 3.3s)

analyze73.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
12.5%87.4%0.1%5
46.8%53.1%0.1%6
70.2%29.7%0.1%7
76.5%23.4%0.1%8
83.5%16.4%0.1%9
87%12.9%0.1%10
91.1%8.8%0.1%11
93.2%6.7%0.1%12
95.4%4.5%0.1%13
96.5%3.4%0.1%14

sample15.0ms

Algorithm
intervals
Results
8.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: 21.6b

Counts
2 → 1

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

rewrite48.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))
14.0ms
(* (* (+ x y) (+ x y)) (+ (+ x y) 1.0))
19.0ms
(/ (* x y) (* (* (+ x y) (+ x y)) (+ (+ x y) 1.0)))

series31.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
09161489
150011351

prune432.0ms

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1409149
Fresh000
Picked101
Done000
Total1419150

Merged error: 7.3b

Counts
150 → 9

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite60.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
(/ y (+ (+ x y) 1.0))
10.0ms
(* (+ x y) (+ x y))
23.0ms
(* (/ x (* (+ x y) (+ x y))) (/ y (+ (+ x y) 1.0)))
9.0ms
(/ x (* (+ x y) (+ x y)))

series45.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(/ y (+ (+ x y) 1.0))
4.0ms
(* (+ x y) (+ x y))
22.0ms
(* (/ x (* (+ x y) (+ x y))) (/ y (+ (+ x y) 1.0)))
11.0ms
(/ x (* (+ x y) (+ x y)))

simplify105.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
06611282
135911138
250021127

prune203.0ms

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1775182
Fresh448
Picked101
Done000
Total1829191

Merged error: 0.0b

Counts
191 → 9

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

rewrite107.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
add-log-exp
frac-2neg clear-num
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative associate-/l/
Counts
4 → 310
Calls
4 calls:
17.0ms
(/ y (+ (+ x y) 1.0))
6.0ms
(/ x (+ x y))
12.0ms
(/ (/ x (+ x y)) (+ x y))
48.0ms
(* (/ (/ x (+ x y)) (+ x y)) (/ y (+ (+ x y) 1.0)))

series40.0ms

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

simplify113.0ms

Algorithm
egg-herbie
Counts
322 → 322
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
09822745
145592543
250022535

prune249.0ms

Filtered
192 candidates to 322 candidates (-67.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New3166322
Fresh448
Picked101
Done000
Total32110331

Merged error: 0b

Counts
331 → 10

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite194.0ms

Algorithm
rewrite-expression-head
Rules
1334×times-frac
988×*-un-lft-identity
597×add-sqr-sqrt
549×add-cube-cbrt
221×distribute-lft-out
218×associate-*l*
100×add-exp-log
59×associate-/l*
58×div-exp
52×add-cbrt-cube
45×div-inv
26×cbrt-undiv
25×associate-/r*
21×associate-*r*
18×associate-/r/
16×prod-exp
12×unswap-sqr
rec-exp 1-exp cbrt-unprod
pow1
flip3-+ flip-+ add-log-exp
frac-2neg clear-num
frac-times pow-flip associate-*r/ pow-prod-down associate-*l/ *-commutative associate-/l/ inv-pow
Counts
4 → 704
Calls
4 calls:
10.0ms
(/ y (+ (+ x y) 1.0))
19.0ms
(/ (/ 1 (/ (+ x y) x)) (+ x y))
89.0ms
(* (/ (/ 1 (/ (+ x y) x)) (+ x y)) (/ y (+ (+ x y) 1.0)))
10.0ms
(/ 1 (/ (+ x y) x))

series38.0ms

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

simplify120.0ms

Algorithm
egg-herbie
Counts
716 → 716
Iterations

Useful iterations: 1 (46.0ms)

IterNodesCost
021667789
150017153

prune628.0ms

Filtered
372 candidates to 716 candidates (-92.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New7151716
Fresh279
Picked101
Done000
Total7188726

Merged error: 0b

Counts
726 → 8

regimes94.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
0128
1128

end0.0ms

analyze71.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
12.5%87.4%0.1%5
46.8%53.1%0.1%6
70.2%29.7%0.1%7
76.5%23.4%0.1%8
83.5%16.4%0.1%9
87%12.9%0.1%10
91.1%8.8%0.1%11
93.2%6.7%0.1%12
95.4%4.5%0.1%13
96.5%3.4%0.1%14

sample488.0ms

Algorithm
intervals
Results
342.0ms8000×body80valid

Profiling

Loading profile data...