Details

Time bar (total: 6.4s)

sample100.0ms

Algorithm
intervals
Results
24.0ms58×body1280valid
16.0ms291×body80nan
10.0ms165×body80valid
9.0ms14×body2560valid
9.0ms34×body640valid
2.0ms12×body320valid
1.0ms10×body160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03210
15510
27610
38910
49210
59210

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 22.5b

Counts
2 → 1

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* z t) 3.0)
0.3b
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
0.5b
(/ a (* b 3.0))
23.9b
(cos (- y (/ (* z t) 3.0)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
cos-diff
cos-sum frac-2neg associate-*l* clear-num associate-/r* div-inv associate-/l*
distribute-rgt-in sub-neg distribute-lft-in
Counts
4 → 18
Calls
4 calls:
3.0ms
(/ (* z t) 3.0)
4.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
3.0ms
(/ a (* b 3.0))
3.0ms
(cos (- y (/ (* z t) 3.0)))

series161.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ (* z t) 3.0)
93.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
18.0ms
(/ a (* b 3.0))
33.0ms
(cos (- y (/ (* z t) 3.0)))

simplify70.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 3 (22.0ms)

IterNodesCost
0150149
1330146
2729143
32062132
45002132

prune114.0ms

Filtered
30 candidates to 21 candidates (70.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New22830
Fresh000
Picked101
Done000
Total23831

Merged error: 18.2b

Counts
31 → 8

localize24.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.5b
(/ a (* b 3.0))
26.4b
(sin (- (/ (* z t) 3.0)))
26.5b
(cos (/ (* z t) 3.0))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r/
*-commutative
distribute-rgt-in sub-neg distribute-lft-in associate-*l* associate-/r* cos-mult sin-mult
neg-sub0 flip3-- frac-2neg sin-neg clear-num sin-diff frac-sub flip-- div-inv sub-div
Counts
4 → 18
Calls
4 calls:
13.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))
4.0ms
(sin (- (/ (* z t) 3.0)))
3.0ms
(cos (/ (* z t) 3.0))

series257.0ms

Counts
4 → 12
Calls
4 calls:
208.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
21.0ms
(/ a (* b 3.0))
19.0ms
(sin (- (/ (* z t) 3.0)))
10.0ms
(cos (/ (* z t) 3.0))

simplify88.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0260308
1809291
23110266
35002266

prune169.0ms

Filtered
30 candidates to 22 candidates (73.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New21930
Fresh437
Picked101
Done000
Total261238

Merged error: 18.0b

Counts
38 → 12

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin y) (sin (- (/ (* z t) 3.0))))
0.3b
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
26.4b
(sin (- (/ (* z t) 3.0)))
26.5b
(cos (/ (* z t) 3.0))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r/
*-commutative sin-mult
distribute-rgt-in sub-neg distribute-lft-in associate-*l* sin-neg cos-mult
neg-sub0 flip3-- sin-diff distribute-rgt-neg-out frac-sub flip-- sub-div
Counts
4 → 16
Calls
4 calls:
5.0ms
(* (sin y) (sin (- (/ (* z t) 3.0))))
14.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
4.0ms
(sin (- (/ (* z t) 3.0)))
3.0ms
(cos (/ (* z t) 3.0))

series293.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(* (sin y) (sin (- (/ (* z t) 3.0))))
208.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
19.0ms
(sin (- (/ (* z t) 3.0)))
13.0ms
(cos (/ (* z t) 3.0))

simplify88.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0241321
1770304
23040279
35002279

prune159.0ms

Filtered
28 candidates to 20 candidates (71.4%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New20828
Fresh7411
Picked101
Done000
Total281240

Merged error: 18.0b

Counts
40 → 12

localize27.0ms

Local error

Found 4 expressions with local error:

0.3b
(* 0.3333333333333333 (* t z))
0.3b
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (* 0.3333333333333333 (* t z)))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
26.4b
(sin (- (/ (* z t) 3.0)))
26.5b
(cos (* 0.3333333333333333 (* t z)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r/ *-commutative
distribute-rgt-in sub-neg distribute-lft-in associate-*r* associate-*l* cos-mult sin-mult
neg-sub0 flip3-- sin-neg sin-diff frac-sub flip-- sub-div
Counts
4 → 16
Calls
4 calls:
3.0ms
(* 0.3333333333333333 (* t z))
13.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (* 0.3333333333333333 (* t z)))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
4.0ms
(sin (- (/ (* z t) 3.0)))
3.0ms
(cos (* 0.3333333333333333 (* t z)))

series265.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* 0.3333333333333333 (* t z))
216.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (* 0.3333333333333333 (* t z)))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
19.0ms
(sin (- (/ (* z t) 3.0)))
10.0ms
(cos (* 0.3333333333333333 (* t z)))

simplify90.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0242301
1771284
23014276
35001276

prune103.0ms

Filtered
28 candidates to 17 candidates (60.7%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New22628
Fresh3811
Picked101
Done000
Total261440

Merged error: 17.9b

Counts
40 → 14

regimes1.5s

Accuracy

30.9% (2.5b remaining)

Error of 19.6b against oracle of 17.0b and baseline of 20.7b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05430
15630
25630

end0.0ms

sample2.8s

Algorithm
intervals
Results
633.0ms1642×body1280valid
531.0ms9321×body80nan
328.0ms5624×body80valid
253.0ms962×body640valid
226.0ms350×body2560valid
81.0ms421×body320valid
27.0ms202×body160valid