Details

Time bar (total: 8.7s)

sample130.0ms

Algorithm
intervals
Results
30.0ms56×body1280valid
25.0ms286×body80nan
16.0ms185×body80valid
13.0ms34×body640valid
6.0msbody2560valid
4.0ms15×body320valid
1.0msbody160valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03310
15810
28210
39910
410710
510910
610910

prune3.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.6b

Counts
2 → 1

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

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

series155.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06851511
123611261
250011258

prune412.0ms

Filtered
113 candidates to 72 candidates (63.7%)
Pruning

25 alts after pruning (25 fresh and 0 done)

PrunedKeptTotal
New8825113
Fresh000
Picked101
Done000
Total8925114

Merged error: 15.6b

Counts
114 → 25

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
14×add-exp-log add-cbrt-cube
pow1
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u 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 → 66
Calls
4 calls:
10.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
4.0ms
(/ a (* b 3.0))
2.0ms
(sin (/ (* z t) 3.0))
2.0ms
(cos (/ (* z t) 3.0))

series237.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0448738
12011624
25001619

prune440.0ms

Filtered
78 candidates to 60 candidates (76.9%)
Pruning

30 alts after pruning (30 fresh and 0 done)

PrunedKeptTotal
New651378
Fresh71724
Picked101
Done000
Total7330103

Merged error: 14.9b

Counts
103 → 30

localize29.0ms

Local error

Found 4 expressions with local error:

26.4b
(sin (/ (* z t) 3.0))
26.4b
(sin (/ (* z t) 3.0))
26.4b
(sin (/ (* z t) 3.0))
26.5b
(cos (/ (* z t) 3.0))

rewrite9.0ms

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

series56.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
040222
156194
267194
376194
4104194
5178194
6697194
72269194
85001194

prune372.0ms

Filtered
48 candidates to 44 candidates (91.7%)
Pruning

31 alts after pruning (30 fresh and 1 done)

PrunedKeptTotal
New46248
Fresh12829
Picked011
Done000
Total473178

Merged error: 14.9b

Counts
78 → 31

localize37.0ms

Local error

Found 4 expressions with local error:

26.4b
(sin (/ (* z t) 3.0))
26.4b
(sin (/ (* z t) 3.0))
26.4b
(sin (/ (* z t) 3.0))
26.5b
(cos (/ (* z t) 3.0))

rewrite10.0ms

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

series54.0ms

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

simplify143.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
040222
156194
267194
376194
4104194
5178194
6697194
72269194
85001194

prune271.0ms

Filtered
48 candidates to 44 candidates (91.7%)
Pruning

31 alts after pruning (29 fresh and 2 done)

PrunedKeptTotal
New47148
Fresh12829
Picked011
Done011
Total483179

Merged error: 14.9b

Counts
79 → 31

regimes2.8s

Accuracy

29.6% (3.3b remaining)

Error of 18.7b against oracle of 15.3b and baseline of 20.1b

bsearch6.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06372
16372

end0.0ms

sample3.2s

Algorithm
intervals
Results
693.0ms1542×body1280valid
674.0ms9329×body80nan
417.0ms5690×body80valid
303.0ms923×body640valid
292.0ms394×body2560valid
97.0ms411×body320valid
35.0ms214×body160valid

Profiling

Loading profile data...