Details

Time bar (total: 33.5s)

sample466.0ms

Algorithm
intervals
Results
301.0ms93×body1280valid
49.0ms56×body640valid
13.0ms71×body80valid
12.0ms16×body160valid
11.0ms20×body320valid

simplify5.2s

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
01316
12316
23916
36816
415216
533316
6104916
7430516
done500116

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.5b

localize33.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.3b
(pow (sin kx) 2.0)
0.3b
(pow (sin ky) 2.0)
4.3b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite149.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:
84.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
8.0ms
(pow (sin kx) 2.0)
4.0ms
(pow (sin ky) 2.0)
43.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series689.0ms

Counts
4 → 12
Calls
4 calls:
200.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
151.0ms
(pow (sin kx) 2.0)
197.0ms
(pow (sin ky) 2.0)
141.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify2.1s

Counts
129 → 129
Iterations

Useful iterations: 3 (731.0ms)

IterNodesCost
01781808
13401625
28501557
326401556
done50001556

prune754.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 8.0b

localize37.0ms

Local error

Found 3 expressions with local error:

0.0b
(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))))

rewrite50.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:
1.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
27.0ms
(* (/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))) (sin th))
19.0ms
(/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))

series1.6s

Counts
3 → 9
Calls
3 calls:
428.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
551.0ms
(* (/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))) (sin th))
637.0ms
(/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))

simplify2.0s

Counts
82 → 82
Iterations

Useful iterations: done (2.0s)

IterNodesCost
01341912
12941885
27971670
323701669
done50021668

prune597.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 8.0b

localize20.0ms

Local error

Found 3 expressions with local error:

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

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:
1.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
24.0ms
(* (sin ky) (/ (sin th) (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))))

series1.6s

Counts
3 → 9
Calls
3 calls:
419.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
634.0ms
(* (sin ky) (/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))
556.0ms
(/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))

simplify2.4s

Counts
82 → 82
Iterations

Useful iterations: done (2.4s)

IterNodesCost
01321911
12871871
28891659
328121659
done50011658

prune501.0ms

Pruning

19 alts after pruning (18 fresh and 1 done)

Merged error: 8.0b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
22×pow1
21×sqrt-prod
20×add-exp-log add-cbrt-cube
18×add-cube-cbrt *-un-lft-identity
13×associate-*r*
sqrt-pow1 pow1/2 associate-*l*
swap-sqr
times-frac
prod-exp cbrt-unprod unswap-sqr
pow-prod-up
cbrt-undiv expm1-log1p-u div-exp pow-prod-down log1p-expm1-u add-log-exp
pow-sqr associate-/l*
*-commutative div-inv
pow2 rem-sqrt-square frac-2neg pow-plus sqrt-unprod associate-*r/ clear-num associate-/r* rem-square-sqrt
Counts
4 → 119
Calls
4 calls:
1.0ms
(sqrt (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
42.0ms
(* (sin ky) (/ (sin th) (* (sqrt (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))) (sqrt (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))))
17.0ms
(/ (sin th) (* (sqrt (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))) (sqrt (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))))
21.0ms
(* (sqrt (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))) (sqrt (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))

series1.9s

Counts
4 → 12
Calls
4 calls:
464.0ms
(sqrt (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
606.0ms
(* (sin ky) (/ (sin th) (* (sqrt (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))) (sqrt (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))))
553.0ms
(/ (sin th) (* (sqrt (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))) (sqrt (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))))
305.0ms
(* (sqrt (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))) (sqrt (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))

simplify1.6s

Counts
131 → 131
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01694476
13592768
211772366
done50012303

prune574.0ms

Pruning

20 alts after pruning (19 fresh and 1 done)

Merged error: 8.0b

regimes1.2s

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify8.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01635
11735
done1735

end0.0ms

sample9.8s

Algorithm
intervals
Results
5.7s2778×body1280valid
2.0s1749×body640valid
935.0ms2289×body80valid
488.0ms804×body320valid
141.0ms380×body160valid