Details

Time bar (total: 4.9s)

sample308.0ms

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

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
21×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
associate-/l*
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 → 105
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))

series212.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
34.0ms
(- 1.0 (* (tan x) (tan x)))
31.0ms
(* (tan x) (tan x))
54.0ms
(* (tan x) (tan x))

simplify45.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0314909
11157838
25001824

prune238.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
30×*-un-lft-identity
20×add-cube-cbrt
18×times-frac
13×add-exp-log add-cbrt-cube
11×pow1
associate-/r* associate-/l* add-log-exp
tan-quot distribute-lft-out-- difference-of-squares
cbrt-undiv swap-sqr div-exp associate-*r* associate-*l* associate-/l/
flip3-- frac-2neg associate-*l/ prod-exp clear-num associate-/r/ flip-- cbrt-unprod div-inv
pow2 frac-times sub-neg flip3-+ pow-plus diff-log div-sub associate-*r/ pow-prod-down pow-sqr *-commutative pow-prod-up flip-+ unswap-sqr
Counts
4 → 104
Calls
4 calls:
17.0ms
(/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
4.0ms
(/ (* (tan x) (sin x)) (cos x))
4.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
5.0ms
(* (tan x) (tan x))

series250.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
57.0ms
(/ (* (tan x) (sin x)) (cos x))
53.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
32.0ms
(* (tan x) (tan x))

simplify60.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04321210
118371122
250011116

prune309.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
102×times-frac
80×add-sqr-sqrt
63×add-cube-cbrt *-un-lft-identity
19×pow1 add-exp-log
18×associate-/r*
13×add-cbrt-cube difference-of-squares
associate-/r/
tan-quot
div-exp
swap-sqr associate-*r* associate-*l* add-log-exp
flip3-- flip-- div-inv
cbrt-undiv associate-/l*
pow2 frac-times rec-exp pow-plus 1-exp associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
sub-neg pow-flip frac-2neg diff-log clear-num inv-pow
Counts
4 → 165
Calls
4 calls:
13.0ms
(/ 1 (/ (+ 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))
5.0ms
(* (tan x) (tan x))

series191.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05452150
125671968
250011866

prune289.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
633×times-frac
326×add-sqr-sqrt
273×add-cube-cbrt *-un-lft-identity
71×associate-/r/
49×difference-of-squares
48×add-exp-log
36×div-inv
32×div-exp
20×add-cbrt-cube
19×flip3-+ flip-+
18×pow1 associate-/r*
17×flip3-- flip--
15×associate-/l*
tan-quot cbrt-undiv rec-exp 1-exp
swap-sqr associate-*r* associate-*l* add-log-exp
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 frac-2neg diff-log clear-num associate-/l/
Counts
4 → 404
Calls
4 calls:
2.0ms
(- 1.0 (* (tan x) (tan x)))
18.0ms
(/ (/ 1 (+ 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))

series195.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- 1.0 (* (tan x) (tan x)))
91.0ms
(/ (/ 1 (+ 1.0 (* (tan x) (tan x)))) (/ 1 (- 1.0 (* (tan x) (tan x)))))
31.0ms
(* (tan x) (tan x))
37.0ms
(* (tan x) (tan x))

simplify99.0ms

Algorithm
egg-herbie
Counts
416 → 416
Iterations

Useful iterations: 1 (40.0ms)

IterNodesCost
019308578
150017974

prune663.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

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
01613
11613

end0.0ms

sample1.6s

Algorithm
intervals
Results
676.0ms1522×body1280valid
365.0ms1267×body640valid
241.0ms4244×body80valid
118.0ms628×body320valid
45.0ms339×body160valid