Details

Time bar (total: 18.6s)

sample296.0ms

Algorithm
intervals
Results
82.0ms31×body640valid
73.0ms45×body1280valid
35.0ms144×body80valid
20.0ms26×body320valid
6.0ms10×body160valid

simplify60.0ms

Counts
1 → 1
Iterations
IterNodes
done44
544
439
331
224
115
07

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize56.0ms

Local error

Found 4 expressions with local error:

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

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
29×*-un-lft-identity
24×add-cube-cbrt
18×pow1
15×times-frac
10×add-cbrt-cube add-exp-log difference-of-squares
tan-quot
swap-sqr associate-*r* associate-*l* add-log-exp
associate-/l*
expm1-log1p-u insert-posit16 log1p-expm1-u
associate-/r* fma-neg prod-diff
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 → 128
Calls
4 calls:
11.0ms
(- 1 (* (tan x) (tan x)))
29.0ms
(/ (- 1 (* (tan x) (tan x))) (+ 1 (* (tan x) (tan x))))
29.0ms
(* (tan x) (tan x))
32.0ms
(* (tan x) (tan x))

series264.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(- 1 (* (tan x) (tan x)))
112.0ms
(/ (- 1 (* (tan x) (tan x))) (+ 1 (* (tan x) (tan x))))
34.0ms
(* (tan x) (tan x))
70.0ms
(* (tan x) (tan x))

simplify1.5s

Counts
140 → 140
Iterations
IterNodes
done2004
32004
21114
1399
0157

prune786.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize33.0ms

Local error

Found 4 expressions with local error:

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

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt *-un-lft-identity
25×add-cube-cbrt
18×prod-diff
13×pow1 add-cbrt-cube add-exp-log
11×distribute-rgt-in distribute-lft-in
frac-times associate-*r*
flip3-+ flip-+ associate-/l/
associate-*l*
flip3-- flip-- add-log-exp
associate-*l/ associate-*r/
expm1-log1p-u tan-quot insert-posit16 log1p-expm1-u
associate-/r* fma-def times-frac swap-sqr prod-exp cbrt-unprod
cbrt-undiv sub-neg div-exp pow-prod-down associate-/r/ *-commutative distribute-lft-out difference-of-squares unswap-sqr
pow2 +-commutative clear-num sum-log frac-2neg pow-plus pow-sqr pow-prod-up div-inv associate-/l* distribute-lft-out--
Counts
4 → 138
Calls
4 calls:
22.0ms
(/ (* (+ 1 (tan x)) (- 1 (tan x))) (+ 1 (* (tan x) (tan x))))
5.0ms
(+ 1 (tan x))
25.0ms
(* (+ 1 (tan x)) (- 1 (tan x)))
14.0ms
(* (tan x) (tan x))

series360.0ms

Counts
4 → 12
Calls
4 calls:
177.0ms
(/ (* (+ 1 (tan x)) (- 1 (tan x))) (+ 1 (* (tan x) (tan x))))
29.0ms
(+ 1 (tan x))
99.0ms
(* (+ 1 (tan x)) (- 1 (tan x)))
54.0ms
(* (tan x) (tan x))

simplify1.5s

Counts
150 → 150
Iterations
IterNodes
done2000
22000
1716
0233

prune622.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.1b

localize35.0ms

Local error

Found 4 expressions with local error:

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

rewrite135.0ms

Algorithm
rewrite-expression-head
Rules
52×add-sqr-sqrt
50×*-un-lft-identity
35×add-cube-cbrt
30×times-frac
21×prod-diff
13×add-cbrt-cube add-exp-log
11×pow1
10×difference-of-squares
associate-/l*
associate-/r* add-log-exp
tan-quot div-inv distribute-lft-out--
expm1-log1p-u insert-posit16 log1p-expm1-u
cbrt-undiv fma-neg swap-sqr div-exp associate-*r* associate-*l* associate-/l/
clear-num frac-2neg flip3-- associate-*l/ prod-exp associate-/r/ cbrt-unprod flip--
pow2 frac-times sub-neg flip3-+ pow-plus diff-log div-sub pow-prod-down associate-*r/ pow-sqr *-commutative pow-prod-up flip-+ unswap-sqr
Counts
4 → 145
Calls
4 calls:
20.0ms
(- 1 (/ (* (tan x) (sin x)) (cos x)))
59.0ms
(/ (- 1 (/ (* (tan x) (sin x)) (cos x))) (+ 1 (* (tan x) (tan x))))
30.0ms
(/ (* (tan x) (sin x)) (cos x))
21.0ms
(* (tan x) (tan x))

series422.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(- 1 (/ (* (tan x) (sin x)) (cos x)))
168.0ms
(/ (- 1 (/ (* (tan x) (sin x)) (cos x))) (+ 1 (* (tan x) (tan x))))
110.0ms
(/ (* (tan x) (sin x)) (cos x))
56.0ms
(* (tan x) (tan x))

simplify1.7s

Counts
157 → 157
Iterations
IterNodes
done2006
32006
21870
1637
0245

prune906.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite166.0ms

Algorithm
rewrite-expression-head
Rules
138×times-frac
135×add-sqr-sqrt
93×*-un-lft-identity
73×add-cube-cbrt
24×difference-of-squares
19×associate-/r*
16×associate-/l*
15×add-cbrt-cube add-exp-log
11×pow1
div-inv
cbrt-undiv div-exp tan-quot
expm1-log1p-u insert-posit16 log1p-expm1-u distribute-lft-out-- add-log-exp
clear-num frac-2neg swap-sqr associate-*r* associate-*l* associate-/r/ associate-/l/
pow2 frac-times flip3-+ pow-plus flip3-- div-sub pow-prod-down associate-*l/ prod-exp associate-*r/ pow-sqr *-commutative pow-prod-up cbrt-unprod flip-+ flip-- unswap-sqr
Counts
4 → 198
Calls
4 calls:
95.0ms
(/ (- 1 (/ (tan x) (/ (cos x) (sin x)))) (+ 1 (* (tan x) (tan x))))
19.0ms
(/ (cos x) (sin x))
23.0ms
(/ (tan x) (/ (cos x) (sin x)))
21.0ms
(* (tan x) (tan x))

series680.0ms

Counts
4 → 12
Calls
4 calls:
510.0ms
(/ (- 1 (/ (tan x) (/ (cos x) (sin x)))) (+ 1 (* (tan x) (tan x))))
20.0ms
(/ (cos x) (sin x))
106.0ms
(/ (tan x) (/ (cos x) (sin x)))
44.0ms
(* (tan x) (tan x))

simplify1.3s

Counts
210 → 210
Iterations
IterNodes
done2003
22003
1829
0336

prune1.3s

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes236.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations
IterNodes
done14
114
09

end0.0ms

sample6.1s

Algorithm
intervals
Results
2.8s1494×body1280valid
1.5s1266×body640valid
1.1s4292×body80valid
454.0ms654×body320valid
165.0ms294×body160valid