Details

Time bar (total: 3.1s)

sample18.0ms

Algorithm
intervals
Results
9.0ms290×body80valid

simplify62.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0195
1275
2405
3475
4635
5755
61065
71125
81185
91225
101305
114025
1226055
1350015

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 7.8b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
10×add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
pow1 add-log-exp
flip3-+ times-frac associate-*r/ associate-*r* associate-/r* flip-+ distribute-lft-out
associate-*l*
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/
+-commutative distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num sum-log *-commutative div-inv associate-/l* unswap-sqr
Counts
3 → 62
Calls
3 calls:
9.0ms
(+ (/ x y) 1.0)
8.0ms
(* x (+ (/ x y) 1.0))
11.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series14.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0301391
11508339
25001337

prune86.0ms

Filtered
71 candidates to 48 candidates (32.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New66571
Fresh000
Picked101
Done000
Total67572

Merged error: 0.0b

Counts
72 → 5

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
158×*-un-lft-identity
146×times-frac
72×add-sqr-sqrt add-cube-cbrt
43×distribute-lft-out
26×associate-/r*
11×associate-/r/
10×add-exp-log add-cbrt-cube
flip3-+ flip-+ associate-/l*
div-inv
add-log-exp
cbrt-undiv div-exp
pow1
frac-2neg clear-num associate-/l/
+-commutative sum-log
Counts
3 → 158
Calls
3 calls:
6.0ms
(+ (/ x y) 1.0)
12.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
10.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series16.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(+ (/ x y) 1.0)
6.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
8.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify68.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04991501
123491440
250021438

prune220.0ms

Filtered
167 candidates to 106 candidates (36.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1661167
Fresh134
Picked011
Done000
Total1675172

Merged error: 0b

Counts
172 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
133×*-un-lft-identity
110×times-frac
100×add-sqr-sqrt
74×sqrt-prod
69×add-cube-cbrt
34×associate-*r*
32×distribute-lft-out
27×associate-*l*
20×add-exp-log add-cbrt-cube
14×associate-/r*
10×sqrt-div
unswap-sqr
associate-/r/
pow1 associate-/l*
cbrt-undiv flip3-+ div-exp flip-+
prod-exp cbrt-unprod div-inv add-log-exp
frac-2neg clear-num associate-/l/
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
4 → 206
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
12.0ms
(/ (+ (/ x y) 1.0) (sqrt (+ x 1.0)))
34.0ms
(* (/ x (sqrt (+ x 1.0))) (/ (+ (/ x y) 1.0) (sqrt (+ x 1.0))))
6.0ms
(/ x (sqrt (+ x 1.0)))

series29.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
12.0ms
(/ (+ (/ x y) 1.0) (sqrt (+ x 1.0)))
6.0ms
(* (/ x (sqrt (+ x 1.0))) (/ (+ (/ x y) 1.0) (sqrt (+ x 1.0))))
7.0ms
(/ x (sqrt (+ x 1.0)))

simplify87.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
07702129
134881988
250011892

prune312.0ms

Filtered
218 candidates to 132 candidates (39.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2180218
Fresh033
Picked011
Done011
Total2185223

Merged error: 0b

Counts
223 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite183.0ms

Algorithm
rewrite-expression-head
Rules
600×times-frac
514×*-un-lft-identity
362×add-sqr-sqrt
338×sqrt-prod
258×add-cube-cbrt
122×distribute-lft-out
80×associate-*r* associate-*l*
54×associate-/r*
34×add-exp-log associate-/r/
28×unswap-sqr
22×add-cbrt-cube
19×div-inv
16×flip3-+ flip-+
12×div-exp
10×associate-/l*
pow1 prod-exp
cbrt-undiv
sqrt-div cbrt-unprod add-log-exp
rec-exp pow-flip frac-2neg 1-exp clear-num
associate-/l/
frac-times sqrt-pow1 pow1/2 associate-*r/ pow-prod-down associate-*l/ *-commutative inv-pow
Counts
4 → 490
Calls
4 calls:
10.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
18.0ms
(/ 1 (sqrt (/ (+ x 1.0) (+ (/ x y) 1.0))))
108.0ms
(* (/ 1 (sqrt (/ (+ x 1.0) (+ (/ x y) 1.0)))) (/ x (sqrt (/ (+ x 1.0) (+ (/ x y) 1.0)))))
15.0ms
(/ x (sqrt (/ (+ x 1.0) (+ (/ x y) 1.0))))

series69.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
21.0ms
(/ 1 (sqrt (/ (+ x 1.0) (+ (/ x y) 1.0))))
7.0ms
(* (/ 1 (sqrt (/ (+ x 1.0) (+ (/ x y) 1.0)))) (/ x (sqrt (/ (+ x 1.0) (+ (/ x y) 1.0)))))
33.0ms
(/ x (sqrt (/ (+ x 1.0) (+ (/ x y) 1.0))))

simplify99.0ms

Algorithm
egg-herbie
Counts
502 → 502
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
014237022
150016524

prune994.0ms

Filtered
502 candidates to 282 candidates (43.8%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New5020502
Fresh022
Picked011
Done022
Total5025507

Merged error: 0b

Counts
507 → 5

regimes133.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
0105
1105

end0.0ms

sample515.0ms

Algorithm
intervals
Results
291.0ms9066×body80valid

Profiling

Loading profile data...