Details

Time bar (total: 15.5s)

sample50.0ms

Algorithm
intervals
Results
25.0ms443×body80valid

simplify80.0ms

Counts
1 → 1
Iterations

Useful iterations: 3 (33.0ms)

IterNodesCost
0715
11315
22313
3359
4439
5469
done469

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize17.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.0b
(+ (+ (* x x) (* y y)) (* y y))
0.1b
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

rewrite246.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
10×sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ add-cbrt-cube flip-+
associate-+l+
Counts
3 → 38
Calls
3 calls:
19.0ms
(+ (* x x) (* y y))
42.0ms
(+ (+ (* x x) (* y y)) (* y y))
182.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

series157.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(+ (* x x) (* y y))
62.0ms
(+ (+ (* x x) (* y y)) (* y y))
51.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

simplify2.4s

Counts
47 → 47
Iterations

Useful iterations: 3 (957.0ms)

IterNodesCost
070791
1211667
2725591
32852513
done5000513

prune145.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))))
0.1b
(+ (+ (* (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y)))) (* y y)) (* y y))
6.1b
(sqrt (+ (* x x) (* y y)))
6.1b
(sqrt (+ (* x x) (* y y)))

rewrite231.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
16×sqrt-div
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
flip3-+ flip-+ add-log-exp
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
frac-times unswap-sqr
pow-prod-down sum-log pow-sqr
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 associate-+l+ pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 100
Calls
4 calls:
55.0ms
(* (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))))
141.0ms
(+ (+ (* (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y)))) (* y y)) (* y y))
14.0ms
(sqrt (+ (* x x) (* y y)))
14.0ms
(sqrt (+ (* x x) (* y y)))

series218.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))))
50.0ms
(+ (+ (* (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y)))) (* y y)) (* y y))
58.0ms
(sqrt (+ (* x x) (* y y)))
71.0ms
(sqrt (+ (* x x) (* y y)))

simplify2.3s

Counts
112 → 112
Iterations

Useful iterations: done (2.3s)

IterNodesCost
01112347
12491542
27781300
328001201
done50001179

prune302.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize31.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (* (sqrt (+ (pow x 2) (* 2 (pow y 2)))) (sqrt (+ (pow x 2) (* 2 (pow y 2))))) (* y y))
0.2b
(* (sqrt (+ (pow x 2) (* 2 (pow y 2)))) (sqrt (+ (pow x 2) (* 2 (pow y 2)))))
6.1b
(sqrt (+ (pow x 2) (* 2 (pow y 2))))
6.1b
(sqrt (+ (pow x 2) (* 2 (pow y 2))))

rewrite182.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
16×sqrt-div
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
flip3-+ flip-+
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-up
frac-times unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 98
Calls
4 calls:
39.0ms
(+ (* (sqrt (+ (pow x 2) (* 2 (pow y 2)))) (sqrt (+ (pow x 2) (* 2 (pow y 2))))) (* y y))
84.0ms
(* (sqrt (+ (pow x 2) (* 2 (pow y 2)))) (sqrt (+ (pow x 2) (* 2 (pow y 2)))))
29.0ms
(sqrt (+ (pow x 2) (* 2 (pow y 2))))
26.0ms
(sqrt (+ (pow x 2) (* 2 (pow y 2))))

series291.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(+ (* (sqrt (+ (pow x 2) (* 2 (pow y 2)))) (sqrt (+ (pow x 2) (* 2 (pow y 2))))) (* y y))
68.0ms
(* (sqrt (+ (pow x 2) (* 2 (pow y 2)))) (sqrt (+ (pow x 2) (* 2 (pow y 2)))))
82.0ms
(sqrt (+ (pow x 2) (* 2 (pow y 2))))
84.0ms
(sqrt (+ (pow x 2) (* 2 (pow y 2))))

simplify2.9s

Counts
110 → 110
Iterations

Useful iterations: done (2.9s)

IterNodesCost
01082708
12471699
28221551
332411429
done50011401

prune362.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (pow x 2) (* y (* 3 y)))
0.2b
(* y (* 3 y))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*r* sum-log *-commutative flip-+
Counts
2 → 29
Calls
2 calls:
23.0ms
(+ (pow x 2) (* y (* 3 y)))
35.0ms
(* y (* 3 y))

series82.0ms

Counts
2 → 6
Calls
2 calls:
53.0ms
(+ (pow x 2) (* y (* 3 y)))
30.0ms
(* y (* 3 y))

simplify3.6s

Counts
35 → 35
Iterations

Useful iterations: 4 (2.0s)

IterNodesCost
056362
1155326
2477294
31323282
43717280
done5002280

prune87.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes122.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0925
11225
done1225

end0.0ms

sample1.6s

Algorithm
intervals
Results
1.1s14232×body80valid