Details

Time bar (total: 17.0s)

sample50.0ms

Algorithm
intervals
Results
26.0ms443×body80valid

simplify80.0ms

Counts
1 → 1
Iterations

Useful iterations: 3 (34.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))

rewrite226.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:
10.0ms
(+ (* x x) (* y y))
31.0ms
(+ (+ (* x x) (* y y)) (* y y))
184.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

series121.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(+ (* x x) (* y y))
41.0ms
(+ (+ (* x x) (* y y)) (* y y))
45.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

simplify2.5s

Counts
47 → 47
Iterations

Useful iterations: 3 (915.0ms)

IterNodesCost
070791
1211667
2725591
32852513
done5000513

prune505.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)))

rewrite270.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:
88.0ms
(* (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))))
147.0ms
(+ (+ (* (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y)))) (* y y)) (* y y))
11.0ms
(sqrt (+ (* x x) (* y y)))
18.0ms
(sqrt (+ (* x x) (* y y)))

series227.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))))
56.0ms
(+ (+ (* (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y)))) (* y y)) (* y y))
59.0ms
(sqrt (+ (* x x) (* y y)))
53.0ms
(sqrt (+ (* x x) (* y y)))

simplify2.3s

Counts
112 → 112
Iterations

Useful iterations: done (2.3s)

IterNodesCost
01112347
12491542
27781300
328001201
done50001179

prune297.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize21.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))))

rewrite198.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:
47.0ms
(+ (* (sqrt (+ (pow x 2) (* 2 (pow y 2)))) (sqrt (+ (pow x 2) (* 2 (pow y 2))))) (* y y))
98.0ms
(* (sqrt (+ (pow x 2) (* 2 (pow y 2)))) (sqrt (+ (pow x 2) (* 2 (pow y 2)))))
30.0ms
(sqrt (+ (pow x 2) (* 2 (pow y 2))))
20.0ms
(sqrt (+ (pow x 2) (* 2 (pow y 2))))

series288.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(+ (* (sqrt (+ (pow x 2) (* 2 (pow y 2)))) (sqrt (+ (pow x 2) (* 2 (pow y 2))))) (* y y))
63.0ms
(* (sqrt (+ (pow x 2) (* 2 (pow y 2)))) (sqrt (+ (pow x 2) (* 2 (pow y 2)))))
83.0ms
(sqrt (+ (pow x 2) (* 2 (pow y 2))))
92.0ms
(sqrt (+ (pow x 2) (* 2 (pow y 2))))

simplify3.1s

Counts
110 → 110
Iterations

Useful iterations: done (3.1s)

IterNodesCost
01082708
12471699
28221551
332411429
done50011401

prune356.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 2 expressions with local error:

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

rewrite66.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:
27.0ms
(+ (pow x 2) (* y (* 3 y)))
38.0ms
(* y (* 3 y))

series88.0ms

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

simplify4.7s

Counts
35 → 35
Iterations

Useful iterations: 4 (2.5s)

IterNodesCost
056362
1155326
2477294
31323282
43717280
done5002280

prune82.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes177.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0925
11225
done1225

end0.0ms

sample1.3s

Algorithm
intervals
Results
794.0ms14232×body80valid