Details

Time bar (total: 10.2s)

sample178.0ms

Algorithm
intervals
Results
93.0ms87×body1280valid
36.0ms53×body640valid
11.0ms81×body80valid
10.0ms22×body320valid
4.0ms13×body160valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07430
118230
265730
3272730
4500130

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

localize35.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
16×*-un-lft-identity
12×associate-*r*
11×pow1 add-exp-log add-cbrt-cube
10×associate-*r/
flip3-- flip--
add-cube-cbrt add-log-exp
associate-*l* difference-of-squares
sub-neg
sqrt-prod
distribute-rgt-in frac-times distribute-lft-in pow-prod-down prod-exp cbrt-unprod distribute-lft-out--
times-frac diff-log associate-*l/ *-commutative unswap-sqr
diff-cos
Counts
4 → 94
Calls
4 calls:
21.0ms
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
11.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
4.0ms
(- 3.0 (sqrt 5.0))
4.0ms
(- (cos x) (cos y))

series300.0ms

Counts
4 → 10
Calls
4 calls:
137.0ms
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
95.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.0ms
(- 3.0 (sqrt 5.0))
67.0ms
(- (cos x) (cos y))

simplify67.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
06221094
126431002
250031002

prune515.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.2b

localize62.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))
0.3b
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
0.4b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
1.3b
(- (cos x) (cos y))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
36×associate-*r/
35×flip3-- flip--
32×frac-times
27×add-sqr-sqrt
20×pow1 add-exp-log add-cbrt-cube
18×associate-*r*
17×*-un-lft-identity
16×associate-*l/
10×pow-prod-down prod-exp cbrt-unprod
add-cube-cbrt
associate-*l*
sub-neg
distribute-rgt-in distribute-lft-in add-log-exp difference-of-squares
sqrt-prod distribute-lft-out--
*-commutative
times-frac diff-cos unswap-sqr
diff-log
Counts
4 → 133
Calls
4 calls:
23.0ms
(* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))
18.0ms
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
19.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
8.0ms
(- (cos x) (cos y))

series499.0ms

Counts
4 → 12
Calls
4 calls:
221.0ms
(* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))
135.0ms
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
87.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
55.0ms
(- (cos x) (cos y))

simplify121.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
08482481
149312282
250022282

prune949.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.2b

localize51.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
0.4b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.5b
(+ (cos x) (cos y))
1.5b
(- (* (cos x) (cos x)) (* (cos y) (cos y)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
14×*-un-lft-identity
12×associate-*r*
11×pow1 add-exp-log add-cbrt-cube
10×associate-*r/
add-cube-cbrt flip3-- flip-- add-log-exp
associate-*l*
sub-neg difference-of-squares
distribute-rgt-in frac-times distribute-lft-in pow-prod-down prod-exp sqrt-prod cos-mult cbrt-unprod
sqr-cos times-frac associate-*l/ *-commutative distribute-lft-out-- unswap-sqr
+-commutative flip3-+ sum-cos diff-log associate--l+ sum-log frac-sub flip-+ distribute-lft-out associate--r+ sub-div
Counts
4 → 94
Calls
4 calls:
18.0ms
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
11.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
4.0ms
(+ (cos x) (cos y))
5.0ms
(- (* (cos x) (cos x)) (* (cos y) (cos y)))

series338.0ms

Counts
4 → 12
Calls
4 calls:
138.0ms
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
88.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
38.0ms
(+ (cos x) (cos y))
73.0ms
(- (* (cos x) (cos x)) (* (cos y) (cos y)))

simplify72.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
06591167
129391044
250031040

prune710.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize41.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.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:
4.0ms
(- 3.0 (sqrt 5.0))
5.0ms
(- (cos x) (cos y))
5.0ms
(- (cos x) (cos y))
5.0ms
(- (cos x) (cos y))

series165.0ms

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

simplify140.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
0155400
1362374
2950370
33993370
45001370

prune431.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.2b

regimes102.0ms

Accuracy

0% (0.1b remaining)

Error of 0.5b against oracle of 0.3b and baseline of 0.5b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05242
15242

end0.0ms

sample5.2s

Algorithm
intervals
Results
2.9s2722×body1280valid
1.3s1861×body640valid
345.0ms2355×body80valid
337.0ms707×body320valid
109.0ms355×body160valid