Details

Time bar (total: 6.3s)

sample283.0ms

Algorithm
intervals
Results
11.0ms43×body1280valid
7.0ms145×body80valid
6.0ms38×body640valid
2.0ms20×body320valid
1.0ms10×body160valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1229
2299
3379
4439
5459
6459

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.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
23×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
expm1-log1p-u log1p-expm1-u associate-/l*
fma-neg prod-diff 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 → 119
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))
7.0ms
(* (tan x) (tan x))

series234.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03381007
11243917
25001882

prune277.0ms

Filtered
131 candidates to 91 candidates (69.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New11912131
Fresh000
Picked101
Done000
Total12012132

Merged error: 0.0b

Counts
132 → 12

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (tan x) (tan x) 1.0)
0.1b
(- 1.0 (* (tan x) (tan x)))
0.1b
(/ 1 (/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x)))))
0.3b
(* (tan x) (tan x))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
102×times-frac
76×add-sqr-sqrt
61×add-cube-cbrt *-un-lft-identity
18×associate-/r*
17×add-exp-log
13×difference-of-squares
12×pow1
11×add-cbrt-cube
associate-/r/
div-exp
add-log-exp
flip3-- flip-- div-inv
tan-quot expm1-log1p-u log1p-expm1-u
cbrt-undiv fma-neg swap-sqr associate-*r* associate-*l* prod-diff associate-/l*
rec-exp 1-exp
pow2 frac-times sub-neg pow-flip frac-2neg pow-plus diff-log associate-*r/ pow-prod-down associate-*l/ prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod fma-udef inv-pow unswap-sqr
Counts
4 → 159
Calls
4 calls:
1.0ms
(fma (tan x) (tan x) 1.0)
3.0ms
(- 1.0 (* (tan x) (tan x)))
8.0ms
(/ 1 (/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x)))))
5.0ms
(* (tan x) (tan x))

series225.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(fma (tan x) (tan x) 1.0)
34.0ms
(- 1.0 (* (tan x) (tan x)))
110.0ms
(/ 1 (/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x)))))
35.0ms
(* (tan x) (tan x))

simplify77.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05702046
126171859
250021752

prune275.0ms

Filtered
171 candidates to 98 candidates (57.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1683171
Fresh2911
Picked101
Done000
Total17112183

Merged error: 0.0b

Counts
183 → 12

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (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))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
83×add-sqr-sqrt
62×*-un-lft-identity
44×add-cube-cbrt
37×times-frac
27×associate-*r*
20×sqrt-prod
18×prod-diff
16×difference-of-squares
13×pow1 add-exp-log add-cbrt-cube
distribute-lft-out--
associate-*l*
fma-neg associate-/l* add-log-exp
tan-quot expm1-log1p-u flip3-+ associate-/r/ flip-+ log1p-expm1-u
frac-times swap-sqr associate-*l/ prod-exp associate-/r* cbrt-unprod unswap-sqr
cbrt-undiv flip3-- associate-*r/ div-exp pow-prod-down *-commutative flip-- div-inv associate-/l/
pow2 sub-neg frac-2neg pow-plus diff-log div-sub clear-num pow-sqr pow-prod-up distribute-lft-out
Counts
4 → 167
Calls
4 calls:
9.0ms
(/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x))))
6.0ms
(- (sqrt 1.0) (tan x))
20.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))
5.0ms
(* (tan x) (tan x))

series382.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x))))
43.0ms
(- (sqrt 1.0) (tan x))
205.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))
35.0ms
(* (tan x) (tan x))

simplify93.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
06442081
130401700
250021673

prune333.0ms

Filtered
179 candidates to 115 candidates (64.2%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1772179
Fresh2911
Picked011
Done000
Total17912191

Merged error: 0.0b

Counts
191 → 12

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1.0 (fma (tan x) (tan x) 1.0))
0.1b
(/ (fma (tan x) (tan x) 1.0) (tan x))
0.3b
(/ (tan x) (/ (fma (tan x) (tan x) 1.0) (tan x)))
0.3b
(- (/ 1.0 (fma (tan x) (tan x) 1.0)) (/ (tan x) (/ (fma (tan x) (tan x) 1.0) (tan x))))

rewrite143.0ms

Algorithm
rewrite-expression-head
Rules
1436×times-frac
888×add-sqr-sqrt
873×*-un-lft-identity
867×add-cube-cbrt
611×prod-diff
107×div-inv
58×associate-/r/
45×tan-quot
20×associate-/r*
13×add-exp-log fma-neg add-cbrt-cube
associate-/l*
add-log-exp difference-of-squares
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u
frac-2neg clear-num
distribute-lft-out--
sub-neg flip3-- diff-log frac-sub flip-- associate-/l/
Counts
4 → 783
Calls
4 calls:
3.0ms
(/ 1.0 (fma (tan x) (tan x) 1.0))
4.0ms
(/ (fma (tan x) (tan x) 1.0) (tan x))
7.0ms
(/ (tan x) (/ (fma (tan x) (tan x) 1.0) (tan x)))
47.0ms
(- (/ 1.0 (fma (tan x) (tan x) 1.0)) (/ (tan x) (/ (fma (tan x) (tan x) 1.0) (tan x))))

series459.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(/ 1.0 (fma (tan x) (tan x) 1.0))
85.0ms
(/ (fma (tan x) (tan x) 1.0) (tan x))
109.0ms
(/ (tan x) (/ (fma (tan x) (tan x) 1.0) (tan x)))
193.0ms
(- (/ 1.0 (fma (tan x) (tan x) 1.0)) (/ (tan x) (/ (fma (tan x) (tan x) 1.0) (tan x))))

simplify317.0ms

Algorithm
egg-herbie
Counts
795 → 795
Iterations

Useful iterations: 1 (46.0ms)

IterNodesCost
0245744315
1500135123

prune1.8s

Filtered
795 candidates to 508 candidates (63.9%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New7923795
Fresh3710
Picked011
Done011
Total79512807

Merged error: 0.0b

Counts
807 → 12

regimes192.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01312
11312

end0.0ms

sample975.0ms

Algorithm
intervals
Results
382.0ms1496×body1280valid
214.0ms1282×body640valid
164.0ms4317×body80valid
69.0ms579×body320valid
31.0ms326×body160valid