Details

Time bar (total: 15.9s)

sample404.0ms

Algorithm
intervals
Results
201.0ms44×body640valid
53.0ms123×body80valid
53.0ms57×body1280valid
10.0ms23×body320valid
3.0msbody160valid

simplify47.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0715
11315
22115
32615
43415
53615
done3615

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (- 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))

rewrite93.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:
20.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
6.0ms
(- 1.0 (* (tan x) (tan x)))
27.0ms
(* (tan x) (tan x))
36.0ms
(* (tan x) (tan x))

series239.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
39.0ms
(- 1.0 (* (tan x) (tan x)))
37.0ms
(* (tan x) (tan x))
56.0ms
(* (tan x) (tan x))

simplify2.1s

Counts
117 → 117
Iterations

Useful iterations: done (2.1s)

IterNodesCost
01381632
13151486
28611368
326781346
done50011342

prune396.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 0.1b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite77.0ms

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

series318.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(/ (* (tan x) (sin x)) (cos x))
86.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
56.0ms
(* (tan x) (sin x))
54.0ms
(* (tan x) (tan x))

simplify1.4s

Counts
95 → 95
Iterations

Useful iterations: done (1.4s)

IterNodesCost
0134997
1289912
2954816
done5001807

prune430.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.1b

localize39.0ms

Local error

Found 4 expressions with local error:

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

rewrite149.0ms

Algorithm
rewrite-expression-head
Rules
39×times-frac
34×add-exp-log
33×add-sqr-sqrt
29×add-cube-cbrt *-un-lft-identity
22×add-cbrt-cube
14×pow1 div-exp
10×tan-quot
associate-/r*
cbrt-undiv associate-*l/
associate-*r* associate-*l* prod-exp associate-/r/ div-inv associate-/l*
cbrt-unprod add-log-exp
rec-exp 1-exp swap-sqr
frac-2neg pow-prod-down clear-num *-commutative unswap-sqr
pow2 frac-times pow-flip pow-plus associate-*r/ pow-sqr pow-prod-up inv-pow
Counts
4 → 129
Calls
4 calls:
21.0ms
(* (tan x) (sin x))
34.0ms
(/ (cos x) (* (tan x) (sin x)))
34.0ms
(* (tan x) (tan x))
55.0ms
(/ 1 (/ (cos x) (* (tan x) (sin x))))

series337.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(* (tan x) (sin x))
103.0ms
(/ (cos x) (* (tan x) (sin x)))
56.0ms
(* (tan x) (tan x))
111.0ms
(/ 1 (/ (cos x) (* (tan x) (sin x))))

simplify2.3s

Counts
141 → 141
Iterations

Useful iterations: done (2.2s)

IterNodesCost
01861690
13921492
211071284
done50001249

prune521.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.1b

localize48.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (cos x) (* (tan x) (sin x)))
0.3b
(pow (cos x) 2)
0.3b
(pow (sin x) 2)
0.6b
(/ 1 (/ (cos x) (* (tan x) (sin x))))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
39×times-frac
32×add-exp-log
27×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×add-cbrt-cube
14×div-exp
associate-/r*
pow1 cbrt-undiv
unpow-prod-down pow-unpow associate-/r/ div-inv associate-/l*
tan-quot associate-*l/
prod-exp add-log-exp
rec-exp 1-exp
pow-to-exp pow-pow frac-2neg pow-exp clear-num cbrt-unprod unpow2 sqr-pow
pow-flip inv-pow
Counts
4 → 118
Calls
4 calls:
22.0ms
(/ (cos x) (* (tan x) (sin x)))
4.0ms
(pow (cos x) 2)
4.0ms
(pow (sin x) 2)
34.0ms
(/ 1 (/ (cos x) (* (tan x) (sin x))))

series201.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(/ (cos x) (* (tan x) (sin x)))
18.0ms
(pow (cos x) 2)
21.0ms
(pow (sin x) 2)
70.0ms
(/ 1 (/ (cos x) (* (tan x) (sin x))))

simplify1.3s

Counts
130 → 130
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01921558
14131355
211461163
done50001133

prune440.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.1b

regimes439.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01825
12225
done2225

end0.0ms

sample4.6s

Algorithm
intervals
Results
2.0s1570×body1280valid
1.2s4235×body80valid
824.0ms1219×body640valid
245.0ms641×body320valid
81.0ms335×body160valid