Details

Time bar (total: 9.9s)

sample222.0ms

Algorithm
intervals
Results
142.0ms135×body1280valid
41.0ms65×body640valid
5.0ms11×body320valid
4.0ms34×body80valid
3.0ms11×body160valid

simplify54.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: 3.4b

Counts
2 → 1

localize21.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)
3.1b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

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

series110.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04251022
11522960
25001946

prune285.0ms

Filtered
113 candidates to 78 candidates (31.0%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New10013113
Fresh000
Picked101
Done000
Total10113114

Merged error: 1.8b

Counts
114 → 13

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

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

series131.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)))
43.0ms
(* (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
21.0ms
(pow (sin ky) 2.0)
20.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify55.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04431278
118401119
250011095

prune264.0ms

Filtered
123 candidates to 80 candidates (35.0%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1221123
Fresh01212
Picked011
Done000
Total12214136

Merged error: 1.8b

Counts
136 → 14

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin ky) 2.0)
1.0b
(exp (log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
1.4b
(log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
3.1b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
16×log-prod
15×sqrt-prod
13×add-sqr-sqrt
12×add-cube-cbrt
10×pow1
unpow-prod-down
exp-sum
add-exp-log exp-prod sqrt-div log-pow distribute-lft-out
log-div add-cbrt-cube add-log-exp
pow-unpow sqrt-pow1 flip3-+ pow1/2 flip-+
exp-diff
pow-to-exp rem-sqrt-square pow-pow rem-log-exp pow-exp rem-exp-log sqr-pow
Counts
4 → 79
Calls
4 calls:
3.0ms
(pow (sin ky) 2.0)
10.0ms
(exp (log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
8.0ms
(log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
9.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series85.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(pow (sin ky) 2.0)
19.0ms
(exp (log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
25.0ms
(log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
20.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify87.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 3 (78.0ms)

IterNodesCost
0268791
1771745
22592714
35001708

prune225.0ms

Filtered
91 candidates to 56 candidates (38.5%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New88391
Fresh21012
Picked101
Done011
Total9114105

Merged error: 1.8b

Counts
105 → 14

localize25.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin ky) 2.0)
1.1b
(pow E (log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
1.4b
(log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
3.1b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
16×log-prod
15×sqrt-prod
14×add-sqr-sqrt
13×add-cube-cbrt
12×unpow-prod-down
11×pow1
pow-unpow
unpow-prod-up
add-exp-log
sqrt-div log-pow distribute-lft-out
log-div add-cbrt-cube add-log-exp
sqrt-pow1 flip3-+ pow1/2 pow-exp flip-+
pow-to-exp pow-pow pow-sub sqr-pow
rem-sqrt-square e-exp-1 rem-log-exp
Counts
4 → 86
Calls
4 calls:
3.0ms
(pow (sin ky) 2.0)
10.0ms
(pow E (log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
8.0ms
(log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
8.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series100.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(pow (sin ky) 2.0)
33.0ms
(pow E (log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
28.0ms
(log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
20.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify134.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 3 (124.0ms)

IterNodesCost
0342948
11110870
24194850
35002830

prune171.0ms

Filtered
98 candidates to 58 candidates (40.8%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New95398
Fresh21012
Picked101
Done011
Total9814112

Merged error: 1.8b

Counts
112 → 14

regimes1.2s

Accuracy

0% (1.3b remaining)

Error of 3.4b against oracle of 2.2b and baseline of 3.4b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02011
12011

end0.0ms

sample6.5s

Algorithm
intervals
Results
4.3s3974×body1280valid
1.3s2029×body640valid
302.0ms683×body320valid
138.0ms998×body80valid
94.0ms316×body160valid

Profiling

Loading profile data...