Details

Time bar (total: 7.0s)

sample2.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 50.140381%

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

simplify366.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))) (+ 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))

series86.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
10.0ms
(- 1.0 (* (tan x) (tan x)))
27.0ms
(* (tan x) (tan x))
18.0ms
(* (tan x) (tan x))

simplify44.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0314909
11157838
25001824

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

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

rewrite26.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:
4.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))

series43.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0328693
11582618
25001607

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

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

series49.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0315631
11277547
25002527

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

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

rewrite14.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))
3.0ms
(pow (tan x) 6)
2.0ms
(cbrt (pow (tan x) 6))

series45.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- 1.0 (* (tan x) (tan x)))
11.0ms
(* (tan x) (tan x))
16.0ms
(pow (tan x) 6)
9.0ms
(cbrt (pow (tan x) 6))

simplify44.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0253406
11007344
25002322

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

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

sample3.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 50.140381%

Results
386.0ms1482×body1280valid
219.0ms1273×body640valid
169.0ms4300×body80valid
77.0ms635×body320valid
26.0ms310×body160valid

Profiling

Loading profile data...