Details

Time bar (total: 34.2s)

sample332.0ms

Algorithm
intervals
Results
113.0ms88×body1280valid
104.0ms59×body640valid
18.0ms33×body320valid
13.0ms68×body80valid
3.0msbody160valid

simplify4.7s

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
01316
12316
23916
36816
415216
533316
6104916
7430516
done500116

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.7b

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

rewrite180.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:
77.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
20.0ms
(pow (sin kx) 2.0)
8.0ms
(pow (sin ky) 2.0)
66.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series765.0ms

Counts
4 → 12
Calls
4 calls:
236.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
178.0ms
(pow (sin kx) 2.0)
180.0ms
(pow (sin ky) 2.0)
171.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify2.0s

Counts
129 → 129
Iterations

Useful iterations: 3 (801.0ms)

IterNodesCost
01781808
13401625
28501557
326401556
done50001556

prune702.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 7.0b

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

rewrite30.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)))
19.0ms
(* (/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))) (sin th))
9.0ms
(/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))

series1.5s

Counts
3 → 9
Calls
3 calls:
365.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
552.0ms
(* (/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))) (sin th))
603.0ms
(/ (sin ky) (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))))

simplify2.2s

Counts
82 → 82
Iterations

Useful iterations: done (2.2s)

IterNodesCost
01341912
12941885
27971670
323701669
done50021668

prune612.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 6.9b

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

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

series1.4s

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

prune554.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 6.9b

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

rewrite132.0ms

Algorithm
rewrite-expression-head
Rules
156×times-frac
104×add-sqr-sqrt
92×*-un-lft-identity
90×add-cube-cbrt
44×associate-*r*
36×add-exp-log
20×add-cbrt-cube
16×associate-/r*
15×div-exp
10×div-inv
pow1 cbrt-undiv prod-exp
associate-/l*
unswap-sqr
expm1-log1p-u rec-exp 1-exp log1p-expm1-u add-log-exp
associate-*l* cbrt-unprod
frac-2neg clear-num associate-/r/
hypot-udef pow-flip associate-*r/ pow-prod-down un-div-inv *-commutative inv-pow
Counts
4 → 192
Calls
4 calls:
1.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
13.0ms
(/ (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))) (sin th))
24.0ms
(/ 1 (/ (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))) (sin th)))
77.0ms
(* (sin ky) (/ 1 (/ (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))) (sin th))))

series1.9s

Counts
4 → 12
Calls
4 calls:
396.0ms
(hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2)))
457.0ms
(/ (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))) (sin th))
480.0ms
(/ 1 (/ (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))) (sin th)))
581.0ms
(* (sin ky) (/ 1 (/ (hypot (pow (sin kx) (/ 2.0 2)) (pow (sin ky) (/ 2.0 2))) (sin th))))

simplify4.0s

Counts
204 → 204
Iterations

Useful iterations: done (3.9s)

IterNodesCost
02845598
16465112
215454602
347884583
done50004582

prune878.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 6.9b

regimes1.1s

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01419
11519
done1519

end0.0ms

sample8.7s

Algorithm
intervals
Results
4.4s2737×body1280valid
2.5s1809×body640valid
575.0ms2326×body80valid
568.0ms776×body320valid
160.0ms352×body160valid