Details

Time bar (total: 3.4s)

sample68.0ms

Algorithm
intervals
Results
20.0ms49×body1280valid
16.0ms18×body2560valid
10.0ms27×body640valid
7.0ms136×body80valid
3.0ms18×body320valid
1.0msbody160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0117
1137
2137

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.9b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ x (* y 2.0))
8.4b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
27.0b
(sin (/ x (* y 2.0)))
27.4b
(tan (/ x (* y 2.0)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
tan-quot frac-2neg clear-num associate-/r* div-inv
*-commutative associate-/l/
Counts
4 → 10
Calls
4 calls:
3.0ms
(/ x (* y 2.0))
6.0ms
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
3.0ms
(sin (/ x (* y 2.0)))
3.0ms
(tan (/ x (* y 2.0)))

series111.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(/ x (* y 2.0))
43.0ms
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
9.0ms
(sin (/ x (* y 2.0)))
40.0ms
(tan (/ x (* y 2.0)))

simplify124.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
07671
119171
274071
3474971
4500171

prune74.0ms

Filtered
22 candidates to 17 candidates (77.3%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New13922
Fresh000
Picked101
Done000
Total14923

Merged error: 24.6b

Counts
23 → 9

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune21.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New000
Fresh088
Picked011
Done000
Total099

Merged error: 24.6b

Counts
9 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

8.4b
(/ (sin (/ x (* y 2.0))) (* (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))))
27.0b
(sin (/ x (* y 2.0)))
27.0b
(sin (/ x (* y 2.0)))
27.1b
(cos (/ x (* y 2.0)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r*
frac-2neg clear-num associate-/r/ *-commutative sin-cos-mult div-inv
Counts
4 → 6
Calls
4 calls:
9.0ms
(/ (sin (/ x (* y 2.0))) (* (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))))
3.0ms
(sin (/ x (* y 2.0)))
3.0ms
(sin (/ x (* y 2.0)))
3.0ms
(cos (/ x (* y 2.0)))

series53.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ (sin (/ x (* y 2.0))) (* (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))))
9.0ms
(sin (/ x (* y 2.0)))
9.0ms
(sin (/ x (* y 2.0)))
12.0ms
(cos (/ x (* y 2.0)))

simplify152.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
06481
115274
249273
3321973
4500173

prune57.0ms

Filtered
18 candidates to 12 candidates (66.7%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New14418
Fresh257
Picked101
Done011
Total171027

Merged error: 24.6b

Counts
27 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

8.4b
(- (/ x (* y 2.0)) (/ x (* y 2.0)))
8.8b
(/ (sin (/ x (* y 2.0))) (+ (sin (- (/ x (* y 2.0)) (/ x (* y 2.0)))) (sin (+ (/ x (* y 2.0)) (/ x (* y 2.0))))))
27.0b
(sin (/ x (* y 2.0)))
27.2b
(sin (+ (/ x (* y 2.0)) (/ x (* y 2.0))))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
25×associate-/r* frac-sub
13×frac-2neg clear-num
12×*-commutative
div-inv
sub-div
sin-sum associate-/r/
+-commutative sub-neg flip3-- distribute-rgt-out-- flip3-+ +-inverses count-2 fma-neg prod-diff sin-2 flip-- flip-+ distribute-lft-out-- sum-sin
Counts
4 → 48
Calls
4 calls:
8.0ms
(- (/ x (* y 2.0)) (/ x (* y 2.0)))
21.0ms
(/ (sin (/ x (* y 2.0))) (+ (sin (- (/ x (* y 2.0)) (/ x (* y 2.0)))) (sin (+ (/ x (* y 2.0)) (/ x (* y 2.0))))))
3.0ms
(sin (/ x (* y 2.0)))
10.0ms
(sin (+ (/ x (* y 2.0)) (/ x (* y 2.0))))

series78.0ms

Counts
4 → 12
Calls
4 calls:
1.0ms
(- (/ x (* y 2.0)) (/ x (* y 2.0)))
59.0ms
(/ (sin (/ x (* y 2.0))) (+ (sin (- (/ x (* y 2.0)) (/ x (* y 2.0)))) (sin (+ (/ x (* y 2.0)) (/ x (* y 2.0))))))
9.0ms
(sin (/ x (* y 2.0)))
10.0ms
(sin (+ (/ x (* y 2.0)) (/ x (* y 2.0))))

simplify76.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
0398420
12006323
25002316

prune192.0ms

Filtered
60 candidates to 50 candidates (83.3%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New501060
Fresh538
Picked101
Done011
Total561470

Merged error: 23.9b

Counts
70 → 14

regimes237.0ms

Accuracy

0% (3.3b remaining)

Error of 28.3b against oracle of 25.0b and baseline of 28.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010

end0.0ms

sample2.0s

Algorithm
intervals
Results
600.0ms1398×body1280valid
579.0ms645×body2560valid
255.0ms970×body640valid
230.0ms4145×body80valid
105.0ms575×body320valid
37.0ms267×body160valid