Details

Time bar (total: 4.1s)

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

sample41.0ms

Algorithm
intervals
Results
13.0ms48×body1280valid
8.0ms42×body640valid
6.0ms141×body80valid
2.0ms17×body320valid
1.0msbody160valid

simplify511.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.2b
(- 1.0 (* (tan x) (tan x)))
0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))

rewrite35.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)))
15.0ms
(* (tan x) (tan x))
7.0ms
(* (tan x) (tan x))

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

simplify53.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049511205
149511205

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

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt
52×*-un-lft-identity
32×times-frac
24×difference-of-squares
22×add-cube-cbrt
12×unpow-prod-down
distribute-lft-out
add-exp-log associate-/r* unpow2 sqr-pow
pow1 pow-unpow add-cbrt-cube distribute-lft-out-- add-log-exp
associate-/l*
pow-to-exp flip3-- pow-pow pow-exp associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-exp clear-num flip-+ div-inv
Counts
4 → 112
Calls
4 calls:
12.0ms
(/ (+ (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)
3.0ms
(pow (tan x) 2)

series59.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
050061681

prune226.0ms

Filtered
77 candidates to 124 candidates (-61.0%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1213124
Fresh3811
Picked011
Done000
Total12412136

Merged error: 0.0b

Counts
136 → 12

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
52×add-sqr-sqrt
32×*-un-lft-identity
30×associate-*r*
26×times-frac
21×add-cube-cbrt
16×difference-of-squares
15×add-exp-log
10×unpow-prod-down
add-cbrt-cube
pow1
pow-unpow unpow2 add-log-exp sqr-pow
associate-*l* prod-exp distribute-lft-out--
unswap-sqr
frac-times pow-to-exp flip3-- pow-pow flip3-+ div-exp associate-*l/ pow-exp associate-/r/ flip-- cbrt-unprod flip-+
cbrt-undiv sub-neg rec-exp diff-log 1-exp associate-*r/ pow-prod-down un-div-inv *-commutative div-inv distribute-lft-out
Counts
4 → 110
Calls
4 calls:
5.0ms
(- 1.0 (pow (tan x) 2))
20.0ms
(* (+ (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)

series59.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
049431343
149431343

prune238.0ms

Filtered
83 candidates to 122 candidates (-47.0%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1211122
Fresh01010
Picked101
Done011
Total12212134

Merged error: 0.0b

Counts
134 → 12

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
78×*-un-lft-identity
75×add-sqr-sqrt
49×times-frac
30×add-cube-cbrt associate-*r*
20×difference-of-squares
14×distribute-lft-out
12×add-exp-log
11×add-cbrt-cube
10×sqrt-prod distribute-lft-out--
pow1
associate-/l* add-log-exp
flip3-+ associate-*l* associate-/r* associate-/r/ flip-+
unpow-prod-down pow-unpow
cbrt-undiv frac-times flip3-- div-exp associate-*l/ prod-exp flip-- cbrt-unprod div-inv associate-/l/ unswap-sqr
pow-to-exp sub-neg pow-pow frac-2neg diff-log div-sub associate-*r/ pow-prod-down pow-exp clear-num *-commutative unpow2 sqr-pow
Counts
4 → 137
Calls
4 calls:
4.0ms
(- (sqrt 1.0) (tan x))
11.0ms
(/ (- (sqrt 1.0) (tan x)) (+ (pow (tan x) 2) 1.0))
21.0ms
(* (+ (tan x) (sqrt 1.0)) (/ (- (sqrt 1.0) (tan x)) (+ (pow (tan x) 2) 1.0)))
3.0ms
(pow (tan x) 2)

series86.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- (sqrt 1.0) (tan x))
27.0ms
(/ (- (sqrt 1.0) (tan x)) (+ (pow (tan x) 2) 1.0))
41.0ms
(* (+ (tan x) (sqrt 1.0)) (/ (- (sqrt 1.0) (tan x)) (+ (pow (tan x) 2) 1.0)))
11.0ms
(pow (tan x) 2)

simplify68.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049662307
149662307

prune255.0ms

Filtered
93 candidates to 149 candidates (-60.2%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1472149
Fresh1910
Picked101
Done011
Total14912161

Merged error: 0.0b

Counts
161 → 12

regimes157.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
02115
12115

end0.0ms

sample1.0s

Algorithm
intervals
Results
408.0ms1527×body1280valid
224.0ms1259×body640valid
174.0ms4314×body80valid
71.0ms573×body320valid
29.0ms327×body160valid

Profiling

Loading profile data...