Details

Time bar (total: 4.0s)

analyze701.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

sample40.0ms

Algorithm
intervals
Results
12.0ms44×body1280valid
8.0ms44×body640valid
6.0ms128×body80valid
4.0ms28×body320valid
1.0ms12×body160valid

simplify505.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (99.0ms)

IterNodesCost
0528415

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 1

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
0.1b
(- 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))

series67.0ms

Counts
4 → 12
Calls
4 calls:
31.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))

simplify57.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049511205
149511205

prune240.0ms

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

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New10214116
Fresh000
Picked101
Done000
Total10314117

Merged error: 0.0b

Counts
117 → 14

localize13.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)
2.0ms
(pow (sin x) 2)
2.0ms
(pow (sin x) 2)

series15.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
05266424

prune173.0ms

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

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New82284
Fresh11213
Picked101
Done000
Total841498

Merged error: 0.0b

Counts
98 → 14

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity
38×add-sqr-sqrt
28×add-cube-cbrt
26×times-frac
21×associate-*r*
20×add-exp-log
15×pow1
13×add-cbrt-cube
associate-*l* distribute-lft-out
prod-exp
tan-quot div-exp associate-/r* associate-/r/ add-log-exp unswap-sqr
frac-times unpow-prod-down pow-unpow swap-sqr associate-*l/ cbrt-unprod associate-/l*
cbrt-undiv rec-exp flip3-- flip3-+ 1-exp associate-*r/ pow-prod-down *-commutative flip-- flip-+ div-inv
pow2 pow-to-exp pow-flip pow-pow frac-2neg pow-plus pow-exp clear-num pow-sqr un-div-inv pow-prod-up unpow2 inv-pow difference-of-squares sqr-pow
Counts
4 → 129
Calls
4 calls:
7.0ms
(/ 1 (+ (pow (tan x) 2) 1.0))
14.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ (pow (tan x) 2) 1.0)))
3.0ms
(pow (tan x) 2)
5.0ms
(* (tan x) (tan x))

series68.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
050041459

prune232.0ms

Filtered
86 candidates to 141 candidates (-64.0%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1383141
Fresh21113
Picked101
Done000
Total14114155

Merged error: 0.0b

Counts
155 → 14

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.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:
5.0ms
(- 1.0 (pow (tan x) 2))
16.0ms
(/ 1 (/ (+ (pow (tan x) 2) 1.0) (- 1.0 (pow (tan x) 2))))
3.0ms
(pow (tan x) 2)
3.0ms
(pow (tan x) 2)

series56.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
240 → 240
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
049724413
149724413

prune297.0ms

Filtered
112 candidates to 240 candidates (-114.3%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New2382240
Fresh01313
Picked101
Done000
Total23915254

Merged error: 0.0b

Counts
254 → 15

regimes182.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 (0.0ms)

IterNodesCost
02720
12720

end0.0ms

sample984.0ms

Algorithm
intervals
Results
378.0ms1464×body1280valid
214.0ms1251×body640valid
164.0ms4353×body80valid
73.0ms596×body320valid
28.0ms336×body160valid

Profiling

Loading profile data...