Details

Time bar (total: 4.6s)

sample300.0ms

Algorithm
intervals
Results
24.0ms51×body1280valid
9.0ms35×body640valid
8.0ms134×body80valid
4.0ms20×body320valid
2.0ms16×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

Filtered
1 candidates to 0 candidates (0.0%)
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.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))

rewrite29.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:
9.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
3.0ms
(- 1.0 (* (tan x) (tan x)))
5.0ms
(* (tan x) (tan x))
8.0ms
(* (tan x) (tan x))

series221.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03381007
11243918
25001882

prune297.0ms

Filtered
131 candidates to 91 candidates (69.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (cos x) 2)
0.3b
(pow (cos x) 2)
0.3b
(pow (sin x) 2)
0.3b
(pow (sin x) 2)

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt add-cube-cbrt unpow-prod-down pow-unpow *-un-lft-identity
pow1 add-exp-log
expm1-log1p-u pow-to-exp pow-pow pow-exp add-cbrt-cube log1p-expm1-u unpow2 add-log-exp sqr-pow
Counts
4 → 80
Calls
4 calls:
1.0ms
(pow (cos x) 2)
1.0ms
(pow (cos x) 2)
1.0ms
(pow (sin x) 2)
2.0ms
(pow (sin x) 2)

series73.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(pow (cos x) 2)
17.0ms
(pow (cos x) 2)
19.0ms
(pow (sin x) 2)
22.0ms
(pow (sin x) 2)

simplify63.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0146308
1487260
21671260
35001256

prune256.0ms

Filtered
92 candidates to 56 candidates (60.9%)
Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(- 1.0 (/ (pow (sin x) 2) (pow (cos x) 2)))
0.3b
(pow (cos x) 2)
0.3b
(pow (sin x) 2)
0.3b
(* (tan x) (tan x))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
216×add-sqr-sqrt
208×times-frac
204×prod-diff
182×*-un-lft-identity
180×add-cube-cbrt
158×unpow-prod-down
58×unpow2 sqr-pow
17×difference-of-squares
13×pow1
add-exp-log
pow-unpow add-cbrt-cube add-log-exp
tan-quot expm1-log1p-u log1p-expm1-u
fma-neg swap-sqr associate-*r* associate-*l* div-inv
pow-to-exp pow-pow pow-exp
pow2 frac-times sub-neg flip3-- pow-plus diff-log associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up flip-- cbrt-unprod distribute-lft-out-- unswap-sqr
Counts
4 → 309
Calls
4 calls:
37.0ms
(- 1.0 (/ (pow (sin x) 2) (pow (cos x) 2)))
1.0ms
(pow (cos x) 2)
1.0ms
(pow (sin x) 2)
5.0ms
(* (tan x) (tan x))

series116.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- 1.0 (/ (pow (sin x) 2) (pow (cos x) 2)))
21.0ms
(pow (cos x) 2)
18.0ms
(pow (sin x) 2)
32.0ms
(* (tan x) (tan x))

simplify89.0ms

Algorithm
egg-herbie
Counts
321 → 321
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
017589345
150016254

prune456.0ms

Filtered
321 candidates to 91 candidates (28.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.1b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
18×pow1
14×add-cube-cbrt *-un-lft-identity
tan-quot add-exp-log add-cbrt-cube
swap-sqr associate-*r* associate-*l* add-log-exp
expm1-log1p-u
log1p-expm1-u
fma-neg prod-diff
pow2 frac-times pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
sub-neg log1p-udef flip3-- diff-log log1p-expm1 flip-- difference-of-squares
Counts
4 → 92
Calls
4 calls:
2.0ms
(- 1.0 (* (tan x) (tan x)))
0.0ms
(log1p (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x)))))
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))

series320.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- 1.0 (* (tan x) (tan x)))
219.0ms
(log1p (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x)))))
36.0ms
(* (tan x) (tan x))
32.0ms
(* (tan x) (tan x))

simplify137.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 3 (129.0ms)

IterNodesCost
0246612
1827546
23958530
35002525

prune239.0ms

Filtered
104 candidates to 66 candidates (63.5%)
Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.1b

regimes239.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01411
11411

end0.0ms

sample1.6s

Algorithm
intervals
Results
713.0ms1566×body1280valid
344.0ms1246×body640valid
254.0ms4289×body80valid
113.0ms595×body320valid
41.0ms304×body160valid