Details

Time bar (total: 15.9s)

sample3.7s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 37.5%

Guaranteed chance to sample good point: 15%

Results
25.0ms51×body1280valid
12.0ms16×body2560valid
11.0ms139×body80valid
9.0ms74×body80nan
8.0ms24×body640valid
4.0ms15×body320valid
3.0ms41×body80invalid
2.0ms11×body160valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03210
15510
27610
38910
49210
59210

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 22.6b

Counts
2 → 1

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

rewrite24.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))))
8.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))
31.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
10.0ms
(cos (- y (/ (* z t) 3.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0419507
11751432
25001432

prune259.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: 18.1b

Counts
85 → 20

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

rewrite18.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))
9.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))

series75.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0460697
12089586
25001585

prune264.0ms

Filtered
53 candidates to 70 candidates (-32.1%)
Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New63770
Fresh41519
Picked101
Done000
Total682290

Merged error: 17.9b

Counts
90 → 22

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin y) (sin (/ (* z t) 3.0)))
0.3b
(/ a (* b 3.0))
29.2b
(sin (/ (* z t) 3.0))
29.5b
(cos (* 0.3333333333333333 (* t z)))

rewrite15.0ms

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

series22.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(* (sin y) (sin (/ (* z t) 3.0)))
3.0ms
(/ a (* b 3.0))
4.0ms
(sin (/ (* z t) 3.0))
3.0ms
(cos (* 0.3333333333333333 (* t z)))

simplify51.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0200336
1642285
22118285
35001285

prune276.0ms

Filtered
49 candidates to 66 candidates (-34.7%)
Pruning

25 alts after pruning (25 fresh and 0 done)

PrunedKeptTotal
New60666
Fresh21921
Picked101
Done000
Total632588

Merged error: 17.9b

Counts
88 → 25

localize35.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (sin y))
0.6b
(cbrt (sin y))
29.2b
(sin (/ (* z t) 3.0))
29.5b
(cos (* 0.3333333333333333 (* t z)))

rewrite8.0ms

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

series44.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(cbrt (sin y))
19.0ms
(cbrt (sin y))
4.0ms
(sin (/ (* z t) 3.0))
4.0ms
(cos (* 0.3333333333333333 (* t z)))

simplify189.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 3 (29.0ms)

IterNodesCost
0102244
1234220
2707208
33969184
45001184

prune84.0ms

Filtered
39 candidates to 48 candidates (-23.1%)
Pruning

25 alts after pruning (24 fresh and 1 done)

PrunedKeptTotal
New48048
Fresh02424
Picked011
Done000
Total482573

Merged error: 17.9b

Counts
73 → 25

regimes4.2s

Accuracy

64.1% (1.4b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05431
15631
25631

end0.0ms

sample6.4s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 37.5%

Guaranteed chance to sample good point: 15%

Results
728.0ms1537×body1280valid
362.0ms4516×body80valid
316.0ms412×body2560valid
313.0ms910×body640valid
180.0ms2252×body80nan
101.0ms405×body320valid
86.0ms1050×body80invalid
42.0ms220×body160valid

Profiling

Loading profile data...