Details

Time bar (total: 17.3s)

sample4.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0.146413%

Space saved by search: 0.146413%

Guaranteed chance to sample good point: 0%

Results
134.0ms122×body1280valid
49.0ms73×body640valid
10.0ms20×body320valid
4.0ms35×body80valid
2.0msbody160valid

simplify50.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: 3.3b

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 ky) 2.0)
0.3b
(pow (sin kx) 2.0)
2.9b
(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-*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:
19.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
2.0ms
(pow (sin ky) 2.0)
2.0ms
(pow (sin kx) 2.0)
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series107.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
04251022
11522960
25001946

prune287.0ms

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

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New10013113
Fresh000
Picked101
Done000
Total10113114

Merged error: 2.1b

Counts
114 → 13

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.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)))
2.0ms
(pow (sin kx) 2.0)
17.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:
46.0ms
(* (sin ky) (* (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th)))
19.0ms
(pow (sin kx) 2.0)
45.0ms
(* (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
20.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify51.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04431278
117811120
250021095

prune271.0ms

Filtered
81 candidates to 123 candidates (-51.9%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1185123
Fresh4812
Picked101
Done000
Total12313136

Merged error: 2.1b

Counts
136 → 13

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
72×*-un-lft-identity
50×times-frac
49×add-sqr-sqrt
41×sqrt-prod
40×add-cube-cbrt
30×associate-*r*
19×unpow-prod-down
16×distribute-lft-out
12×add-exp-log
11×add-cbrt-cube
pow1 associate-/r*
sqrt-div
associate-/r/ add-log-exp
pow-unpow flip3-+ associate-*l* flip-+ associate-/l* unswap-sqr
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv
pow-to-exp rem-sqrt-square pow-pow frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down pow-exp clear-num *-commutative sqr-pow
Counts
4 → 133
Calls
4 calls:
19.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
11.0ms
(/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
2.0ms
(pow (sin kx) 2.0)
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series128.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04301588
117551442
250011432

prune278.0ms

Filtered
87 candidates to 145 candidates (-66.7%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1432145
Fresh21012
Picked011
Done000
Total14513158

Merged error: 2.1b

Counts
158 → 13

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
add-exp-log add-cbrt-cube add-log-exp
pow1/3 sqrt-prod
sqrt-div
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
Counts
4 → 48
Calls
4 calls:
2.0ms
(cbrt (sin kx))
1.0ms
(cbrt (sin kx))
2.0ms
(cbrt (sin kx))
8.0ms
(sqrt (+ (* (pow (* (cbrt (sin kx)) (cbrt (sin kx))) 2.0) (pow (cbrt (sin kx)) 2.0)) (pow (sin ky) 2.0)))

series77.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
0189553
1571525
22518507
35002503

prune118.0ms

Filtered
47 candidates to 60 candidates (-27.7%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New60060
Fresh01111
Picked011
Done011
Total601373

Merged error: 2.1b

Counts
73 → 13

regimes994.0ms

Accuracy

0% (1.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01510
11510

end0.0ms

sample10.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0.146413%

Space saved by search: 0.146413%

Guaranteed chance to sample good point: 0%

Results
4.2s3711×body1280valid
1.4s2028×body640valid
355.0ms716×body320valid
181.0ms1264×body80valid
81.0ms281×body160valid

Profiling

Loading profile data...