Details

Time bar (total: 13.3s)

sample5.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 50.140381%

Results
13.0ms45×body1280valid
7.0ms41×body640valid
6.0ms144×body80valid
3.0ms21×body320valid
0.0msbody160valid

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

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

series82.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
9.0ms
(- 1.0 (* (tan x) (tan x)))
26.0ms
(* (tan x) (tan x))
17.0ms
(* (tan x) (tan x))

simplify42.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0314909
11157838
25001824

prune177.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New10710117
Fresh000
Picked101
Done000
Total10810118

Merged error: 0.1b

Counts
118 → 10

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite128.0ms

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

series67.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- (sqrt 1.0) (tan x))
32.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
13.0ms
(+ (sqrt 1.0) (tan x))
15.0ms
(* (tan x) (tan x))

simplify46.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0328693
11582618
25001607

prune158.0ms

Filtered
68 candidates to 101 candidates (-48.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New992101
Fresh189
Picked101
Done000
Total10110111

Merged error: 0.0b

Counts
111 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (log (exp (+ (sqrt 1.0) (tan x)))) (- (sqrt 1.0) (tan x)))
0.2b
(+ (sqrt 1.0) (tan x))
0.2b
(* (tan x) (tan x))
0.3b
(exp (+ (sqrt 1.0) (tan x)))

rewrite28.0ms

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

series45.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (log (exp (+ (sqrt 1.0) (tan x)))) (- (sqrt 1.0) (tan x)))
9.0ms
(+ (sqrt 1.0) (tan x))
8.0ms
(* (tan x) (tan x))
13.0ms
(exp (+ (sqrt 1.0) (tan x)))

simplify41.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0315631
11277547
25002527

prune165.0ms

Filtered
63 candidates to 98 candidates (-55.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New97198
Fresh279
Picked011
Done000
Total999108

Merged error: 0.0b

Counts
108 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(- 1.0 (* (tan x) (tan x)))
0.2b
(* (tan x) (tan x))
0.5b
(pow (tan x) 6)
12.1b
(cbrt (pow (tan x) 6))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×pow1 add-cube-cbrt *-un-lft-identity
add-exp-log cbrt-prod
unpow-prod-down add-cbrt-cube add-log-exp
tan-quot
pow-unpow swap-sqr associate-*r* associate-*l*
sqr-pow
pow2 frac-times pow-to-exp sub-neg flip3-- pow-pow pow-plus pow1/3 diff-log associate-*r/ pow-prod-down associate-*l/ pow-exp prod-exp pow-sqr *-commutative pow-prod-up flip-- cbrt-unprod difference-of-squares unswap-sqr
Counts
4 → 73
Calls
4 calls:
2.0ms
(- 1.0 (* (tan x) (tan x)))
5.0ms
(* (tan x) (tan x))
2.0ms
(pow (tan x) 6)
2.0ms
(cbrt (pow (tan x) 6))

series41.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- 1.0 (* (tan x) (tan x)))
10.0ms
(* (tan x) (tan x))
15.0ms
(pow (tan x) 6)
8.0ms
(cbrt (pow (tan x) 6))

simplify39.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0253406
11007344
25002322

prune94.0ms

Filtered
54 candidates to 85 candidates (-57.4%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New85085
Fresh077
Picked011
Done011
Total85994

Merged error: 0.0b

Counts
94 → 9

regimes285.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
01514
11514

end0.0ms

sample6.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 50.140381%

Results
375.0ms1482×body1280valid
213.0ms1273×body640valid
162.0ms4300×body80valid
77.0ms635×body320valid
26.0ms310×body160valid

Profiling

Loading profile data...