Details

Time bar (total: 11.1s)

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

sample227.0ms

Algorithm
intervals
Results
124.0ms96×body1280valid
60.0ms64×body640valid
13.0ms69×body80valid
10.0ms15×body320valid
5.0ms12×body160valid

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.3b

Counts
2 → 2

localize40.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))

rewrite54.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:
29.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:
40.0ms
(* (sqrt 2.0) (* (- (sin x) (/ (sin y) 16.0)) (* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y)))))
32.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))

simplify59.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049972617
149972617

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

localize38.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))

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

series87.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
050043062

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

localize41.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))))))

rewrite28.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:
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))
6.0ms
(log (pow (exp (sqrt 2.0)) (* (- (cos x) (cos y)) (* (- (sin x) (/ (sin y) 16.0)) (- (sin y) (/ (sin x) 16.0))))))

series113.0ms

Counts
4 → 10
Calls
4 calls:
30.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))
73.0ms
(log (pow (exp (sqrt 2.0)) (* (- (cos x) (cos y)) (* (- (sin x) (/ (sin y) 16.0)) (- (sin y) (/ (sin x) 16.0))))))

simplify30.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
050591450

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

localize48.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))

rewrite45.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:
27.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))
5.0ms
(- (cos x) (cos y))
5.0ms
(- (cos x) (cos y))

series209.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
051072439

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

regimes452.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0109110
1109110

end0.0ms

sample6.8s

Algorithm
intervals
Results
3.7s2681×body1280valid
1.7s1900×body640valid
480.0ms744×body320valid
468.0ms2360×body80valid
144.0ms315×body160valid

Profiling

Loading profile data...