Details

Time bar (total: 10.8s)

analyze800.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
50%50%0.1%4
74.9%25%0.1%5
74.9%25%0.1%6
74.9%25%0.1%7
74.9%25%0.1%8
74.9%25%0.1%9
74.9%25%0.1%10
74.9%25%0.1%11
74.9%25%0.1%12
74.9%25%0.1%13
74.9%25%0.1%14

sample250.0ms

Algorithm
intervals
Results
147.0ms96×body1280valid
59.0ms64×body640valid
15.0ms69×body80valid
9.0ms15×body320valid
5.0ms12×body160valid

simplify24.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
0495550
1495550

prune20.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 2

localize36.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.4b
(+ (* (cos x) (/ (- (sqrt 5.0) 1.0) 2.0)) (* (cos y) (/ (- 3.0 (sqrt 5.0)) 2.0)))
1.0b
(- 3.0 (sqrt 5.0))
1.3b
(- (cos x) (cos y))

rewrite58.0ms

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

series78.0ms

Counts
4 → 10
Calls
4 calls:
39.0ms
(* (sqrt 2.0) (* (- (sin x) (/ (sin y) 16.0)) (* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y)))))
29.0ms
(+ (* (cos x) (/ (- (sqrt 5.0) 1.0) 2.0)) (* (cos y) (/ (- 3.0 (sqrt 5.0)) 2.0)))
0.0ms
(- 3.0 (sqrt 5.0))
10.0ms
(- (cos x) (cos y))

simplify58.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049972617
149972617

prune398.0ms

Filtered
82 candidates to 108 candidates (-31.7%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New9810108
Fresh011
Picked101
Done000
Total9911110

Merged error: 0.2b

Counts
110 → 11

localize42.0ms

Local error

Found 4 expressions with local error:

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

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
43×associate-*r/
36×add-sqr-sqrt
28×frac-times flip3-- flip--
25×*-un-lft-identity
23×associate-*r*
19×times-frac
18×add-exp-log add-cbrt-cube
17×add-cube-cbrt
15×pow1
12×distribute-rgt-in distribute-lft-in
sub-neg associate-*l*
associate-*l/ prod-exp cbrt-unprod add-log-exp
pow-prod-down difference-of-squares
sqrt-prod
distribute-lft-out--
*-commutative unswap-sqr
cbrt-undiv +-commutative flip3-+ diff-log div-exp frac-add sum-log flip-+ div-inv diff-cos
Counts
4 → 125
Calls
4 calls:
12.0ms
(* (cos x) (/ (- (sqrt 5.0) 1.0) 2.0))
28.0ms
(* (sqrt 2.0) (* (- (sin x) (/ (sin y) 16.0)) (* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y)))))
11.0ms
(+ (* (cos x) (/ (- (sqrt 5.0) 1.0) 2.0)) (* (cos y) (/ (/ (- (* 3.0 3.0) 5.0) (+ 3.0 (sqrt 5.0))) 2.0)))
5.0ms
(- (cos x) (cos y))

series112.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* (cos x) (/ (- (sqrt 5.0) 1.0) 2.0))
54.0ms
(* (sqrt 2.0) (* (- (sin x) (/ (sin y) 16.0)) (* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y)))))
36.0ms
(+ (* (cos x) (/ (- (sqrt 5.0) 1.0) 2.0)) (* (cos y) (/ (/ (- (* 3.0 3.0) 5.0) (+ 3.0 (sqrt 5.0))) 2.0)))
14.0ms
(- (cos x) (cos y))

simplify61.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
050043062

prune589.0ms

Filtered
99 candidates to 137 candidates (-38.4%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1289137
Fresh6410
Picked101
Done000
Total13513148

Merged error: 0.1b

Counts
148 → 13

localize45.0ms

Local error

Found 4 expressions with local error:

0.4b
(+ (* (cos x) (/ (- (sqrt 5.0) 1.0) 2.0)) (* (cos y) (/ (- 3.0 (sqrt 5.0)) 2.0)))
1.0b
(- 3.0 (sqrt 5.0))
1.3b
(- (cos x) (cos y))
3.2b
(log (pow (exp (sqrt 2.0)) (* (- (cos x) (cos y)) (* (- (sin x) (/ (sin y) 16.0)) (- (sin y) (/ (sin x) 16.0))))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
11×log-prod
10×*-un-lft-identity add-log-exp
add-cube-cbrt sub-neg
add-exp-log
pow1 unpow-prod-up distribute-rgt-in distribute-lft-in add-cbrt-cube
unpow-prod-down rem-log-exp difference-of-squares
flip3-- diff-log associate-*r/ flip-- distribute-lft-out--
+-commutative pow-to-exp flip3-+ frac-add pow-exp sum-log sqrt-prod log-pow flip-+ diff-cos sqr-pow
Counts
4 → 62
Calls
4 calls:
10.0ms
(+ (* (cos x) (/ (- (sqrt 5.0) 1.0) 2.0)) (* (cos y) (/ (- 3.0 (sqrt 5.0)) 2.0)))
4.0ms
(- 3.0 (sqrt 5.0))
4.0ms
(- (cos x) (cos y))
6.0ms
(log (pow (exp (sqrt 2.0)) (* (- (cos x) (cos y)) (* (- (sin x) (/ (sin y) 16.0)) (- (sin y) (/ (sin x) 16.0))))))

series114.0ms

Counts
4 → 10
Calls
4 calls:
29.0ms
(+ (* (cos x) (/ (- (sqrt 5.0) 1.0) 2.0)) (* (cos y) (/ (- 3.0 (sqrt 5.0)) 2.0)))
0.0ms
(- 3.0 (sqrt 5.0))
10.0ms
(- (cos x) (cos y))
75.0ms
(log (pow (exp (sqrt 2.0)) (* (- (cos x) (cos y)) (* (- (sin x) (/ (sin y) 16.0)) (- (sin y) (/ (sin x) 16.0))))))

simplify28.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (18.0ms)

IterNodesCost
050591450

prune312.0ms

Filtered
55 candidates to 72 candidates (-30.9%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New68472
Fresh21012
Picked101
Done000
Total711485

Merged error: 0.1b

Counts
85 → 14

localize42.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
40×associate-*r/
30×flip3-- flip--
28×frac-times
26×cbrt-div
10×add-sqr-sqrt *-un-lft-identity add-log-exp
associate-*l/
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 → 77
Calls
4 calls:
25.0ms
(cbrt (* (sqrt 2.0) (* (- (cos x) (cos y)) (* (- (sin x) (/ (sin y) 16.0)) (- (sin y) (/ (sin x) 16.0))))))
5.0ms
(- (cos x) (cos y))
4.0ms
(- (cos x) (cos y))
5.0ms
(- (cos x) (cos y))

series195.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
051072439

prune509.0ms

Filtered
76 candidates to 89 candidates (-17.1%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New88189
Fresh01313
Picked011
Done000
Total8815103

Merged error: 0.1b

Counts
103 → 15

regimes453.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0109110
1109110

end0.0ms

sample6.4s

Algorithm
intervals
Results
3.5s2681×body1280valid
1.6s1900×body640valid
455.0ms744×body320valid
443.0ms2360×body80valid
127.0ms315×body160valid

Profiling

Loading profile data...