Details

Time bar (total: 9.7s)

sample116.0ms

Algorithm
intervals
Results
63.0ms88×body1280valid
25.0ms61×body640valid
6.0ms76×body80valid
5.0ms19×body320valid
2.0ms12×body160valid

simplify50.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13910
26710
315310
443910
5183010
6500110
done500110

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.5b

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
0.2b
(pow (sin kx) 2.0)
0.3b
(pow (sin ky) 2.0)
3.5b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity
39×add-sqr-sqrt
26×add-cube-cbrt
25×sqrt-prod
24×times-frac
22×unpow-prod-down
10×distribute-lft-out
hypot-def
add-exp-log associate-/r* sqr-pow
pow1
pow-unpow add-cbrt-cube
expm1-log1p-u sqrt-div log1p-expm1-u add-log-exp
associate-/l*
pow-to-exp pow-pow flip3-+ pow-exp associate-/r/ flip-+
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv
Counts
4 → 117
Calls
4 calls:
35.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
4.0ms
(pow (sin kx) 2.0)
4.0ms
(pow (sin ky) 2.0)
34.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series414.0ms

Counts
4 → 12
Calls
4 calls:
130.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
105.0ms
(pow (sin kx) 2.0)
102.0ms
(pow (sin ky) 2.0)
77.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify37.0ms

Counts
129 → 129
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
03411065
11159981
25001976
done5001976

prune426.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 7.8b

localize21.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)))) (sin th))
0.2b
(/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))

rewrite29.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)))
18.0ms
(* (/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))) (sin th))
8.0ms
(/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))

series989.0ms

Counts
3 → 9
Calls
3 calls:
256.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
351.0ms
(* (/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))) (sin th))
382.0ms
(/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))

simplify37.0ms

Counts
82 → 82
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
02951114
11091988
25001986
done5001986

prune340.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 7.7b

localize16.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 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)))))

rewrite28.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)))
8.0ms
(/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
17.0ms
(* (sin ky) (/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))

series953.0ms

Counts
3 → 9
Calls
3 calls:
251.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
329.0ms
(/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
373.0ms
(* (sin ky) (/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))

simplify39.0ms

Counts
82 → 82
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
02911109
11164984
25001983
done5001983

prune336.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 7.7b

localize18.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 th) (* 1 (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))
0.3b
(* (sin ky) (/ (sin th) (* 1 (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))))

rewrite37.0ms

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

series963.0ms

Counts
3 → 9
Calls
3 calls:
255.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
332.0ms
(/ (sin th) (* 1 (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))
375.0ms
(* (sin ky) (/ (sin th) (* 1 (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))))

simplify40.0ms

Counts
73 → 73
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0312934
11258759
25001758
done5001758

prune231.0ms

Pruning

18 alts after pruning (17 fresh and 1 done)

Merged error: 7.7b

regimes757.0ms

Accuracy

0% (0.2b remaining)

Error of 8.5b against oracle of 8.4b and baseline of 8.5b

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02012
12212
22212
done2212

end0.0ms

sample3.7s

Algorithm
intervals
Results
2.0s2761×body1280valid
911.0ms1851×body640valid
207.0ms2326×body80valid
197.0ms734×body320valid
59.0ms328×body160valid