Details

Time bar (total: 12.7s)

analyze1.4s

Algorithm
search

sample207.0ms

Algorithm
intervals
Results
128.0ms121×body1280valid
40.0ms61×body640valid
9.0ms21×body320valid
9.0ms41×body80valid
3.0ms12×body160valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13510
26310
313710
441710
5179810
6500210

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 5.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.2b
(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)))

rewrite30.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)
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series108.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
04251022
11522960
25001946

prune317.0ms

Filtered
78 candidates to 113 candidates (-44.9%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New10211113
Fresh000
Picked101
Done000
Total10311114

Merged error: 3.9b

Counts
114 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sin ky) (* (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th)))
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)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
37×add-sqr-sqrt
33×associate-*l*
29×add-exp-log
28×times-frac
24×add-cube-cbrt
22×sqrt-prod
18×add-cbrt-cube
13×pow1 prod-exp
11×unpow-prod-down
distribute-lft-out
cbrt-unprod
unswap-sqr
sqrt-div div-exp associate-*r* pow-prod-down add-log-exp
pow-unpow
cbrt-undiv rec-exp flip3-+ 1-exp associate-*l/ associate-/r/ *-commutative flip-+
pow-to-exp rem-sqrt-square pow-pow sqrt-pow1 pow1/2 associate-*r/ pow-exp div-inv sqr-pow
Counts
4 → 111
Calls
4 calls:
15.0ms
(* (sin ky) (* (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th)))
3.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)))

series130.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04431278
118401119
250011095

prune294.0ms

Filtered
80 candidates to 123 candidates (-53.8%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1221123
Fresh01010
Picked011
Done000
Total12212134

Merged error: 3.9b

Counts
134 → 12

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite13.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:
4.0ms
(sqrt (+ (pow (sin kx) 2.0) (* (* (cbrt (pow (sin ky) 2.0)) (cbrt (pow (sin ky) 2.0))) (cbrt (pow (sin ky) 2.0)))))
2.0ms
(cbrt (pow (sin ky) 2.0))
2.0ms
(cbrt (pow (sin ky) 2.0))
2.0ms
(cbrt (pow (sin ky) 2.0))

series135.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(sqrt (+ (pow (sin kx) 2.0) (* (* (cbrt (pow (sin ky) 2.0)) (cbrt (pow (sin ky) 2.0))) (cbrt (pow (sin ky) 2.0)))))
40.0ms
(cbrt (pow (sin ky) 2.0))
38.0ms
(cbrt (pow (sin ky) 2.0))
38.0ms
(cbrt (pow (sin ky) 2.0))

simplify74.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (66.0ms)

IterNodesCost
0215722
1602679
22161649
35001643

prune305.0ms

Filtered
55 candidates to 72 candidates (-30.9%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New72072
Fresh01010
Picked011
Done011
Total721284

Merged error: 3.9b

Counts
84 → 12

localize23.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (/ (sin ky) (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)))
5.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity
30×cbrt-prod sqrt-prod
25×add-sqr-sqrt
24×times-frac
22×add-cube-cbrt
12×unpow-prod-down distribute-lft-out
sqrt-div
pow1
add-exp-log flip3-+ add-cbrt-cube flip-+ add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
associate-/r/
cbrt-div pow1/3 div-inv
Counts
4 → 90
Calls
4 calls:
10.0ms
(cbrt (/ (sin ky) (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)))
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series113.0ms

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

simplify125.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
03081314
19091257
240971241
350031236

prune423.0ms

Filtered
68 candidates to 102 candidates (-50.0%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New1020102
Fresh099
Picked011
Done022
Total10212114

Merged error: 3.9b

Counts
114 → 12

regimes1.2s

Accuracy

63.8% (0.5b remaining)

Error of 3.2b against oracle of 2.7b and baseline of 4.1b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04230
14230

end0.0ms

analyze1.3s

Algorithm
search

sample6.2s

Algorithm
intervals
Results
4.0s3696×body1280valid
1.4s2108×body640valid
325.0ms721×body320valid
161.0ms1191×body80valid
87.0ms284×body160valid

Profiling

Loading profile data...