Details

Time bar (total: 4.1s)

analyze694.0ms (17%)

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

sample37.0ms (0.9%)

Algorithm
intervals
Results
10.0ms40×body1280valid
8.0ms46×body640valid
6.0ms141×body80valid
2.0ms19×body320valid
1.0ms10×body160valid

simplify504.0ms (12.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (99.0ms)

IterNodesCost
0528415

prune7.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 1

localize19.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

rewrite25.0ms (0.6%)

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:

7.0ms
(* (tan x) (tan x))
6.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
5.0ms
(* (tan x) (tan x))
3.0ms
(- 1.0 (* (tan x) (tan x)))

series67.0ms (1.7%)

Counts
4 → 12
Calls

4 calls:

32.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
18.0ms
(* (tan x) (tan x))
9.0ms
(- 1.0 (* (tan x) (tan x)))
9.0ms
(* (tan x) (tan x))

simplify57.0ms (1.4%)

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049511205
149511205

prune263.0ms (6.5%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New10313116
Fresh000
Picked101
Done000
Total10413117

Merged error: 0.1b

Counts
117 → 13

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite35.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity
43×add-sqr-sqrt
30×associate-*r*
25×times-frac
18×add-cube-cbrt
10×add-exp-log difference-of-squares
add-cbrt-cube
distribute-lft-out add-log-exp
pow1
sqrt-prod distribute-lft-out--
flip3-+ associate-*l* flip-+
unpow-prod-down pow-unpow
frac-times associate-*l/ prod-exp associate-/r/ cbrt-unprod unswap-sqr
cbrt-undiv +-commutative pow-to-exp sub-neg flip3-- pow-pow diff-log associate-*r/ div-exp pow-prod-down pow-exp sum-log *-commutative flip-- div-inv unpow2 sqr-pow
Counts
4 → 98
Calls

4 calls:

20.0ms
(* (+ (tan x) (sqrt 1.0)) (/ (- (sqrt 1.0) (tan x)) (+ (pow (tan x) 2) 1.0)))
4.0ms
(+ (tan x) (sqrt 1.0))
4.0ms
(- (sqrt 1.0) (tan x))
3.0ms
(pow (tan x) 2)

series65.0ms (1.6%)

Counts
4 → 12
Calls

4 calls:

43.0ms
(* (+ (tan x) (sqrt 1.0)) (/ (- (sqrt 1.0) (tan x)) (+ (pow (tan x) 2) 1.0)))
9.0ms
(pow (tan x) 2)
7.0ms
(- (sqrt 1.0) (tan x))
7.0ms
(+ (tan x) (sqrt 1.0))

simplify30.0ms (0.7%)

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
050781401

prune297.0ms (7.3%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1073110
Fresh4812
Picked011
Done000
Total11112123

Merged error: 0.0b

Counts
123 → 12

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.3b
(pow (tan x) 2)
0.3b
(* (tan x) (tan x))
0.3b
(cbrt (pow (- 1.0 (pow (tan x) 2)) 3))
0.4b
(pow (- 1.0 (pow (tan x) 2)) 3)

rewrite26.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt
24×*-un-lft-identity
23×unpow-prod-down
22×cbrt-prod
16×add-cube-cbrt cube-prod difference-of-squares
13×pow1
add-exp-log
add-cbrt-cube sqr-pow
pow-unpow
unpow2
tan-quot cube-div distribute-lft-out-- add-log-exp
swap-sqr associate-*r* associate-*l*
cube-mult pow-to-exp cbrt-div flip3-- pow-pow unpow3 pow-exp flip--
pow2 frac-times pow-plus pow1/3 associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up rem-cbrt-cube cbrt-unprod rem-cube-cbrt unswap-sqr
Counts
4 → 114
Calls

4 calls:

9.0ms
(pow (- 1.0 (pow (tan x) 2)) 3)
7.0ms
(cbrt (pow (- 1.0 (pow (tan x) 2)) 3))
5.0ms
(* (tan x) (tan x))
3.0ms
(pow (tan x) 2)

series46.0ms (1.1%)

Counts
4 → 12
Calls

4 calls:

20.0ms
(pow (- 1.0 (pow (tan x) 2)) 3)
9.0ms
(cbrt (pow (- 1.0 (pow (tan x) 2)) 3))
9.0ms
(* (tan x) (tan x))
8.0ms
(pow (tan x) 2)

simplify61.0ms (1.5%)

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
049891086
149891086

prune274.0ms (6.7%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1242126
Fresh3710
Picked011
Done011
Total12711138

Merged error: 0.0b

Counts
138 → 11

localize10.0ms (0.2%)

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

rewrite53.0ms (1.3%)

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:

42.0ms
(- (/ 1.0 (+ (pow (tan x) 2) 1.0)) (/ (pow (tan x) 2) (+ (pow (tan x) 2) 1.0)))
3.0ms
(pow (tan x) 2)
3.0ms
(pow (tan x) 2)
3.0ms
(pow (tan x) 2)

series79.0ms (1.9%)

Counts
4 → 12
Calls

4 calls:

53.0ms
(- (/ 1.0 (+ (pow (tan x) 2) 1.0)) (/ (pow (tan x) 2) (+ (pow (tan x) 2) 1.0)))
9.0ms
(pow (tan x) 2)
8.0ms
(pow (tan x) 2)
8.0ms
(pow (tan x) 2)

simplify33.0ms (0.8%)

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
051941408

prune227.0ms (5.6%)

Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New96399
Fresh088
Picked101
Done022
Total9713110

Merged error: 0.0b

Counts
110 → 13

regimes148.0ms (3.6%)

Accuracy

Total 0.3b remaining (81.9%)

Threshold costs 0.3b (81.9%)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02418
12418

end0.0ms (0%)

sample987.0ms (24.2%)

Algorithm
intervals
Results
386.0ms1512×body1280valid
214.0ms1251×body640valid
165.0ms4357×body80valid
71.0ms581×body320valid
25.0ms299×body160valid

Profiling

Loading profile data...