Details

Time bar (total: 9.1s)

sample181.0ms

Algorithm
intervals
Results
99.0ms87×body1280valid
35.0ms52×body640valid
12.0ms25×body320valid
11.0ms82×body80valid
4.0ms10×body160valid

simplify649.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03250
17450
217650
354850
4175350
done500050

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize37.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (+ 2.0 (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))) (* 3.0 (+ (+ 1.0 (* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))) (* (/ (- 3.0 (sqrt 5.0)) 2.0) (cos y)))))
0.4b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
1.0b
(- 3.0 (sqrt 5.0))
2.8b
(- (cos x) (cos y))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
15×*-un-lft-identity
11×add-exp-log add-cbrt-cube
add-cube-cbrt
add-log-exp
pow1 associate-*r/ associate-*r* associate-*l*
sqrt-prod difference-of-squares
sub-neg times-frac associate-/r/
flip3-- flip3-+ flip-- flip-+ associate-/l* distribute-lft-out--
cbrt-undiv distribute-rgt-in distribute-lft-in diff-log div-exp associate-*l/ frac-add prod-exp cbrt-unprod associate-/l/ unswap-sqr
frac-2neg pow-prod-down clear-num associate-/r* *-commutative div-inv diff-cos
Counts
4 → 88
Calls
4 calls:
27.0ms
(/ (+ 2.0 (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))) (* 3.0 (+ (+ 1.0 (* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))) (* (/ (- 3.0 (sqrt 5.0)) 2.0) (cos y)))))
29.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
3.0ms
(- 3.0 (sqrt 5.0))
3.0ms
(- (cos x) (cos y))

series1.4s

Counts
4 → 10
Calls
4 calls:
1.3s
(/ (+ 2.0 (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))) (* 3.0 (+ (+ 1.0 (* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))) (* (/ (- 3.0 (sqrt 5.0)) 2.0) (cos y)))))
88.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.0ms
(- 3.0 (sqrt 5.0))
52.0ms
(- (cos x) (cos y))

simplify843.0ms

Counts
98 → 98
Iterations

Useful iterations: 2 (252.0ms)

IterNodesCost
03112970
18532897
231172544
done50002544

prune575.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize50.0ms

Local error

Found 4 expressions with local error:

1.0b
(- 3.0 (sqrt 5.0))
1.0b
(- 3.0 (sqrt 5.0))
1.0b
(- 3.0 (sqrt 5.0))
2.8b
(- (cos x) (cos y))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
12×*-un-lft-identity add-log-exp
difference-of-squares
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- distribute-lft-out--
sqrt-prod
diff-cos
Counts
4 → 60
Calls
4 calls:
3.0ms
(- 3.0 (sqrt 5.0))
3.0ms
(- 3.0 (sqrt 5.0))
3.0ms
(- 3.0 (sqrt 5.0))
3.0ms
(- (cos x) (cos y))

series53.0ms

Counts
4 → 6
Calls
4 calls:
0.0ms
(- 3.0 (sqrt 5.0))
0.0ms
(- 3.0 (sqrt 5.0))
0.0ms
(- 3.0 (sqrt 5.0))
53.0ms
(- (cos x) (cos y))

simplify554.0ms

Counts
66 → 66
Iterations

Useful iterations: 3 (164.0ms)

IterNodesCost
0104711
1230680
2544646
31606638
done5000638

prune528.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize35.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ 1 3.0) (/ (+ 2.0 (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))) (+ (+ 1.0 (* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))) (* (/ (- 3.0 (sqrt 5.0)) 2.0) (cos y)))))
0.4b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
1.0b
(- 3.0 (sqrt 5.0))
2.8b
(- (cos x) (cos y))

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
53×add-sqr-sqrt
29×*-un-lft-identity
28×add-exp-log
26×times-frac
23×associate-*r*
21×add-cube-cbrt
19×associate-*l*
18×add-cbrt-cube
prod-exp
pow1 div-exp add-log-exp unswap-sqr
sqrt-prod cbrt-unprod difference-of-squares
cbrt-undiv sub-neg associate-/r/
flip3-- associate-*r/ associate-*l/ flip-- distribute-lft-out--
distribute-rgt-in rec-exp distribute-lft-in flip3-+ diff-log 1-exp pow-prod-down frac-add *-commutative flip-+ div-inv
frac-times diff-cos
Counts
4 → 121
Calls
4 calls:
42.0ms
(* (/ 1 3.0) (/ (+ 2.0 (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))) (+ (+ 1.0 (* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))) (* (/ (- 3.0 (sqrt 5.0)) 2.0) (cos y)))))
31.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
3.0ms
(- 3.0 (sqrt 5.0))
3.0ms
(- (cos x) (cos y))

series1.5s

Counts
4 → 10
Calls
4 calls:
1.4s
(* (/ 1 3.0) (/ (+ 2.0 (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))) (+ (+ 1.0 (* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))) (* (/ (- 3.0 (sqrt 5.0)) 2.0) (cos y)))))
92.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.0ms
(- 3.0 (sqrt 5.0))
57.0ms
(- (cos x) (cos y))

simplify1.2s

Counts
131 → 131
Iterations

Useful iterations: 2 (359.0ms)

IterNodesCost
03705183
110455024
239074417
done50014417

prune921.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.0b

localize52.0ms

Local error

Found 4 expressions with local error:

1.0b
(- 3.0 (sqrt 5.0))
2.8b
(- (cos x) (cos y))
2.8b
(- (cos x) (cos y))
2.8b
(- (cos x) (cos y))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
12×*-un-lft-identity add-log-exp
difference-of-squares
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- distribute-lft-out--
diff-cos
sqrt-prod
Counts
4 → 60
Calls
4 calls:
3.0ms
(- 3.0 (sqrt 5.0))
3.0ms
(- (cos x) (cos y))
3.0ms
(- (cos x) (cos y))
3.0ms
(- (cos x) (cos y))

series169.0ms

Counts
4 → 10
Calls
4 calls:
0.0ms
(- 3.0 (sqrt 5.0))
53.0ms
(- (cos x) (cos y))
59.0ms
(- (cos x) (cos y))
57.0ms
(- (cos x) (cos y))

simplify41.0ms

Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
079666
1157645