Details

Time bar (total: 11.5s)

analyze779.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

sample222.0ms

Algorithm
intervals
Results
121.0ms90×body1280valid
53.0ms57×body640valid
16.0ms27×body320valid
14.0ms74×body80valid
3.0msbody160valid

simplify23.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
0495550
1495550

prune16.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.4b

Counts
2 → 2

localize41.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.5b
(+ (* (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))
2.0b
(- (cos x) (cos y))

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

series82.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)))))
33.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))

simplify56.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
049972617
149972617

prune389.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

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

rewrite63.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:
11.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)))))
13.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))

series85.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* (cos x) (/ (- (sqrt 5.0) 1.0) 2.0))
43.0ms
(* (sqrt 2.0) (* (- (sin x) (/ (sin y) 16.0)) (* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y)))))
26.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)))
9.0ms
(- (cos x) (cos y))

simplify63.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
050043062

prune531.0ms

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

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1316137
Fresh5510
Picked101
Done000
Total13711148

Merged error: 0.1b

Counts
148 → 11

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

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
55×associate-*r/
36×add-sqr-sqrt
32×frac-times flip3-- associate-*r* flip--
30×*-un-lft-identity
27×times-frac
25×add-exp-log add-cbrt-cube
24×sqrt-prod
22×add-cube-cbrt
18×pow1
12×distribute-rgt-in distribute-lft-in associate-*l/ prod-exp cbrt-unprod
sub-neg pow-prod-down
sqrt-div add-log-exp
associate-*l* difference-of-squares
frac-add
distribute-lft-out--
cbrt-undiv div-exp *-commutative
+-commutative flip3-+ diff-log sum-log flip-+ div-inv diff-cos
Counts
4 → 143
Calls
4 calls:
33.0ms
(* (sqrt 2.0) (* (- (sin x) (/ (sin y) 16.0)) (* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y)))))
17.0ms
(+ (* (* (cos x) (sqrt (- (sqrt 5.0) 1.0))) (/ (sqrt (- (sqrt 5.0) 1.0)) 2.0)) (* (cos y) (/ (/ (- (* 3.0 3.0) 5.0) (+ 3.0 (sqrt 5.0))) 2.0)))
26.0ms
(* (* (cos x) (sqrt (- (sqrt 5.0) 1.0))) (/ (sqrt (- (sqrt 5.0) 1.0)) 2.0))
5.0ms
(- (cos x) (cos y))

series84.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
050113627

prune671.0ms

Filtered
106 candidates to 155 candidates (-46.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1532155
Fresh1910
Picked101
Done000
Total15511166

Merged error: 0.1b

Counts
166 → 11

localize46.0ms

Local error

Found 4 expressions with local error:

0.5b
(+ (* (* (cos x) (sqrt (- (sqrt 5.0) 1.0))) (/ (sqrt (- (sqrt 5.0) 1.0)) 2.0)) (* (cos y) (/ (/ (- (* 3.0 3.0) 5.0) (+ 3.0 (sqrt 5.0))) 2.0)))
0.5b
(pow (* (sqrt 2.0) (* (- (cos x) (cos y)) (* (- (sin x) (/ (sin y) 16.0)) (- (sin y) (/ (sin x) 16.0))))) 3)
0.6b
(* (* (cos x) (sqrt (- (sqrt 5.0) 1.0))) (/ (sqrt (- (sqrt 5.0) 1.0)) 2.0))
2.0b
(- (cos x) (cos y))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
55×associate-*r/
35×add-sqr-sqrt
32×frac-times flip3-- flip--
31×associate-*r*
29×*-un-lft-identity
27×times-frac
26×add-exp-log cube-div add-cbrt-cube
21×add-cube-cbrt sqrt-prod
19×pow1
12×associate-*l/ prod-exp cbrt-unprod
pow-prod-down
sqrt-div add-log-exp
difference-of-squares
frac-add
pow-pow pow-exp distribute-lft-out-- rem-cube-cbrt
pow-unpow
cbrt-undiv div-exp
+-commutative cube-mult pow-to-exp sub-neg unpow-prod-down flip3-+ diff-log unpow3 cube-prod associate-*l* sum-log *-commutative flip-+ div-inv diff-cos sqr-pow
Counts
4 → 139
Calls
4 calls:
22.0ms
(+ (* (* (cos x) (sqrt (- (sqrt 5.0) 1.0))) (/ (sqrt (- (sqrt 5.0) 1.0)) 2.0)) (* (cos y) (/ (/ (- (* 3.0 3.0) 5.0) (+ 3.0 (sqrt 5.0))) 2.0)))
29.0ms
(pow (* (sqrt 2.0) (* (- (cos x) (cos y)) (* (- (sin x) (/ (sin y) 16.0)) (- (sin y) (/ (sin x) 16.0))))) 3)
18.0ms
(* (* (cos x) (sqrt (- (sqrt 5.0) 1.0))) (/ (sqrt (- (sqrt 5.0) 1.0)) 2.0))
5.0ms
(- (cos x) (cos y))

series207.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (* (* (cos x) (sqrt (- (sqrt 5.0) 1.0))) (/ (sqrt (- (sqrt 5.0) 1.0)) 2.0)) (* (cos y) (/ (/ (- (* 3.0 3.0) 5.0) (+ 3.0 (sqrt 5.0))) 2.0)))
164.0ms
(pow (* (sqrt 2.0) (* (- (cos x) (cos y)) (* (- (sin x) (/ (sin y) 16.0)) (- (sin y) (/ (sin x) 16.0))))) 3)
7.0ms
(* (* (cos x) (sqrt (- (sqrt 5.0) 1.0))) (/ (sqrt (- (sqrt 5.0) 1.0)) 2.0))
10.0ms
(- (cos x) (cos y))

simplify63.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
050074031

prune710.0ms

Filtered
108 candidates to 151 candidates (-39.8%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1492151
Fresh1910
Picked011
Done000
Total15012162

Merged error: 0.1b

Counts
162 → 12

regimes380.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
010766
110766

end0.0ms

sample6.6s

Algorithm
intervals
Results
3.6s2682×body1280valid
1.6s1853×body640valid
480.0ms780×body320valid
448.0ms2342×body80valid
145.0ms343×body160valid

Profiling

Loading profile data...