Details

Time bar (total: 16.1s)

analyze2.8s

Algorithm
search
sampling

Space saved by range analysis: 0.097632%

Space saved by search: 0.097632%

Guaranteed chance to sample good point: 75%

sample219.0ms

Algorithm
intervals
Results
130.0ms96×body1280valid
43.0ms51×body640valid
14.0ms78×body80valid
13.0ms22×body320valid
4.0msbody160valid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07430
118230
265730
3272730
4500130

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.4b

Counts
2 → 1

localize40.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

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

series31.0ms

Counts
4 → 10
Calls
4 calls:
7.0ms
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
14.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.0ms
(- 3.0 (sqrt 5.0))
9.0ms
(- (cos x) (cos y))

simplify62.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0584813
12075753
25001753

prune398.0ms

Filtered
76 candidates to 112 candidates (-47.4%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New10012112
Fresh000
Picked101
Done000
Total10112113

Merged error: 0.2b

Counts
113 → 12

localize42.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 5.0) 1.0) 2.0) (cos x))
0.5b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
2.0b
(- (cos x) (cos y))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt
31×*-un-lft-identity
29×flip3-- associate-*l* flip--
28×frac-times associate-*r/
20×add-exp-log times-frac add-cbrt-cube
19×add-cube-cbrt
17×pow1
15×associate-*r* associate-*l/
10×difference-of-squares
prod-exp cbrt-unprod
pow-prod-down
sqrt-prod
distribute-lft-out-- add-log-exp
sub-neg
distribute-rgt-in distribute-lft-in unswap-sqr
*-commutative
diff-cos
cbrt-undiv diff-log div-exp div-inv
Counts
4 → 141
Calls
4 calls:
25.0ms
(* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))
11.0ms
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
13.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
5.0ms
(- (cos x) (cos y))

series77.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))
7.0ms
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
19.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
10.0ms
(- (cos x) (cos y))

simplify49.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
09772200
150012033

prune654.0ms

Filtered
107 candidates to 153 candidates (-43.0%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1512153
Fresh2911
Picked101
Done000
Total15411165

Merged error: 0.1b

Counts
165 → 11

localize41.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
0.5b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
2.0b
(- (cos x) (cos y))
3.1b
(log (exp (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt
29×*-un-lft-identity
28×associate-*l*
20×times-frac
19×add-cube-cbrt
11×add-exp-log add-cbrt-cube
pow1 associate-*r* difference-of-squares
log-prod sqrt-prod add-log-exp
sub-neg distribute-lft-out--
distribute-rgt-in distribute-lft-in exp-sum unswap-sqr
prod-exp log-pow cbrt-unprod
flip3-- associate-*r/ pow-prod-down *-commutative flip--
cbrt-undiv exp-prod exp-to-pow diff-log div-exp rem-log-exp associate-*l/ div-inv diff-cos
Counts
4 → 105
Calls
4 calls:
11.0ms
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
12.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
5.0ms
(- (cos x) (cos y))
4.0ms
(log (exp (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))))

series74.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
14.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
10.0ms
(- (cos x) (cos y))
43.0ms
(log (exp (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))))

simplify63.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05721171
121601062
250011062

prune480.0ms

Filtered
80 candidates to 117 candidates (-46.3%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1152117
Fresh01010
Picked011
Done000
Total11513128

Merged error: 0.1b

Counts
128 → 13

localize50.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y))))
2.0b
(- (cos x) (cos y))
2.0b
(- (cos x) (cos y))
2.0b
(- (cos x) (cos y))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
30×flip3-- flip--
28×frac-times
26×cbrt-div associate-*r/
14×associate-*l/
10×add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg diff-log diff-cos distribute-lft-out-- difference-of-squares
cbrt-prod pow1/3
Counts
4 → 80
Calls
4 calls:
23.0ms
(cbrt (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y))))
5.0ms
(- (cos x) (cos y))
5.0ms
(- (cos x) (cos y))
5.0ms
(- (cos x) (cos y))

series206.0ms

Counts
4 → 12
Calls
4 calls:
172.0ms
(cbrt (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y))))
14.0ms
(- (cos x) (cos y))
9.0ms
(- (cos x) (cos y))
10.0ms
(- (cos x) (cos y))

simplify85.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
06621701
130441647
250021645

prune573.0ms

Filtered
75 candidates to 92 candidates (-22.7%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New91192
Fresh01111
Picked011
Done011
Total9114105

Merged error: 0.1b

Counts
105 → 14

regimes263.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04936
14936

end0.0ms

analyze2.8s

Algorithm
search
sampling

Space saved by range analysis: 0.097632%

Space saved by search: 0.097632%

Guaranteed chance to sample good point: 75%

sample6.9s

Algorithm
intervals
Results
3.9s2738×body1280valid
1.6s1814×body640valid
470.0ms2375×body80valid
468.0ms737×body320valid
137.0ms336×body160valid

Profiling

Loading profile data...