Details

Time bar (total: 1.6s)

sample42.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 81.262212%

Space saved by search: 81.262212%

Guaranteed chance to sample good point: 99.987793%

Results
15.0ms256×body80valid
5.0ms256×pre80true

simplify66.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0227
1487
21047
31967
43597
56867
613437
750017

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 18.3b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.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:
3.0ms
(+ (* x x) (* y y))
11.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series16.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0308388
11848330
25001322

prune74.0ms

Filtered
39 candidates to 48 candidates (-23.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New43548
Fresh000
Picked101
Done000
Total44549

Merged error: 0.3b

Counts
49 → 5

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify4.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune11.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New000
Fresh044
Picked011
Done000
Total055

Merged error: 0.3b

Counts
5 → 5

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.0b
(log (exp (/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))))
18.2b
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

rewrite23.0ms

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

series27.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (* x x) (* y y))
11.0ms
(log (exp (/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))))
11.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

simplify49.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0348599
11931516
25001501

prune93.0ms

Filtered
58 candidates to 72 candidates (-24.1%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New72072
Fresh033
Picked011
Done011
Total72577

Merged error: 0.3b

Counts
77 → 5

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
89×*-un-lft-identity
41×times-frac
32×add-sqr-sqrt
31×distribute-lft-out
26×associate-*r*
25×add-cube-cbrt
20×unpow-prod-down
10×add-exp-log add-cbrt-cube
pow1 associate-*l* associate-/r* add-log-exp
flip3-+ associate-/r/ flip-+ associate-/l*
cbrt-undiv frac-times flip3-- div-exp associate-*l/ prod-exp flip-- cbrt-unprod div-inv associate-/l/ unswap-sqr
+-commutative frac-2neg associate-*r/ pow-prod-down clear-num sum-log *-commutative distribute-lft-out-- difference-of-squares
Counts
3 → 109
Calls
3 calls:
9.0ms
(+ (pow x 2) (pow y 2))
19.0ms
(* (- x y) (/ (+ x y) (+ (pow x 2) (pow y 2))))
11.0ms
(/ (+ x y) (+ (pow x 2) (pow y 2)))

series24.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (pow x 2) (pow y 2))
11.0ms
(* (- x y) (/ (+ x y) (+ (pow x 2) (pow y 2))))
8.0ms
(/ (+ x y) (+ (pow x 2) (pow y 2)))

simplify58.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0390902
11953823
25002822

prune145.0ms

Filtered
69 candidates to 118 candidates (-71.0%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1180118
Fresh022
Picked011
Done022
Total1185123

Merged error: 0.3b

Counts
123 → 5

regimes167.0ms

Accuracy

78.5% (4.6b remaining)

Error of 5.0b against oracle of 0.4b and baseline of 21.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01816
11816

end0.0ms

sample689.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 81.262212%

Space saved by search: 81.262212%

Guaranteed chance to sample good point: 99.987793%

Results
305.0ms8000×body80valid
161.0ms8000×pre80true

Profiling

Loading profile data...