Details

Time bar (total: 9.4s)

sample143.0ms

Algorithm
intervals
Results
82.0ms103×body1280valid
25.0ms52×body640valid
10.0ms17×body320valid
10.0ms75×body80valid
2.0msbody160valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13510
26310
313710
441710
5179810
6500210

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.6b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite69.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:
48.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
1.0ms
(pow (sin ky) 2.0)
1.0ms
(pow (sin kx) 2.0)
15.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series429.0ms

Counts
4 → 12
Calls
4 calls:
144.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
106.0ms
(pow (sin ky) 2.0)
103.0ms
(pow (sin kx) 2.0)
76.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify41.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0391990
11382928
25001927

prune429.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 9.0b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity
34×add-sqr-sqrt
30×associate-*r*
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-*l* 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 associate-*r/ div-exp pow-prod-down *-commutative div-inv
Counts
4 → 101
Calls
4 calls:
1.0ms
(pow (sin ky) 2.0)
44.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
1.0ms
(pow (sin kx) 2.0)
15.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series421.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(pow (sin ky) 2.0)
139.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
106.0ms
(pow (sin kx) 2.0)
74.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify58.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0437948
11864870
25002870

prune381.0ms

Pruning

22 alts after pruning (21 fresh and 1 done)

Merged error: 9.0b

localize19.0ms

Local error

Found 4 expressions with local error:

2.2b
(sqrt (+ (* (* (cbrt (pow (sin kx) 2.0)) (cbrt (pow (sin kx) 2.0))) (cbrt (pow (sin kx) 2.0))) (pow (sin ky) 2.0)))
14.1b
(cbrt (pow (sin kx) 2.0))
14.1b
(cbrt (pow (sin kx) 2.0))
14.1b
(cbrt (pow (sin kx) 2.0))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
21×cbrt-prod
12×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
unpow-prod-down
pow1
add-exp-log add-cbrt-cube add-log-exp
pow1/3 sqrt-prod sqr-pow
sqrt-div
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
Counts
4 → 60
Calls
4 calls:
45.0ms
(sqrt (+ (* (* (cbrt (pow (sin kx) 2.0)) (cbrt (pow (sin kx) 2.0))) (cbrt (pow (sin kx) 2.0))) (pow (sin ky) 2.0)))
1.0ms
(cbrt (pow (sin kx) 2.0))
1.0ms
(cbrt (pow (sin kx) 2.0))
1.0ms
(cbrt (pow (sin kx) 2.0))

series665.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(sqrt (+ (* (* (cbrt (pow (sin kx) 2.0)) (cbrt (pow (sin kx) 2.0))) (cbrt (pow (sin kx) 2.0))) (pow (sin ky) 2.0)))
199.0ms
(cbrt (pow (sin kx) 2.0))
193.0ms
(cbrt (pow (sin kx) 2.0))
194.0ms
(cbrt (pow (sin kx) 2.0))

simplify58.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (51.0ms)

IterNodesCost
0204682
1478640
21705640
35001634

prune370.0ms

Pruning

22 alts after pruning (20 fresh and 2 done)

Merged error: 9.0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (sin kx))
0.6b
(cbrt (sin kx))
0.6b
(cbrt (sin kx))
2.2b
(sqrt (+ (* (pow (* (cbrt (sin kx)) (cbrt (sin kx))) 2.0) (pow (cbrt (sin kx)) 2.0)) (pow (sin ky) 2.0)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
add-exp-log add-cbrt-cube add-log-exp
pow1/3 sqrt-prod
sqrt-div
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
Counts
4 → 48
Calls
4 calls:
1.0ms
(cbrt (sin kx))
1.0ms
(cbrt (sin kx))
1.0ms
(cbrt (sin kx))
13.0ms
(sqrt (+ (* (pow (* (cbrt (sin kx)) (cbrt (sin kx))) 2.0) (pow (cbrt (sin kx)) 2.0)) (pow (sin ky) 2.0)))

series374.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(cbrt (sin kx))
97.0ms
(cbrt (sin kx))
97.0ms
(cbrt (sin kx))
77.0ms
(sqrt (+ (* (pow (* (cbrt (sin kx)) (cbrt (sin kx))) 2.0) (pow (cbrt (sin kx)) 2.0)) (pow (sin ky) 2.0)))

simplify75.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0183511
1496483
22171477
35002476

prune264.0ms

Pruning

22 alts after pruning (20 fresh and 2 done)

Merged error: 9.0b

regimes1.0s

Accuracy

0% (1.3b remaining)

Error of 12.6b against oracle of 11.3b and baseline of 12.6b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01510
11510

end0.0ms

sample4.3s

Algorithm
intervals
Results
2.3s2755×body1280valid
915.0ms1804×body640valid
397.0ms727×body320valid
323.0ms2362×body80valid
83.0ms352×body160valid