Details

Time bar (total: 2.4s)

sample20.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
3.0ms256×pre80true

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0227
1487
21047
31967
43597
56867
613557
750017

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.3b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
associate-/l/
add-exp-log add-cbrt-cube
flip3-+ flip-+
add-sqr-sqrt frac-times add-cube-cbrt *-un-lft-identity add-log-exp
flip3-- times-frac associate-/r* flip--
pow1 cbrt-undiv associate-*r/ div-exp associate-*l/ associate-/r/
+-commutative frac-2neg prod-exp clear-num sum-log cbrt-unprod div-inv associate-/l*
Counts
2 → 42
Calls
2 calls:
9.0ms
(+ (* x x) (* y y))
29.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series99.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0308388
11848330
25001322

prune112.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.3b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.0b
(/ 1 (/ (+ (* x x) (* y y)) (* (- x y) (+ x y))))
18.1b
(/ (+ (* x x) (* y y)) (* (- x y) (+ x y)))

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
60×times-frac
41×associate-/r/
29×add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity
20×frac-times
17×flip3-+ add-cbrt-cube flip-+
16×associate-/r*
15×flip3-- flip--
14×div-exp
10×associate-*r/ associate-*l/
cbrt-undiv
div-inv associate-/l*
add-log-exp
pow1 prod-exp
rec-exp 1-exp
frac-2neg clear-num cbrt-unprod associate-/l/
+-commutative pow-flip sum-log inv-pow
Counts
3 → 130
Calls
3 calls:
8.0ms
(+ (* x x) (* y y))
36.0ms
(/ 1 (/ (+ (* x x) (* y y)) (* (- x y) (+ x y))))
36.0ms
(/ (+ (* x x) (* y y)) (* (- x y) (+ x y)))

series149.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(+ (* x x) (* y y))
58.0ms
(/ 1 (/ (+ (* x x) (* y y)) (* (- x y) (+ x y))))
66.0ms
(/ (+ (* x x) (* y y)) (* (- x y) (+ x y)))

simplify92.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
06041641
139131448
250011367

prune229.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.3b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite147.0ms

Algorithm
rewrite-expression-head
Rules
311×times-frac
176×*-un-lft-identity
116×add-sqr-sqrt add-cube-cbrt
84×add-exp-log
58×div-exp
43×associate-/r*
31×associate-/r/
30×unpow-prod-down distribute-lft-out
22×add-cbrt-cube
19×rec-exp 1-exp
18×div-inv
17×flip3-+ flip-+
11×cbrt-undiv
10×prod-exp
associate-/l/
pow1 add-log-exp
frac-times pow-flip associate-/l*
flip3-- flip--
frac-2neg associate-*r/ associate-*l/ clear-num cbrt-unprod inv-pow
+-commutative sum-log remove-double-div
Counts
3 → 253
Calls
3 calls:
15.0ms
(+ (pow x 2) (pow y 2))
72.0ms
(/ 1 (/ 1 (/ (* (- x y) (+ x y)) (+ (pow x 2) (pow y 2)))))
43.0ms
(/ (* (- x y) (+ x y)) (+ (pow x 2) (pow y 2)))

series140.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(+ (pow x 2) (pow y 2))
58.0ms
(/ 1 (/ 1 (/ (* (- x y) (+ x y)) (+ (pow x 2) (pow y 2)))))
59.0ms
(/ (* (- x y) (+ x y)) (+ (pow x 2) (pow y 2)))

simplify56.0ms

Algorithm
egg-herbie
Counts
262 → 262
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
010203344
150022665

prune388.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.3b

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune0.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.3b

regimes56.0ms

Accuracy

77.1% (4.4b remaining)

Error of 4.9b against oracle of 0.5b and baseline of 19.8b

bsearch92.0ms

Steps
ItersRangePoint
10
9.517159977201359e-189
5.855337621855883e-177
5.7798438136698065e-177
10
-2.6608514669978e-160
-5.224864230772022e-175
-1.833777125800899e-161
8
-4.1027427680851603e+155
-9.698057441581783e+150
-1.1473874126766077e+151

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03118
13118

end0.0ms

sample524.0ms

Algorithm
intervals
Results
239.0ms8000×body80valid
110.0ms8000×pre80true