Details

Time bar (total: 3.3s)

sample245.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 0%

Results
13.0ms47×body1280valid
7.0ms153×body80valid
6.0ms31×body640valid
2.0ms17×body320valid
1.0msbody160valid

simplify367.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

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

series71.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0314909
11157838
25002824

prune191.0ms

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

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New10413117
Fresh000
Picked101
Done000
Total10513118

Merged error: 0.0b

Counts
118 → 13

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* (+ (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))

rewrite37.0ms

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

series79.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(/ (* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x))) (+ 1.0 (* (tan x) (tan x))))
7.0ms
(- (sqrt 1.0) (tan x))
18.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
9.0ms
(* (tan x) (tan x))

simplify76.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
05201144
12857962
25002947

prune198.0ms

Filtered
82 candidates to 120 candidates (-46.3%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1200120
Fresh01212
Picked011
Done000
Total12013133

Merged error: 0.0b

Counts
133 → 13

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))
0.4b
(exp (* (tan x) (tan x)))
2.8b
(log (exp (* (tan x) (tan x))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
19×pow1
17×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
tan-quot add-exp-log add-cbrt-cube
add-log-exp
swap-sqr associate-*r* associate-*l*
log-prod log-pow
pow2 frac-times exp-prod exp-to-pow pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
rem-log-exp rem-exp-log
Counts
4 → 80
Calls
4 calls:
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))
3.0ms
(exp (* (tan x) (tan x)))
2.0ms
(log (exp (* (tan x) (tan x))))

series45.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(* (tan x) (tan x))
9.0ms
(* (tan x) (tan x))
16.0ms
(exp (* (tan x) (tan x)))
11.0ms
(log (exp (* (tan x) (tan x))))

simplify65.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0132407
1406344
21778324
35002318

prune111.0ms

Filtered
53 candidates to 92 candidates (-73.6%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New92092
Fresh01111
Picked011
Done011
Total9213105

Merged error: 0.0b

Counts
105 → 13

localize12.0ms

Local error

Found 4 expressions with local error:

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

series14.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (53.0ms)

IterNodesCost
0141284
1469240
21588240
35001236

prune123.0ms

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

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New82284
Fresh1910
Picked101
Done022
Total841397

Merged error: 0.0b

Counts
97 → 13

regimes343.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
01312
11312

end0.0ms

sample1.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 0%

Results
383.0ms1463×body1280valid
220.0ms1263×body640valid
173.0ms4314×body80valid
79.0ms643×body320valid
27.0ms317×body160valid

Profiling

Loading profile data...