Details

Time bar (total: 5.1s)

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

sample43.0ms

Algorithm
intervals
Results
12.0ms44×body1280valid
10.0ms137×body80valid
8.0ms45×body640valid
2.0ms16×body320valid
1.0ms14×body160valid

simplify541.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (102.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

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

series76.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)))
9.0ms
(* (tan x) (tan x))
26.0ms
(* (tan x) (tan x))

simplify54.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049511205
149511205

prune220.0ms

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

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New10412116
Fresh000
Picked101
Done000
Total10512117

Merged error: 0.1b

Counts
117 → 12

localize12.0ms

Local error

Found 4 expressions with local error:

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

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:
5.0ms
(- 1.0 (pow (tan x) 2))
18.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)

series62.0ms

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

simplify89.0ms

Algorithm
egg-herbie
Counts
240 → 240
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
049724413
149724413

prune341.0ms

Filtered
115 candidates to 240 candidates (-108.7%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New2364240
Fresh11011
Picked101
Done000
Total23814252

Merged error: 0.0b

Counts
252 → 14

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
36×*-un-lft-identity
25×times-frac
12×add-cube-cbrt
11×unpow-prod-down
10×difference-of-squares
pow-unpow
pow1 add-exp-log distribute-lft-out--
add-log-exp
unpow2 sqr-pow
associate-/r/ add-cbrt-cube distribute-lft-out
pow-to-exp distribute-rgt-out-- pow-pow pow-exp
flip3-+ flip-+ div-inv
sub-neg flip3-- diff-log frac-sub flip-- sub-div
Counts
4 → 87
Calls
4 calls:
3.0ms
(pow (tan x) 2)
3.0ms
(pow (tan x) 2)
3.0ms
(pow (tan x) 2)
49.0ms
(- (/ 1.0 (+ (pow (tan x) 2) 1.0)) (/ (pow (tan x) 2) (+ (pow (tan x) 2) 1.0)))

series80.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(pow (tan x) 2)
9.0ms
(pow (tan x) 2)
11.0ms
(pow (tan x) 2)
52.0ms
(- (/ 1.0 (+ (pow (tan x) 2) 1.0)) (/ (pow (tan x) 2) (+ (pow (tan x) 2) 1.0)))

simplify33.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
051941408

prune206.0ms

Filtered
66 candidates to 99 candidates (-50.0%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New95499
Fresh6713
Picked101
Done000
Total10211113

Merged error: 0.0b

Counts
113 → 11

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
1392×times-frac
863×add-sqr-sqrt
805×*-un-lft-identity
497×add-cube-cbrt
244×difference-of-squares
103×associate-/r/
93×distribute-lft-out
67×unpow-prod-down
63×unpow2 sqr-pow
61×distribute-lft-out--
52×div-inv
50×add-exp-log
38×associate-/r*
34×div-exp
31×flip3-+ flip-+
21×associate-/l*
20×flip3-- flip--
18×add-cbrt-cube
cbrt-undiv rec-exp 1-exp
pow1
pow-unpow
add-log-exp
pow-to-exp pow-pow frac-2neg pow-exp clear-num
pow-flip associate-/l/ inv-pow
Counts
4 → 709
Calls
4 calls:
8.0ms
(/ 1 (- 1.0 (pow (tan x) 2)))
32.0ms
(/ (/ 1 (+ (pow (tan x) 2) 1.0)) (/ 1 (- 1.0 (pow (tan x) 2))))
3.0ms
(pow (tan x) 2)
3.0ms
(pow (tan x) 2)

series74.0ms

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

simplify202.0ms

Algorithm
egg-herbie
Counts
721 → 721
Iterations

Useful iterations: 0 (94.0ms)

IterNodesCost
0527318791

prune868.0ms

Filtered
242 candidates to 721 candidates (-197.9%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New7174721
Fresh2810
Picked101
Done000
Total72012732

Merged error: 0.0b

Counts
732 → 12

regimes215.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.0s

Algorithm
intervals
Results
396.0ms1493×body1280valid
224.0ms1233×body640valid
179.0ms4380×body80valid
76.0ms585×body320valid
27.0ms309×body160valid

Profiling

Loading profile data...