Details

Time bar (total: 6.5s)

sample1.9s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 50.140381%

Results
12.0ms44×body1280valid
9.0ms126×body80valid
8.0ms42×body640valid
4.0ms28×body320valid
1.0ms16×body160valid

simplify365.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

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

rewrite24.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:
3.0ms
(- 1.0 (* (tan x) (tan x)))
6.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
5.0ms
(* (tan x) (tan x))
7.0ms
(* (tan x) (tan x))

series72.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- 1.0 (* (tan x) (tan x)))
38.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
8.0ms
(* (tan x) (tan x))
18.0ms
(* (tan x) (tan x))

simplify41.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0314909
11157838
25002824

prune193.0ms

Filtered
77 candidates to 117 candidates (-51.9%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New10314117
Fresh000
Picked101
Done000
Total10414118

Merged error: 0.0b

Counts
118 → 14

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
92×add-sqr-sqrt
72×add-cube-cbrt *-un-lft-identity
22×associate-/r*
21×add-exp-log
19×pow1
16×difference-of-squares
15×add-cbrt-cube
11×associate-/r/
tan-quot div-exp
swap-sqr associate-*r* associate-*l* div-inv associate-/l*
flip3-- flip--
cbrt-undiv add-log-exp
pow2 frac-times rec-exp frac-2neg pow-plus 1-exp associate-*r/ pow-prod-down associate-*l/ prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod associate-/l/ unswap-sqr
pow-flip flip3-+ flip-+ inv-pow
Counts
4 → 187
Calls
4 calls:
6.0ms
(/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x))))
8.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))

series79.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x))))
32.0ms
(/ 1 (/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x)))))
8.0ms
(* (tan x) (tan x))
8.0ms
(* (tan x) (tan x))

simplify77.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05792593
127792384
250012279

prune214.0ms

Filtered
108 candidates to 199 candidates (-84.3%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1981199
Fresh11213
Picked011
Done000
Total19914213

Merged error: 0.0b

Counts
213 → 14

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin x) 2)
0.3b
(pow (sin x) 2)
0.3b
(pow (cos x) 2)
0.3b
(pow (cos 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 (sin x) 2)
2.0ms
(pow (sin x) 2)
2.0ms
(pow (cos x) 2)
2.0ms
(pow (cos x) 2)

series13.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0141284
1469240
21588240
35001236

prune158.0ms

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

15 alts after pruning (13 fresh and 2 done)

PrunedKeptTotal
New82284
Fresh11112
Picked011
Done011
Total831598

Merged error: 0.0b

Counts
98 → 15

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
25×pow1
18×*-un-lft-identity
16×add-cube-cbrt
12×tan-quot
10×add-exp-log add-cbrt-cube
swap-sqr associate-*r* associate-*l*
add-log-exp
times-frac associate-/r/ difference-of-squares
pow2 frac-times distribute-rgt-out-- pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
flip3-+ flip-+ div-inv
sub-neg flip3-- diff-log frac-sub flip-- distribute-lft-out-- sub-div
Counts
4 → 106
Calls
4 calls:
7.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))
13.0ms
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

series76.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* (tan x) (tan x))
8.0ms
(* (tan x) (tan x))
8.0ms
(* (tan x) (tan x))
50.0ms
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

simplify40.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0266869
1914800
25002784

prune109.0ms

Filtered
69 candidates to 118 candidates (-71.0%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New1162118
Fresh21012
Picked101
Done022
Total11914133

Merged error: 0.0b

Counts
133 → 14

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

sample2.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 50.140381%

Results
384.0ms1483×body1280valid
229.0ms1306×body640valid
170.0ms4259×body80valid
78.0ms637×body320valid
27.0ms315×body160valid

Profiling

Loading profile data...