Details

Time bar (total: 8.8s)

sample186.0ms

Algorithm
intervals
Results
117.0ms120×body1280valid
36.0ms63×body640valid
10.0ms21×body320valid
4.0ms41×body80valid
3.0ms11×body160valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13510
26310
313710
441710
5179810
6500210

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: 5.6b

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
0.3b
(pow (sin kx) 2.0)
0.3b
(pow (sin ky) 2.0)
5.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity
34×add-sqr-sqrt
30×associate-*l*
26×times-frac
25×add-cube-cbrt
21×sqrt-prod
14×unpow-prod-down
11×add-exp-log
pow1 add-cbrt-cube
distribute-lft-out
pow-unpow
sqrt-div add-log-exp
associate-*r* unswap-sqr
pow-to-exp pow-pow flip3-+ pow-exp prod-exp associate-/r/ cbrt-unprod flip-+ sqr-pow
cbrt-undiv rem-sqrt-square sqrt-pow1 pow1/2 div-exp pow-prod-down associate-*l/ *-commutative div-inv
Counts
4 → 101
Calls
4 calls:
15.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
2.0ms
(pow (sin kx) 2.0)
2.0ms
(pow (sin ky) 2.0)
8.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series104.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
21.0ms
(pow (sin kx) 2.0)
19.0ms
(pow (sin ky) 2.0)
19.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify44.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
04251022
11522960
25001946

prune290.0ms

Filtered
113 candidates to 78 candidates (31.0%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New9914113
Fresh000
Picked101
Done000
Total10014114

Merged error: 2.9b

Counts
114 → 14

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin kx) 2.0)
0.3b
(pow (sin ky) 2.0)
0.3b
(* (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
5.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity
38×add-sqr-sqrt
30×associate-*l*
28×times-frac
25×add-cube-cbrt
22×sqrt-prod
15×add-exp-log
14×unpow-prod-down
pow1 add-cbrt-cube
distribute-lft-out
pow-unpow
unswap-sqr
sqrt-div prod-exp add-log-exp
associate-*r*
pow-to-exp pow-pow flip3-+ div-exp pow-exp associate-/r/ cbrt-unprod flip-+ sqr-pow
cbrt-undiv rem-sqrt-square rec-exp sqrt-pow1 pow1/2 1-exp pow-prod-down associate-*l/ *-commutative div-inv
Counts
4 → 105
Calls
4 calls:
2.0ms
(pow (sin kx) 2.0)
2.0ms
(pow (sin ky) 2.0)
16.0ms
(* (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series97.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(pow (sin kx) 2.0)
18.0ms
(pow (sin ky) 2.0)
43.0ms
(* (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
18.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04271012
11607935
25001895

prune254.0ms

Filtered
117 candidates to 79 candidates (32.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1134117
Fresh5813
Picked101
Done000
Total11912131

Merged error: 2.9b

Counts
131 → 12

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
0.3b
(pow (sin kx) 2.0)
0.3b
(pow (sin ky) 2.0)
5.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity
34×add-sqr-sqrt
30×associate-*r*
26×times-frac
25×add-cube-cbrt
21×sqrt-prod
14×unpow-prod-down
11×add-exp-log
pow1 add-cbrt-cube
distribute-lft-out
pow-unpow
sqrt-div add-log-exp
associate-*l* unswap-sqr
pow-to-exp pow-pow flip3-+ pow-exp prod-exp associate-/r/ cbrt-unprod flip-+ sqr-pow
cbrt-undiv rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ div-exp pow-prod-down *-commutative div-inv
Counts
4 → 101
Calls
4 calls:
17.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
2.0ms
(pow (sin kx) 2.0)
2.0ms
(pow (sin ky) 2.0)
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series99.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
18.0ms
(pow (sin kx) 2.0)
18.0ms
(pow (sin ky) 2.0)
19.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify55.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0471980
12006902
25001902

prune219.0ms

Filtered
113 candidates to 69 candidates (38.9%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1130113
Fresh01111
Picked011
Done000
Total11312125

Merged error: 2.9b

Counts
125 → 12

localize25.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (sin ky))
5.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
5.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
5.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
15×sqrt-prod
11×add-sqr-sqrt
add-cube-cbrt
pow1
unpow-prod-down sqrt-div distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
cbrt-prod rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
pow1/3
Counts
4 → 62
Calls
4 calls:
1.0ms
(cbrt (sin ky))
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series75.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(cbrt (sin ky))
18.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
20.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
18.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify66.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0180597
1513568
21945562
35001561

prune237.0ms

Filtered
74 candidates to 53 candidates (28.4%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New74074
Fresh01010
Picked011
Done011
Total741286

Merged error: 2.9b

Counts
86 → 12

regimes707.0ms

Accuracy

0% (1.4b remaining)

Error of 4.0b against oracle of 2.7b and baseline of 4.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01510
11510

end0.0ms

sample6.0s

Algorithm
intervals
Results
3.8s3741×body1280valid
1.4s2000×body640valid
289.0ms706×body320valid
142.0ms1262×body80valid
74.0ms291×body160valid

Profiling

Loading profile data...