Details

Time bar (total: 19.8s)

sample197.0ms

Algorithm
intervals
Results
95.0ms78×body1280valid
49.0ms57×body640valid
15.0ms27×body320valid
13.0ms75×body80valid
7.0ms19×body160valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
07430
118230
265730
3272730
4500130

prune5.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.5b

Counts
2 → 1

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

rewrite41.0ms

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

series46.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
06221094
126431002
250031002

prune293.0ms

Filtered
104 candidates to 70 candidates (32.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New977104
Fresh000
Picked101
Done000
Total987105

Merged error: 0.3b

Counts
105 → 7

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

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
36×associate-*r/
35×flip3-- flip--
32×frac-times
27×add-sqr-sqrt
20×pow1 add-exp-log add-cbrt-cube
18×associate-*r*
17×*-un-lft-identity
16×associate-*l/
10×pow-prod-down prod-exp cbrt-unprod
add-cube-cbrt
associate-*l*
sub-neg
distribute-rgt-in distribute-lft-in add-log-exp difference-of-squares
sqrt-prod distribute-lft-out--
*-commutative
times-frac diff-cos unswap-sqr
diff-log
Counts
4 → 133
Calls
4 calls:
22.0ms
(* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))
19.0ms
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
11.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
4.0ms
(- (cos x) (cos y))

series84.0ms

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

simplify118.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
08482481
149312282
250022282

prune502.0ms

Filtered
145 candidates to 101 candidates (30.3%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1405145
Fresh156
Picked101
Done000
Total14210152

Merged error: 0.3b

Counts
152 → 10

localize46.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)))) (cbrt (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))))
1.6b
(- (cos x) (cos y))
1.6b
(- (cos x) (cos y))
1.6b
(- (cos x) (cos y))

rewrite202.0ms

Algorithm
rewrite-expression-head
Rules
2188×frac-times
1461×flip3-- flip--
1430×associate-*r/
1404×cbrt-div
782×associate-*l/
16×add-sqr-sqrt
14×*-un-lft-identity
11×pow1
10×add-log-exp
add-cube-cbrt
add-exp-log pow1/3
cbrt-prod swap-sqr associate-*r* associate-*l* add-cbrt-cube
sub-neg diff-log diff-cos distribute-lft-out-- difference-of-squares
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 804
Calls
4 calls:
31.0ms
(* (cbrt (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))) (cbrt (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))))
4.0ms
(- (cos x) (cos y))
4.0ms
(- (cos x) (cos y))
4.0ms
(- (cos x) (cos y))

series667.0ms

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

simplify470.0ms

Algorithm
egg-herbie
Counts
816 → 816
Iterations

Useful iterations: 1 (46.0ms)

IterNodesCost
0215161944
1500161833

prune9.3s

Filtered
816 candidates to 437 candidates (46.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New8142816
Fresh279
Picked101
Done000
Total8179826

Merged error: 0.2b

Counts
826 → 9

localize58.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (cos x) (cos y))
1.6b
(- (cos x) (cos y))
1.6b
(- (cos x) (cos y))
1.6b
(- (cos x) (cos y))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- diff-cos distribute-lft-out-- difference-of-squares
Counts
4 → 60
Calls
4 calls:
5.0ms
(- (cos x) (cos y))
5.0ms
(- (cos x) (cos y))
5.0ms
(- (cos x) (cos y))
5.0ms
(- (cos x) (cos y))

series40.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (cos x) (cos y))
9.0ms
(- (cos x) (cos y))
12.0ms
(- (cos x) (cos y))
9.0ms
(- (cos x) (cos y))

simplify137.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
0101424
1250396
2722392
33411392
45001392

prune638.0ms

Filtered
72 candidates to 52 candidates (27.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New72072
Fresh088
Picked011
Done000
Total72981

Merged error: 0.2b

Counts
81 → 9

regimes214.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
055140
155140

end0.0ms

sample6.4s

Algorithm
intervals
Results
3.5s2765×body1280valid
1.6s1838×body640valid
453.0ms757×body320valid
416.0ms2299×body80valid
134.0ms341×body160valid

Profiling

Loading profile data...