Details

Time bar (total: 4.3s)

analyze702.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%50%0%4
50%50%0%5
50%50%0%6
50%50%0%7
50%50%0%8
50%50%0%9
50%50%0%10
50%50%0%11
50%50%0%12
50%50%0%13
50%49.9%0%14

sample57.0ms

Algorithm
intervals
Results
13.0ms49×body1280valid
8.0ms44×body640valid
5.0ms139×body80valid
2.0ms14×body320valid
1.0ms10×body160valid

simplify520.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (101.0ms)

IterNodesCost
0528415

prune19.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
0.2b
(- 1.0 (* (tan x) (tan x)))
0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
18×pow1
12×times-frac
10×add-exp-log add-cbrt-cube
tan-quot
swap-sqr associate-*r* associate-*l* add-log-exp
difference-of-squares
associate-/l*
associate-/r*
pow2 frac-times flip3-- pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp associate-/r/ pow-sqr *-commutative pow-prod-up flip-- cbrt-unprod associate-/l/ unswap-sqr
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-sub div-exp clear-num flip-+ div-inv
Counts
4 → 104
Calls
4 calls:
6.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
3.0ms
(- 1.0 (* (tan x) (tan x)))
5.0ms
(* (tan x) (tan x))
7.0ms
(* (tan x) (tan x))

series70.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
9.0ms
(- 1.0 (* (tan x) (tan x)))
8.0ms
(* (tan x) (tan x))
18.0ms
(* (tan x) (tan x))

simplify54.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049511205
149511205

prune227.0ms

Filtered
82 candidates to 116 candidates (-41.5%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New10313116
Fresh000
Picked101
Done000
Total10413117

Merged error: 0.1b

Counts
117 → 13

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (cos x) 2)
0.3b
(pow (cos x) 2)
0.3b
(pow (sin x) 2)
0.3b
(pow (sin x) 2)

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt add-cube-cbrt unpow-prod-down pow-unpow *-un-lft-identity
pow1 add-exp-log
pow-to-exp pow-pow pow-exp add-cbrt-cube unpow2 add-log-exp sqr-pow
Counts
4 → 72
Calls
4 calls:
2.0ms
(pow (cos x) 2)
2.0ms
(pow (cos x) 2)
3.0ms
(pow (sin x) 2)
3.0ms
(pow (sin x) 2)

series15.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(pow (cos x) 2)
5.0ms
(pow (cos x) 2)
3.0ms
(pow (sin x) 2)
3.0ms
(pow (sin x) 2)

simplify38.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
05266424

prune155.0ms

Filtered
48 candidates to 84 candidates (-75.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New83184
Fresh11112
Picked101
Done000
Total851297

Merged error: 0.1b

Counts
97 → 12

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (+ (pow (tan x) 2) 1.0) (- 1.0 (pow (tan x) 2))))
0.2b
(- 1.0 (pow (tan x) 2))
0.3b
(pow (tan x) 2)
0.3b
(pow (tan x) 2)

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
242×times-frac
201×add-sqr-sqrt
197×*-un-lft-identity
99×add-cube-cbrt
68×difference-of-squares
38×associate-/r*
32×distribute-lft-out
23×unpow-prod-down
19×unpow2 sqr-pow
17×add-exp-log distribute-lft-out--
associate-/r/ add-cbrt-cube
pow1 div-exp
pow-unpow add-log-exp
flip3-- flip-- div-inv
cbrt-undiv associate-/l*
pow-to-exp rec-exp pow-pow 1-exp pow-exp
sub-neg pow-flip frac-2neg diff-log clear-num inv-pow
Counts
4 → 228
Calls
4 calls:
16.0ms
(/ 1 (/ (+ (pow (tan x) 2) 1.0) (- 1.0 (pow (tan x) 2))))
5.0ms
(- 1.0 (pow (tan x) 2))
3.0ms
(pow (tan x) 2)
5.0ms
(pow (tan x) 2)

series59.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ 1 (/ (+ (pow (tan x) 2) 1.0) (- 1.0 (pow (tan x) 2))))
8.0ms
(- 1.0 (pow (tan x) 2))
8.0ms
(pow (tan x) 2)
8.0ms
(pow (tan x) 2)

simplify87.0ms

Algorithm
egg-herbie
Counts
240 → 240
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
049724413
149724413

prune338.0ms

Filtered
113 candidates to 240 candidates (-112.4%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New2373240
Fresh11011
Picked011
Done000
Total23814252

Merged error: 0.1b

Counts
252 → 14

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* (tan x) (sin x)) (cos x))
0.2b
(* (tan x) (sin x))
0.2b
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
0.3b
(* (tan x) (tan x))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
14×*-un-lft-identity
13×pow1 add-exp-log add-cbrt-cube
12×add-cube-cbrt
tan-quot associate-*r* associate-*l* add-log-exp
times-frac swap-sqr associate-*l/ prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp pow-prod-down *-commutative unswap-sqr
pow2 frac-times sub-neg flip3-- frac-2neg pow-plus diff-log associate-*r/ clear-num pow-sqr pow-prod-up flip-- div-inv associate-/l/ associate-/l* distribute-lft-out-- difference-of-squares
Counts
4 → 82
Calls
4 calls:
6.0ms
(/ (* (tan x) (sin x)) (cos x))
5.0ms
(* (tan x) (sin x))
5.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
5.0ms
(* (tan x) (tan x))

series49.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(/ (* (tan x) (sin x)) (cos x))
10.0ms
(* (tan x) (sin x))
16.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
8.0ms
(* (tan x) (tan x))

simplify52.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
04977791
14977791

prune87.0ms

Filtered
62 candidates to 94 candidates (-51.6%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New92294
Fresh21012
Picked011
Done101
Total9513108

Merged error: 0.0b

Counts
108 → 13

regimes214.0ms

Accuracy

0% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 0.4b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04618
14618

end0.0ms

sample1.4s

Algorithm
intervals
Results
356.0ms1431×body1280valid
211.0ms1289×body640valid
151.0ms4364×body80valid
72.0ms618×body320valid
24.0ms298×body160valid

Profiling

Loading profile data...