Details

Time bar (total: 3.5s)

sample23.0ms

Algorithm
intervals
Results
9.0ms256×body80valid
5.0ms256×pre80true

simplify62.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0227
1487
21047
31967
43597
56867
613437
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: 23.4b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.0b
(* (- x y) (+ x y))
23.1b
(/ (* (- 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:
4.0ms
(+ (* x x) (* y y))
8.0ms
(* (- x y) (+ x y))
11.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series151.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ (* x x) (* y y))
50.0ms
(* (- x y) (+ x y))
74.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

simplify62.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0419577
12448504
25003497

prune153.0ms

Filtered
82 candidates to 62 candidates (75.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New79382
Fresh000
Picked101
Done000
Total80383

Merged error: 0.7b

Counts
83 → 3

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

prune4.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New000
Fresh022
Picked011
Done000
Total033

Merged error: 0.7b

Counts
3 → 3

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
272×add-sqr-sqrt
210×times-frac
192×difference-of-squares
128×*-un-lft-identity
120×unpow-prod-down
96×unpow2 sqr-pow
80×add-cube-cbrt
66×distribute-lft-neg-in distribute-rgt-neg-in
24×distribute-lft-out--
22×neg-mul-1
21×associate-/l*
10×associate-/r*
add-log-exp
add-exp-log add-cbrt-cube
pow1
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/ distribute-neg-frac
cbrt-undiv +-commutative sub-neg frac-2neg diff-log div-sub div-exp clear-num sum-log div-inv
Counts
3 → 299
Calls
3 calls:
4.0ms
(+ (* x x) (* y y))
8.0ms
(- (pow y 2) (pow x 2))
18.0ms
(/ (- (pow y 2) (pow x 2)) (neg (+ (* x x) (* y y))))

series126.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ (* x x) (* y y))
32.0ms
(- (pow y 2) (pow x 2))
64.0ms
(/ (- (pow y 2) (pow x 2)) (neg (+ (* x x) (* y y))))

simplify89.0ms

Algorithm
egg-herbie
Counts
308 → 308
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
010474137
127073719
250023716

prune324.0ms

Filtered
308 candidates to 121 candidates (39.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New3071308
Fresh011
Picked011
Done011
Total3074311

Merged error: 0.7b

Counts
311 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ (sqrt (pow y 2)) x) (/ (neg (+ (* x x) (* y y))) (- (sqrt (pow y 2)) x)))
22.5b
(/ (neg (+ (* x x) (* y y))) (- (sqrt (pow y 2)) x))
31.2b
(sqrt (pow y 2))
31.2b
(sqrt (pow y 2))

rewrite163.0ms

Algorithm
rewrite-expression-head
Rules
924×times-frac
828×add-sqr-sqrt
652×*-un-lft-identity
336×add-cube-cbrt
305×difference-of-squares
260×sqrt-prod
165×distribute-lft-neg-in distribute-rgt-neg-in
105×associate-/r*
97×distribute-lft-out
69×unpow-prod-down
65×unpow2 sqr-pow
61×distribute-lft-out--
55×neg-mul-1
14×associate-/l*
13×associate-/r/
11×add-exp-log add-cbrt-cube
rem-sqrt-square
div-inv
flip3-- flip--
pow1 cbrt-undiv div-exp associate-/l/ add-log-exp
frac-2neg sqrt-pow1 flip3-+ pow1/2 clear-num flip-+ distribute-neg-frac
neg-sub0 div-sub distribute-frac-neg
Counts
4 → 670
Calls
4 calls:
35.0ms
(/ (+ (sqrt (pow y 2)) x) (/ (neg (+ (* x x) (* y y))) (- (sqrt (pow y 2)) x)))
16.0ms
(/ (neg (+ (* x x) (* y y))) (- (sqrt (pow y 2)) x))
2.0ms
(sqrt (pow y 2))
2.0ms
(sqrt (pow y 2))

series176.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(/ (+ (sqrt (pow y 2)) x) (/ (neg (+ (* x x) (* y y))) (- (sqrt (pow y 2)) x)))
83.0ms
(/ (neg (+ (* x x) (* y y))) (- (sqrt (pow y 2)) x))
12.0ms
(sqrt (pow y 2))
14.0ms
(sqrt (pow y 2))

simplify148.0ms

Algorithm
egg-herbie
Counts
682 → 682
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
0163413763
1500113351

prune1.0s

Filtered
682 candidates to 320 candidates (46.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New6811682
Fresh011
Picked101
Done022
Total6824686

Merged error: 0.7b

Counts
686 → 4

regimes68.0ms

Accuracy

72.3% (5.8b remaining)

Error of 6.2b against oracle of 0.4b and baseline of 21.3b

bsearch147.0ms

Steps
ItersRangePoint
6
2.3287823800969386e-169
3.097456847931564e-168
3.036124373216085e-168
8
-7.35233497352936e-257
-2.5480248717741984e-260
-7.202265587063637e-257
7
-2.672785933799209e-243
-5.423457113209243e-245
-5.504398464598506e-245
6
-3.0890209267992697e-217
-3.6740266254060145e-218
-3.0453579094069954e-217
7
-5.348920770849847e-172
-1.1700125260653424e-173
-1.1876592677791025e-173
8
-1.3239157245663581e+156
-1.594068837898572e+153
-2.0486376949351227e+153

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03716
14416
24416

end0.0ms

sample599.0ms

Algorithm
intervals
Results
301.0ms8000×body80valid
151.0ms8000×pre80true

Profiling

Loading profile data...