Details

Time bar (total: 11.1s)

analyze1.1s

Algorithm
search

sample93.0ms

Algorithm
intervals
Results
27.0ms51×body1280valid
14.0ms18×body2560valid
10.0ms31×body640valid
10.0ms130×body80valid
5.0ms66×body80nan
5.0ms19×body320valid
2.0ms30×body80invalid
1.0msbody160valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03210
15510
27610
38910
49210
59210

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 22.0b

Counts
2 → 1

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* z t) 3.0)
0.2b
(/ a (* b 3.0))
0.3b
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
23.7b
(cos (- y (/ (* z t) 3.0)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
pow1 add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
prod-exp cbrt-unprod
cbrt-undiv div-exp associate-/r* associate-/l* add-log-exp
cos-diff associate-*r* pow-prod-down
cos-sum frac-2neg clear-num div-inv
distribute-rgt-in sub-neg distribute-lft-in associate-*l* *-commutative
Counts
4 → 72
Calls
4 calls:
4.0ms
(/ (* z t) 3.0)
4.0ms
(/ a (* b 3.0))
6.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
5.0ms
(cos (- y (/ (* z t) 3.0)))

series70.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ (* z t) 3.0)
5.0ms
(/ a (* b 3.0))
46.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
13.0ms
(cos (- y (/ (* z t) 3.0)))

simplify53.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
0419507
11751432
25001432

prune363.0ms

Filtered
59 candidates to 84 candidates (-42.4%)
Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New622284
Fresh000
Picked101
Done000
Total632285

Merged error: 18.1b

Counts
85 → 22

localize32.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
0.3b
(* (sin y) (sin (/ (* z t) 3.0)))
28.0b
(cos (/ (* z t) 3.0))
28.6b
(sin (/ (* z t) 3.0))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
associate-*r*
associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
associate-*r/
*-commutative sin-mult
distribute-rgt-in distribute-lft-in flip3-+ frac-add cos-mult flip-+ unswap-sqr
Counts
4 → 56
Calls
4 calls:
9.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
5.0ms
(* (sin y) (sin (/ (* z t) 3.0)))
2.0ms
(cos (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))

series82.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
13.0ms
(* (sin y) (sin (/ (* z t) 3.0)))
4.0ms
(cos (/ (* z t) 3.0))
4.0ms
(sin (/ (* z t) 3.0))

simplify59.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0392756
11908649
25001648

prune298.0ms

Filtered
51 candidates to 68 candidates (-33.3%)
Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New581068
Fresh51621
Picked101
Done000
Total642690

Merged error: 18.0b

Counts
90 → 26

localize32.0ms

Local error

Found 4 expressions with local error:

28.0b
(cos (/ (* z t) 3.0))
28.6b
(sin (/ (* z t) 3.0))
28.6b
(sin (/ (* z t) 3.0))
28.6b
(sin (/ (* z t) 3.0))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
Counts
4 → 28
Calls
4 calls:
2.0ms
(cos (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))

series15.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(cos (/ (* z t) 3.0))
4.0ms
(sin (/ (* z t) 3.0))
4.0ms
(sin (/ (* z t) 3.0))
4.0ms
(sin (/ (* z t) 3.0))

simplify104.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
036190
152162
263162
372162
4100162
5174162
6693162
72258162
85001162

prune297.0ms

Filtered
36 candidates to 40 candidates (-11.1%)
Pruning

28 alts after pruning (28 fresh and 0 done)

PrunedKeptTotal
New37340
Fresh02525
Picked101
Done000
Total382866

Merged error: 18.0b

Counts
66 → 28

localize36.0ms

Local error

Found 4 expressions with local error:

28.0b
(cos (/ (* z t) 3.0))
28.6b
(sin (/ (* z t) 3.0))
28.6b
(sin (/ (* z t) 3.0))
28.6b
(sin (/ (* z t) 3.0))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
Counts
4 → 28
Calls
4 calls:
2.0ms
(cos (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))

series15.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(cos (/ (* z t) 3.0))
4.0ms
(sin (/ (* z t) 3.0))
4.0ms
(sin (/ (* z t) 3.0))
4.0ms
(sin (/ (* z t) 3.0))

simplify103.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
036190
152162
263162
372162
4100162
5174162
6693162
72258162
85001162

prune145.0ms

Filtered
36 candidates to 40 candidates (-11.1%)
Pruning

29 alts after pruning (28 fresh and 1 done)

PrunedKeptTotal
New38240
Fresh12627
Picked011
Done000
Total392968

Merged error: 18.0b

Counts
68 → 29

regimes4.4s

Accuracy

58.4% (1.5b remaining)

Error of 17.6b against oracle of 16.1b and baseline of 19.8b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05858
15858

end0.0ms

analyze1.1s

Algorithm
search

sample2.6s

Algorithm
intervals
Results
790.0ms1621×body1280valid
362.0ms4459×body80valid
315.0ms934×body640valid
286.0ms371×body2560valid
181.0ms2194×body80nan
108.0ms410×body320valid
90.0ms1128×body80invalid
41.0ms205×body160valid

Profiling

Loading profile data...