Details

Time bar (total: 3.6s)

sample296.0ms

Algorithm
intervals
Results
11.0ms43×body1280valid
8.0ms47×body640valid
7.0ms138×body80valid
3.0ms22×body320valid
1.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.4b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (- 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))

rewrite25.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))))
3.0ms
(- 1.0 (* (tan x) (tan x)))
5.0ms
(* (tan x) (tan x))
7.0ms
(* (tan x) (tan x))

series221.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
34.0ms
(- 1.0 (* (tan x) (tan x)))
32.0ms
(* (tan x) (tan x))
61.0ms
(* (tan x) (tan x))

simplify47.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0314909
11157838
25001824

prune236.0ms

Filtered
117 candidates to 77 candidates (65.8%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New10512117
Fresh000
Picked101
Done000
Total10612118

Merged error: 0.1b

Counts
118 → 12

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
0.2b
(+ (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:
11.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
4.0ms
(+ (sqrt 1.0) (tan x))
4.0ms
(- (sqrt 1.0) (tan x))
5.0ms
(* (tan x) (tan x))

series208.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
32.0ms
(+ (sqrt 1.0) (tan x))
40.0ms
(- (sqrt 1.0) (tan x))
33.0ms
(* (tan x) (tan x))

simplify54.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0328693
11582618
25001607

prune206.0ms

Filtered
101 candidates to 67 candidates (66.3%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New983101
Fresh01111
Picked011
Done000
Total9815113

Merged error: 0.1b

Counts
113 → 15

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.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:
5.0ms
(* (tan x) (sin x))
6.0ms
(/ (* (tan x) (sin x)) (cos x))
5.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
5.0ms
(* (tan x) (tan x))

series188.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* (tan x) (sin x))
59.0ms
(/ (* (tan x) (sin x)) (cos x))
53.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
32.0ms
(* (tan x) (tan x))

simplify47.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0291567
11265503
25002495

prune214.0ms

Filtered
95 candidates to 61 candidates (64.2%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New92395
Fresh21113
Picked101
Done011
Total9515110

Merged error: 0.0b

Counts
110 → 15

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

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

series181.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(- (sqrt 1.0) (tan x))
36.0ms
(log (exp (- (sqrt 1.0) (tan x))))
33.0ms
(* (tan x) (tan x))
71.0ms
(exp (- (sqrt 1.0) (tan x)))

simplify110.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 3 (103.0ms)

IterNodesCost
0226453
1744412
23249404
35001398

prune180.0ms

Filtered
94 candidates to 60 candidates (63.8%)
Pruning

15 alts after pruning (13 fresh and 2 done)

PrunedKeptTotal
New94094
Fresh01313
Picked011
Done011
Total9415109

Merged error: 0.0b

Counts
109 → 15

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

sample978.0ms

Algorithm
intervals
Results
391.0ms1535×body1280valid
204.0ms1238×body640valid
164.0ms4274×body80valid
79.0ms633×body320valid
26.0ms320×body160valid

Profiling

Loading profile data...