Details

Time bar (total: 6.3s)

analyze1.8s

Algorithm
search
sampling

Space saved by range analysis: 0.048828%

Space saved by search: 0.048828%

Guaranteed chance to sample good point: 50.140381%

sample40.0ms

Algorithm
intervals
Results
15.0ms58×body1280valid
7.0ms40×body640valid
6.0ms138×body80valid
1.0ms10×body320valid
1.0ms10×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))) (+ 1.0 (* (tan x) (tan x))))
0.1b
(- 1.0 (* (tan x) (tan x)))
0.3b
(* (tan x) (tan x))
0.3b
(* (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))

series83.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0314909
11157838
25001824

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

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt
31×*-un-lft-identity
27×associate-*r*
19×add-cube-cbrt times-frac
13×pow1
11×add-exp-log add-cbrt-cube
add-log-exp difference-of-squares
associate-*l*
tan-quot flip3-+ sqrt-prod flip-+ distribute-lft-out--
frac-times swap-sqr associate-*l/ prod-exp cbrt-unprod unswap-sqr
associate-*r/ pow-prod-down associate-/r/ *-commutative distribute-lft-out
cbrt-undiv +-commutative pow2 sub-neg flip3-- pow-plus diff-log div-exp sum-log pow-sqr pow-prod-up flip-- div-inv
Counts
4 → 103
Calls
4 calls:
4.0ms
(- (sqrt 1.0) (tan x))
4.0ms
(+ (sqrt 1.0) (tan x))
15.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))
5.0ms
(* (tan x) (tan x))

series63.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
04901089
12418957
25001945

prune195.0ms

Filtered
78 candidates to 115 candidates (-47.4%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1114115
Fresh5712
Picked101
Done000
Total11711128

Merged error: 0.0b

Counts
128 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 1.0 (* (tan x) (tan x)))
0.2b
(log (pow (exp 1) (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))
0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
18×pow1
14×add-cube-cbrt *-un-lft-identity
add-exp-log
tan-quot add-cbrt-cube
log-prod
swap-sqr associate-*r* associate-*l* add-log-exp
unpow-prod-down rem-log-exp
pow2 frac-times pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
pow-to-exp sub-neg log-div flip3-- diff-log div-sub pow-exp log-pow flip-- pow-sub difference-of-squares sqr-pow
Counts
4 → 88
Calls
4 calls:
3.0ms
(- 1.0 (* (tan x) (tan x)))
3.0ms
(log (pow (exp 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))

series108.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- 1.0 (* (tan x) (tan x)))
82.0ms
(log (pow (exp 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))

simplify154.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 3 (144.0ms)

IterNodesCost
0256688
1905592
24469578
35001560

prune146.0ms

Filtered
60 candidates to 100 candidates (-66.7%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1000100
Fresh01010
Picked011
Done000
Total10011111

Merged error: 0.0b

Counts
111 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
0.2b
(/ (* (tan x) (sin x)) (cos x))
0.2b
(* (tan x) (sin x))
0.3b
(* (tan x) (tan x))

rewrite21.0ms

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

series49.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
15.0ms
(/ (* (tan x) (sin x)) (cos x))
12.0ms
(* (tan x) (sin x))
8.0ms
(* (tan x) (tan x))

simplify43.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0291567
11265503
25001495

prune82.0ms

Filtered
62 candidates to 95 candidates (-53.2%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New94195
Fresh189
Picked101
Done011
Total9610106

Merged error: 0.0b

Counts
106 → 10

regimes231.0ms

Accuracy

0% (0.4b remaining)

Error of 0.5b against oracle of 0.1b and baseline of 0.5b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01512
11512

end0.0ms

analyze1.5s

Algorithm
search
sampling

Space saved by range analysis: 0.048828%

Space saved by search: 0.048828%

Guaranteed chance to sample good point: 50.140381%

sample1.0s

Algorithm
intervals
Results
397.0ms1557×body1280valid
223.0ms1315×body640valid
172.0ms4240×body80valid
70.0ms578×body320valid
26.0ms310×body160valid

Profiling

Loading profile data...