Details

Time bar (total: 5.3s)

sample312.0ms

Algorithm
intervals
Results
30.0ms55×body1280valid
12.0ms138×body80valid
11.0ms36×body640valid
5.0ms23×body320valid
1.0msbody160valid

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

localize10.0ms

Local error

Found 4 expressions with local error:

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

series217.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
42.0ms
(- 1.0 (* (tan x) (tan x)))
31.0ms
(* (tan x) (tan x))
51.0ms
(* (tan x) (tan x))

simplify45.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03381007
11243918
25001882

prune291.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
23×*-un-lft-identity
22×add-cube-cbrt
21×associate-*r*
20×pow1
17×add-exp-log
13×add-cbrt-cube
11×times-frac
10×associate-*l*
tan-quot
swap-sqr prod-exp add-log-exp
unswap-sqr
expm1-log1p-u frac-times associate-*l/ cbrt-unprod log1p-expm1-u
flip3-- fma-neg associate-*r/ prod-diff pow-prod-down *-commutative flip--
pow2 pow-plus div-exp associate-/r/ pow-sqr pow-prod-up difference-of-squares
cbrt-undiv sub-neg rec-exp flip3-+ diff-log 1-exp un-div-inv flip-+ div-inv
Counts
4 → 126
Calls
4 calls:
2.0ms
(- 1.0 (* (tan x) (tan x)))
20.0ms
(* (- 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))

series192.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- 1.0 (* (tan x) (tan x)))
92.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
35.0ms
(* (tan x) (tan x))
32.0ms
(* (tan x) (tan x))

simplify58.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04061046
11794920
25002874

prune279.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

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

series262.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
59.0ms
(/ (* (tan x) (sin x)) (cos x))
116.0ms
(* (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
33.0ms
(* (tan x) (tan x))

simplify98.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
06431948
130491532
250011510

prune392.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite77.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:
17.0ms
(/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x))))
6.0ms
(- (sqrt 1.0) (tan x))
42.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))
5.0ms
(* (tan x) (tan x))

series358.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x))))
36.0ms
(- (sqrt 1.0) (tan x))
193.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))
35.0ms
(* (tan x) (tan x))

simplify87.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
06442081
130401700
250021673

prune371.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

regimes176.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089
189

end0.0ms

sample1.9s

Algorithm
intervals
Results
766.0ms1544×body1280valid
408.0ms4307×body80valid
386.0ms1205×body640valid
140.0ms621×body320valid
53.0ms323×body160valid