Details

Time bar (total: 2.5s)

sample18.0ms

Algorithm
intervals
Results
8.0ms256×body80valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0157
1227
2247
3247

prune3.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: 38.9b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ (* x x) (* y y)) (* z z))
0.0b
(+ (* x x) (* y y))
0.1b
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
36.2b
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
sqrt-div
flip3-+ flip-+ associate-/l/
+-commutative
associate-+l+ frac-2neg clear-num div-inv
pow1/2 sqrt-prod
Counts
4 → 20
Calls
4 calls:
7.0ms
(+ (+ (* x x) (* y y)) (* z z))
4.0ms
(+ (* x x) (* y y))
8.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
6.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

series286.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(+ (+ (* x x) (* y y)) (* z z))
27.0ms
(+ (* x x) (* y y))
52.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
170.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify66.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (61.0ms)

IterNodesCost
0185234
1712227
22006223
35001219

prune95.0ms

Filtered
32 candidates to 26 candidates (81.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New27532
Fresh000
Picked101
Done000
Total28533

Merged error: 18.4b

Counts
33 → 5

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (pow x 2) (+ (pow y 2) (pow z 2)))
0.1b
(* 0.3333333333333333 (+ (pow x 2) (+ (pow y 2) (pow z 2))))
36.2b
(sqrt (* 0.3333333333333333 (+ (pow x 2) (+ (pow y 2) (pow z 2)))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
+-commutative associate-+r+
distribute-rgt-in distribute-lft-in associate-*r/
flip3-+ flip-+
sqrt-div sqrt-prod *-commutative
pow1/2
Counts
3 → 21
Calls
3 calls:
5.0ms
(+ (pow x 2) (+ (pow y 2) (pow z 2)))
6.0ms
(* 0.3333333333333333 (+ (pow x 2) (+ (pow y 2) (pow z 2))))
6.0ms
(sqrt (* 0.3333333333333333 (+ (pow x 2) (+ (pow y 2) (pow z 2)))))

series247.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(+ (pow x 2) (+ (pow y 2) (pow z 2)))
51.0ms
(* 0.3333333333333333 (+ (pow x 2) (+ (pow y 2) (pow z 2))))
160.0ms
(sqrt (* 0.3333333333333333 (+ (pow x 2) (+ (pow y 2) (pow z 2)))))

simplify52.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0123209
1435206
21432206
35002206

prune71.0ms

Filtered
30 candidates to 17 candidates (56.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New30030
Fresh044
Picked011
Done000
Total30535

Merged error: 18.4b

Counts
35 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ (* x x) (* y y)) (* z z))
0.0b
(+ (* x x) (* y y))
0.4b
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
36.1b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
flip3-+ sqrt-div flip-+
+-commutative
associate-+l+ associate-/l/
sqrt-undiv frac-2neg pow1/2 clear-num div-inv
Counts
4 → 17
Calls
4 calls:
7.0ms
(+ (+ (* x x) (* y y)) (* z z))
4.0ms
(+ (* x x) (* y y))
7.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series378.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(+ (+ (* x x) (* y y)) (* z z))
27.0ms
(+ (* x x) (* y y))
217.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
96.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify59.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0158197
1596193
21632189
35002189

prune88.0ms

Filtered
29 candidates to 23 candidates (79.3%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New26329
Fresh033
Picked011
Done011
Total26834

Merged error: 18.2b

Counts
34 → 8

localize3.0ms

Local error

Found 1 expressions with local error:

0.3b
(/ z (sqrt 3.0))

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
frac-2neg clear-num div-inv
Counts
1 → 3
Calls
1 calls:
2.0ms
(/ z (sqrt 3.0))

series58.0ms

Counts
1 → 3
Calls
1 calls:
58.0ms
(/ z (sqrt 3.0))

simplify4.0ms

Algorithm
egg-herbie
Counts
6 → 6
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
01113
11113

prune6.0ms

Filtered
6 candidates to 3 candidates (50.0%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New426
Fresh055
Picked011
Done022
Total41014

Merged error: 18.2b

Counts
14 → 10

regimes396.0ms

Accuracy

64.7% (7.2b remaining)

Error of 25.3b against oracle of 18.1b and baseline of 38.4b

bsearch77.0ms

Steps
ItersRangePoint
8
1.74384754595472e+119
1.5789597603016236e+122
8.139421225416975e+121
9
-6.311616513999659e+143
-9.938214279124584e+135
-9.575588976650983e+141

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03112
13312
23312

end0.0ms

sample459.0ms

Algorithm
intervals
Results
274.0ms8000×body80valid