Details

Time bar (total: 10.3s)

sample191.0ms

Algorithm
intervals
Results
112.0ms108×body1280valid
49.0ms83×body640valid
11.0ms28×body320valid
3.0ms31×body80valid
2.0msbody160valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13510
26310
313710
441710
5179810
6500210

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

Counts
2 → 1

localize15.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 ky) 2.0)
0.3b
(pow (sin kx) 2.0)
3.5b
(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:
16.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
2.0ms
(pow (sin ky) 2.0)
3.0ms
(pow (sin kx) 2.0)
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series434.0ms

Counts
4 → 12
Calls
4 calls:
145.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
102.0ms
(pow (sin ky) 2.0)
109.0ms
(pow (sin kx) 2.0)
77.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify47.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0391990
11382928
25001927

prune377.0ms

Filtered
113 candidates to 78 candidates (69.0%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New10013113
Fresh000
Picked101
Done000
Total10113114

Merged error: 2.7b

Counts
114 → 13

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.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:
3.0ms
(pow (sin ky) 2.0)
17.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
3.0ms
(pow (sin kx) 2.0)
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series429.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(pow (sin ky) 2.0)
146.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
103.0ms
(pow (sin kx) 2.0)
77.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify54.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0437948
11864870
25002870

prune301.0ms

Filtered
113 candidates to 68 candidates (60.2%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1112113
Fresh3912
Picked011
Done000
Total11412126

Merged error: 2.7b

Counts
126 → 12

localize19.0ms

Local error

Found 4 expressions with local error:

3.5b
(sqrt (+ (* (* (cbrt (pow (sin kx) 2.0)) (cbrt (pow (sin kx) 2.0))) (cbrt (pow (sin kx) 2.0))) (pow (sin ky) 2.0)))
14.6b
(cbrt (pow (sin kx) 2.0))
14.6b
(cbrt (pow (sin kx) 2.0))
14.6b
(cbrt (pow (sin kx) 2.0))

rewrite23.0ms

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

series668.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(sqrt (+ (* (* (cbrt (pow (sin kx) 2.0)) (cbrt (pow (sin kx) 2.0))) (cbrt (pow (sin kx) 2.0))) (pow (sin ky) 2.0)))
196.0ms
(cbrt (pow (sin kx) 2.0))
195.0ms
(cbrt (pow (sin kx) 2.0))
199.0ms
(cbrt (pow (sin kx) 2.0))

simplify59.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0204682
1478640
21705640
35001634

prune287.0ms

Filtered
72 candidates to 55 candidates (76.4%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New72072
Fresh01010
Picked011
Done011
Total721284

Merged error: 2.7b

Counts
84 → 12

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
15×sqrt-prod
14×add-sqr-sqrt
13×add-cube-cbrt
12×unpow-prod-down
11×add-exp-log
add-cbrt-cube
times-frac associate-/r*
pow1
pow-unpow distribute-lft-out
sqrt-div add-log-exp
cbrt-undiv pow-to-exp pow-pow flip3-+ div-exp pow-exp associate-/r/ flip-+ sqr-pow
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 prod-exp clear-num cbrt-unprod div-inv associate-/l/ sin-mult associate-/l*
Counts
4 → 85
Calls
4 calls:
2.0ms
(pow (sin ky) 2.0)
2.0ms
(pow (sin kx) 2.0)
12.0ms
(/ (* (sin ky) (sin th)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series431.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(pow (sin ky) 2.0)
109.0ms
(pow (sin kx) 2.0)
142.0ms
(/ (* (sin ky) (sin th)) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
77.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify42.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0357792
11385720
25001720

prune235.0ms

Filtered
97 candidates to 60 candidates (61.9%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New95297
Fresh279
Picked011
Done022
Total9712109

Merged error: 2.7b

Counts
109 → 12

regimes512.0ms

Accuracy

0% (1.3b remaining)

Error of 3.9b against oracle of 2.6b and baseline of 3.9b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01410
11410

end0.0ms

sample6.0s

Algorithm
intervals
Results
3.9s3819×body1280valid
1.2s1952×body640valid
442.0ms707×body320valid
145.0ms1225×body80valid
82.0ms297×body160valid

Profiling

Loading profile data...