Details

Time bar (total: 18.3s)

sample422.0ms

Algorithm
intervals
Results
70.0ms40×body1280valid
28.0ms46×body640valid
16.0ms30×body320valid
15.0ms127×body80valid
3.0ms13×body160valid

simplify64.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0715
11315
22214
32914
43714
54214
64414
done4414

prune8.0ms

Pruning

2 alts after pruning (2 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.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))

rewrite124.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
23×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
expm1-log1p-u log1p-expm1-u associate-/l*
fma-neg prod-diff 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 → 119
Calls
4 calls:
6.0ms
(- 1.0 (* (tan x) (tan x)))
33.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
32.0ms
(* (tan x) (tan x))
48.0ms
(* (tan x) (tan x))

series470.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(- 1.0 (* (tan x) (tan x)))
232.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
88.0ms
(* (tan x) (tan x))
72.0ms
(* (tan x) (tan x))

simplify2.6s

Counts
131 → 131
Iterations

Useful iterations: done (2.6s)

IterNodesCost
01511789
13381638
29411453
329951419
done50001411

prune450.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 3 expressions with local error:

0.2b
(fma (tan x) (tan x) 1.0)
0.2b
(/ (fma (tan x) (tan x) (- 1.0)) (- (fma (tan x) (tan x) 1.0)))
0.3b
(fma (tan x) (tan x) (- 1.0))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
30×times-frac
26×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×distribute-lft-neg-in distribute-rgt-neg-in
10×associate-/r*
add-exp-log add-cbrt-cube
neg-mul-1
pow1 expm1-log1p-u log1p-expm1-u associate-/l* add-log-exp
fma-udef
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
3 → 77
Calls
3 calls:
1.0ms
(fma (tan x) (tan x) 1.0)
14.0ms
(/ (fma (tan x) (tan x) (- 1.0)) (- (fma (tan x) (tan x) 1.0)))
1.0ms
(fma (tan x) (tan x) (- 1.0))

series376.0ms

Counts
3 → 9
Calls
3 calls:
52.0ms
(fma (tan x) (tan x) 1.0)
226.0ms
(/ (fma (tan x) (tan x) (- 1.0)) (- (fma (tan x) (tan x) 1.0)))
98.0ms
(fma (tan x) (tan x) (- 1.0))

simplify3.9s

Counts
86 → 86
Iterations

Useful iterations: 4 (2.6s)

IterNodesCost
01341812
12401779
25811693
315931693
447661690
done50001690

prune377.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite121.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*
expm1-log1p-u log1p-expm1-u distribute-lft-out-- add-log-exp difference-of-squares
cbrt-undiv associate-*r/ swap-sqr div-exp 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-*l/ pow-sqr pow-prod-up flip-- flip-+
Counts
4 → 117
Calls
4 calls:
34.0ms
(/ (* (sin x) (tan x)) (cos x))
19.0ms
(* (sin x) (tan x))
42.0ms
(/ (- 1.0 (/ (* (sin x) (tan x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
22.0ms
(* (tan x) (tan x))

series433.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(/ (* (sin x) (tan x)) (cos x))
68.0ms
(* (sin x) (tan x))
201.0ms
(/ (- 1.0 (/ (* (sin x) (tan x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
46.0ms
(* (tan x) (tan x))

simplify1.3s

Counts
129 → 129
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01982029
14541923
214731708
done50011702

prune556.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize32.0ms

Local error

Found 4 expressions with local error:

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

rewrite134.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
expm1-log1p-u log1p-expm1-u add-log-exp
tan-quot cbrt-undiv associate-*r/ div-exp 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 → 114
Calls
4 calls:
16.0ms
(/ (* (sin x) (tan x)) (cos x))
14.0ms
(* (sin x) (tan x))
14.0ms
(* (sin x) (tan x))
86.0ms
(/ (- 1.0 (/ (* (sin x) (tan x)) (cos x))) (+ 1.0 (/ (* (sin x) (tan x)) (cos x))))

series467.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(/ (* (sin x) (tan x)) (cos x))
70.0ms
(* (sin x) (tan x))
66.0ms
(* (sin x) (tan x))
238.0ms
(/ (- 1.0 (/ (* (sin x) (tan x)) (cos x))) (+ 1.0 (/ (* (sin x) (tan x)) (cos x))))

simplify1.6s

Counts
126 → 126
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01742328
14032249
212592096
done50002032

prune541.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes157.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01021
11221
done1221

end0.0ms

sample4.1s

Algorithm
intervals
Results
1.4s1456×body1280valid
1.3s1307×body640valid
908.0ms4341×body80valid
235.0ms621×body320valid
70.0ms275×body160valid