Details

Time bar (total: 8.0s)

analyze1.0s

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

sample88.0ms

Algorithm
intervals
Results
22.0ms48×body1280valid
11.0ms141×body80valid
10.0ms32×body640valid
9.0ms12×body2560valid
6.0ms76×body80nan
3.0ms12×body320valid
2.0ms28×body80invalid
2.0ms11×body160valid

simplify88.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (87.0ms)

IterNodesCost
0132019
1132019

prune17.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 23.0b

Counts
2 → 2

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

rewrite22.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:
7.0ms
(* z (/ t 3.0))
4.0ms
(/ a (* 3.0 b))
5.0ms
(* (sqrt x) (cos (- y (* z (/ t 3.0)))))
3.0ms
(cos (- y (* z (/ t 3.0))))

series45.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
05086897

prune344.0ms

Filtered
73 candidates to 98 candidates (-34.2%)
Pruning

25 alts after pruning (25 fresh and 0 done)

PrunedKeptTotal
New732598
Fresh101
Picked101
Done000
Total7525100

Merged error: 18.1b

Counts
100 → 25

localize28.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sin y) (sin (* z (/ t 3.0))))
0.3b
(* (sqrt x) (+ (* (cos y) (cos (* z (/ t 3.0)))) (* (sin y) (sin (* z (/ t 3.0))))))
30.6b
(sin (* z (/ t 3.0)))
30.8b
(cos (* z (/ t 3.0)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity associate-*l*
pow1 add-exp-log add-cbrt-cube
associate-*r*
sqrt-prod add-log-exp
associate-*r/ unswap-sqr
pow-prod-down prod-exp *-commutative cbrt-unprod sin-mult
distribute-rgt-in distribute-lft-in flip3-+ frac-add cos-mult flip-+
Counts
4 → 60
Calls
4 calls:
5.0ms
(* (sin y) (sin (* z (/ t 3.0))))
10.0ms
(* (sqrt x) (+ (* (cos y) (cos (* z (/ t 3.0)))) (* (sin y) (sin (* z (/ t 3.0))))))
2.0ms
(sin (* z (/ t 3.0)))
2.0ms
(cos (* z (/ t 3.0)))

series74.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(* (sin y) (sin (* z (/ t 3.0))))
52.0ms
(* (sqrt x) (+ (* (cos y) (cos (* z (/ t 3.0)))) (* (sin y) (sin (* z (/ t 3.0))))))
4.0ms
(sin (* z (/ t 3.0)))
4.0ms
(cos (* z (/ t 3.0)))

simplify51.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
050331202

prune367.0ms

Filtered
59 candidates to 72 candidates (-22.0%)
Pruning

30 alts after pruning (30 fresh and 0 done)

PrunedKeptTotal
New611172
Fresh51924
Picked101
Done000
Total673097

Merged error: 16.4b

Counts
97 → 30

localize27.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sin y) (sin (* z (* t 0.3333333333333333))))
0.3b
(* (sqrt x) (+ (* (cos y) (cos (* z (/ t 3.0)))) (* (sin y) (sin (* z (* t 0.3333333333333333))))))
30.8b
(cos (* z (/ t 3.0)))
30.8b
(sin (* z (* t 0.3333333333333333)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity associate-*l*
pow1 add-exp-log add-cbrt-cube
associate-*r*
sqrt-prod add-log-exp
associate-*r/ unswap-sqr
pow-prod-down prod-exp *-commutative cbrt-unprod sin-mult
distribute-rgt-in distribute-lft-in flip3-+ frac-add cos-mult flip-+
Counts
4 → 60
Calls
4 calls:
5.0ms
(* (sin y) (sin (* z (* t 0.3333333333333333))))
10.0ms
(* (sqrt x) (+ (* (cos y) (cos (* z (/ t 3.0)))) (* (sin y) (sin (* z (* t 0.3333333333333333))))))
2.0ms
(cos (* z (/ t 3.0)))
3.0ms
(sin (* z (* t 0.3333333333333333)))

series74.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(* (sin y) (sin (* z (* t 0.3333333333333333))))
53.0ms
(* (sqrt x) (+ (* (cos y) (cos (* z (/ t 3.0)))) (* (sin y) (sin (* z (* t 0.3333333333333333))))))
3.0ms
(cos (* z (/ t 3.0)))
6.0ms
(sin (* z (* t 0.3333333333333333)))

simplify49.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
049661202
149661202

prune351.0ms

Filtered
56 candidates to 72 candidates (-28.6%)
Pruning

31 alts after pruning (31 fresh and 0 done)

PrunedKeptTotal
New70272
Fresh02929
Picked101
Done000
Total7131102

Merged error: 16.4b

Counts
102 → 31

localize34.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sqrt x) (+ (* (cos y) (cos (* z (/ t 3.0)))) (* (sin y) (log (exp (sin (* z (* t 0.3333333333333333))))))))
1.7b
(log (exp (sin (* z (* t 0.3333333333333333)))))
30.8b
(cos (* z (/ t 3.0)))
30.8b
(sin (* z (* t 0.3333333333333333)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
add-exp-log associate-*l* add-cbrt-cube
sqrt-prod log-pow add-log-exp
log-prod exp-prod associate-*r*
associate-*r/ unswap-sqr
distribute-rgt-in distribute-lft-in flip3-+ rem-log-exp pow-prod-down prod-exp *-commutative cbrt-unprod flip-+
Counts
4 → 55
Calls
4 calls:
10.0ms
(* (sqrt x) (+ (* (cos y) (cos (* z (/ t 3.0)))) (* (sin y) (log (exp (sin (* z (* t 0.3333333333333333))))))))
3.0ms
(log (exp (sin (* z (* t 0.3333333333333333)))))
2.0ms
(cos (* z (/ t 3.0)))
3.0ms
(sin (* z (* t 0.3333333333333333)))

series69.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* (sqrt x) (+ (* (cos y) (cos (* z (/ t 3.0)))) (* (sin y) (log (exp (sin (* z (* t 0.3333333333333333))))))))
4.0ms
(log (exp (sin (* z (* t 0.3333333333333333)))))
3.0ms
(cos (* z (/ t 3.0)))
4.0ms
(sin (* z (* t 0.3333333333333333)))

simplify36.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
050011083

prune159.0ms

Filtered
53 candidates to 67 candidates (-26.4%)
Pruning

30 alts after pruning (30 fresh and 0 done)

PrunedKeptTotal
New65267
Fresh22830
Picked101
Done000
Total683098

Merged error: 16.4b

Counts
98 → 30

regimes2.2s

Accuracy

24.7% (3.3b remaining)

Error of 18.8b against oracle of 15.5b and baseline of 19.9b

bsearch142.0ms

Steps
ItersRangePoint
9
27.28361738754868
6990340754.387661
27.719903941462462
9
-1.5894967298000316e-124
-2.1045826155741772e-132
-1.8026738030800525e-128

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0212108
1212108

end0.0ms

sample2.6s

Algorithm
intervals
Results
745.0ms1604×body1280valid
369.0ms4459×body80valid
309.0ms914×body640valid
294.0ms384×body2560valid
173.0ms2245×body80nan
110.0ms446×body320valid
90.0ms1136×body80invalid
33.0ms193×body160valid

Profiling

Loading profile data...