Details

Time bar (total: 2.2s)

sample20.0ms

Algorithm
intervals
Results
9.0ms288×body80valid

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

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 8.4b

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

rewrite32.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))
15.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series14.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0301391
11508339
25001337

prune89.0ms

Filtered
48 candidates to 71 candidates (-47.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New67471
Fresh000
Picked101
Done000
Total68472

Merged error: 0.0b

Counts
72 → 4

localize7.0ms

Local error

Found 3 expressions with local error:

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

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

series20.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04991501
123491440
250021438

prune175.0ms

Filtered
105 candidates to 167 candidates (-59.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1670167
Fresh033
Picked011
Done000
Total1674171

Merged error: 0.0b

Counts
171 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x 1.0) (- (/ x y) 1.0))
0.2b
(* (/ x y) (/ x y))
0.7b
(* x (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
13.8b
(/ (* x (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (* (+ x 1.0) (- (/ x y) 1.0)))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt
42×times-frac
40×*-un-lft-identity
36×add-cube-cbrt
32×add-exp-log add-cbrt-cube
23×associate-*r*
20×associate-*l*
15×pow1
13×swap-sqr
10×prod-exp cbrt-unprod
frac-times associate-*r/
cbrt-undiv flip3-- div-exp associate-/r/ flip--
flip3-+ flip-+ unswap-sqr
associate-*l/ div-inv
distribute-rgt-in sub-neg distribute-lft-in add-log-exp
pow-prod-down *-commutative difference-of-squares
associate-/l/
pow2 frac-2neg pow-plus clear-num associate-/r* pow-sqr pow-prod-up distribute-lft-out associate-/l* distribute-lft-out--
Counts
4 → 157
Calls
4 calls:
11.0ms
(* (+ x 1.0) (- (/ x y) 1.0))
13.0ms
(* (/ x y) (/ x y))
10.0ms
(* x (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
19.0ms
(/ (* x (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (* (+ x 1.0) (- (/ x y) 1.0)))

series33.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* (+ x 1.0) (- (/ x y) 1.0))
5.0ms
(* (/ x y) (/ x y))
10.0ms
(* x (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
13.0ms
(/ (* x (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (* (+ x 1.0) (- (/ x y) 1.0)))

simplify136.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
08611390
149501142
250011142

prune180.0ms

Filtered
113 candidates to 169 candidates (-49.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1681169
Fresh112
Picked011
Done011
Total1694173

Merged error: 0b

Counts
173 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x 1.0) (- (/ x y) 1.0))
0.7b
(* x (- (/ (pow x 2) (pow y 2)) (* 1.0 1.0)))
13.8b
(/ (* x (- (/ (pow x 2) (pow y 2)) (* 1.0 1.0))) (* (+ x 1.0) (- (/ x y) 1.0)))
17.0b
(/ (pow x 2) (pow y 2))

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
82×times-frac
70×add-sqr-sqrt
62×unpow-prod-down
48×*-un-lft-identity
44×add-cube-cbrt
32×add-exp-log
26×associate-*r* unpow2 sqr-pow
22×add-cbrt-cube
19×difference-of-squares
13×div-exp
associate-/r* associate-/l*
pow1 frac-times flip3-- associate-*r/ associate-/r/ flip--
associate-*l*
pow-to-exp flip3-+ pow-exp prod-exp cbrt-unprod flip-+
cbrt-undiv
distribute-rgt-in sub-neg distribute-lft-in associate-*l/ add-log-exp
frac-2neg pow-prod-down clear-num *-commutative div-inv associate-/l/ unswap-sqr
distribute-lft-out distribute-lft-out--
Counts
4 → 206
Calls
4 calls:
11.0ms
(* (+ x 1.0) (- (/ x y) 1.0))
25.0ms
(* x (- (/ (pow x 2) (pow y 2)) (* 1.0 1.0)))
29.0ms
(/ (* x (- (/ (pow x 2) (pow y 2)) (* 1.0 1.0))) (* (+ x 1.0) (- (/ x y) 1.0)))
7.0ms
(/ (pow x 2) (pow y 2))

series32.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* (+ x 1.0) (- (/ x y) 1.0))
9.0ms
(* x (- (/ (pow x 2) (pow y 2)) (* 1.0 1.0)))
12.0ms
(/ (* x (- (/ (pow x 2) (pow y 2)) (* 1.0 1.0))) (* (+ x 1.0) (- (/ x y) 1.0)))
6.0ms
(/ (pow x 2) (pow y 2))

simplify129.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
09131720
148341431
250011431

prune306.0ms

Filtered
131 candidates to 218 candidates (-66.4%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2180218
Fresh011
Picked011
Done022
Total2184222

Merged error: 0b

Counts
222 → 4

regimes76.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample527.0ms

Algorithm
intervals
Results
300.0ms9108×body80valid

Profiling

Loading profile data...