Details

Time bar (total: 4.3s)

sample20.0ms

Algorithm
intervals
Results
8.0ms256×body80valid

simplify14.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0167
1277
2337
3347
4347
done347

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 38.7b

localize15.0ms

Local error

Found 2 expressions with local error:

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

rewrite113.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
19×times-frac
17×add-cube-cbrt *-un-lft-identity
13×sqrt-prod
add-exp-log add-cbrt-cube
pow1 associate-/r* associate-/l*
expm1-log1p-u rem-sqrt-square log1p-expm1-u div-inv associate-/l/ add-log-exp
cbrt-undiv frac-2neg sqrt-pow1 flip3-+ pow1/2 sqrt-div div-exp clear-num flip-+
Counts
2 → 58
Calls
2 calls:
79.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
32.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

series532.0ms

Counts
2 → 6
Calls
2 calls:
68.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
464.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify129.0ms

Counts
64 → 64
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0223655
1877586
23651577
35001577
done5001577

prune221.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 19.5b

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
45×sqrt-prod
36×times-frac
33×add-sqr-sqrt
31×add-cube-cbrt *-un-lft-identity
associate-/r* associate-/l*
add-exp-log sqrt-div add-cbrt-cube
pow1
expm1-log1p-u flip3-+ flip-+ log1p-expm1-u associate-/l/ add-log-exp
cbrt-undiv rem-sqrt-square sqrt-undiv frac-2neg sqrt-pow1 pow1/2 div-exp clear-num hypot-def div-inv
Counts
2 → 83
Calls
2 calls:
54.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
34.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series383.0ms

Counts
2 → 6
Calls
2 calls:
261.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
122.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify81.0ms

Counts
89 → 89
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
02191151
16571087
224431063
350021063
done50021063

prune222.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 16.3b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity
18×times-frac
15×sqrt-prod
associate-/r*
add-exp-log add-cbrt-cube
pow1
expm1-log1p-u log1p-expm1-u associate-/l* add-log-exp
hypot-udef sqrt-div
cbrt-undiv rem-sqrt-square sqrt-undiv frac-2neg sqrt-pow1 flip3-+ pow1/2 div-exp clear-num flip-+ hypot-def div-inv
Counts
3 → 70
Calls
3 calls:
0.0ms
(hypot (sqrt (+ (* x x) (* y y))) z)
6.0ms
(/ (hypot (sqrt (+ (* x x) (* y y))) z) (sqrt 3.0))
8.0ms
(sqrt (+ (* x x) (* y y)))

series560.0ms

Counts
3 → 9
Calls
3 calls:
189.0ms
(hypot (sqrt (+ (* x x) (* y y))) z)
323.0ms
(/ (hypot (sqrt (+ (* x x) (* y y))) z) (sqrt 3.0))
47.0ms
(sqrt (+ (* x x) (* y y)))

simplify131.0ms

Counts
79 → 79
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0214731
1558679
21420665
34000665
45001665
done5001665

prune242.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(hypot (hypot x y) z)
0.4b
(/ (hypot (hypot x y) z) (sqrt 3.0))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
18×times-frac
17×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×sqrt-prod
associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
pow1 expm1-log1p-u hypot-udef log1p-expm1-u add-log-exp
cbrt-undiv sqrt-undiv frac-2neg div-exp clear-num div-inv
Counts
2 → 52
Calls
2 calls:
0.0ms
(hypot (hypot x y) z)
7.0ms
(/ (hypot (hypot x y) z) (sqrt 3.0))

series567.0ms

Counts
2 → 6
Calls
2 calls:
214.0ms
(hypot (hypot x y) z)
353.0ms
(/ (hypot (hypot x y) z) (sqrt 3.0))

simplify78.0ms

Counts
58 → 58
Iterations

Useful iterations: 4 (69.0ms)

IterNodesCost
0128397
1305374
2766363
32107363
45001362
done5001362

prune145.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

regimes249.0ms

Accuracy

0% (0.3b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 0.4b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0118
1118
done118

end0.0ms

sample476.0ms

Algorithm
intervals
Results
256.0ms8000×body80valid