Details

Time bar (total: 10.8s)

analyze1.1s

Algorithm
search

sample102.0ms

Algorithm
intervals
Results
27.0ms55×body1280valid
19.0ms24×body2560valid
13.0ms122×body80valid
13.0ms37×body640valid
6.0ms73×body80nan
3.0ms12×body320valid
2.0ms24×body80invalid
1.0msbody160valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03210
15510
27610
38910
49210
59210

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 26.1b

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.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:
4.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)))

series46.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(/ (* z t) 3.0)
3.0ms
(/ a (* b 3.0))
30.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

prune253.0ms

Filtered
59 candidates to 84 candidates (-42.4%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New651984
Fresh000
Picked101
Done000
Total661985

Merged error: 20.5b

Counts
85 → 19

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ a (* b 3.0))
0.2b
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
31.3b
(cos (/ (* z t) 3.0))
31.3b
(sin (/ (* 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
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))

series73.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(/ a (* b 3.0))
62.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))

simplify60.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0460697
12089586
25001585

prune260.0ms

Filtered
52 candidates to 70 candidates (-34.6%)
Pruning

23 alts after pruning (23 fresh and 0 done)

PrunedKeptTotal
New63770
Fresh21618
Picked101
Done000
Total662389

Merged error: 20.4b

Counts
89 → 23

localize32.0ms

Local error

Found 4 expressions with local error:

31.3b
(cos (/ (* z t) 3.0))
31.3b
(sin (/ (* z t) 3.0))
31.3b
(sin (/ (* z t) 3.0))
31.3b
(sin (/ (* z t) 3.0))

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

series16.0ms

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

simplify103.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
036190
152162
263162
372162
4100162
5174162
6693162
72258162
85001162

prune293.0ms

Filtered
36 candidates to 40 candidates (-11.1%)
Pruning

27 alts after pruning (27 fresh and 0 done)

PrunedKeptTotal
New34640
Fresh12122
Picked101
Done000
Total362763

Merged error: 20.4b

Counts
63 → 27

localize41.0ms

Local error

Found 4 expressions with local error:

31.3b
(cos (/ (* z t) 3.0))
31.3b
(sin (/ (* z t) 3.0))
31.3b
(sin (/ (* z t) 3.0))
31.3b
(sin (/ (* z t) 3.0))

rewrite8.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))

series15.0ms

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

simplify104.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
036190
152162
263162
372162
4100162
5174162
6693162
72258162
85001162

prune134.0ms

Filtered
36 candidates to 40 candidates (-11.1%)
Pruning

27 alts after pruning (27 fresh and 0 done)

PrunedKeptTotal
New37340
Fresh22426
Picked101
Done000
Total402767

Merged error: 20.4b

Counts
67 → 27

regimes4.4s

Accuracy

60.3% (1.8b remaining)

Error of 18.3b against oracle of 16.4b and baseline of 21.0b

bsearch2.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06763
16963
26963

end0.0ms

analyze1.1s

Algorithm
search

sample2.6s

Algorithm
intervals
Results
785.0ms1621×body1280valid
359.0ms4454×body80valid
325.0ms942×body640valid
298.0ms384×body2560valid
184.0ms2329×body80nan
101.0ms407×body320valid
88.0ms1133×body80invalid
34.0ms192×body160valid

Profiling

Loading profile data...