Details

Time bar (total: 6.0s)

sample299.0ms

Algorithm
intervals
Results
20.0ms45×body1280valid
12.0ms44×body640valid
9.0ms135×body80valid
4.0ms19×body320valid
2.0ms13×body160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1229
2299
3379
4439
5459
6459

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

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

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:
8.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))

series221.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
39.0ms
(- 1.0 (* (tan x) (tan x)))
31.0ms
(* (tan x) (tan x))
60.0ms
(* (tan x) (tan x))

simplify47.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03381007
11243918
25001882

prune299.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

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

series271.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x))))
106.0ms
(/ 1 (/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x)))))
32.0ms
(- 1.0 (* (tan x) (tan x)))
32.0ms
(* (tan x) (tan x))

simplify77.0ms

Algorithm
egg-herbie
Counts
196 → 196
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05932482
126912268
250012158

prune397.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
582×times-frac
308×add-sqr-sqrt
263×add-cube-cbrt *-un-lft-identity
50×add-exp-log
43×difference-of-squares
35×div-inv
34×div-exp
29×associate-/r/
21×associate-/r*
20×add-cbrt-cube
16×associate-/l*
15×flip3-- flip--
12×pow1
cbrt-undiv rec-exp 1-exp
add-log-exp
tan-quot expm1-log1p-u log1p-expm1-u
fma-neg swap-sqr associate-*r* associate-*l* prod-diff
frac-2neg clear-num
pow2 frac-times sub-neg pow-flip pow-plus diff-log associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod associate-/l/ inv-pow unswap-sqr
Counts
4 → 383
Calls
4 calls:
2.0ms
(/ 1 (fma (tan x) (tan x) 1.0))
2.0ms
(- 1.0 (* (tan x) (tan x)))
16.0ms
(/ (/ 1 (fma (tan x) (tan x) 1.0)) (/ 1 (- 1.0 (* (tan x) (tan x)))))
5.0ms
(* (tan x) (tan x))

series238.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(/ 1 (fma (tan x) (tan x) 1.0))
32.0ms
(- 1.0 (* (tan x) (tan x)))
109.0ms
(/ (/ 1 (fma (tan x) (tan x) 1.0)) (/ 1 (- 1.0 (* (tan x) (tan x)))))
32.0ms
(* (tan x) (tan x))

simplify88.0ms

Algorithm
egg-herbie
Counts
395 → 395
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
016987107
150016501

prune706.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
390×times-frac
186×add-sqr-sqrt *-un-lft-identity
180×add-cube-cbrt
113×associate-/r/
93×add-exp-log
60×frac-times div-exp
46×flip3-+ flip-+
45×flip3-- flip--
36×prod-diff
32×div-inv
30×associate-*r/ associate-*l/
29×add-cbrt-cube
22×sqrt-prod
20×distribute-rgt-in distribute-lft-in
18×associate-/r*
16×rec-exp 1-exp associate-/l*
14×cbrt-undiv
13×prod-exp
pow1
fma-def associate-*r* add-log-exp
expm1-log1p-u associate-*l* log1p-expm1-u
cbrt-unprod
sub-neg frac-2neg clear-num distribute-lft-out difference-of-squares
+-commutative pow-flip pow-prod-down sum-log *-commutative associate-/l/ distribute-lft-out-- inv-pow unswap-sqr
Counts
4 → 396
Calls
4 calls:
2.0ms
(/ 1 (fma (tan x) (tan x) 1.0))
30.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
7.0ms
(+ (sqrt 1.0) (tan x))
28.0ms
(/ (/ 1 (fma (tan x) (tan x) 1.0)) (/ 1 (* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))))

series412.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(/ 1 (fma (tan x) (tan x) 1.0))
103.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
32.0ms
(+ (sqrt 1.0) (tan x))
210.0ms
(/ (/ 1 (fma (tan x) (tan x) 1.0)) (/ 1 (* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))))

simplify102.0ms

Algorithm
egg-herbie
Counts
408 → 408
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
018968770
150017513

prune856.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

regimes108.0ms

Accuracy

0% (0.4b 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
01612
11612

end0.0ms

sample1.6s

Algorithm
intervals
Results
687.0ms1522×body1280valid
363.0ms1267×body640valid
254.0ms4244×body80valid
119.0ms628×body320valid
44.0ms339×body160valid