Details

Time bar (total: 8.8s)

sample115.0ms

Algorithm
intervals
Results
64.0ms91×body1280valid
22.0ms56×body640valid
6.0ms75×body80valid
5.0ms19×body320valid
3.0ms15×body160valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13510
26310
313710
441710
5179810
6500210

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.2b

localize22.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.2b
(pow (sin kx) 2.0)
2.5b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite124.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:
85.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
4.0ms
(pow (sin ky) 2.0)
4.0ms
(pow (sin kx) 2.0)
27.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series453.0ms

Counts
4 → 12
Calls
4 calls:
158.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
106.0ms
(pow (sin ky) 2.0)
110.0ms
(pow (sin kx) 2.0)
78.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify43.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0391990
11382928
25001927

prune420.0ms

Pruning

21 alts after pruning (21 fresh and 0 done)

Merged error: 9.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th))
0.2b
(pow (sin ky) 2)
0.2b
(pow (sin kx) 2)
2.5b
(sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))

rewrite127.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-+ unpow2 sqr-pow
cbrt-undiv rem-sqrt-square sqrt-pow1 pow1/2 div-exp pow-prod-down associate-*l/ *-commutative div-inv
Counts
4 → 103
Calls
4 calls:
87.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th))
4.0ms
(pow (sin ky) 2)
4.0ms
(pow (sin kx) 2)
29.0ms
(sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))

series279.0ms

Counts
4 → 12
Calls
4 calls:
159.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th))
19.0ms
(pow (sin ky) 2)
23.0ms
(pow (sin kx) 2)
78.0ms
(sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))

simplify50.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0389982
11374902
25001899

prune394.0ms

Pruning

21 alts after pruning (20 fresh and 1 done)

Merged error: 9.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite160.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:
4.0ms
(pow (sin kx) 2.0)
37.0ms
(/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
83.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
30.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series474.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(pow (sin kx) 2.0)
135.0ms
(/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
150.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
82.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify55.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04121572
116721426
250011423

prune451.0ms

Pruning

21 alts after pruning (21 fresh and 0 done)

Merged error: 9.0b

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite85.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))
28.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
27.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
27.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series337.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(cbrt (sin ky))
82.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
76.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
82.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify55.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0171583
1424554
21478552
35002551

prune317.0ms

Pruning

23 alts after pruning (22 fresh and 1 done)

Merged error: 9.0b

regimes1.1s

Accuracy

0% (1.6b remaining)

Error of 12.7b against oracle of 11.1b and baseline of 12.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02234
12234

end0.0ms

sample3.6s

Algorithm
intervals
Results
2.0s2727×body1280valid
940.0ms1864×body640valid
197.0ms754×body320valid
194.0ms2300×body80valid
62.0ms355×body160valid