Details

Time bar (total: 18.4s)

sample209.0ms

Algorithm
intervals
Results
44.0ms49×body1280valid
26.0ms44×body640valid
17.0ms124×body80valid
11.0ms26×body320valid
4.0ms13×body160valid

simplify508.0ms

Counts
1 → 1
Iterations
IterNodes
done37
537
434
326
221
113
07

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

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

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
21×*-un-lft-identity add-cube-cbrt
18×pow1
12×times-frac
10×add-cbrt-cube add-exp-log
tan-quot
swap-sqr associate-*r* associate-*l* add-log-exp
difference-of-squares
associate-/l*
associate-/r*
pow2 frac-times pow-plus flip3-- pow-prod-down associate-*l/ prod-exp associate-*r/ associate-/r/ pow-sqr *-commutative pow-prod-up cbrt-unprod flip-- unswap-sqr associate-/l/
cbrt-undiv clear-num sub-neg frac-2neg flip3-+ diff-log div-sub div-exp flip-+ div-inv
Counts
4 → 105
Calls
4 calls:
30.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
8.0ms
(- 1.0 (* (tan x) (tan x)))
23.0ms
(* (tan x) (tan x))
25.0ms
(* (tan x) (tan x))

series332.0ms

Counts
4 → 12
Calls
4 calls:
172.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
35.0ms
(- 1.0 (* (tan x) (tan x)))
57.0ms
(* (tan x) (tan x))
67.0ms
(* (tan x) (tan x))

simplify1.4s

Counts
117 → 117
Iterations
IterNodes
done5001
21540
1350
0138

prune712.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 0.1b

localize51.0ms

Local error

Found 4 expressions with local error:

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

rewrite112.0ms

Algorithm
rewrite-expression-head
Rules
93×add-sqr-sqrt
89×times-frac
68×*-un-lft-identity add-cube-cbrt
30×add-cbrt-cube add-exp-log
26×swap-sqr associate-*r* associate-*l*
18×pow1
cbrt-undiv div-exp div-inv
prod-exp cbrt-unprod unswap-sqr
add-log-exp
associate-/r* associate-/l*
pow2 frac-times pow-plus pow-prod-down associate-*l/ associate-*r/ pow-sqr *-commutative pow-prod-up
quot-tan clear-num sub-neg frac-2neg flip3-- diff-log flip-- difference-of-squares
Counts
4 → 175
Calls
4 calls:
7.0ms
(/ (sin x) (cos x))
6.0ms
(- 1.0 (* (/ (sin x) (cos x)) (/ (sin x) (cos x))))
48.0ms
(* (/ (sin x) (cos x)) (/ (sin x) (cos x)))
45.0ms
(* (/ (sin x) (cos x)) (/ (sin x) (cos x)))

series219.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(/ (sin x) (cos x))
73.0ms
(- 1.0 (* (/ (sin x) (cos x)) (/ (sin x) (cos x))))
62.0ms
(* (/ (sin x) (cos x)) (/ (sin x) (cos x)))
63.0ms
(* (/ (sin x) (cos x)) (/ (sin x) (cos x)))

simplify2.4s

Counts
187 → 187
Iterations
IterNodes
done5000
23421
1522
0166

prune1.1s

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 0.1b

localize44.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)))
0.3b
(* (tan x) (tan x))

rewrite81.0ms

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

series271.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(/ (* (tan x) (sin x)) (cos x))
67.0ms
(* (tan x) (sin x))
77.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
63.0ms
(* (tan x) (tan x))

simplify1.4s

Counts
95 → 95
Iterations
IterNodes
done5001
21766
1326
0134

prune665.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 0.1b

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

rewrite183.0ms

Algorithm
rewrite-expression-head
Rules
65×add-sqr-sqrt
48×*-un-lft-identity
37×times-frac
30×add-cube-cbrt
27×associate-*r*
14×difference-of-squares
13×pow1 add-cbrt-cube add-exp-log
associate-*l* sqrt-prod distribute-lft-out--
associate-/l* add-log-exp
flip3-+ flip-+
tan-quot associate-/r/
frac-times associate-/r* swap-sqr associate-*l/ prod-exp cbrt-unprod unswap-sqr
cbrt-undiv div-exp pow-prod-down associate-*r/ *-commutative div-inv distribute-lft-out associate-/l/
pow2 +-commutative clear-num sum-log frac-2neg pow-plus flip3-- div-sub pow-sqr pow-prod-up flip--
Counts
4 → 132
Calls
4 calls:
95.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))
43.0ms
(/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x))))
14.0ms
(+ (sqrt 1.0) (tan x))
28.0ms
(* (tan x) (tan x))

series521.0ms

Counts
4 → 12
Calls
4 calls:
287.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))
114.0ms
(/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x))))
66.0ms
(+ (sqrt 1.0) (tan x))
54.0ms
(* (tan x) (tan x))

simplify2.6s

Counts
144 → 144
Iterations
IterNodes
done5000
23835
1617
0213

prune749.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 0.1b

regimes442.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify5.0ms

Iterations
IterNodes
done13
113
010

end0.0ms

sample4.3s

Algorithm
intervals
Results
1.8s1455×body1280valid
1.3s1236×body640valid
535.0ms4389×body80valid
304.0ms608×body320valid
120.0ms312×body160valid