Details

Time bar (total: 3.7s)

sample281.0ms

Algorithm
intervals
Results
13.0ms52×body1280valid
6.0ms145×body80valid
4.0ms27×body640valid
2.0ms20×body320valid
1.0ms12×body160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

prune4.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.3b

Counts
2 → 1

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

rewrite27.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))
8.0ms
(* (tan x) (tan x))

series231.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0314909
11157838
25001824

prune250.0ms

Filtered
117 candidates to 77 candidates (65.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New10710117
Fresh000
Picked101
Done000
Total10810118

Merged error: 0.0b

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

rewrite33.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))
12.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
5.0ms
(- (sqrt 1.0) (tan x))
5.0ms
(* (tan x) (tan x))

series217.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(+ (sqrt 1.0) (tan x))
110.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
38.0ms
(- (sqrt 1.0) (tan x))
34.0ms
(* (tan x) (tan x))

simplify50.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0328693
11582618
25001607

prune245.0ms

Filtered
101 candidates to 67 candidates (66.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New992101
Fresh279
Picked011
Done000
Total10110111

Merged error: 0.0b

Counts
111 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

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

series264.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* (tan x) (tan x))
34.0ms
(* (tan x) (tan x))
33.0ms
(* (tan x) (tan x))
161.0ms
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

simplify39.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0266869
1914800
25002784

prune234.0ms

Filtered
118 candidates to 69 candidates (58.5%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1162118
Fresh178
Picked011
Done011
Total11711128

Merged error: 0.0b

Counts
128 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

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

series259.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
64.0ms
(/ (* (tan x) (sin x)) (cos x))
43.0ms
(* (tan x) (sin x))
36.0ms
(* (tan x) (tan x))

simplify62.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04411158
118491060
250011054

prune304.0ms

Filtered
121 candidates to 82 candidates (67.8%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New1201121
Fresh178
Picked011
Done022
Total12111132

Merged error: 0.0b

Counts
132 → 11

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

sample923.0ms

Algorithm
intervals
Results
370.0ms1534×body1280valid
202.0ms1236×body640valid
144.0ms4308×body80valid
70.0ms613×body320valid
24.0ms309×body160valid