Details

Time bar (total: 15.9s)

sample182.0ms

Algorithm
intervals
Results
24.0ms40×body1280valid
18.0ms46×body640valid
10.0ms127×body80valid
9.0ms30×body320valid
2.0ms13×body160valid

simplify89.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0715
11315
22115
32615
43415
53615
done3615

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

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

rewrite75.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:
5.0ms
(- 1.0 (* (tan x) (tan x)))
28.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
17.0ms
(* (tan x) (tan x))
20.0ms
(* (tan x) (tan x))

series270.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(- 1.0 (* (tan x) (tan x)))
109.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
45.0ms
(* (tan x) (tan x))
57.0ms
(* (tan x) (tan x))

simplify2.2s

Counts
117 → 117
Iterations

Useful iterations: done (2.2s)

IterNodesCost
01381632
13151486
28561368
326691346
done50001342

prune401.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite222.0ms

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

series635.0ms

Counts
4 → 12
Calls
4 calls:
356.0ms
(/ (* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x))) (+ 1.0 (* (tan x) (tan x))))
68.0ms
(- (sqrt 1.0) (tan x))
164.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
47.0ms
(* (tan x) (tan x))

simplify1.6s

Counts
120 → 120
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01932015
15061658
222071479
done50021466

prune932.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite105.0ms

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

series382.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(/ (* (tan x) (sin x)) (cos x))
55.0ms
(* (tan x) (sin x))
184.0ms
(/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
64.0ms
(* (tan x) (tan x))

simplify1.3s

Counts
121 → 121
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01901949
14381848
214141693
done50001689

prune506.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize29.0ms

Local error

Found 4 expressions with local error:

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

rewrite143.0ms

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity
35×add-sqr-sqrt
23×times-frac
21×add-cube-cbrt
15×add-exp-log add-cbrt-cube
pow1
associate-/r*
associate-*r* associate-*l* distribute-lft-out associate-/l*
distribute-lft-out-- difference-of-squares
add-log-exp
tan-quot cbrt-undiv div-exp associate-*l/ prod-exp cbrt-unprod associate-/l/
frac-2neg pow-prod-down clear-num associate-/r/ *-commutative div-inv unswap-sqr
flip3-- flip3-+ div-sub flip-- flip-+
Counts
4 → 106
Calls
4 calls:
33.0ms
(/ (* (tan x) (sin x)) (cos x))
28.0ms
(* (tan x) (sin x))
31.0ms
(* (tan x) (sin x))
46.0ms
(/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (/ (* (tan x) (sin x)) (cos x))))

series468.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(/ (* (tan x) (sin x)) (cos x))
92.0ms
(* (tan x) (sin x))
87.0ms
(* (tan x) (sin x))
174.0ms
(/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (/ (* (tan x) (sin x)) (cos x))))

simplify1.4s

Counts
118 → 118
Iterations

Useful iterations: 2 (247.0ms)

IterNodesCost
01682242
13912168
212222018
done50002018

prune448.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

regimes242.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01324
11524
done1524

end0.0ms

sample4.1s

Algorithm
intervals
Results
1.5s1456×body1280valid
1.4s1307×body640valid
555.0ms4341×body80valid
289.0ms621×body320valid
170.0ms275×body160valid