Details

Time bar (total: 2.1s)

sample20.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
4.0ms256×pre80true

simplify60.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0227
1487
21047
31967
43597
56867
613557
750017

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: 20.6b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x x) (* y y))
20.3b
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
associate-/l/
flip3-+ flip-+
frac-times
flip3-- flip--
associate-*r/ associate-*l/ associate-/r/ associate-/l*
+-commutative frac-2neg clear-num *-commutative div-inv
Counts
2 → 18
Calls
2 calls:
4.0ms
(+ (* x x) (* y y))
9.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series88.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(+ (* x x) (* y y))
62.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

simplify86.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0169148
1859142
23711134
35001134

prune61.0ms

Filtered
24 candidates to 21 candidates (87.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New21324
Fresh000
Picked011
Done000
Total21425

Merged error: 0.3b

Counts
25 → 4

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (pow x 2) (pow y 2))
0.0b
(/ (+ x y) (/ (+ (pow x 2) (pow y 2)) (- x y)))
19.5b
(/ (+ (pow x 2) (pow y 2)) (- x y))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
associate-/l/
flip3-+ flip-+
frac-2neg clear-num associate-/r* div-inv
flip3-- flip--
+-commutative
Counts
3 → 23
Calls
3 calls:
3.0ms
(+ (pow x 2) (pow y 2))
7.0ms
(/ (+ x y) (/ (+ (pow x 2) (pow y 2)) (- x y)))
5.0ms
(/ (+ (pow x 2) (pow y 2)) (- x y))

series145.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ (pow x 2) (pow y 2))
61.0ms
(/ (+ x y) (/ (+ (pow x 2) (pow y 2)) (- x y)))
58.0ms
(/ (+ (pow x 2) (pow y 2)) (- x y))

simplify81.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (76.0ms)

IterNodesCost
0140162
1515160
21970154
35002153

prune77.0ms

Filtered
32 candidates to 24 candidates (75.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New29332
Fresh202
Picked101
Done011
Total32436

Merged error: 0.3b

Counts
36 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (pow x 2) (pow y 2))
0.0b
(* (/ (/ (+ (pow x 2) (pow y 2)) (- x y)) (+ x y)) (+ x y))
0.0b
(/ (+ x y) (* (/ (/ (+ (pow x 2) (pow y 2)) (- x y)) (+ x y)) (+ x y)))
19.5b
(/ (+ (pow x 2) (pow y 2)) (- x y))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
53×associate-/r/
46×associate-/l/
44×frac-times
35×flip3-+ flip-+
22×associate-*l/
18×associate-/l*
14×frac-2neg clear-num
10×div-inv
flip3-- flip--
associate-*l*
associate-/r*
associate-*r/
+-commutative
distribute-rgt-in distribute-lft-in *-commutative
Counts
4 → 98
Calls
4 calls:
4.0ms
(+ (pow x 2) (pow y 2))
11.0ms
(* (/ (/ (+ (pow x 2) (pow y 2)) (- x y)) (+ x y)) (+ x y))
14.0ms
(/ (+ x y) (* (/ (/ (+ (pow x 2) (pow y 2)) (- x y)) (+ x y)) (+ x y)))
6.0ms
(/ (+ (pow x 2) (pow y 2)) (- x y))

series211.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (pow x 2) (pow y 2))
62.0ms
(* (/ (/ (+ (pow x 2) (pow y 2)) (- x y)) (+ x y)) (+ x y))
61.0ms
(/ (+ x y) (* (/ (/ (+ (pow x 2) (pow y 2)) (- x y)) (+ x y)) (+ x y)))
62.0ms
(/ (+ (pow x 2) (pow y 2)) (- x y))

simplify142.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
06011015
14363893
25001893

prune337.0ms

Filtered
110 candidates to 94 candidates (85.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1091110
Fresh112
Picked011
Done011
Total1104114

Merged error: 0.3b

Counts
114 → 4

localize4.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune0.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done022
Total044

Merged error: 0.3b

Counts
4 → 4

regimes83.0ms

Accuracy

76.8% (4.6b remaining)

Error of 5.2b against oracle of 0.6b and baseline of 20.6b

bsearch74.0ms

Steps
ItersRangePoint
8
4.6392126302617956e-172
3.3746055148489886e-168
3.3216144882269104e-168
5
-7.101451878346312e-157
-3.155267202466709e-157
-4.654600319030996e-157
9
-1.2994787762702041e+157
-1.865346764731705e+152
-1.1011563348006714e+153

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03218
13318
23318

end0.0ms

sample476.0ms

Algorithm
intervals
Results
227.0ms8000×body80valid
111.0ms8000×pre80true