Details

Time bar (total: 13.7s)

sample220.0ms

Algorithm
intervals
Results
146.0ms126×body1280valid
39.0ms59×body640valid
9.0ms20×body320valid
6.0ms42×body80valid
3.0msbody160valid

simplify1.3s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01316
12316
23416
36316
412916
532816
694616
7334816
done500116

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 3.5b

Counts
2 → 1

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
0.2b
(pow (sin kx) 2.0)
0.3b
(pow (sin ky) 2.0)
3.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity
34×add-sqr-sqrt
30×associate-*l*
26×times-frac
25×add-cube-cbrt
21×sqrt-prod
14×unpow-prod-down
11×add-exp-log
pow1 add-cbrt-cube
distribute-lft-out
pow-unpow
sqrt-div add-log-exp
associate-*r* unswap-sqr
pow-to-exp pow-pow flip3-+ pow-exp prod-exp associate-/r/ cbrt-unprod flip-+ sqr-pow
cbrt-undiv rem-sqrt-square sqrt-pow1 pow1/2 div-exp pow-prod-down associate-*l/ *-commutative div-inv
Counts
4 → 101
Calls
4 calls:
17.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
3.0ms
(pow (sin kx) 2.0)
3.0ms
(pow (sin ky) 2.0)
9.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series118.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
20.0ms
(pow (sin kx) 2.0)
21.0ms
(pow (sin ky) 2.0)
25.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify1.0s

Counts
113 → 113
Iterations

Useful iterations: 3 (403.0ms)

IterNodesCost
01911706
14341602
212601491
343661475
done50001475

prune294.0ms

Filtered
78 candidates to 113 candidates (-44.9%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New10211113
Fresh000
Picked101
Done000
Total10311114

Merged error: 2.3b

Counts
114 → 11

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin ky) 2.0)
0.3b
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
0.3b
(/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
3.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
72×*-un-lft-identity
50×times-frac
49×add-sqr-sqrt
41×sqrt-prod
40×add-cube-cbrt
30×associate-*r*
19×unpow-prod-down
16×distribute-lft-out
12×add-exp-log
11×add-cbrt-cube
pow1 associate-/r*
sqrt-div
associate-/r/ add-log-exp
pow-unpow flip3-+ associate-*l* flip-+ associate-/l* unswap-sqr
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv
pow-to-exp rem-sqrt-square pow-pow frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down pow-exp clear-num *-commutative sqr-pow
Counts
4 → 133
Calls
4 calls:
3.0ms
(pow (sin ky) 2.0)
20.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
12.0ms
(/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
8.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series145.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(pow (sin ky) 2.0)
51.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
50.0ms
(/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
21.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify457.0ms

Counts
145 → 145
Iterations

Useful iterations: 2 (132.0ms)

IterNodesCost
02002654
14382406
215952229
done50012229

prune292.0ms

Filtered
86 candidates to 145 candidates (-68.6%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1450145
Fresh01010
Picked011
Done000
Total14511156

Merged error: 2.3b

Counts
156 → 11

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin ky) 2.0)
0.4b
(* (fabs (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sqrt (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
3.7b
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
3.7b
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
18×add-sqr-sqrt
16×cbrt-prod
12×add-cube-cbrt
11×associate-*r*
10×sqrt-prod
unpow-prod-down
pow1 add-exp-log
cbrt-div add-cbrt-cube distribute-lft-out
add-log-exp
pow-unpow flip3-+ associate-*l* flip-+ unswap-sqr
pow1/3 sqrt-div associate-*r/
pow-to-exp pow-pow pow-prod-down pow-exp prod-exp *-commutative cbrt-unprod sqr-pow
Counts
4 → 77
Calls
4 calls:
3.0ms
(pow (sin ky) 2.0)
15.0ms
(* (fabs (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sqrt (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
8.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
10.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series131.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(pow (sin ky) 2.0)
48.0ms
(* (fabs (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sqrt (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
31.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
31.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify725.0ms

Counts
89 → 89
Iterations

Useful iterations: 3 (287.0ms)

IterNodesCost
01651876
13701750
210491601
328881522
done50011522

prune313.0ms

Filtered
60 candidates to 89 candidates (-48.3%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New87289
Fresh189
Picked101
Done011
Total8911100

Merged error: 2.3b

Counts
100 → 11

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin ky) 2.0)
1.2b
(exp (log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
1.3b
(log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
3.2b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
16×log-prod
15×sqrt-prod
13×add-sqr-sqrt
12×add-cube-cbrt
10×pow1
unpow-prod-down
exp-sum
add-exp-log exp-prod sqrt-div log-pow distribute-lft-out
log-div add-cbrt-cube add-log-exp
pow-unpow sqrt-pow1 flip3-+ pow1/2 flip-+
exp-diff
pow-to-exp rem-sqrt-square pow-pow rem-log-exp pow-exp rem-exp-log sqr-pow
Counts
4 → 79
Calls
4 calls:
3.0ms
(pow (sin ky) 2.0)
10.0ms
(exp (log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
8.0ms
(log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
8.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series94.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(pow (sin ky) 2.0)
21.0ms
(exp (log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
31.0ms
(log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
21.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify528.0ms

Counts
91 → 91
Iterations

Useful iterations: done (525.0ms)

IterNodesCost
01431416
12751215
26531132
316151120
done50001118

prune172.0ms

Filtered
57 candidates to 91 candidates (-59.6%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New89291
Fresh099
Picked101
Done011
Total9012102

Merged error: 2.3b

Counts
102 → 12

regimes925.0ms

Accuracy

0% (1.3b remaining)

Error of 3.8b against oracle of 2.5b and baseline of 3.8b

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01316
11516
done1516

end0.0ms

sample6.7s

Algorithm
intervals
Results
4.1s3817×body1280valid
1.4s2008×body640valid
548.0ms684×body320valid
162.0ms1219×body80valid
80.0ms272×body160valid

Profiling

Loading profile data...