Details

Time bar (total: 7.3s)

analyze1.2s

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%6
12.5%87.4%0.1%7
18.7%81.1%0.1%8
26.5%72.9%0.5%9
38.2%60.7%1.1%10
41.7%54.9%3.4%11
47.6%47.4%5%12
53.4%39.4%7.2%13
54.9%34.5%10.6%14

sample70.0ms

Algorithm
intervals
Results
22.0ms201×body80valid
9.0ms19×body1280valid
7.0ms20×body640valid
4.0ms47×body80invalid
4.0ms12×body320valid
3.0msbody640invalid
2.0msbody1280invalid
2.0msbody320invalid
1.0msbody160invalid
1.0msbody160valid

simplify69.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
0484516
1484516

prune14.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: 27.7b

Counts
2 → 2

localize14.0ms

Local error

Found 4 expressions with local error:

0.9b
(/ (cos (* 2.0 x)) (* x (* x (* (pow c 2.0) (pow s 2.0)))))
5.5b
(* x (* x (* (pow c 2.0) (pow s 2.0))))
8.1b
(* x (* (pow c 2.0) (pow s 2.0)))
15.5b
(* (pow c 2.0) (pow s 2.0))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
122×add-exp-log
88×prod-exp
34×add-cbrt-cube
24×add-sqr-sqrt pow-to-exp pow-exp
16×cbrt-unprod
13×associate-*l*
12×add-cube-cbrt unpow-prod-down *-un-lft-identity div-exp
11×pow1
associate-*r* unswap-sqr
sqr-pow
pow-prod-down
cbrt-undiv add-log-exp
times-frac *-commutative associate-/l*
frac-2neg clear-num associate-/r* div-inv
Counts
4 → 128
Calls
4 calls:
11.0ms
(/ (cos (* 2.0 x)) (* x (* x (* (pow c 2.0) (pow s 2.0)))))
9.0ms
(* x (* x (* (pow c 2.0) (pow s 2.0))))
7.0ms
(* x (* (pow c 2.0) (pow s 2.0)))
7.0ms
(* (pow c 2.0) (pow s 2.0))

series262.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(/ (cos (* 2.0 x)) (* x (* x (* (pow c 2.0) (pow s 2.0)))))
62.0ms
(* x (* x (* (pow c 2.0) (pow s 2.0))))
56.0ms
(* x (* (pow c 2.0) (pow s 2.0)))
59.0ms
(* (pow c 2.0) (pow s 2.0))

simplify74.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
049521811
149521811

prune274.0ms

Filtered
82 candidates to 140 candidates (-70.7%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New12812140
Fresh011
Picked101
Done000
Total12913142

Merged error: 10.0b

Counts
142 → 13

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (* c s) 2.0)
0.9b
(/ (cos (* 2.0 x)) (* x (* x (pow (* c s) 2.0))))
5.5b
(* x (* x (pow (* c s) 2.0)))
8.1b
(* x (pow (* c s) 2.0))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
50×add-exp-log
26×prod-exp
20×add-cbrt-cube
13×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity
pow1
pow-exp
cbrt-unprod
div-exp associate-*r* associate-*l*
pow-to-exp add-log-exp
cbrt-undiv pow-unpow times-frac associate-/l* sqr-pow
unpow-prod-down pow-pow pow-prod-down *-commutative unswap-sqr
frac-2neg clear-num associate-/r* div-inv
Counts
4 → 86
Calls
4 calls:
4.0ms
(pow (* c s) 2.0)
8.0ms
(/ (cos (* 2.0 x)) (* x (* x (pow (* c s) 2.0))))
5.0ms
(* x (* x (pow (* c s) 2.0)))
5.0ms
(* x (pow (* c s) 2.0))

series193.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(pow (* c s) 2.0)
69.0ms
(/ (cos (* 2.0 x)) (* x (* x (pow (* c s) 2.0))))
58.0ms
(* x (* x (pow (* c s) 2.0)))
48.0ms
(* x (pow (* c s) 2.0))

simplify50.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
049631115
149631115

prune210.0ms

Filtered
62 candidates to 98 candidates (-58.1%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New90898
Fresh7512
Picked101
Done000
Total9813111

Merged error: 5.0b

Counts
111 → 13

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x (pow (* c s) (* 1/2 2.0))) (pow (* c s) (/ 2.0 2)))
0.9b
(/ (cos (* 2.0 x)) (* x (* (* x (pow (* c s) (* 1/2 2.0))) (pow (* c s) (/ 2.0 2)))))
4.8b
(* x (pow (* c s) (* 1/2 2.0)))
5.5b
(* x (* (* x (pow (* c s) (* 1/2 2.0))) (pow (* c s) (/ 2.0 2))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
247×add-exp-log
182×prod-exp
56×pow-exp
34×add-cbrt-cube
28×pow-to-exp
22×div-exp
16×cbrt-unprod
13×add-sqr-sqrt
11×associate-*r*
10×add-cube-cbrt *-un-lft-identity
associate-*l*
pow1
cbrt-undiv add-log-exp
times-frac *-commutative associate-/l* sqr-pow
unpow-prod-down unswap-sqr
frac-2neg pow-prod-down clear-num associate-/r* div-inv
Counts
4 → 139
Calls
4 calls:
8.0ms
(* (* x (pow (* c s) (* 1/2 2.0))) (pow (* c s) (/ 2.0 2)))
11.0ms
(/ (cos (* 2.0 x)) (* x (* (* x (pow (* c s) (* 1/2 2.0))) (pow (* c s) (/ 2.0 2)))))
5.0ms
(* x (pow (* c s) (* 1/2 2.0)))
11.0ms
(* x (* (* x (pow (* c s) (* 1/2 2.0))) (pow (* c s) (/ 2.0 2))))

series228.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(* (* x (pow (* c s) (* 1/2 2.0))) (pow (* c s) (/ 2.0 2)))
71.0ms
(/ (cos (* 2.0 x)) (* x (* (* x (pow (* c s) (* 1/2 2.0))) (pow (* c s) (/ 2.0 2)))))
51.0ms
(* x (pow (* c s) (* 1/2 2.0)))
56.0ms
(* x (* (* x (pow (* c s) (* 1/2 2.0))) (pow (* c s) (/ 2.0 2))))

simplify62.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049181843
149181843

prune236.0ms

Filtered
65 candidates to 151 candidates (-132.3%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New1447151
Fresh4812
Picked101
Done000
Total14915164

Merged error: 2.5b

Counts
164 → 15

localize27.0ms

Local error

Found 4 expressions with local error:

0.6b
(/ 1 (* (pow (pow c (neg 1.0)) 1.0) (pow (pow s (neg 1.0)) 1.0)))
0.9b
(/ (cos (* 2.0 x)) (* x (* (* x (pow (/ 1 (* (pow (pow c (neg 1.0)) 1.0) (pow (pow s (neg 1.0)) 1.0))) 1.0)) (pow (* c s) (/ 2.0 2)))))
4.8b
(* x (pow (/ 1 (* (pow (pow c (neg 1.0)) 1.0) (pow (pow s (neg 1.0)) 1.0))) 1.0))
5.5b
(* x (* (* x (pow (/ 1 (* (pow (pow c (neg 1.0)) 1.0) (pow (pow s (neg 1.0)) 1.0))) 1.0)) (pow (* c s) (/ 2.0 2))))

rewrite241.0ms

Algorithm
rewrite-expression-head
Rules
3596×add-exp-log
2957×prod-exp
2239×pow-exp
850×div-exp
773×pow-to-exp
260×rec-exp 1-exp
34×add-cbrt-cube
18×add-sqr-sqrt
14×cbrt-unprod
13×add-cube-cbrt *-un-lft-identity
12×associate-*r*
times-frac
unpow-prod-down
pow1
cbrt-undiv associate-*l* associate-/l*
add-log-exp
div-inv unswap-sqr
pow-flip frac-2neg pow-prod-down clear-num associate-/r* *-commutative sqr-pow
inv-pow
Counts
4 → 903
Calls
4 calls:
12.0ms
(/ 1 (* (pow (pow c (neg 1.0)) 1.0) (pow (pow s (neg 1.0)) 1.0)))
48.0ms
(/ (cos (* 2.0 x)) (* x (* (* x (pow (/ 1 (* (pow (pow c (neg 1.0)) 1.0) (pow (pow s (neg 1.0)) 1.0))) 1.0)) (pow (* c s) (/ 2.0 2)))))
16.0ms
(* x (pow (/ 1 (* (pow (pow c (neg 1.0)) 1.0) (pow (pow s (neg 1.0)) 1.0))) 1.0))
34.0ms
(* x (* (* x (pow (/ 1 (* (pow (pow c (neg 1.0)) 1.0) (pow (pow s (neg 1.0)) 1.0))) 1.0)) (pow (* c s) (/ 2.0 2))))

series354.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(/ 1 (* (pow (pow c (neg 1.0)) 1.0) (pow (pow s (neg 1.0)) 1.0)))
109.0ms
(/ (cos (* 2.0 x)) (* x (* (* x (pow (/ 1 (* (pow (pow c (neg 1.0)) 1.0) (pow (pow s (neg 1.0)) 1.0))) 1.0)) (pow (* c s) (/ 2.0 2)))))
71.0ms
(* x (pow (/ 1 (* (pow (pow c (neg 1.0)) 1.0) (pow (pow s (neg 1.0)) 1.0))) 1.0))
98.0ms
(* x (* (* x (pow (/ 1 (* (pow (pow c (neg 1.0)) 1.0) (pow (pow s (neg 1.0)) 1.0))) 1.0)) (pow (* c s) (/ 2.0 2))))

simplify276.0ms

Algorithm
egg-herbie
Counts
915 → 915
Iterations

Useful iterations: 0 (152.0ms)

IterNodesCost
0507421442

prune331.0ms

Filtered
76 candidates to 915 candidates (-1103.9%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New9087915
Fresh31114
Picked101
Done000
Total91218930

Merged error: 2.5b

Counts
930 → 18

regimes809.0ms

Accuracy

-1.9% (3.5b remaining)

Error of 5.9b against oracle of 2.4b and baseline of 5.8b

bsearch122.0ms

Steps
ItersRangePoint
7
3.384254494171695e-133
2.492530660697105e-131
4.522624911795082e-133
11
-6.218673475875139e-83
-1.8963091445535583e-103
-2.6106778390028078e-89

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05667
15667

end0.0ms

sample2.0s

Algorithm
intervals
Results
572.0ms6038×body80valid
330.0ms663×body1280valid
270.0ms723×body640valid
166.0ms1830×body80invalid
103.0ms388×body320valid
90.0ms256×body640invalid
73.0ms145×body1280invalid
52.0ms198×body320invalid
34.0ms188×body160valid
18.0ms105×body160invalid

Profiling

Loading profile data...