Details

Time bar (total: 4.1s)

sample297.0ms

Algorithm
intervals
Results
15.0ms49×body1280valid
7.0ms40×body640valid
5.0ms136×body80valid
2.0ms18×body320valid
1.0ms13×body160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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.3b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

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

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

series216.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- 1.0 (* (tan x) (tan x)))
94.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
31.0ms
(* (tan x) (tan x))
59.0ms
(* (tan x) (tan x))

simplify47.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0314909
11157838
25001824

prune232.0ms

Filtered
117 candidates to 77 candidates (65.8%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New10413117
Fresh000
Picked101
Done000
Total10513118

Merged error: 0.0b

Counts
118 → 13

localize9.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 (/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x)))))
0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
92×add-sqr-sqrt
72×add-cube-cbrt *-un-lft-identity
22×associate-/r*
21×add-exp-log
19×pow1
16×difference-of-squares
15×add-cbrt-cube
11×associate-/r/
tan-quot div-exp
swap-sqr associate-*r* associate-*l* div-inv associate-/l*
flip3-- flip--
cbrt-undiv add-log-exp
pow2 frac-times rec-exp frac-2neg pow-plus 1-exp associate-*r/ pow-prod-down associate-*l/ prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod associate-/l/ unswap-sqr
pow-flip flip3-+ flip-+ inv-pow
Counts
4 → 187
Calls
4 calls:
7.0ms
(/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x))))
9.0ms
(/ 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))

series243.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x))))
89.0ms
(/ 1 (/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x)))))
34.0ms
(* (tan x) (tan x))
31.0ms
(* (tan x) (tan x))

simplify83.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05792595
127792386
250012281

prune269.0ms

Filtered
199 candidates to 108 candidates (54.3%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1945199
Fresh4812
Picked101
Done000
Total19913212

Merged error: 0.0b

Counts
212 → 13

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
642×times-frac
333×add-sqr-sqrt
281×add-cube-cbrt *-un-lft-identity
73×associate-/r/
52×add-exp-log
48×difference-of-squares
37×div-inv
34×div-exp
22×add-cbrt-cube
21×associate-/r*
20×flip3-+ flip-+
19×pow1
18×associate-/l*
16×flip3-- flip--
cbrt-undiv rec-exp 1-exp
tan-quot
swap-sqr associate-*r* associate-*l*
add-log-exp
pow2 frac-times frac-2neg pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
pow-flip associate-/l/ inv-pow
Counts
4 → 424
Calls
4 calls:
5.0ms
(/ 1 (+ 1.0 (* (tan x) (tan x))))
19.0ms
(/ (/ 1 (+ 1.0 (* (tan x) (tan x)))) (/ 1 (- 1.0 (* (tan x) (tan x)))))
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))

series209.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(/ 1 (+ 1.0 (* (tan x) (tan x))))
90.0ms
(/ (/ 1 (+ 1.0 (* (tan x) (tan x)))) (/ 1 (- 1.0 (* (tan x) (tan x)))))
37.0ms
(* (tan x) (tan x))
32.0ms
(* (tan x) (tan x))

simplify116.0ms

Algorithm
egg-herbie
Counts
436 → 436
Iterations

Useful iterations: 1 (44.0ms)

IterNodesCost
019388764
150018143

prune563.0ms

Filtered
436 candidates to 215 candidates (49.3%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New4342436
Fresh21012
Picked011
Done000
Total43613449

Merged error: 0.0b

Counts
449 → 13

localize9.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.4b
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

rewrite33.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))
14.0ms
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

series251.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* (tan x) (tan x))
31.0ms
(* (tan x) (tan x))
31.0ms
(* (tan x) (tan x))
152.0ms
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

simplify40.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0266869
1914806
25002790

prune157.0ms

Filtered
118 candidates to 69 candidates (58.5%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1171118
Fresh01111
Picked101
Done011
Total11813131

Merged error: 0.0b

Counts
131 → 13

regimes168.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
01311
11311

end0.0ms

sample999.0ms

Algorithm
intervals
Results
407.0ms1558×body1280valid
211.0ms1238×body640valid
159.0ms4225×body80valid
77.0ms642×body320valid
29.0ms337×body160valid