Details

Time bar (total: 16.8s)

sample112.0ms

Algorithm
intervals
Results
57.0ms84×body1280valid
26.0ms55×body640valid
7.0ms26×body320valid
7.0ms80×body80valid
2.0ms11×body160valid

simplify2.7s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01316
12316
23816
36716
413416
530716
689416
7324716
done500116

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
0.3b
(pow (sin ky) 2.0)
0.3b
(pow (sin kx) 2.0)
3.6b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite45.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:
19.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
1.0ms
(pow (sin ky) 2.0)
1.0ms
(pow (sin kx) 2.0)
20.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series411.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
104.0ms
(pow (sin ky) 2.0)
103.0ms
(pow (sin kx) 2.0)
75.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify1.2s

Counts
129 → 129
Iterations

Useful iterations: 3 (420.0ms)

IterNodesCost
01781808
13421619
28681557
328471556
done50001556

prune471.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 9.1b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.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 (sin kx) (sin ky))
12.0ms
(* (/ (sin ky) (hypot (sin kx) (sin ky))) (sin th))
3.0ms
(/ (sin ky) (hypot (sin kx) (sin ky)))

series499.0ms

Counts
3 → 9
Calls
3 calls:
114.0ms
(hypot (sin kx) (sin ky))
224.0ms
(* (/ (sin ky) (hypot (sin kx) (sin ky))) (sin th))
160.0ms
(/ (sin ky) (hypot (sin kx) (sin ky)))

simplify1.5s

Counts
82 → 82
Iterations

Useful iterations: 3 (702.0ms)

IterNodesCost
01301126
12861107
2826987
32778984
done5001984

prune304.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 9.1b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite13.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 (sin kx) (sin ky))
8.0ms
(* (sin ky) (/ (sin th) (hypot (sin kx) (sin ky))))
3.0ms
(/ (sin th) (hypot (sin kx) (sin ky)))

series529.0ms

Counts
3 → 9
Calls
3 calls:
114.0ms
(hypot (sin kx) (sin ky))
214.0ms
(* (sin ky) (/ (sin th) (hypot (sin kx) (sin ky))))
200.0ms
(/ (sin th) (hypot (sin kx) (sin ky)))

simplify1.7s

Counts
82 → 82
Iterations

Useful iterations: 3 (1.1s)

IterNodesCost
01211123
12581092
2795976
32993975
done5000975

prune297.0ms

Pruning

18 alts after pruning (17 fresh and 1 done)

Merged error: 9.1b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
20×add-cube-cbrt *-un-lft-identity
19×times-frac
13×associate-*l*
11×add-exp-log add-cbrt-cube
pow1
log1p-expm1-u
expm1-log1p-u add-log-exp
associate-*r* associate-/r* associate-/l*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv unswap-sqr
log1p-udef expm1-log1p frac-2neg log1p-expm1 pow-prod-down associate-*l/ clear-num *-commutative expm1-udef
Counts
4 → 85
Calls
4 calls:
9.0ms
(* (/ (sin ky) (log1p (expm1 (hypot (sin kx) (sin ky))))) (sin th))
3.0ms
(/ (sin ky) (log1p (expm1 (hypot (sin kx) (sin ky)))))
0.0ms
(log1p (expm1 (hypot (sin kx) (sin ky))))
0.0ms
(expm1 (hypot (sin kx) (sin ky)))

series740.0ms

Counts
4 → 12
Calls
4 calls:
250.0ms
(* (/ (sin ky) (log1p (expm1 (hypot (sin kx) (sin ky))))) (sin th))
205.0ms
(/ (sin ky) (log1p (expm1 (hypot (sin kx) (sin ky)))))
149.0ms
(log1p (expm1 (hypot (sin kx) (sin ky))))
135.0ms
(expm1 (hypot (sin kx) (sin ky)))

simplify1.8s

Counts
97 → 97
Iterations

Useful iterations: 3 (963.0ms)

IterNodesCost
01481444
13191227
28991085
330061080
done50001080

prune288.0ms

Pruning

18 alts after pruning (16 fresh and 2 done)

Merged error: 9.1b

regimes588.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0911
11011
done1011

end0.0ms

sample3.4s

Algorithm
intervals
Results
2.0s2736×body1280valid
740.0ms1776×body640valid
212.0ms742×body320valid
210.0ms2390×body80valid
63.0ms356×body160valid