Details

Time bar (total: 17.1s)

sample251.0ms

Algorithm
intervals
Results
48.0ms46×body1280valid
21.0ms141×body80valid
20.0ms28×body640valid
13.0ms26×body320valid
5.0ms15×body160valid

simplify39.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0715
11315
22115
32615
43415
53615
done3615

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite89.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:
19.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
6.0ms
(- 1.0 (* (tan x) (tan x)))
37.0ms
(* (tan x) (tan x))
20.0ms
(* (tan x) (tan x))

series383.0ms

Counts
4 → 12
Calls
4 calls:
175.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
66.0ms
(- 1.0 (* (tan x) (tan x)))
51.0ms
(* (tan x) (tan x))
90.0ms
(* (tan x) (tan x))

simplify2.2s

Counts
117 → 117
Iterations

Useful iterations: done (2.2s)

IterNodesCost
01381632
13151486
28611368
326781346
done50011342

prune351.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (sqrt 1.0) (tan x))
0.2b
(- (sqrt 1.0) (tan x))
0.2b
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
0.2b
(* (tan x) (tan x))

rewrite165.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
18×*-un-lft-identity
13×pow1
10×add-cube-cbrt
associate-*r*
add-exp-log add-cbrt-cube add-log-exp
associate-*l*
frac-times
tan-quot flip3-- flip3-+ flip-- flip-+ difference-of-squares
sub-neg associate-*r/ swap-sqr associate-*l/
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp sqrt-prod *-commutative cbrt-unprod distribute-lft-out distribute-lft-out-- unswap-sqr
+-commutative pow2 pow-plus diff-log sum-log pow-sqr pow-prod-up
Counts
4 → 89
Calls
4 calls:
17.0ms
(+ (sqrt 1.0) (tan x))
18.0ms
(- (sqrt 1.0) (tan x))
108.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
16.0ms
(* (tan x) (tan x))

series315.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(+ (sqrt 1.0) (tan x))
66.0ms
(- (sqrt 1.0) (tan x))
143.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
44.0ms
(* (tan x) (tan x))

simplify1.3s

Counts
101 → 101
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01351238
13221033
21203955
done5000949

prune355.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite108.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:
10.0ms
(- 1.0 (* (tan x) (tan x)))
46.0ms
(/ 1 (/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x)))))
23.0ms
(* (tan x) (tan x))
16.0ms
(* (tan x) (tan x))

series292.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(- 1.0 (* (tan x) (tan x)))
126.0ms
(/ 1 (/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x)))))
47.0ms
(* (tan x) (tan x))
54.0ms
(* (tan x) (tan x))

simplify2.7s

Counts
177 → 177
Iterations

Useful iterations: done (2.7s)

IterNodesCost
02493696
15323293
212433001
335292878
done50002874

prune387.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize43.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))
0.4b
(pow (tan x) 4)
0.6b
(pow (tan x) 6)

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
20×pow1 add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity
10×add-exp-log
tan-quot add-cbrt-cube
unpow-prod-down pow-unpow swap-sqr associate-*r* associate-*l*
add-log-exp
pow2 frac-times pow-to-exp pow-pow pow-plus associate-*r/ pow-prod-down associate-*l/ pow-exp prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr sqr-pow
Counts
4 → 90
Calls
4 calls:
32.0ms
(* (tan x) (tan x))
32.0ms
(* (tan x) (tan x))
8.0ms
(pow (tan x) 4)
9.0ms
(pow (tan x) 6)

series246.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(* (tan x) (tan x))
37.0ms
(* (tan x) (tan x))
58.0ms
(pow (tan x) 4)
94.0ms
(pow (tan x) 6)

simplify2.3s

Counts
102 → 102
Iterations

Useful iterations: 3 (675.0ms)

IterNodesCost
0113804
1236645
2536571
32188539
done5000539

prune490.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

regimes150.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
0917
11217
done1217

end0.0ms

sample4.8s

Algorithm
intervals
Results
2.6s1546×body1280valid
916.0ms1258×body640valid
666.0ms4253×body80valid
330.0ms634×body320valid
84.0ms309×body160valid