Details

Time bar (total: 24.6s)

sample390.0ms

Algorithm
intervals
Results
197.0ms91×body1280valid
53.0ms60×body640valid
14.0ms72×body80valid
13.0ms23×body320valid
5.0ms10×body160valid

simplify1.2s

Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
01316
12316
23916
36816
415616
565316
done500016

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.4b

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

rewrite195.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
41×*-un-lft-identity
30×associate-*l*
26×times-frac
25×add-cube-cbrt
21×sqrt-prod
20×unpow-prod-down
11×add-exp-log
pow1 add-cbrt-cube hypot-def
distribute-lft-out sqr-pow
pow-unpow
expm1-log1p-u sqrt-div log1p-expm1-u add-log-exp
associate-*r* unswap-sqr
pow-to-exp pow-pow flip3-+ pow-exp prod-exp associate-/r/ cbrt-unprod flip-+
cbrt-undiv rem-sqrt-square sqrt-pow1 pow1/2 div-exp pow-prod-down associate-*l/ *-commutative div-inv
Counts
4 → 118
Calls
4 calls:
120.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
14.0ms
(pow (sin kx) 2.0)
4.0ms
(pow (sin ky) 2.0)
51.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series738.0ms

Counts
4 → 12
Calls
4 calls:
233.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
189.0ms
(pow (sin kx) 2.0)
168.0ms
(pow (sin ky) 2.0)
148.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify1.1s

Counts
130 → 130
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01881736
14621637
219051529
done50001528

prune783.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 9.5b

localize37.0ms

Local error

Found 3 expressions with local error:

0.1b
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
0.2b
(/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
0.2b
(* (/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))) (sin th))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity times-frac
13×associate-*l*
10×add-exp-log add-cbrt-cube
pow1
expm1-log1p-u associate-*r* associate-/r* log1p-expm1-u associate-/l* add-log-exp
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv unswap-sqr
hypot-udef frac-2neg pow-prod-down associate-*l/ clear-num *-commutative
Counts
3 → 73
Calls
3 calls:
0.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
17.0ms
(/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
39.0ms
(* (/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))) (sin th))

series1.5s

Counts
3 → 9
Calls
3 calls:
342.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
572.0ms
(/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
567.0ms
(* (/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))) (sin th))

simplify1.2s

Counts
82 → 82
Iterations

Useful iterations: done (1.2s)

IterNodesCost
01341912
13111885
213471670
done50001669

prune524.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 9.5b

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
0.2b
(/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
0.2b
(* (expm1 (log1p (/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))) (sin th))
1.2b
(log1p (/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
14×add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1
expm1-log1p-u
log1p-expm1-u add-log-exp
associate-*r* associate-*l* associate-/r* associate-/l*
cbrt-undiv log1p-udef hypot-udef frac-2neg log1p-expm1 div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 70
Calls
4 calls:
1.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
18.0ms
(/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
20.0ms
(* (expm1 (log1p (/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))) (sin th))
1.0ms
(log1p (/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))

series1.8s

Counts
4 → 12
Calls
4 calls:
314.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
560.0ms
(/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
462.0ms
(* (expm1 (log1p (/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))) (sin th))
478.0ms
(log1p (/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))

simplify599.0ms

Counts
82 → 82
Iterations

Useful iterations: done (595.0ms)

IterNodesCost
01331884
12531807
28771597
done50001594

prune533.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 9.5b

localize37.0ms

Local error

Found 3 expressions with local error:

0.1b
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
0.3b
(/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
0.3b
(* (sin ky) (/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity times-frac
13×associate-*r*
10×add-exp-log add-cbrt-cube
pow1
expm1-log1p-u associate-*l* associate-/r* log1p-expm1-u associate-/l* add-log-exp
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv unswap-sqr
hypot-udef frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
3 → 73
Calls
3 calls:
0.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
9.0ms
(/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
26.0ms
(* (sin ky) (/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))

series1.5s

Counts
3 → 9
Calls
3 calls:
386.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
533.0ms
(/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
587.0ms
(* (sin ky) (/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))

simplify1.3s

Counts
82 → 82
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01321911
13091876
215061665
done50011659

prune468.0ms

Pruning

21 alts after pruning (21 fresh and 0 done)

Merged error: 9.5b

regimes1.5s

Accuracy

0% (0.3b remaining)

Error of 8.9b against oracle of 8.6b and baseline of 8.9b

bsearch0.0ms

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01621
11721
done1721

end0.0ms

sample9.0s

Algorithm
intervals
Results
5.4s2792×body1280valid
1.6s1816×body640valid
897.0ms2351×body80valid
441.0ms704×body320valid
170.0ms337×body160valid