Details

Time bar (total: 5.3s)

sample317.0ms

Algorithm
intervals
Results
9.0ms35×body1280valid
8.0ms39×body640valid
5.0ms151×body80valid
2.0ms21×body320valid
1.0ms10×body160valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

prune6.0ms

Filtered
1 candidates to 0 candidates (100.0%)
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.2b
(/ (- 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))

rewrite46.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 → 105
Calls
4 calls:
26.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))

series242.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
41.0ms
(- 1.0 (* (tan x) (tan x)))
45.0ms
(* (tan x) (tan x))
49.0ms
(* (tan x) (tan x))

simplify44.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0314909
11157838
25001824

prune410.0ms

Filtered
117 candidates to 77 candidates (34.2%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New10512117
Fresh000
Picked101
Done000
Total10612118

Merged error: 0.0b

Counts
118 → 12

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

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

series228.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(- 1.0 (* (tan x) (tan x)))
109.0ms
(/ 1 (/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x)))))
37.0ms
(* (tan x) (tan x))
42.0ms
(* (tan x) (tan x))

simplify75.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05452148
125671966
250011864

prune524.0ms

Filtered
177 candidates to 89 candidates (49.7%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1770177
Fresh01111
Picked011
Done000
Total17712189

Merged error: 0.0b

Counts
189 → 12

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

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

series461.0ms

Counts
4 → 12
Calls
4 calls:
238.0ms
(/ (* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x))) (+ 1.0 (* (tan x) (tan x))))
39.0ms
(+ (sqrt 1.0) (tan x))
146.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
38.0ms
(* (tan x) (tan x))

simplify78.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
05171120
12851938
25001923

prune511.0ms

Filtered
117 candidates to 81 candidates (30.8%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1152117
Fresh2810
Picked011
Done011
Total11712129

Merged error: 0.0b

Counts
129 → 12

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (pow (sin x) 2) (pow (cos x) 2))
0.2b
(pow (sin x) 2)
0.2b
(* (tan x) (tan x))
0.2b
(pow (cos x) 2)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
64×times-frac
60×unpow-prod-down
50×add-sqr-sqrt
48×add-cube-cbrt *-un-lft-identity
20×add-exp-log unpow2 sqr-pow
13×pow1
div-exp
pow-to-exp pow-exp associate-/r* add-cbrt-cube associate-/l*
pow-unpow
tan-quot add-log-exp
swap-sqr associate-*r* associate-*l*
pow-pow
cbrt-undiv pow2 frac-times frac-2neg pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod div-inv unswap-sqr
Counts
4 → 164
Calls
4 calls:
7.0ms
(/ (pow (sin x) 2) (pow (cos x) 2))
2.0ms
(pow (sin x) 2)
5.0ms
(* (tan x) (tan x))
2.0ms
(pow (cos x) 2)

series146.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(/ (pow (sin x) 2) (pow (cos x) 2))
23.0ms
(pow (sin x) 2)
38.0ms
(* (tan x) (tan x))
25.0ms
(pow (cos x) 2)

simplify49.0ms

Algorithm
egg-herbie
Counts
176 → 176
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03751244
115421063
250021029

prune746.0ms

Filtered
176 candidates to 88 candidates (50.0%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New1760176
Fresh099
Picked011
Done022
Total17612188

Merged error: 0.0b

Counts
188 → 12

regimes267.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
01210
11210

end0.0ms

sample988.0ms

Algorithm
intervals
Results
390.0ms1532×body1280valid
201.0ms1229×body640valid
153.0ms4317×body80valid
74.0ms628×body320valid
24.0ms294×body160valid

Profiling

Loading profile data...