Details

Time bar (total: 1.8s)

sample62.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 81.280506%

Space saved by search: 81.280506%

Guaranteed chance to sample good point: 0%

Results
17.0ms256×body80valid
14.0ms256×pre80true

simplify79.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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.8b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity
10×add-exp-log add-cbrt-cube
frac-times flip3-+ flip-+ associate-/l/
add-cube-cbrt
flip3-- flip--
pow1 associate-*l* add-log-exp
associate-*r/ associate-*r* associate-*l/
times-frac associate-/r*
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod
+-commutative distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num sum-log *-commutative div-inv distribute-lft-out associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 73
Calls
3 calls:
9.0ms
(* (- x y) (+ x y))
3.0ms
(+ (* x x) (* y y))
12.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series23.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(* (- x y) (+ x y))
6.0ms
(+ (* x x) (* y y))
11.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

simplify65.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0419577
12448504
25003497

prune93.0ms

Filtered
62 candidates to 82 candidates (-32.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New79382
Fresh000
Picked011
Done000
Total79483

Merged error: 0.3b

Counts
83 → 4

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

prune6.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New000
Fresh022
Picked011
Done011
Total044

Merged error: 0.3b

Counts
4 → 4

localize23.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- (* x x) (* y y)) (+ (pow x 3) (pow y 3)))
0.1b
(* (* (+ (* y (- y x)) (pow x 2)) (+ x y)) (+ (* x x) (* y y)))
0.2b
(* (+ (* y (- y x)) (pow x 2)) (+ x y))
41.8b
(/ (* (- (* x x) (* y y)) (+ (pow x 3) (pow y 3))) (* (* (+ (* y (- y x)) (pow x 2)) (+ x y)) (+ (* x x) (* y y))))

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
68×frac-times
66×flip3-+ flip-+
34×add-exp-log associate-*l/ add-cbrt-cube
26×associate-/r/
22×associate-*r/
21×*-un-lft-identity
16×associate-*r*
14×prod-exp cbrt-unprod
13×pow1 add-sqr-sqrt
add-cube-cbrt
associate-*l* associate-/l/
cbrt-undiv flip3-- div-exp flip-- distribute-lft-out
pow-prod-down
unpow-prod-down cube-prod add-log-exp
distribute-rgt-in distribute-lft-in *-commutative
unswap-sqr
frac-2neg times-frac clear-num associate-/r* sum-cubes div-inv associate-/l* difference-of-squares
Counts
4 → 169
Calls
4 calls:
17.0ms
(* (- (* x x) (* y y)) (+ (pow x 3) (pow y 3)))
17.0ms
(* (* (+ (* y (- y x)) (pow x 2)) (+ x y)) (+ (* x x) (* y y)))
13.0ms
(* (+ (* y (- y x)) (pow x 2)) (+ x y))
33.0ms
(/ (* (- (* x x) (* y y)) (+ (pow x 3) (pow y 3))) (* (* (+ (* y (- y x)) (pow x 2)) (+ x y)) (+ (* x x) (* y y))))

series77.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (- (* x x) (* y y)) (+ (pow x 3) (pow y 3)))
23.0ms
(* (* (+ (* y (- y x)) (pow x 2)) (+ x y)) (+ (* x x) (* y y)))
13.0ms
(* (+ (* y (- y x)) (pow x 2)) (+ x y))
25.0ms
(/ (* (- (* x x) (* y y)) (+ (pow x 3) (pow y 3))) (* (* (+ (* y (- y x)) (pow x 2)) (+ x y)) (+ (* x x) (* y y))))

simplify62.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
012643121
150032862

prune447.0ms

Filtered
145 candidates to 181 candidates (-24.8%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1810181
Fresh011
Picked011
Done022
Total1814185

Merged error: 0.3b

Counts
185 → 4

localize0.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 (0 fresh and 4 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done033
Total044

Merged error: 0.3b

Counts
4 → 4

regimes169.0ms

Accuracy

77.5% (4.4b remaining)

Error of 4.8b against oracle of 0.4b and baseline of 20.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01614
11614

end0.0ms

sample580.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 81.280506%

Space saved by search: 81.280506%

Guaranteed chance to sample good point: 0%

Results
297.0ms8000×body80valid
147.0ms8000×pre80true

Profiling

Loading profile data...