Details

Time bar (total: 6.8s)

sample107.0ms

Algorithm
intervals
Results
27.0ms57×body1280valid
19.0ms320×body80nan
11.0ms170×body80valid
10.0ms35×body640valid
8.0ms12×body2560valid
3.0ms15×body320valid
0.0msbody160valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03310
15810
28210
39910
410710
510910
610910

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: 19.1b

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))))
21.6b
(cos (- y (/ (* z t) 3.0)))

rewrite15.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:
4.0ms
(/ (* z t) 3.0)
3.0ms
(/ a (* b 3.0))
5.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
3.0ms
(cos (- y (/ (* z t) 3.0)))

series184.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 3 (23.0ms)

IterNodesCost
0152149
1338146
2777143
32211132
45001132

prune123.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: 16.5b

Counts
31 → 8

localize30.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
11×*-commutative
prod-diff
distribute-rgt-in distribute-lft-in
associate-*r/
sub-neg 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 → 26
Calls
4 calls:
5.0ms
(/ a (* b 3.0))
23.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)))
4.0ms
(cos (/ (* z t) 3.0))

series318.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ a (* b 3.0))
238.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
36.0ms
(sin (- (/ (* z t) 3.0)))
20.0ms
(cos (/ (* z t) 3.0))

simplify102.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 3 (94.0ms)

IterNodesCost
0316556
1937506
23601479
35001476

prune203.0ms

Filtered
38 candidates to 23 candidates (60.5%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New30838
Fresh257
Picked101
Done000
Total331346

Merged error: 16.3b

Counts
46 → 13

localize26.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* 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.6b
(sin (- (/ (* z t) 3.0)))
26.7b
(cos (/ (* z t) 3.0))

rewrite28.0ms

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

series293.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(/ (* z t) 3.0)
239.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (/ (* z t) 3.0))))))
24.0ms
(sin (- (/ (* z t) 3.0)))
11.0ms
(cos (/ (* z t) 3.0))

simplify99.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 3 (93.0ms)

IterNodesCost
0304555
1911505
23550478
35001475

prune194.0ms

Filtered
38 candidates to 22 candidates (57.9%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New30838
Fresh7512
Picked101
Done000
Total381351

Merged error: 16.2b

Counts
51 → 13

localize29.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 (- (/ t (/ 3.0 z)))))))
0.4b
(/ t (/ 3.0 z))
26.7b
(sin (- (/ t (/ 3.0 z))))
26.7b
(cos (/ (* z t) 3.0))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
10×*-commutative
prod-diff
distribute-rgt-in distribute-lft-in
associate-*r/
associate-/r/
sub-neg frac-2neg associate-*l* clear-num cos-mult div-inv sin-mult
neg-sub0 flip3-- sin-neg associate-/r* sin-diff frac-sub flip-- sub-div
Counts
4 → 28
Calls
4 calls:
15.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (/ t (/ 3.0 z)))))))
3.0ms
(/ t (/ 3.0 z))
4.0ms
(sin (- (/ t (/ 3.0 z))))
4.0ms
(cos (/ (* z t) 3.0))

series285.0ms

Counts
4 → 12
Calls
4 calls:
229.0ms
(* (* 2.0 (sqrt x)) (- (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (- (/ t (/ 3.0 z)))))))
24.0ms
(/ t (/ 3.0 z))
22.0ms
(sin (- (/ t (/ 3.0 z))))
10.0ms
(cos (/ (* z t) 3.0))

simplify106.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 3 (100.0ms)

IterNodesCost
0313558
1967508
23815482
35001477

prune138.0ms

Filtered
40 candidates to 22 candidates (55.0%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New34640
Fresh4812
Picked101
Done000
Total391453

Merged error: 16.1b

Counts
53 → 14

regimes1.5s

Accuracy

69% (1.1b remaining)

Error of 17.6b against oracle of 16.4b and baseline of 20.1b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05533
15533

end0.0ms

sample2.8s

Algorithm
intervals
Results
633.0ms1571×body1280valid
539.0ms9227×body80nan
351.0ms5599×body80valid
252.0ms382×body2560valid
248.0ms913×body640valid
88.0ms447×body320valid
26.0ms191×body160valid