Details

Time bar (total: 16.5s)

sample191.0ms

Algorithm
intervals
Results
32.0ms50×body1280valid
19.0ms40×body640valid
14.0ms135×body80valid
6.0ms21×body320valid
2.0ms10×body160valid

simplify51.0ms

Counts
1 → 1
Iterations
IterNodes
done37
537
434
326
221
113
07

prune16.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
21×*-un-lft-identity add-cube-cbrt
18×pow1
12×times-frac
10×add-cbrt-cube add-exp-log
tan-quot
swap-sqr associate-*r* associate-*l* add-log-exp
difference-of-squares
associate-/l*
associate-/r*
pow2 frac-times pow-plus flip3-- pow-prod-down associate-*l/ prod-exp associate-*r/ associate-/r/ pow-sqr *-commutative pow-prod-up cbrt-unprod flip-- unswap-sqr associate-/l/
cbrt-undiv clear-num sub-neg frac-2neg flip3-+ diff-log div-sub div-exp flip-+ div-inv
Counts
4 → 105
Calls
4 calls:
52.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ (* (tan x) (tan x)) 1.0))
4.0ms
(- 1.0 (* (tan x) (tan x)))
12.0ms
(* (tan x) (tan x))
24.0ms
(* (tan x) (tan x))

series343.0ms

Counts
4 → 12
Calls
4 calls:
146.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ (* (tan x) (tan x)) 1.0))
51.0ms
(- 1.0 (* (tan x) (tan x)))
63.0ms
(* (tan x) (tan x))
82.0ms
(* (tan x) (tan x))

simplify970.0ms

Counts
117 → 117
Iterations
IterNodes
done5000
21717
1360
0141

prune480.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize32.0ms

Local error

Found 4 expressions with local error:

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

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
21×*-un-lft-identity associate-*r*
20×pow1 add-cube-cbrt
17×add-exp-log
13×add-cbrt-cube
11×times-frac
10×associate-*l*
tan-quot
swap-sqr prod-exp add-log-exp
unswap-sqr
frac-times associate-*l/ cbrt-unprod
flip3-- pow-prod-down associate-*r/ *-commutative flip--
pow2 pow-plus div-exp associate-/r/ pow-sqr pow-prod-up difference-of-squares
cbrt-undiv rec-exp sub-neg flip3-+ diff-log 1-exp un-div-inv flip-+ div-inv
Counts
4 → 112
Calls
4 calls:
64.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ (* (tan x) (tan x)) 1.0)))
4.0ms
(- 1.0 (* (tan x) (tan x)))
20.0ms
(* (tan x) (tan x))
23.0ms
(* (tan x) (tan x))

series282.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ (* (tan x) (tan x)) 1.0)))
42.0ms
(- 1.0 (* (tan x) (tan x)))
49.0ms
(* (tan x) (tan x))
38.0ms
(* (tan x) (tan x))

simplify3.3s

Counts
124 → 124
Iterations
IterNodes
done5001
22854
1443
0162

prune438.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

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

series112.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(pow (cos x) 2)
28.0ms
(pow (cos x) 2)
20.0ms
(pow (sin x) 2)
38.0ms
(pow (sin x) 2)

simplify981.0ms

Counts
84 → 84
Iterations
IterNodes
done5004
32402
2648
1189
064

prune428.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize30.0ms

Local error

Found 4 expressions with local error:

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

rewrite190.0ms

Algorithm
rewrite-expression-head
Rules
65×add-sqr-sqrt
48×*-un-lft-identity
37×times-frac
30×add-cube-cbrt
27×associate-*r*
14×difference-of-squares
13×pow1 add-cbrt-cube add-exp-log
associate-*l* sqrt-prod distribute-lft-out--
associate-/l* add-log-exp
flip3-+ flip-+
tan-quot associate-/r/
frac-times associate-/r* swap-sqr associate-*l/ prod-exp cbrt-unprod unswap-sqr
cbrt-undiv div-exp pow-prod-down associate-*r/ *-commutative div-inv distribute-lft-out associate-/l/
pow2 +-commutative clear-num sum-log frac-2neg pow-plus flip3-- div-sub pow-sqr pow-prod-up flip--
Counts
4 → 132
Calls
4 calls:
124.0ms
(* (+ (tan x) (sqrt 1.0)) (/ (- (sqrt 1.0) (tan x)) (+ (* (tan x) (tan x)) 1.0)))
11.0ms
(+ (tan x) (sqrt 1.0))
39.0ms
(/ (- (sqrt 1.0) (tan x)) (+ (* (tan x) (tan x)) 1.0))
12.0ms
(* (tan x) (tan x))

series544.0ms

Counts
4 → 12
Calls
4 calls:
282.0ms
(* (+ (tan x) (sqrt 1.0)) (/ (- (sqrt 1.0) (tan x)) (+ (* (tan x) (tan x)) 1.0)))
39.0ms
(+ (tan x) (sqrt 1.0))
171.0ms
(/ (- (sqrt 1.0) (tan x)) (+ (* (tan x) (tan x)) 1.0))
53.0ms
(* (tan x) (tan x))

simplify1.9s

Counts
144 → 144
Iterations
IterNodes
done5000
23742
1626
0216

prune722.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

regimes470.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations
IterNodes
done12
112
011

end0.0ms

sample4.7s

Algorithm
intervals
Results
1.9s1466×body1280valid
1.3s4372×body80valid
962.0ms1241×body640valid
238.0ms592×body320valid
93.0ms329×body160valid