Details

Time bar (total: 2.8s)

sample26.0ms

Algorithm
intervals
Results
13.0ms293×body80valid

simplify96.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

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

prune3.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: 7.3b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite29.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:
6.0ms
(+ (/ x y) 1.0)
9.0ms
(* x (+ (/ x y) 1.0))
12.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series77.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(+ (/ x y) 1.0)
23.0ms
(* x (+ (/ x y) 1.0))
43.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

simplify45.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0301391
11508339
25001337

prune124.0ms

Filtered
71 candidates to 48 candidates (67.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New66571
Fresh000
Picked011
Done000
Total66672

Merged error: 0b

Counts
72 → 6

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite44.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)
10.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
20.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))

series115.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(+ (/ x y) 1.0)
60.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
44.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))

simplify69.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04991501
123491440
250021438

prune216.0ms

Filtered
167 candidates to 105 candidates (62.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1670167
Fresh044
Picked011
Done011
Total1676173

Merged error: 0b

Counts
173 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (/ (* x (+ (/ x y) 1.0)) (+ x 1.0)))
6.9b
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))
6.9b
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))
6.9b
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
19×add-exp-log add-cbrt-cube
16×times-frac
12×add-sqr-sqrt add-cube-cbrt associate-/r*
10×cbrt-prod
associate-/r/
flip3-+ flip-+ distribute-lft-out
cbrt-undiv associate-*r/ div-exp associate-/l/
pow1 div-inv add-log-exp
frac-2neg prod-exp clear-num cbrt-unprod associate-/l*
cbrt-div pow1/3
Counts
4 → 100
Calls
4 calls:
9.0ms
(cbrt (/ (* x (+ (/ x y) 1.0)) (+ x 1.0)))
12.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))
15.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))
12.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series320.0ms

Counts
4 → 12
Calls
4 calls:
197.0ms
(cbrt (/ (* x (+ (/ x y) 1.0)) (+ x 1.0)))
39.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))
43.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))
40.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

simplify45.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0380924
11577805
25002786

prune246.0ms

Filtered
112 candidates to 85 candidates (75.9%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1120112
Fresh033
Picked011
Done022
Total1126118

Merged error: 0b

Counts
118 → 6

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
28×sqrt-div
22×*-un-lft-identity
20×add-exp-log add-cbrt-cube
18×associate-*r/
17×add-sqr-sqrt
15×flip3-+ flip-+
14×associate-*r*
13×sqrt-prod
12×pow1 add-cube-cbrt
frac-times associate-/l/
prod-exp cbrt-unprod
distribute-lft-out
times-frac associate-*l* pow-prod-down associate-*l/ associate-/r* add-log-exp
cbrt-undiv div-exp
associate-/r/ *-commutative unswap-sqr
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num div-inv associate-/l*
Counts
4 → 106
Calls
4 calls:
6.0ms
(sqrt (+ (/ x y) 1.0))
10.0ms
(* x (sqrt (+ (/ x y) 1.0)))
17.0ms
(* (* x (sqrt (+ (/ x y) 1.0))) (sqrt (+ (/ x y) 1.0)))
21.0ms
(/ (* (* x (sqrt (+ (/ x y) 1.0))) (sqrt (+ (/ x y) 1.0))) (+ x 1.0))

series248.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(sqrt (+ (/ x y) 1.0))
103.0ms
(* x (sqrt (+ (/ x y) 1.0)))
25.0ms
(* (* x (sqrt (+ (/ x y) 1.0))) (sqrt (+ (/ x y) 1.0)))
44.0ms
(/ (* (* x (sqrt (+ (/ x y) 1.0))) (sqrt (+ (/ x y) 1.0))) (+ x 1.0))

simplify68.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
04741024
12359848
25001822

prune187.0ms

Filtered
118 candidates to 76 candidates (64.4%)
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New1180118
Fresh022
Picked011
Done033
Total1186124

Merged error: 0b

Counts
124 → 6

regimes74.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

sample567.0ms

Algorithm
intervals
Results
421.0ms9079×body80valid