Details

Time bar (total: 16.5s)

sample254.0ms

Algorithm
intervals
Results
50.0ms57×body1280valid
29.0ms44×body640valid
18.0ms123×body80valid
10.0ms23×body320valid
3.0msbody160valid

simplify70.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0715
11315
22115
32615
43415
53615
done3615

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

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

rewrite268.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:
121.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
14.0ms
(- 1.0 (* (tan x) (tan x)))
87.0ms
(* (tan x) (tan x))
34.0ms
(* (tan x) (tan x))

series289.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
45.0ms
(- 1.0 (* (tan x) (tan x)))
74.0ms
(* (tan x) (tan x))
60.0ms
(* (tan x) (tan x))

simplify2.1s

Counts
117 → 117
Iterations

Useful iterations: done (2.1s)

IterNodesCost
01381632
13151486
28611368
326781346
done50011342

prune385.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 0.1b

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

rewrite86.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:
29.0ms
(/ (* (tan x) (sin x)) (cos x))
10.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
21.0ms
(* (tan x) (sin x))
23.0ms
(* (tan x) (tan x))

series294.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(/ (* (tan x) (sin x)) (cos x))
63.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
83.0ms
(* (tan x) (sin x))
46.0ms
(* (tan x) (tan x))

simplify1.5s

Counts
95 → 95
Iterations

Useful iterations: done (1.5s)

IterNodesCost
0134997
1289912
2954816
done5001807

prune409.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.1b

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

rewrite115.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:
15.0ms
(* (tan x) (sin x))
29.0ms
(/ (cos x) (* (tan x) (sin x)))
22.0ms
(* (tan x) (tan x))
44.0ms
(/ 1 (/ (cos x) (* (tan x) (sin x))))

series326.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(* (tan x) (sin x))
99.0ms
(/ (cos x) (* (tan x) (sin x)))
44.0ms
(* (tan x) (tan x))
111.0ms
(/ 1 (/ (cos x) (* (tan x) (sin x))))

simplify2.1s

Counts
141 → 141
Iterations

Useful iterations: done (2.1s)

IterNodesCost
01861690
13921492
211071284
done50001249

prune537.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.1b

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

rewrite66.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:
17.0ms
(/ (cos x) (* (tan x) (sin x)))
4.0ms
(pow (cos x) 2)
6.0ms
(pow (sin x) 2)
35.0ms
(/ 1 (/ (cos x) (* (tan x) (sin x))))

series261.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(/ (cos x) (* (tan x) (sin x)))
24.0ms
(pow (cos x) 2)
26.0ms
(pow (sin x) 2)
98.0ms
(/ 1 (/ (cos x) (* (tan x) (sin x))))

simplify1.4s

Counts
130 → 130
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01921558
14131355
211461163
done50001133

prune566.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.1b

regimes458.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify6.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01825
12225
done2225

end0.0ms

sample5.0s

Algorithm
intervals
Results
1.7s1570×body1280valid
1.3s641×body320valid
834.0ms1219×body640valid
686.0ms4235×body80valid
214.0ms335×body160valid