Details

Time bar (total: 18.3s)

sample161.0ms

Algorithm
intervals
Results
25.0ms40×body1280valid
19.0ms46×body640valid
11.0ms30×body320valid
10.0ms127×body80valid
3.0ms13×body160valid

simplify75.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0715
11315
22214
32914
43714
54214
64414
done4414

prune13.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

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

rewrite131.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:
11.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))
47.0ms
(* (tan x) (tan x))

series301.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(- 1.0 (* (tan x) (tan x)))
138.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
41.0ms
(* (tan x) (tan x))
80.0ms
(* (tan x) (tan x))

simplify3.1s

Counts
131 → 131
Iterations

Useful iterations: done (3.1s)

IterNodesCost
01511789
13381638
29411453
329951419
done50001411

prune439.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

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

rewrite11.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:
0.0ms
(fma (tan x) (tan x) 1.0)
7.0ms
(/ (fma (tan x) (tan x) (- 1.0)) (- (fma (tan x) (tan x) 1.0)))
0.0ms
(fma (tan x) (tan x) (- 1.0))

series303.0ms

Counts
3 → 9
Calls
3 calls:
62.0ms
(fma (tan x) (tan x) 1.0)
170.0ms
(/ (fma (tan x) (tan x) (- 1.0)) (- (fma (tan x) (tan x) 1.0)))
71.0ms
(fma (tan x) (tan x) (- 1.0))

simplify3.7s

Counts
86 → 86
Iterations

Useful iterations: 4 (2.2s)

IterNodesCost
01341812
12401779
25811693
315931693
447661690
done50001690

prune396.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

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

rewrite144.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:
17.0ms
(/ (* (sin x) (tan x)) (cos x))
13.0ms
(* (sin x) (tan x))
70.0ms
(/ (- 1.0 (/ (* (sin x) (tan x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
40.0ms
(* (tan x) (tan x))

series399.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(/ (* (sin x) (tan x)) (cos x))
90.0ms
(* (sin x) (tan x))
150.0ms
(/ (- 1.0 (/ (* (sin x) (tan x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
51.0ms
(* (tan x) (tan x))

simplify1.4s

Counts
129 → 129
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01982029
14541923
214731708
done50011702

prune596.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

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

rewrite136.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:
20.0ms
(/ (* (sin x) (tan x)) (cos x))
18.0ms
(* (sin x) (tan x))
18.0ms
(* (sin x) (tan x))
77.0ms
(/ (- 1.0 (/ (* (sin x) (tan x)) (cos x))) (+ 1.0 (/ (* (sin x) (tan x)) (cos x))))

series447.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(/ (* (sin x) (tan x)) (cos x))
91.0ms
(* (sin x) (tan x))
55.0ms
(* (sin x) (tan x))
187.0ms
(/ (- 1.0 (/ (* (sin x) (tan x)) (cos x))) (+ 1.0 (/ (* (sin x) (tan x)) (cos x))))

simplify1.7s

Counts
126 → 126
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01742328
14032249
212592096
done50002032

prune537.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes123.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01021
11221
done1221

end0.0ms

sample4.2s

Algorithm
intervals
Results
1.4s1456×body1280valid
1.2s4341×body80valid
1.0s1307×body640valid
305.0ms621×body320valid
81.0ms275×body160valid