Details

Time bar (total: 2.2s)

sample29.0ms

Algorithm
intervals
Results
16.0ms295×body80valid

simplify83.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0195
1295
2455
3565
4745
5865
61205
71365
81465
91505
101605
114465
1226955
1350015

prune2.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: 9.8b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

0.1b
(* x (+ (/ x y) 1.0))
9.3b
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

rewrite22.0ms

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

series68.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(* x (+ (/ x y) 1.0))
41.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

simplify46.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0306352
11568305
25001304

prune99.0ms

Filtered
60 candidates to 42 candidates (70.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New54660
Fresh000
Picked101
Done000
Total55661

Merged error: 0b

Counts
61 → 6

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
155×*-un-lft-identity
146×times-frac
71×add-sqr-sqrt add-cube-cbrt
42×distribute-lft-out
26×associate-/r*
11×associate-/r/
add-exp-log add-cbrt-cube
associate-/l*
flip3-+ flip-+ div-inv
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u associate-/l/ add-log-exp
Counts
2 → 150
Calls
2 calls:
13.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
10.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series105.0ms

Counts
2 → 6
Calls
2 calls:
40.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
65.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify69.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05041464
123901406
250021404

prune203.0ms

Filtered
156 candidates to 100 candidates (64.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1551156
Fresh145
Picked011
Done000
Total1566162

Merged error: 0b

Counts
162 → 6

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
36×*-un-lft-identity
25×add-sqr-sqrt times-frac
20×add-cube-cbrt
18×associate-*l*
add-exp-log add-cbrt-cube
distribute-lft-out
pow1 flip3-+ associate-*r* associate-/r* associate-/r/ flip-+
associate-/l*
cbrt-undiv expm1-log1p-u frac-times associate-*r/ div-exp prod-exp cbrt-unprod log1p-expm1-u div-inv add-log-exp unswap-sqr
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down associate-*l/ clear-num *-commutative
Counts
2 → 81
Calls
2 calls:
5.0ms
(/ x (+ x 1.0))
14.0ms
(* (/ x (+ x 1.0)) (+ (/ x y) 1.0))

series75.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(/ x (+ x 1.0))
43.0ms
(* (/ x (+ x 1.0)) (+ (/ x y) 1.0))

simplify51.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0474534
12069486
25001486

prune126.0ms

Filtered
87 candidates to 63 candidates (72.4%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New87087
Fresh044
Picked011
Done011
Total87693

Merged error: 0b

Counts
93 → 6

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x x) (* 1.0 1.0))
0.1b
(* x (+ (/ x y) 1.0))
0.1b
(* (/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0))) (- x 1.0))
12.3b
(/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
27×*-un-lft-identity
23×add-cube-cbrt
20×add-exp-log add-cbrt-cube
19×prod-diff
13×associate-*l*
12×distribute-rgt-in distribute-lft-in
associate-*r*
pow1 times-frac
associate-*r/ prod-exp cbrt-unprod add-log-exp
flip3-- flip-- difference-of-squares
cbrt-undiv expm1-log1p-u div-exp associate-/r* associate-/r/ log1p-expm1-u
sub-neg
frac-times flip3-+ pow-prod-down *-commutative flip-+ div-inv associate-/l/ unswap-sqr
frac-2neg fma-neg diff-log associate-*l/ clear-num distribute-lft-out associate-/l* distribute-lft-out--
Counts
4 → 131
Calls
4 calls:
4.0ms
(- (* x x) (* 1.0 1.0))
9.0ms
(* x (+ (/ x y) 1.0))
18.0ms
(* (/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0))) (- x 1.0))
13.0ms
(/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0)))

series215.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(- (* x x) (* 1.0 1.0))
25.0ms
(* x (+ (/ x y) 1.0))
73.0ms
(* (/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0))) (- x 1.0))
77.0ms
(/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0)))

simplify115.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (100.0ms)

IterNodesCost
06841561
142461288
250011287

prune208.0ms

Filtered
143 candidates to 93 candidates (65.0%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1430143
Fresh033
Picked011
Done022
Total1436149

Merged error: 0b

Counts
149 → 6

regimes64.0ms

Accuracy

0% (0.0b 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
0115
1115

end0.0ms

sample441.0ms

Algorithm
intervals
Results
290.0ms9101×body80valid