Details

Time bar (total: 5.0s)

sample350.0ms

Algorithm
intervals
Results
27.0ms62×body1280valid
10.0ms37×body640valid
8.0ms138×body80valid
4.0ms12×body320valid
1.0msbody160valid

simplify35.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize12.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.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))

rewrite64.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:
12.0ms
(- 1.0 (* (tan x) (tan x)))
17.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
14.0ms
(* (tan x) (tan x))
17.0ms
(* (tan x) (tan x))

series193.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- 1.0 (* (tan x) (tan x)))
90.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
30.0ms
(* (tan x) (tan x))
41.0ms
(* (tan x) (tan x))

simplify43.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0314909
11157838
25001824

prune234.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite99.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
25×pow1
18×*-un-lft-identity
16×add-cube-cbrt
12×tan-quot
10×add-exp-log add-cbrt-cube
swap-sqr associate-*r* associate-*l*
add-log-exp
times-frac associate-/r/ difference-of-squares
pow2 frac-times distribute-rgt-out-- pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
flip3-+ flip-+ div-inv
sub-neg flip3-- diff-log frac-sub flip-- distribute-lft-out-- sub-div
Counts
4 → 106
Calls
4 calls:
15.0ms
(* (tan x) (tan x))
16.0ms
(* (tan x) (tan x))
15.0ms
(* (tan x) (tan x))
51.0ms
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

series235.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (tan x) (tan x))
30.0ms
(* (tan x) (tan x))
29.0ms
(* (tan x) (tan x))
144.0ms
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

simplify36.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0266869
1914800
25002784

prune223.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite147.0ms

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

series307.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x))))
30.0ms
(* (tan x) (tan x))
33.0ms
(* (tan x) (tan x))
158.0ms
(- (/ 1.0 (+ 1.0 (/ (* (tan x) (sin x)) (cos x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

simplify50.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
03591065
11524990
25001980

prune281.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite133.0ms

Algorithm
rewrite-expression-head
Rules
38×associate-*r/
32×tan-quot
25×flip3-+ flip-+
24×frac-times
22×frac-sub
20×pow1 add-sqr-sqrt
16×*-un-lft-identity
14×add-cube-cbrt associate-*l/
10×add-exp-log associate-*l* add-cbrt-cube
associate-*r*
swap-sqr add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
pow2 distribute-rgt-in distribute-lft-in pow-plus associate--l+ pow-sqr pow-prod-up
sub-neg flip3-- diff-log flip-- distribute-lft-out
Counts
4 → 121
Calls
4 calls:
16.0ms
(* (tan x) (tan x))
15.0ms
(* (tan x) (tan x))
54.0ms
(- (* 1.0 (+ 1.0 (* (tan x) (tan x)))) (* (+ 1.0 (/ (* (tan x) (sin x)) (cos x))) (* (tan x) (tan x))))
43.0ms
(* (+ 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))

series223.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (tan x) (tan x))
29.0ms
(* (tan x) (tan x))
74.0ms
(- (* 1.0 (+ 1.0 (* (tan x) (tan x)))) (* (+ 1.0 (/ (* (tan x) (sin x)) (cos x))) (* (tan x) (tan x))))
90.0ms
(* (+ 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))

simplify120.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (98.0ms)

IterNodesCost
07832523
139412332
250022320

prune377.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0b

regimes184.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
01616
11616

end0.0ms

sample1.6s

Algorithm
intervals
Results
651.0ms1480×body1280valid
365.0ms1281×body640valid
264.0ms4340×body80valid
115.0ms585×body320valid
41.0ms314×body160valid