Details

Time bar (total: 32.1s)

sample339.0ms

Algorithm
intervals
Results
112.0ms88×body1280valid
105.0ms59×body640valid
19.0ms33×body320valid
12.0ms68×body80valid
3.0msbody160valid

simplify4.9s

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: 9.7b

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

rewrite140.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:
53.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
11.0ms
(pow (sin kx) 2.0)
4.0ms
(pow (sin ky) 2.0)
63.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series732.0ms

Counts
4 → 12
Calls
4 calls:
232.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
184.0ms
(pow (sin kx) 2.0)
146.0ms
(pow (sin ky) 2.0)
170.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify2.1s

Counts
129 → 129
Iterations

Useful iterations: 3 (784.0ms)

IterNodesCost
01781808
13401625
28501557
326401556
done50001556

prune697.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 7.0b

localize15.0ms

Local error

Found 3 expressions with local error:

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

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 (sin ky) (sin kx))
36.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))
9.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))

series823.0ms

Counts
3 → 9
Calls
3 calls:
216.0ms
(hypot (sin ky) (sin kx))
340.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))
267.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))

simplify2.0s

Counts
82 → 82
Iterations

Useful iterations: 3 (779.0ms)

IterNodesCost
01301126
12841106
2790987
32333984
done5000984

prune456.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 6.9b

localize26.0ms

Local error

Found 3 expressions with local error:

0.1b
(hypot (sin ky) (sin kx))
0.2b
(/ (sin th) (hypot (sin ky) (sin kx)))
0.3b
(* (sin ky) (/ (sin th) (hypot (sin ky) (sin kx))))

rewrite62.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 (sin ky) (sin kx))
17.0ms
(/ (sin th) (hypot (sin ky) (sin kx)))
40.0ms
(* (sin ky) (/ (sin th) (hypot (sin ky) (sin kx))))

series819.0ms

Counts
3 → 9
Calls
3 calls:
168.0ms
(hypot (sin ky) (sin kx))
311.0ms
(/ (sin th) (hypot (sin ky) (sin kx)))
340.0ms
(* (sin ky) (/ (sin th) (hypot (sin ky) (sin kx))))

simplify2.4s

Counts
82 → 82
Iterations

Useful iterations: 3 (870.0ms)

IterNodesCost
01211123
12521091
2782976
32471975
done5000975

prune852.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 6.9b

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(hypot (sin ky) (sin kx))
0.2b
(/ (hypot (sin ky) (sin kx)) (sin th))
0.3b
(/ 1 (/ (hypot (sin ky) (sin kx)) (sin th)))
0.3b
(* (sin ky) (/ 1 (/ (hypot (sin ky) (sin kx)) (sin th))))

rewrite138.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 (sin ky) (sin kx))
12.0ms
(/ (hypot (sin ky) (sin kx)) (sin th))
23.0ms
(/ 1 (/ (hypot (sin ky) (sin kx)) (sin th)))
84.0ms
(* (sin ky) (/ 1 (/ (hypot (sin ky) (sin kx)) (sin th))))

series1.2s

Counts
4 → 12
Calls
4 calls:
174.0ms
(hypot (sin ky) (sin kx))
292.0ms
(/ (hypot (sin ky) (sin kx)) (sin th))
323.0ms
(/ 1 (/ (hypot (sin ky) (sin kx)) (sin th)))
395.0ms
(* (sin ky) (/ 1 (/ (hypot (sin ky) (sin kx)) (sin th))))

simplify3.4s

Counts
204 → 204
Iterations

Useful iterations: done (3.4s)

IterNodesCost
02673490
15943012
213392664
340992644
done50002628

prune731.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 6.9b

regimes951.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0911
11011
done1011

end0.0ms

sample9.2s

Algorithm
intervals
Results
5.6s2737×body1280valid
1.8s1809×body640valid
581.0ms2326×body80valid
579.0ms776×body320valid
125.0ms352×body160valid