Details

Time bar (total: 11.9s)

sample127.0ms

Algorithm
intervals
Results
23.0ms53×body1280valid
19.0ms289×body80nan
13.0ms183×body80valid
12.0ms26×body640valid
9.0ms12×body2560valid
4.0ms16×body320valid
2.0msbody160valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03210
15510
27610
38910
49210
59210

prune9.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.8b

Counts
2 → 1

localize16.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))))
26.0b
(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:
5.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)))

series183.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0419507
11751432
25001432

prune554.0ms

Filtered
84 candidates to 59 candidates (70.2%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New661884
Fresh000
Picked101
Done000
Total671885

Merged error: 15.5b

Counts
85 → 18

localize25.0ms

Local error

Found 4 expressions with local error:

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

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

series280.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0460697
12089586
25001585

prune624.0ms

Filtered
70 candidates to 52 candidates (74.3%)
Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New591170
Fresh21517
Picked101
Done000
Total622688

Merged error: 15.4b

Counts
88 → 26

localize33.0ms

Local error

Found 4 expressions with local error:

29.5b
(cos (/ (* z t) 3.0))
29.7b
(sin (/ (* z t) 3.0))
29.7b
(sin (/ (* z t) 3.0))
29.7b
(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))

series60.0ms

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

simplify107.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
036190
152162
263162
372162
4100162
5174162
6693162
72258162
85001162

prune515.0ms

Filtered
40 candidates to 36 candidates (90.0%)
Pruning

27 alts after pruning (27 fresh and 0 done)

PrunedKeptTotal
New35540
Fresh32225
Picked101
Done000
Total392766

Merged error: 15.4b

Counts
66 → 27

localize37.0ms

Local error

Found 4 expressions with local error:

29.2b
(sin (* 0.3333333333333333 (* t z)))
29.5b
(cos (/ (* z t) 3.0))
29.7b
(sin (/ (* z t) 3.0))
29.7b
(sin (/ (* z t) 3.0))

rewrite12.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:
3.0ms
(sin (* 0.3333333333333333 (* t z)))
2.0ms
(cos (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))
4.0ms
(sin (/ (* z t) 3.0))

series56.0ms

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

simplify120.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
044190
161162
274162
386162
4123162
5217162
6831162
72762162
85001162

prune346.0ms

Filtered
40 candidates to 34 candidates (85.0%)
Pruning

28 alts after pruning (28 fresh and 0 done)

PrunedKeptTotal
New38240
Fresh02626
Picked101
Done000
Total392867

Merged error: 15.4b

Counts
67 → 28

regimes5.1s

Accuracy

54.5% (1.7b remaining)

Error of 18.3b against oracle of 16.6b and baseline of 20.3b

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06355
16555
26555

end0.0ms

sample3.6s

Algorithm
intervals
Results
710.0ms1612×body1280valid
611.0ms9033×body80nan
402.0ms5545×body80valid
306.0ms974×body640valid
260.0ms361×body2560valid
95.0ms423×body320valid
29.0ms181×body160valid

Profiling

Loading profile data...