Details

Time bar (total: 15.0s)

sample385.0ms

Algorithm
intervals
Results
243.0ms47×body1280valid
27.0ms44×body640valid
16.0ms138×body80valid
9.0ms20×body320valid
2.0msbody160valid

simplify93.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0715
11315
22115
32615
43415
53715
done3715

prune36.0ms

Pruning

1 alts after pruning (1 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))) (+ 1.0 (* (tan x) (tan x))))
0.1b
(- 1.0 (* (tan x) (tan x)))
0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))

rewrite157.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:
21.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
6.0ms
(- 1.0 (* (tan x) (tan x)))
42.0ms
(* (tan x) (tan x))
83.0ms
(* (tan x) (tan x))

series300.0ms

Counts
4 → 12
Calls
4 calls:
150.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
37.0ms
(- 1.0 (* (tan x) (tan x)))
37.0ms
(* (tan x) (tan x))
76.0ms
(* (tan x) (tan x))

simplify1.1s

Counts
117 → 117
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01381632
13511506
215411370
done50021360

prune793.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (sin x) 2)
0.2b
(pow (sin x) 2)
0.2b
(pow (cos x) 2)
0.2b
(pow (cos x) 2)

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt add-cube-cbrt unpow-prod-down pow-unpow *-un-lft-identity
pow1 add-exp-log
pow-to-exp pow-pow pow-exp add-cbrt-cube unpow2 add-log-exp sqr-pow
Counts
4 → 72
Calls
4 calls:
4.0ms
(pow (sin x) 2)
4.0ms
(pow (sin x) 2)
3.0ms
(pow (cos x) 2)
4.0ms
(pow (cos x) 2)

series114.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(pow (sin x) 2)
34.0ms
(pow (sin x) 2)
24.0ms
(pow (cos x) 2)
24.0ms
(pow (cos x) 2)

simplify1.2s

Counts
84 → 84
Iterations

Useful iterations: 2 (162.0ms)

IterNodesCost
064576
1189492
2648432
32390432
done5004432

prune387.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize42.0ms

Local error

Found 4 expressions with local error:

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

rewrite81.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 associate-*r/ swap-sqr 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-*l/ 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:
19.0ms
(- 1.0 (/ (* (sin x) (tan x)) (cos x)))
16.0ms
(* (sin x) (tan x))
15.0ms
(/ (* (sin x) (tan x)) (cos x))
28.0ms
(* (tan x) (tan x))

series294.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(- 1.0 (/ (* (sin x) (tan x)) (cos x)))
82.0ms
(* (sin x) (tan x))
78.0ms
(/ (* (sin x) (tan x)) (cos x))
45.0ms
(* (tan x) (tan x))

simplify1.2s

Counts
95 → 95
Iterations

Useful iterations: done (1.2s)

IterNodesCost
0134997
1334914
22001824
done5002815

prune376.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite157.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
92×add-sqr-sqrt
72×add-cube-cbrt *-un-lft-identity
22×associate-/r*
21×add-exp-log
19×pow1
16×difference-of-squares
15×add-cbrt-cube
11×associate-/r/
tan-quot div-exp
swap-sqr associate-*r* associate-*l* div-inv associate-/l*
flip3-- flip--
cbrt-undiv add-log-exp
pow2 frac-times rec-exp frac-2neg pow-plus 1-exp associate-*r/ pow-prod-down associate-*l/ prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod associate-/l/ unswap-sqr
pow-flip flip3-+ flip-+ inv-pow
Counts
4 → 187
Calls
4 calls:
67.0ms
(/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x))))
39.0ms
(/ 1 (/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x)))))
15.0ms
(* (tan x) (tan x))
21.0ms
(* (tan x) (tan x))

series422.0ms

Counts
4 → 12
Calls
4 calls:
154.0ms
(/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x))))
162.0ms
(/ 1 (/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x)))))
42.0ms
(* (tan x) (tan x))
63.0ms
(* (tan x) (tan x))

simplify2.7s

Counts
199 → 199
Iterations

Useful iterations: done (2.6s)

IterNodesCost
02604414
16824023
235673749
done50023549

prune497.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.0b

regimes291.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01123
11223
done1223

end0.0ms

sample4.2s

Algorithm
intervals
Results
1.9s1483×body1280valid
885.0ms1239×body640valid
714.0ms4344×body80valid
347.0ms618×body320valid
83.0ms316×body160valid