Details

Time bar (total: 4.1s)

sample281.0ms

Algorithm
intervals
Results
13.0ms53×body1280valid
6.0ms38×body640valid
6.0ms144×body80valid
1.0ms13×body320valid
1.0msbody160valid

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

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

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

series214.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- 1.0 (* (tan x) (tan x)))
95.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
32.0ms
(* (tan x) (tan x))
53.0ms
(* (tan x) (tan x))

simplify49.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03381007
11243917
25001882

prune281.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (- 1.0 (cbrt (pow (tan x) 6))) (+ 1.0 (* (tan x) (tan x))))
0.3b
(* (tan x) (tan x))
0.6b
(pow (tan x) 6)
10.5b
(cbrt (pow (tan x) 6))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt
33×*-un-lft-identity
25×add-cube-cbrt
24×times-frac
19×cbrt-prod
16×difference-of-squares
12×pow1
10×unpow-prod-down
add-exp-log
add-cbrt-cube associate-/l*
sqr-pow
tan-quot expm1-log1p-u log1p-expm1-u distribute-lft-out-- add-log-exp
pow-unpow swap-sqr associate-*r* associate-*l* associate-/r*
associate-/r/ associate-/l/
cbrt-undiv pow2 frac-times pow-to-exp flip3-- pow-pow frac-2neg flip3-+ pow-plus pow1/3 div-sub associate-*r/ div-exp pow-prod-down associate-*l/ pow-exp prod-exp clear-num pow-sqr *-commutative pow-prod-up flip-- cbrt-unprod flip-+ div-inv unswap-sqr
Counts
4 → 120
Calls
4 calls:
12.0ms
(/ (- 1.0 (cbrt (pow (tan x) 6))) (+ 1.0 (* (tan x) (tan x))))
5.0ms
(* (tan x) (tan x))
3.0ms
(pow (tan x) 6)
3.0ms
(cbrt (pow (tan x) 6))

series222.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(/ (- 1.0 (cbrt (pow (tan x) 6))) (+ 1.0 (* (tan x) (tan x))))
35.0ms
(* (tan x) (tan x))
59.0ms
(pow (tan x) 6)
35.0ms
(cbrt (pow (tan x) 6))

simplify58.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04731218
116871100
250011065

prune346.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.6b
(pow (tan x) 6)
0.6b
(pow (tan x) 6)
10.5b
(cbrt (pow (tan x) 6))
10.5b
(cbrt (pow (tan x) 6))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
14×cbrt-prod
12×add-sqr-sqrt add-cube-cbrt unpow-prod-down *-un-lft-identity
pow1 add-exp-log pow-unpow
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp sqr-pow
pow-to-exp pow-pow pow1/3 pow-exp
Counts
4 → 72
Calls
4 calls:
3.0ms
(pow (tan x) 6)
3.0ms
(pow (tan x) 6)
2.0ms
(cbrt (pow (tan x) 6))
3.0ms
(cbrt (pow (tan x) 6))

series196.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(pow (tan x) 6)
64.0ms
(pow (tan x) 6)
32.0ms
(cbrt (pow (tan x) 6))
36.0ms
(cbrt (pow (tan x) 6))

simplify102.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (96.0ms)

IterNodesCost
0147396
1486350
22205340
35001306

prune238.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (fma 1.0 1.0 (* (- (pow (tan x) 3)) (tan x))) (fma (tan x) (tan x) 1.0))
0.2b
(* (- (pow (tan x) 3)) (tan x))
0.3b
(* (tan x) (tan x))
0.3b
(pow (tan x) 3)

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt associate-*l*
27×add-cube-cbrt *-un-lft-identity
14×pow1
12×distribute-lft-neg-in distribute-rgt-neg-in
11×add-exp-log add-cbrt-cube
tan-quot unpow-prod-down times-frac cube-prod
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
cube-div cube-mult pow-unpow unpow3 swap-sqr associate-/r* associate-/l* sqr-pow
frac-times associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative cbrt-unprod distribute-neg-frac unswap-sqr
cbrt-undiv distribute-lft-neg-out pow2 pow-to-exp neg-mul-1 pow-pow frac-2neg pow-plus div-exp pow-exp clear-num pow-sqr pow-prod-up div-inv rem-cube-cbrt
Counts
4 → 134
Calls
4 calls:
3.0ms
(/ (fma 1.0 1.0 (* (- (pow (tan x) 3)) (tan x))) (fma (tan x) (tan x) 1.0))
9.0ms
(* (- (pow (tan x) 3)) (tan x))
5.0ms
(* (tan x) (tan x))
3.0ms
(pow (tan x) 3)

series289.0ms

Counts
4 → 12
Calls
4 calls:
137.0ms
(/ (fma 1.0 1.0 (* (- (pow (tan x) 3)) (tan x))) (fma (tan x) (tan x) 1.0))
68.0ms
(* (- (pow (tan x) 3)) (tan x))
32.0ms
(* (tan x) (tan x))
51.0ms
(pow (tan x) 3)

simplify102.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
0457970
12546876
25001853

prune412.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

regimes160.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
0109
1109

end0.0ms

sample948.0ms

Algorithm
intervals
Results
381.0ms1505×body1280valid
207.0ms1280×body640valid
151.0ms4280×body80valid
70.0ms618×body320valid
25.0ms317×body160valid