Details

Time bar (total: 8.7s)

sample117.0ms

Algorithm
intervals
Results
20.0ms46×body1280valid
18.0ms256×body80nan
12.0ms174×body80valid
11.0ms15×body2560valid
9.0ms29×body640valid
3.0ms11×body320valid
1.0msbody160valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 18.7b

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

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

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

series48.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(/ (* z t) 3.0)
3.0ms
(/ a (* b 3.0))
30.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
11.0ms
(cos (- y (/ (* z t) 3.0)))

simplify54.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0419507
11751432
25001432

prune253.0ms

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

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New642084
Fresh000
Picked101
Done000
Total652085

Merged error: 15.5b

Counts
85 → 20

localize25.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
0.3b
(/ a (* b 3.0))
27.2b
(cos (/ (* z t) 3.0))
27.6b
(sin (/ (* z t) 3.0))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
14×add-exp-log add-cbrt-cube
pow1
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
prod-exp cbrt-unprod add-log-exp
times-frac associate-*r/ associate-*r* pow-prod-down associate-/l*
cbrt-undiv div-exp
distribute-rgt-in frac-2neg distribute-lft-in flip3-+ associate-*l* frac-add clear-num associate-/r* cos-mult *-commutative flip-+ div-inv sin-mult
Counts
4 → 58
Calls
4 calls:
9.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
6.0ms
(/ a (* b 3.0))
2.0ms
(cos (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))

series88.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0460697
12089586
25001585

prune261.0ms

Filtered
52 candidates to 70 candidates (-34.6%)
Pruning

23 alts after pruning (23 fresh and 0 done)

PrunedKeptTotal
New62870
Fresh41519
Picked101
Done000
Total672390

Merged error: 15.5b

Counts
90 → 23

localize32.0ms

Local error

Found 4 expressions with local error:

27.2b
(cos (/ (* z t) 3.0))
27.6b
(sin (/ (* z t) 3.0))
27.6b
(sin (/ (* z t) 3.0))
27.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))

series16.0ms

Counts
4 → 12
Calls
4 calls:
4.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))

simplify110.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
036190
152162
263162
372162
4100162
5174162
6693162
72258162
85001162

prune260.0ms

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

23 alts after pruning (23 fresh and 0 done)

PrunedKeptTotal
New38240
Fresh12122
Picked101
Done000
Total402363

Merged error: 15.5b

Counts
63 → 23

localize29.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ a (* b 3.0))
2.3b
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
27.2b
(cos (/ (* z t) 3.0))
27.6b
(sin (/ (* z t) 3.0))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
21×add-exp-log add-cbrt-cube
16×pow1
prod-exp cbrt-unprod
pow-prod-down
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
times-frac associate-/l*
cbrt-undiv div-exp
frac-2neg associate-*r/ associate-*r* associate-*l* clear-num associate-/r* *-commutative div-inv sin-mult
Counts
4 → 58
Calls
4 calls:
4.0ms
(/ a (* b 3.0))
8.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
2.0ms
(cos (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))

series40.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(/ a (* b 3.0))
29.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
3.0ms
(cos (/ (* z t) 3.0))
4.0ms
(sin (/ (* z t) 3.0))

simplify43.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0329482
11223383
25001383

prune117.0ms

Filtered
49 candidates to 70 candidates (-42.9%)
Pruning

23 alts after pruning (23 fresh and 0 done)

PrunedKeptTotal
New67370
Fresh22022
Picked101
Done000
Total702393

Merged error: 15.5b

Counts
93 → 23

regimes3.4s

Accuracy

58.7% (1.5b remaining)

Error of 18.0b against oracle of 16.5b and baseline of 20.1b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05354
15354

end0.0ms

sample3.6s

Algorithm
intervals
Results
729.0ms1580×body1280valid
649.0ms9108×body80nan
417.0ms5628×body80valid
310.0ms960×body640valid
278.0ms377×body2560valid
101.0ms420×body320valid
33.0ms194×body160valid

Profiling

Loading profile data...