Details

Time bar (total: 34.7s)

sample349.0ms

Algorithm
intervals
Results
159.0ms75×body1280valid
60.0ms65×body640valid
20.0ms83×body80valid
12.0ms21×body320valid
4.0ms12×body160valid

simplify4.9s

Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
01316
12316
23916
36816
415216
533316
6104916
7430516
done500116

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.1b

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

rewrite144.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:
79.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)
46.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series669.0ms

Counts
4 → 12
Calls
4 calls:
211.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
157.0ms
(pow (sin kx) 2.0)
168.0ms
(pow (sin ky) 2.0)
134.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify2.0s

Counts
129 → 129
Iterations

Useful iterations: 3 (774.0ms)

IterNodesCost
01781808
13401625
28501557
326401556
done50001556

prune743.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 7.0b

localize34.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.1b
(* (/ (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))))

rewrite32.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)))
20.0ms
(* (/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))) (sin th))
10.0ms
(/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))

series1.6s

Counts
3 → 9
Calls
3 calls:
420.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
536.0ms
(* (/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))) (sin th))
688.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

prune577.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 6.9b

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 th) (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)))))

rewrite44.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)))
16.0ms
(/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
23.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:
331.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
551.0ms
(/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
599.0ms
(* (sin ky) (/ (sin th) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))

simplify2.3s

Counts
82 → 82
Iterations

Useful iterations: done (2.3s)

IterNodesCost
01321911
12871871
28921659
328181659
done50001658

prune606.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 6.9b

localize24.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.3b
(/ (sin th) (sqrt (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))
0.3b
(/ (/ (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)))))

rewrite210.0ms

Algorithm
rewrite-expression-head
Rules
526×times-frac
306×add-sqr-sqrt
281×add-cube-cbrt *-un-lft-identity
272×sqrt-prod
136×associate-*r*
25×associate-/l*
20×add-exp-log add-cbrt-cube
16×div-inv
12×associate-/r*
pow1 cbrt-undiv div-exp unswap-sqr
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l* prod-exp cbrt-unprod
frac-2neg clear-num
rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ pow-prod-down *-commutative associate-/l/
Counts
4 → 397
Calls
4 calls:
1.0ms
(sqrt (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
118.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))))))
20.0ms
(/ (sin th) (sqrt (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))
44.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)))))

series2.5s

Counts
4 → 12
Calls
4 calls:
453.0ms
(sqrt (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))
591.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))))))
919.0ms
(/ (sin th) (sqrt (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))))
497.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)))))

simplify2.4s

Counts
409 → 409
Iterations

Useful iterations: done (2.4s)

IterNodesCost
042519394
199516487
2256915157
done500114509

prune1.6s

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 6.9b

regimes1.3s

Accuracy

0% (0.2b remaining)

Error of 9.0b against oracle of 8.8b and baseline of 9.0b

bsearch0.0ms

simplify6.0ms

Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
01621
12019
done2019

end0.0ms

sample9.2s

Algorithm
intervals
Results
5.0s2729×body1280valid
2.2s1786×body640valid
857.0ms786×body320valid
509.0ms2350×body80valid
129.0ms349×body160valid