Details

Time bar (total: 9.4s)

analyze1.1s

Algorithm
search
Search
TrueOtherFalseIter
0%99.7%0.3%0
0%99.7%0.3%1
0%99.7%0.3%2
0%99.7%0.3%3
0%99.7%0.3%4
0%99.7%0.3%5
0%99.7%0.3%6
0%99.7%0.3%7
0%74.8%25.2%8
0%74.8%25.2%9
0%74.8%25.2%10
0%74.8%25.2%11
0%74.8%25.2%12
24.9%49.9%25.2%13
24.9%37.4%37.7%14

sample87.0ms

Algorithm
intervals
Results
21.0ms45×body1280valid
10.0ms139×body80valid
10.0ms14×body2560valid
9.0ms25×body320valid
9.0ms27×body640valid
6.0ms74×body80nan
2.0ms30×body80invalid
1.0msbody160valid

simplify34.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
079619
179619

prune16.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 21.6b

Counts
2 → 2

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(* z (/ t 3.0))
0.2b
(/ a (* 3.0 b))
0.3b
(* (sqrt x) (cos (- y (* z (/ t 3.0)))))
27.2b
(cos (- y (* z (/ t 3.0))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
17×add-cube-cbrt *-un-lft-identity
16×add-exp-log associate-*r* add-cbrt-cube
13×times-frac
associate-*l*
pow1
prod-exp sqrt-prod cbrt-unprod add-log-exp unswap-sqr
cbrt-undiv cos-diff div-exp associate-/l*
pow-prod-down *-commutative div-inv
distribute-rgt-in sub-neg cos-sum frac-2neg distribute-lft-in associate-*r/ clear-num associate-/r*
Counts
4 → 86
Calls
4 calls:
6.0ms
(* z (/ t 3.0))
4.0ms
(/ a (* 3.0 b))
7.0ms
(* (sqrt x) (cos (- y (* z (/ t 3.0)))))
3.0ms
(cos (- y (* z (/ t 3.0))))

series44.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* z (/ t 3.0))
3.0ms
(/ a (* 3.0 b))
26.0ms
(* (sqrt x) (cos (- y (* z (/ t 3.0)))))
11.0ms
(cos (- y (* z (/ t 3.0))))

simplify58.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
05485897

prune367.0ms

Pruning

27 alts after pruning (27 fresh and 0 done)

PrunedKeptTotal
New722698
Fresh011
Picked101
Done000
Total7327100

Merged error: 17.9b

Counts
100 → 27

localize43.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ a (* 3.0 b))
0.6b
(* (sin (* z (/ t 3.0))) (sqrt x))
29.5b
(cos (* z (/ t 3.0)))
29.9b
(sin (* z (/ t 3.0)))

rewrite26.0ms

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

series34.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(/ a (* 3.0 b))
18.0ms
(* (sin (* z (/ t 3.0))) (sqrt x))
6.0ms
(cos (* z (/ t 3.0)))
7.0ms
(sin (* z (/ t 3.0)))

simplify38.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
04951584
14951584

prune314.0ms

Pruning

27 alts after pruning (27 fresh and 0 done)

PrunedKeptTotal
New65469
Fresh32326
Picked101
Done000
Total692796

Merged error: 17.8b

Counts
96 → 27

localize32.0ms

Local error

Found 4 expressions with local error:

0.3b
(* z (* t 0.3333333333333333))
0.6b
(* (sin (* z (/ t 3.0))) (sqrt x))
29.4b
(cos (* z (* t 0.3333333333333333)))
29.9b
(sin (* z (/ t 3.0)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
11×pow1 add-exp-log add-cbrt-cube
add-cube-cbrt *-un-lft-identity
associate-*r*
associate-*l*
pow-prod-down prod-exp sqrt-prod cbrt-unprod add-log-exp
*-commutative unswap-sqr
Counts
4 → 54
Calls
4 calls:
5.0ms
(* z (* t 0.3333333333333333))
5.0ms
(* (sin (* z (/ t 3.0))) (sqrt x))
2.0ms
(cos (* z (* t 0.3333333333333333)))
2.0ms
(sin (* z (/ t 3.0)))

series27.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
04908553
14908553

prune321.0ms

Pruning

29 alts after pruning (29 fresh and 0 done)

PrunedKeptTotal
New60666
Fresh32326
Picked101
Done000
Total642993

Merged error: 17.8b

Counts
93 → 29

localize31.0ms

Local error

Found 4 expressions with local error:

0.4b
(pow (cos (* z (* t 0.3333333333333333))) 3)
0.6b
(* (sin (* z (/ t 3.0))) (sqrt x))
29.4b
(cos (* z (* t 0.3333333333333333)))
29.9b
(sin (* z (/ t 3.0)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
associate-*r*
sqrt-prod add-log-exp
unpow-prod-down pow-unpow cube-prod associate-*l*
unswap-sqr
cube-mult pow-to-exp pow-pow unpow3 pow-prod-down pow-exp prod-exp *-commutative cbrt-unprod rem-cube-cbrt sqr-pow
Counts
4 → 59
Calls
4 calls:
3.0ms
(pow (cos (* z (* t 0.3333333333333333))) 3)
7.0ms
(* (sin (* z (/ t 3.0))) (sqrt x))
3.0ms
(cos (* z (* t 0.3333333333333333)))
2.0ms
(sin (* z (/ t 3.0)))

series30.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(pow (cos (* z (* t 0.3333333333333333))) 3)
15.0ms
(* (sin (* z (/ t 3.0))) (sqrt x))
3.0ms
(cos (* z (* t 0.3333333333333333)))
4.0ms
(sin (* z (/ t 3.0)))

simplify57.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
04931667
14931667

prune197.0ms

Pruning

29 alts after pruning (29 fresh and 0 done)

PrunedKeptTotal
New70171
Fresh02828
Picked101
Done000
Total7129100

Merged error: 17.8b

Counts
100 → 29

regimes3.9s

Accuracy

61.7% (1.6b remaining)

Error of 17.8b against oracle of 16.2b and baseline of 20.3b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
011367
111367

end0.0ms

sample2.5s

Algorithm
intervals
Results
732.0ms1579×body1280valid
336.0ms4451×body80valid
323.0ms947×body640valid
290.0ms388×body2560valid
165.0ms2214×body80nan
102.0ms411×body320valid
91.0ms1113×body80invalid
38.0ms224×body160valid

Profiling

Loading profile data...